The monthly invoices of your organisation, with everything charged apart from the plan, and the upgrade suggestion.
GET /v1/tenant/monthly-invoices
Returns the monthly invoices of your organisation, newest first (up to 36). Each one has everything charged apart from your plan in that month, one line per charge: communications through wede above what the plan includes, units above the plan for each day they were above, production events above the yearly limit, the fee per production event when your plan has one, and the fee on value of operations with an amount when your organisation has one. It also returns the fee per event of your current plan, your fee on value by operation type and, when it applies, the plan Billing suggests. See The monthly invoice.The licence of your plan is invoiced on its own, once a year, and never appears here.
Authentication
API key or session token with the billing:view permission. API keys have it.
The fee per production event of your current plan, or null when it has none.
string
The currency of your country, ISO 4217.
object[]
Your fee on value, one per operation type, as it is today. Empty when your organisation has none. Besides the fee per event, each accepted production operation of that type in currency pays the fee agreed for its amount; a reversal pays nothing. See Fee on value.
Show properties
string
The operation type of your catalog.
string | null
Its code.
string | null
Its name.
string
Currency of the tiers, ISO 4217.
object[]
In order. Each tier goes from where the one before ends up to up_to (null for the last tier, with no limit), and has fixed and percent, the parts of the fee agreed for that tier.
string
When this fee started to apply.
object | null
The plan Billing suggests, or null. It is suggested when what was charged above your plan in the last monthly invoice (communications, units and events, without the fee per event and the fee on value) is more than the monthly difference to the next plan by price for your organisation (the difference of the yearly prices divided by 12). A month with nothing above the plan clears it.
The month of the invoice the suggestion comes from, YYYY-MM.
number
What was charged above your plan that month, without the fee per event and the fee on value.
number
Your current yearly price.
number
The yearly price of the suggested plan for your organisation.
number
The difference of the two yearly prices divided by 12.
string
Currency of these amounts.
object[]
The monthly invoices.
Show properties
string
The month, YYYY-MM.
string
issued, or carried when the month was below 0.50 in your currency and goes on the next invoice.
object[]
One line per charge, by kind:
kind
Fields
communications
channel, units above what the plan includes, unit_price, amount
stock
item (user, device, zone, webhook, data_source), unit_days (each unit above, for each day), price_per_day, amount
events
events above the yearly limit, unit_price, amount
event_fee
events of the month, fee, amount
value_fee
event_type_id, type_name, operations of the month charged with a fee on value, amount
number
Total without tax. Taxes are added on the invoice itself.
number
The communications part.
number
The part of units above the plan and of events above the yearly limit, including amounts carried from earlier months.
number
The part of the fee per event and the fee on value, including amounts carried from earlier months.
integer
Production events charged with the fee.
string
Currency of the invoice.
string | null
Link to the invoice, to see and pay it. null for a carried month.
Errors
Status
Code
When
401
unauthorized
Credential missing, malformed, revoked or expired
403
forbidden
The credential lacks billing:view
404
not_found
The credential is not linked to a tenant
503
service_unavailable
Not available right now. Retry
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"wede technology","colors":{"primary":"#F9500A","light":"#FF6B35","dark":"#C73D00"},"logo":{"light":"https://mintcdn.com/wedetech/7BuacVCTok17wF0p/logo/logo_wede_tech_black_wide.png?fit=max\u0026auto=format\u0026n=7BuacVCTok17wF0p\u0026q=85\u0026s=f75c7233891c29550490a254909d9e59","dark":"https://mintcdn.com/wedetech/7BuacVCTok17wF0p/logo/logo_wede_tech_black_wide.png?fit=max\u0026auto=format\u0026n=7BuacVCTok17wF0p\u0026q=85\u0026s=f75c7233891c29550490a254909d9e59"},"favicon":"https://mintcdn.com/wedetech/N_6_tS2tEOnWu1cb/favicon.svg?fit=max\u0026auto=format\u0026n=N_6_tS2tEOnWu1cb\u0026q=85\u0026s=527fcb82e663589b1e913e4996e7c539","appearance":{"default":"light","strict":true},"navbar":{"links":[{"href":"mailto:geral@wede.pt","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://app.wede.pt"}},"footer":{"socials":{"linkedin":"https://www.linkedin.com/company/wedetechnology","website":"https://wede.pt"}},"metadata":{"timestamp":false},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"API Status","icon":"signal","href":"https://status.wede.pt"},{"anchor":"Dashboard","icon":"gauge","href":"https://app.wede.pt"},{"anchor":"Support","icon":"envelope","href":"mailto:geral@wede.pt"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"wedetech","hasAudioNarration":false,"actualSubdomain":"wedetech","customDomains":["docs.wede.pt"],"gitSource":{"type":"github","owner":"wedeadmin","repo":"wede-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6aeb141119d8a3cecd67674f","clientVersion":"0.0.4205","searchFilterCounts":[{"language":"default","tag":"API Reference","count":47},{"language":"default","tag":"Getting Started","count":27},{"language":"default","tag":"Core Concepts","count":19},{"language":"default","tag":"Teams \u0026 Dispatch","count":9},{"language":"default","tag":"Security","count":7},{"language":"default","tag":"Tenant","count":5},{"language":"default","tag":"Webhooks","count":5},{"language":"default","tag":"Zones","count":5},{"language":"default","tag":"Events","count":4},{"language":"default","tag":"Introduction","count":4}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/tenant/monthly-invoices","slug":"/api-reference/tenant/monthly-invoices","pageMetadata":{"title":"Monthly invoices","description":"The monthly invoices of your organisation, with everything charged apart from the plan, and the upgrade suggestion.","href":"/api-reference/tenant/monthly-invoices"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"The monthly invoices of your organisation, with everything charged apart from the plan, and the upgrade suggestion.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,p:`p`,pre:`pre`,span:`span`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{CodeBlock,Expandable,Heading,ResponseField,Table}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`GET /v1/tenant/monthly-invoices`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(_components.p,{children:[`Returns the monthly invoices of your organisation, newest first (up to 36). Each one has everything charged apart from your plan in that month, one line per charge: communications through wede above what the plan includes, units above the plan for each day they were above, production events above the yearly limit, the fee per production event when your plan has one, and the fee on value of operations with an amount when your organisation has one. It also returns the fee per event of your current plan, your fee on value by operation type and, when it applies, the plan Billing suggests. See `,_jsx(_components.a,{href:`/concepts/plans#the-monthly-invoice`,children:`The monthly invoice`}),`.`]}),`\n`,_jsx(_components.p,{children:`The licence of your plan is invoiced on its own, once a year, and never appears here.`}),`\n`,_jsx(Heading,{level:`2`,id:`authentication`,children:`Authentication`}),`\n`,_jsxs(_components.p,{children:[`API key or session token with the `,_jsx(_components.code,{children:`billing:view`}),` permission. API keys have it.`]}),`\n`,_jsx(Heading,{level:`2`,id:`example`,children:`Example`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://api.wede.pt/v1/tenant/monthly-invoices`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"x-wede-api-key: wede_live_YOUR_KEY\"`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`response`,children:`Response`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`200 OK`}),`. Values below are illustrative.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`37`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`37`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"event_fee\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"currency\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"EUR\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"value_fees\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"event_type_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"3f1c2a8e-5b7d-4e2a-9c1f-0a6b8d4e2f10\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type_code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"payment\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type_name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Payment\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"currency\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"EUR\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"tiers\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"up_to\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"\u003cvalue>\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"fixed\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"\u003cvalue>\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"percent\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"\u003cvalue>\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"up_to\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"fixed\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"\u003cvalue>\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"percent\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"\u003cvalue>\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"since\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-11-01T09:00:00.000Z\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"upgrade\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"period\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-11\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"issued\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"lines\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"kind\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"communications\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"channel\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"sms\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"units\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1000`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"unit_price\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.05`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"amount\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`50`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"kind\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"stock\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"item\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"user\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"unit_days\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`12`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"price_per_day\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.5`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"amount\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`6`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"kind\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"events\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"events\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`40`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"limit\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1000000`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"unit_price\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.01`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"amount\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.4`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"kind\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"value_fee\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"event_type_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"3f1c2a8e-5b7d-4e2a-9c1f-0a6b8d4e2f10\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"type_name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Payment\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"operations\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`120`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"amount\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`18.6`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"amount\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`75`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"comm_amount\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`50`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"stock_amount\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`6.4`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"fee_amount\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`18.6`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"fee_events\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"currency\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"EUR\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"invoice_url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://invoice.example/...\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(ResponseField,{name:`event_fee`,type:`number | null`,id:`param-event-fee`,children:_jsxs(_components.p,{children:[`The fee per production event of your current plan, or `,_jsx(_components.code,{children:`null`}),` when it has none.`]})}),`\n`,_jsx(ResponseField,{name:`currency`,type:`string`,id:`param-currency`,children:_jsx(_components.p,{children:`The currency of your country, ISO 4217.`})}),`\n`,_jsxs(ResponseField,{name:`value_fees`,type:`object[]`,id:`param-value-fees`,children:[_jsxs(_components.p,{children:[`Your fee on value, one per operation type, as it is today. Empty when your organisation has none. Besides the fee per event, each accepted production operation of that type in `,_jsx(_components.code,{children:`currency`}),` pays the fee agreed for its amount; a reversal pays nothing. See `,_jsx(_components.a,{href:`/concepts/plans#fee-on-value`,children:`Fee on value`}),`.`]}),_jsxs(Expandable,{title:`properties`,children:[_jsx(ResponseField,{name:`event_type_id`,type:`string`,id:`param-event-type-id`,children:_jsx(_components.p,{children:`The operation type of your catalog.`})}),_jsx(ResponseField,{name:`type_code`,type:`string | null`,id:`param-type-code`,children:_jsx(_components.p,{children:`Its code.`})}),_jsx(ResponseField,{name:`type_name`,type:`string | null`,id:`param-type-name`,children:_jsx(_components.p,{children:`Its name.`})}),_jsx(ResponseField,{name:`currency`,type:`string`,id:`param-currency-1`,children:_jsx(_components.p,{children:`Currency of the tiers, ISO 4217.`})}),_jsx(ResponseField,{name:`tiers`,type:`object[]`,id:`param-tiers`,children:_jsxs(_components.p,{children:[`In order. Each tier goes from where the one before ends up to `,_jsx(_components.code,{children:`up_to`}),` (`,_jsx(_components.code,{children:`null`}),` for the last tier, with no limit), and has `,_jsx(_components.code,{children:`fixed`}),` and `,_jsx(_components.code,{children:`percent`}),`, the parts of the fee agreed for that tier.`]})}),_jsx(ResponseField,{name:`since`,type:`string`,id:`param-since`,children:_jsx(_components.p,{children:`When this fee started to apply.`})})]})]}),`\n`,_jsxs(ResponseField,{name:`upgrade`,type:`object | null`,id:`param-upgrade`,children:[_jsxs(_components.p,{children:[`The plan Billing suggests, or `,_jsx(_components.code,{children:`null`}),`. It is suggested when what was charged above your plan in the last monthly invoice (communications, units and events, without the fee per event and the fee on value) is more than the monthly difference to the next plan by price for your organisation (the difference of the yearly prices divided by 12). A month with nothing above the plan clears it.`]}),_jsxs(Expandable,{title:`properties`,children:[_jsx(ResponseField,{name:`plan_id`,type:`string`,id:`param-plan-id`,children:_jsxs(_components.p,{children:[`The suggested plan. Its conditions are in `,_jsx(_components.a,{href:`/api-reference/tenant/plans`,children:`Plans of your organisation`}),`.`]})}),_jsx(ResponseField,{name:`plan_name`,type:`string`,id:`param-plan-name`,children:_jsx(_components.p,{children:`Its name.`})}),_jsx(ResponseField,{name:`period`,type:`string`,id:`param-period`,children:_jsxs(_components.p,{children:[`The month of the invoice the suggestion comes from, `,_jsx(_components.code,{children:`YYYY-MM`}),`.`]})}),_jsx(ResponseField,{name:`above_plan`,type:`number`,id:`param-above-plan`,children:_jsx(_components.p,{children:`What was charged above your plan that month, without the fee per event and the fee on value.`})}),_jsx(ResponseField,{name:`current_price_yearly`,type:`number`,id:`param-current-price-yearly`,children:_jsx(_components.p,{children:`Your current yearly price.`})}),_jsx(ResponseField,{name:`next_price_yearly`,type:`number`,id:`param-next-price-yearly`,children:_jsx(_components.p,{children:`The yearly price of the suggested plan for your organisation.`})}),_jsx(ResponseField,{name:`monthly_difference`,type:`number`,id:`param-monthly-difference`,children:_jsx(_components.p,{children:`The difference of the two yearly prices divided by 12.`})}),_jsx(ResponseField,{name:`currency`,type:`string`,id:`param-currency-2`,children:_jsx(_components.p,{children:`Currency of these amounts.`})})]})]}),`\n`,_jsxs(ResponseField,{name:`data`,type:`object[]`,id:`param-data`,children:[_jsx(_components.p,{children:`The monthly invoices.`}),_jsxs(Expandable,{title:`properties`,children:[_jsx(ResponseField,{name:`period`,type:`string`,id:`param-period-1`,children:_jsxs(_components.p,{children:[`The month, `,_jsx(_components.code,{children:`YYYY-MM`}),`.`]})}),_jsx(ResponseField,{name:`status`,type:`string`,id:`param-status`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`issued`}),`, or `,_jsx(_components.code,{children:`carried`}),` when the month was below 0.50 in your currency and goes on the next invoice.`]})}),_jsxs(ResponseField,{name:`lines`,type:`object[]`,id:`param-lines`,children:[_jsxs(_components.p,{children:[`One line per charge, by `,_jsx(_components.code,{children:`kind`}),`:`]}),_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:_jsx(_components.code,{children:`kind`})}),_jsx(_components.th,{children:`Fields`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`communications`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`channel`}),`, `,_jsx(_components.code,{children:`units`}),` above what the plan includes, `,_jsx(_components.code,{children:`unit_price`}),`, `,_jsx(_components.code,{children:`amount`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`stock`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`item`}),` (`,_jsx(_components.code,{children:`user`}),`, `,_jsx(_components.code,{children:`device`}),`, `,_jsx(_components.code,{children:`zone`}),`, `,_jsx(_components.code,{children:`webhook`}),`, `,_jsx(_components.code,{children:`data_source`}),`), `,_jsx(_components.code,{children:`unit_days`}),` (each unit above, for each day), `,_jsx(_components.code,{children:`price_per_day`}),`, `,_jsx(_components.code,{children:`amount`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`events`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`events`}),` above the yearly `,_jsx(_components.code,{children:`limit`}),`, `,_jsx(_components.code,{children:`unit_price`}),`, `,_jsx(_components.code,{children:`amount`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`event_fee`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`events`}),` of the month, `,_jsx(_components.code,{children:`fee`}),`, `,_jsx(_components.code,{children:`amount`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`value_fee`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`event_type_id`}),`, `,_jsx(_components.code,{children:`type_name`}),`, `,_jsx(_components.code,{children:`operations`}),` of the month charged with a fee on value, `,_jsx(_components.code,{children:`amount`})]})]})]})]})]}),_jsx(ResponseField,{name:`amount`,type:`number`,id:`param-amount`,children:_jsx(_components.p,{children:`Total without tax. Taxes are added on the invoice itself.`})}),_jsx(ResponseField,{name:`comm_amount`,type:`number`,id:`param-comm-amount`,children:_jsx(_components.p,{children:`The communications part.`})}),_jsx(ResponseField,{name:`stock_amount`,type:`number`,id:`param-stock-amount`,children:_jsx(_components.p,{children:`The part of units above the plan and of events above the yearly limit, including amounts carried from earlier months.`})}),_jsx(ResponseField,{name:`fee_amount`,type:`number`,id:`param-fee-amount`,children:_jsx(_components.p,{children:`The part of the fee per event and the fee on value, including amounts carried from earlier months.`})}),_jsx(ResponseField,{name:`fee_events`,type:`integer`,id:`param-fee-events`,children:_jsx(_components.p,{children:`Production events charged with the fee.`})}),_jsx(ResponseField,{name:`currency`,type:`string`,id:`param-currency-3`,children:_jsx(_components.p,{children:`Currency of the invoice.`})}),_jsx(ResponseField,{name:`invoice_url`,type:`string | null`,id:`param-invoice-url`,children:_jsxs(_components.p,{children:[`Link to the invoice, to see and pay it. `,_jsx(_components.code,{children:`null`}),` for a carried month.`]})})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`errors`,children:`Errors`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Status`}),_jsx(_components.th,{children:`Code`}),_jsx(_components.th,{children:`When`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`401`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`unauthorized`})}),_jsx(_components.td,{children:`Credential missing, malformed, revoked or expired`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`403`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`forbidden`})}),_jsxs(_components.td,{children:[`The credential lacks `,_jsx(_components.code,{children:`billing:view`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`404`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`not_found`})}),_jsx(_components.td,{children:`The credential is not linked to a tenant`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`503`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`service_unavailable`})}),_jsx(_components.td,{children:`Not available right now. Retry`})]})]})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Monthly invoices","description":"The monthly invoices of your organisation, with everything charged apart from the plan, and the upgrade suggestion.","href":"/api-reference/tenant/monthly-invoices"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Authentication","slug":"authentication","depth":2,"children":[]},{"title":"Example","slug":"example","depth":2,"children":[]},{"title":"Response","slug":"response","depth":2,"children":[]},{"title":"Errors","slug":"errors","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"wedetech","siteName":"wede technology","title":"Monthly invoices - wede technology","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-01T10:34:22.583Z","originalFileLocation":"api-reference/tenant/monthly-invoices.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=\"light\";if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"light\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"The monthly invoices of your organisation, with everything charged apart from the plan, and the upgrade suggestion.\">\u003cmeta data-mint-head name=\"application-name\" content=\"wede technology\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/wedetech/0SmOc2lfuzjkX4SZ/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/wedetech/0SmOc2lfuzjkX4SZ/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/wedetech/0SmOc2lfuzjkX4SZ/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/wedetech/0SmOc2lfuzjkX4SZ/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/wedetech/0SmOc2lfuzjkX4SZ/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/wedetech/0SmOc2lfuzjkX4SZ/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/wedetech/0SmOc2lfuzjkX4SZ/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/wedetech/0SmOc2lfuzjkX4SZ/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/wedetech/0SmOc2lfuzjkX4SZ/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Monthly invoices - wede technology\">\u003cmeta data-mint-head property=\"og:description\" content=\"The monthly invoices of your organisation, with everything charged apart from the plan, and the upgrade suggestion.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"wede technology\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.wede.pt/api-reference/tenant/monthly-invoices\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://wedetech.mintlify.site/_mintlify/api/og/v2?division=Tenant\u0026amp;title=Monthly+invoices\u0026amp;description=The+monthly+invoices+of+your+organisation%2C+with+everything+charged+apart+from+the+plan%2C+and+the+upgrade+suggestion.\u0026amp;theme=df3b4564645dd9efd1d77a47\u0026amp;signature=b7a428e68a57ee8399c9226bb961f1f07022d24e903f250137a0854250c085cf\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Monthly invoices - wede technology\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"The monthly invoices of your organisation, with everything charged apart from the plan, and the upgrade suggestion.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://wedetech.mintlify.site/_mintlify/api/og/v2?division=Tenant\u0026amp;title=Monthly+invoices\u0026amp;description=The+monthly+invoices+of+your+organisation%2C+with+everything+charged+apart+from+the+plan%2C+and+the+upgrade+suggestion.\u0026amp;theme=df3b4564645dd9efd1d77a47\u0026amp;signature=b7a428e68a57ee8399c9226bb961f1f07022d24e903f250137a0854250c085cf\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/wedetech/0SmOc2lfuzjkX4SZ/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"wede technology\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#F9500A\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.wede.pt/api-reference/tenant/monthly-invoices\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/tenant/monthly-invoices.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.wede.pt/#organization\",\"name\":\"wede technology\",\"url\":\"https://docs.wede.pt\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/wedetech/7BuacVCTok17wF0p/logo/logo_wede_tech_black_wide.png?fit=max\u0026auto=format\u0026n=7BuacVCTok17wF0p\u0026q=85\u0026s=f75c7233891c29550490a254909d9e59\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.wede.pt#website\",\"name\":\"wede technology\",\"url\":\"https://docs.wede.pt\",\"publisher\":{\"@id\":\"https://docs.wede.pt/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.wede.pt/api-reference/tenant/monthly-invoices#webpage\",\"url\":\"https://docs.wede.pt/api-reference/tenant/monthly-invoices\",\"name\":\"Monthly invoices\",\"description\":\"The monthly invoices of your organisation, with everything charged apart from the plan, and the upgrade suggestion.\",\"dateModified\":\"2026-11-01T10:34:22.583Z\",\"isPartOf\":{\"@id\":\"https://docs.wede.pt#website\"},\"breadcrumb\":{\"@id\":\"https://docs.wede.pt/api-reference/tenant/monthly-invoices#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.wede.pt/api-reference/tenant/monthly-invoices#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Tenant\",\"item\":\"https://docs.wede.pt/api-reference/tenant/me\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Monthly invoices\",\"item\":\"https://docs.wede.pt/api-reference/tenant/monthly-invoices\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.wede.pt/api-reference/tenant/monthly-invoices#article\",\"headline\":\"Monthly invoices\",\"name\":\"Monthly invoices\",\"description\":\"The monthly invoices of your organisation, with everything charged apart from the plan, and the upgrade suggestion.\",\"url\":\"https://docs.wede.pt/api-reference/tenant/monthly-invoices\",\"mainEntityOfPage\":{\"@id\":\"https://docs.wede.pt/api-reference/tenant/monthly-invoices#webpage\"},\"dateModified\":\"2026-11-01T10:34:22.583Z\",\"publisher\":{\"@id\":\"https://docs.wede.pt/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.wede.pt#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"wede technology\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"wede technology\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/tenant/monthly-invoices.md","siteName":"wede technology","nav":{"global":{"anchors":[{"anchor":"API Status","icon":"signal","href":"https://status.wede.pt"},{"anchor":"Dashboard","icon":"gauge","href":"https://app.wede.pt"},{"anchor":"Support","icon":"envelope","href":"mailto:geral@wede.pt"}]},"tabs":[{"tab":"Getting Started","pages":[{"title":"Getting Started","href":""}]},{"tab":"API Reference","groups":[{"group":"Overview","pages":[{"title":"API reference","href":"/api-reference/introduction"},{"title":"Postman","icon":"rocket","href":"/api-reference/postman"}]},{"group":"Authentication","pages":[{"title":"Login","href":"/api-reference/auth/login"},{"title":"Session tokens","href":"/api-reference/auth/token"}]},{"group":"Events","pages":[{"title":"Create event","href":"/api-reference/events/create"},{"title":"List events","href":"/api-reference/events/list"},{"title":"Get event","href":"/api-reference/events/get"},{"title":"Event types","href":"/api-reference/event-types"}]},{"group":"Teams \u0026 Dispatch","pages":[{"title":"Teams","href":"/api-reference/teams/list"},{"title":"Dispatch a team","href":"/api-reference/teams/dispatch"},{"title":"Action dispatch","href":"/api-reference/teams/dispatch-action"},{"title":"Dispatch score","href":"/api-reference/teams/score"},{"title":"Team members","href":"/api-reference/teams/members"},{"title":"Team equipment","href":"/api-reference/teams/equipment"},{"title":"Team coverage","href":"/api-reference/teams/coverage"},{"title":"Location config","href":"/api-reference/teams/location-config"},{"title":"Team verticals","href":"/api-reference/teams/verticals"}]},{"group":"Missions","pages":[{"title":"Missions","href":"/api-reference/missions"}]},{"group":"Zones","pages":[{"title":"List zones","href":"/api-reference/zones/list"},{"title":"Get a zone","href":"/api-reference/zones/detail"},{"title":"Create a zone","href":"/api-reference/zones/create"},{"title":"Update a zone","href":"/api-reference/zones/update"},{"title":"Delete a zone","href":"/api-reference/zones/delete"}]},{"group":"Billing","pages":[{"title":"Billing","href":"/api-reference/billing"}]},{"group":"Tenant","pages":[{"title":"Tenant profile","href":"/api-reference/tenant/me"},{"title":"Usage","href":"/api-reference/tenant/usage"},{"title":"Communications","href":"/api-reference/tenant/communications"},{"title":"Plans of your organisation","description":"Every plan offered to your organisation, each with your conditions: price, what it includes, prices above it, fee per event and add-ons.","href":"/api-reference/tenant/plans"},{"title":"Monthly invoices","href":"/api-reference/tenant/monthly-invoices"}]},{"group":"Webhooks","pages":[{"title":"Webhook events","description":"Every webhook event, its data, the delivery envelope and headers, signature verification and retries.","href":"/api-reference/webhooks/events"},{"title":"List webhooks","href":"/api-reference/webhooks/list"},{"title":"Create webhook","href":"/api-reference/webhooks/create"},{"title":"Test webhook","href":"/api-reference/webhooks/test"},{"title":"Delete webhook","href":"/api-reference/webhooks/delete"}]},{"group":"Sync","pages":[{"title":"Sync batch","href":"/api-reference/sync/batch"},{"title":"Sync status","href":"/api-reference/sync/status"},{"title":"Devices and offline dispatch","href":"/api-reference/devices"}]},{"group":"Policies","pages":[{"title":"Offline policy","href":"/api-reference/policies"}]},{"group":"Connectivity","pages":[{"title":"Connectivity status","href":"/api-reference/connectivity/status"},{"title":"Report connectivity","href":"/api-reference/connectivity/report"}]},{"group":"Sandbox","pages":[{"title":"Simulate connectivity","href":"/api-reference/sandbox/simulate"},{"title":"Proof runs","href":"/api-reference/sandbox/proof-runs"}]},{"group":"Parsers","pages":[{"title":"List parsers","href":"/api-reference/parsers/list"},{"title":"Create a parser","href":"/api-reference/parsers/create"},{"title":"Update a parser","href":"/api-reference/parsers/update"}]},{"group":"Onboarding","pages":[{"title":"Register","href":"/api-reference/onboarding/register"},{"title":"Verify email","href":"/api-reference/onboarding/verify"}]}]},{"tab":"Security","pages":[{"title":"Security","href":"/concepts/security"}]},{"tab":"SDKs","pages":[{"title":"SDKs","href":"/sdks/overview"}]}]},"basePath":"","title":"Monthly invoices - wede technology","deploymentId":"dpl_FZMKUpaaKiVETbfqhoUe4sPFDTmY","buildId":"dpl_FZMKUpaaKiVETbfqhoUe4sPFDTmY","dynamics":[],"chunks":[]}