{
"message": "This API key is not allowed to do that in this team. It needs the \"snapshot.delete\" permission."
}
{
"message": "Not found."
}
{
"message": "Too Many Attempts."
}
Invoices
Get a postpaid invoice
Overview
Returns one postpaid invoice with its lines. A usage line is one resource’s stretch of the month: hours (part hours count as whole ones, at least one and at most 672 a month) at hourly_rate, which is the monthly price over 672 hours rounded up to five decimal places. A monthly_cap line hands back what the rounded rate charged above the monthly price, a charge line is a one-off purchase such as a bandwidth block, and a rounding line takes the total up to the next cent. A draft’s lines are worked out to this moment.
Permissions
Requires the account permission invoices.read (View invoices).
{
"message": "This API key is not allowed to do that in this team. It needs the \"snapshot.delete\" permission."
}
{
"message": "Not found."
}
{
"message": "Too Many Attempts."
}
Authorizations
Authorization
string
header
required
Your API key, sent as a bearer token. Create one in the control panel under API Keys, give it only the permissions the integration needs, and copy it when it is created. It cannot be shown again. Each key is restricted to one owned team. The key determines the team for every request.
Path Parameters
invoice
string | null
required
The invoice uuid short
Example:
18342
Response
The record, as a JSON object. There is no envelope.
An account's invoice for one calendar month, covering every postpaid team it owns, billed by the hour.
id
string | null
required
Null for a month with nothing billed yet, which has no row.
Example:
"8f9b2a4c-6d1e-4f3a-9b7c-2e5d8a1f4c6b"
uuid_short
string | null
required
The value of uuid_short.
Example:
"Uuid short"
month
string
required
The value of month.
Example:
"2026-09"
month_label
string
required
The value of month_label.
Example:
"September 2026"
status
enum<string>
required
The value of status.
Available options:
draft,
unpaid,
credit_hold,
suspended,
termination_pending,
paid,
deferred,
cancelled
Example:
"unpaid"
status_label
string
required
The value of status_label.
Example:
"Unpaid"
total
string
required
The value of total.
Example:
"16.00"
currency
string
required
The three-letter currency code used for monetary amounts.
Example:
"USD"
invoice_date
string | null
required
On a draft, the dates it will be issued (the next month's first day) and due.
Example:
"Invoice date"
due_date
string | null
required
The value of due_date.
Example:
"2026-10-07"
credit_hold_date
string | null
required
The value of credit_hold_date.
Example:
"2026-10-14"
suspension_date
string | null
required
The value of suspension_date.
Example:
"2026-10-14"
termination_date
string | null
required
The value of termination_date.
Example:
"2026-10-21"
paid_at
string | null
required
When payment was recorded, in UTC.
Example:
null
invoice_id
integer | null
required
The published invoice, paid like any other through the invoice endpoints. Null until it is published.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Advin Servers","colors":{"primary":"#232323","light":"#ffffff","dark":"#767676"},"logo":{"light":"https://mintcdn.com/advinservers/hsoR78mplm26jwSe/logo/light.svg?fit=max\u0026auto=format\u0026n=hsoR78mplm26jwSe\u0026q=85\u0026s=5adfd787faa2746d42842a3dbe9d5c55","dark":"https://mintcdn.com/advinservers/pwCfGukIkzeLYqrm/logo/dark.svg?fit=max\u0026auto=format\u0026n=pwCfGukIkzeLYqrm\u0026q=85\u0026s=97d478977cc103da1d2432e03943b388"},"favicon":"https://mintcdn.com/advinservers/MD6yusifmHDEhuzq/logo/logo.jpg?fit=max\u0026auto=format\u0026n=MD6yusifmHDEhuzq\u0026q=85\u0026s=4a842dcaf66f28bd660d8b3448d9ca0c","appearance":{"default":"dark","strict":false},"background":{"color":{"dark":"#121212"}},"navbar":{"links":[{"href":"https://console.advinservers.com","label":"Console"},{"href":"https://status.advinservers.com","label":"Network Status"},{"href":"https://clients.advinservers.com/contact.php","label":"Support"}],"primary":{"type":"button","label":"Home","href":"https://clients.advinservers.com"}},"footer":{"socials":{"twitter":"https://x.com/@advinservers","linkedin":"https://www.linkedin.com/company/98505920","facebook":"https://www.facebook.com/profile.php?id=61554233398872","instagram":"https://www.instagram.com/advin_servers"}},"fonts":{"family":"Geist"},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"advinservers","hasAudioNarration":false,"actualSubdomain":"advinservers","customDomains":["docs.advinservers.com"],"gitSource":{"type":"github","owner":"advin-servers","repo":"documentation","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6af99fe125f0e2ea6db7ee2e","clientVersion":"0.0.4143","searchFilterCounts":[{"language":"default","tag":"API","count":234},{"language":"default","tag":"Endpoints","count":233},{"language":"default","tag":"Servers","count":37},{"language":"default","tag":"Billing","count":35},{"language":"default","tag":"Bandwidth","count":15},{"language":"default","tag":"Firewall groups","count":15},{"language":"default","tag":"Server settings","count":15},{"language":"default","tag":"Snapshots","count":15},{"language":"default","tag":"Policies","count":13},{"language":"default","tag":"IP addresses","count":13}]},"assistantConfig":{},"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":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":true},"customCss":[{"filePath":"style.css","content":".dark{--background-dark: 18 18 18;--gray-50: 229 229 229;--gray-100: 222 222 222;--gray-200: 208 208 208;--gray-300: 182 182 182;--gray-400: 152 152 152;--gray-500: 127 127 127;--gray-600: 50 50 52;--gray-700: 43 43 45;--gray-800: 33 33 35;--gray-900: 26 26 28;--gray-950: 20 20 21;--primary-dark: 196 196 196}.dark #navbar>div:first-child{background-color:#161617;border-color:#323234}.dark #search-bar-entry,.dark #search-bar-entry-mobile{background-color:#161617;border-color:#3c3c3e;color:#989898}.dark #topbar-cta-button a>div,.dark #topbar-cta-button a>div>*{color:#121212}.dark #sidebar [aria-current=\"page\"],.dark #sidebar .bg-primary\\/10{background-color:#242426;color:#dedede}.dark .code-block{background-color:#161617;border-color:#323234}.dark .prose :not(pre)>code{background-color:#1c1c1e;border-color:#323234;color:#dedede}.dark .card,.dark [data-component-part=\"card\"],.dark .accordion,.dark [data-component-part=\"accordion\"]{background-color:#161617;border-color:#323234}.dark .callout{--callout-rgb: 59 130 246;--callout-text: 147 197 253;--callout-icon: 96 165 250;--callout-bg-alpha: 0.05;--callout-border-alpha: 0.18;background-color:rgb(var(--callout-rgb) / var(--callout-bg-alpha));border-color:rgb(var(--callout-rgb) / var(--callout-border-alpha));color:rgb(var(--callout-text) / 0.78)}.dark .callout [data-component-part=\"callout-icon\"],.dark .callout [data-component-part=\"callout-icon\"] svg{color:rgb(var(--callout-icon))}.dark .callout [data-component-part=\"callout-content\"],.dark .callout [data-component-part=\"callout-content\"] :is(p,li,strong,a,span){color:rgb(var(--callout-text) / 0.78)}.dark .callout[data-callout-type=\"tip\"],.dark .callout[data-callout-type=\"check\"]{--callout-rgb: 22 163 74;--callout-text: 134 239 172;--callout-icon: 74 222 128}.dark .callout[data-callout-type=\"warning\"]{--callout-rgb: 228 158 34;--callout-text: 247 185 85;--callout-icon: 247 185 85;--callout-bg-alpha: 0.06;--callout-border-alpha: 0.2}.dark .callout[data-callout-type=\"danger\"]{--callout-rgb: 189 65 63;--callout-text: 211 117 115;--callout-icon: 211 117 115}.dark .mdx-content img{border:1px solid #323234;border-radius:8px}.dark .prose{line-height:1.7}.dark .prose :is(strong,b){color:rgb(229 229 229);font-weight:600}.dark .prose :is(h2,h3,h4){color:rgb(229 229 229)}.dark .prose a{text-decoration-color:rgb(255 255 255 / 0.28)}.dark .prose table :is(th,td){border-color:#323234}.columns h3{margin-top:2rem;padding-bottom:0.6rem;border-bottom:1px solid rgb(0 0 0 / 0.1);font-size:0.8rem;font-weight:600;letter-spacing:0.06em;text-transform:uppercase}.dark .columns h3{border-color:#323234;color:rgb(152 152 152)}.prose .columns ul{list-style:none;padding-left:0;margin-top:0.75rem}.prose .columns li{margin:0.35rem 0 0.35rem -2em}.columns li::marker,.columns li::before{content:none!important;display:none}.columns li a,.columns li a.link{border-bottom:none;text-decoration:none;font-weight:400}.columns li a:hover{text-decoration:underline;text-underline-offset:3px}.card{border-radius:8px}.card>div{padding:1rem 1.25rem}.dark .card:hover{border-color:#4a4a4d}"}],"page":{"pagePath":"api-reference/invoices/get-a-postpaid-invoice","slug":"/api-reference/invoices/get-a-postpaid-invoice","pageMetadata":{"title":"Get a postpaid invoice","description":"### Overview\n\nReturns one postpaid invoice with its `lines`. A usage line is one resource's stretch of the month: `hours` (part hours count as whole ones, at least one and at most 672 a month) at `hourly_rate`, which is the monthly price over 672 hours rounded up to five decimal places. A `monthly_cap` line hands back what the rounded rate charged above the monthly price, a `charge` line is a one-off purchase such as a bandwidth block, and a `rounding` line takes the total up to the next cent. A draft's lines are worked out to this moment.\n\n### Permissions\n\nRequires the account permission `invoices.read` (View invoices).","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /postpaid-invoices/{invoice}","href":"/api-reference/invoices/get-a-postpaid-invoice","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n h3: \"h3\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsx(_components.h3, {\n children: \"Overview\"\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"Returns one postpaid invoice with its \", _jsx(_components.code, {\n children: \"lines\"\n }), \". A usage line is one resource’s stretch of the month: \", _jsx(_components.code, {\n children: \"hours\"\n }), \" (part hours count as whole ones, at least one and at most 672 a month) at \", _jsx(_components.code, {\n children: \"hourly_rate\"\n }), \", which is the monthly price over 672 hours rounded up to five decimal places. A \", _jsx(_components.code, {\n children: \"monthly_cap\"\n }), \" line hands back what the rounded rate charged above the monthly price, a \", _jsx(_components.code, {\n children: \"charge\"\n }), \" line is a one-off purchase such as a bandwidth block, and a \", _jsx(_components.code, {\n children: \"rounding\"\n }), \" line takes the total up to the next cent. A draft’s lines are worked out to this moment.\"]\n }), \"\\n\", _jsx(_components.h3, {\n children: \"Permissions\"\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"Requires the account permission \", _jsx(_components.code, {\n children: \"invoices.read\"\n }), \" (View invoices).\"]\n })]\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}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Get a postpaid invoice","description":"### Overview\n\nReturns one postpaid invoice with its `lines`. A usage line is one resource's stretch of the month: `hours` (part hours count as whole ones, at least one and at most 672 a month) at `hourly_rate`, which is the monthly price over 672 hours rounded up to five decimal places. A `monthly_cap` line hands back what the rounded rate charged above the monthly price, a `charge` line is a one-off purchase such as a bandwidth block, and a `rounding` line takes the total up to the next cent. A draft's lines are worked out to this moment.\n\n### Permissions\n\nRequires the account permission `invoices.read` (View invoices).","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /postpaid-invoices/{invoice}","href":"/api-reference/invoices/get-a-postpaid-invoice","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"client.postpaid-invoices.show","description":"### Overview\n\nReturns one postpaid invoice with its `lines`. A usage line is one resource's stretch of the month: `hours` (part hours count as whole ones, at least one and at most 672 a month) at `hourly_rate`, which is the monthly price over 672 hours rounded up to five decimal places. A `monthly_cap` line hands back what the rounded rate charged above the monthly price, a `charge` line is a one-off purchase such as a bandwidth block, and a `rounding` line takes the total up to the next cent. A draft's lines are worked out to this moment.\n\n### Permissions\n\nRequires the account permission `invoices.read` (View invoices).","summary":"Get a postpaid invoice","tags":["Invoices"],"parameters":["f3c58cd3-a599-42f0-9084-15958c2d176a"],"responses":{"200":"36b19adf-570e-4a09-bddb-54b42ba438df","401":"7ff7b272-f481-43dd-889f-57c14d401348","403":"9f2a9f38-906a-469c-b591-ca7f7520fbfc","404":"70583aa4-45fb-45f8-bdd6-fdc15d5848d4","429":"8f84b1ff-5d76-4c76-b875-2771dfc125a9"},"method":"get","type":"path","servers":["e601f557-b722-4651-a289-fe48fc498e0d"],"security":["fdadd9d9-532f-4e6c-bfcf-6c005afe8770"],"path":"/postpaid-invoices/{invoice}","baseUrlOptions":["https://console.advinservers.com/api/v1/client"],"title":"Get a postpaid invoice","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"f3c58cd3-a599-42f0-9084-15958c2d176a":{"name":"invoice","in":"path","required":true,"description":"The invoice uuid short","schema":{"oneOf":[{"type":"string","examples":[18342],"description":"The invoice uuid short","isRequired":true,"uniqueKey":"oneOf.0","typeLabel":"string"},{"type":"null","examples":[18342],"description":"The invoice uuid short","isRequired":true,"uniqueKey":"oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"","typeLabel":"string | null"},"example":18342}},"responses":{"36b19adf-570e-4a09-bddb-54b42ba438df":{"description":"The record, as a JSON object. There is no envelope.","content":{"application/json":{"schema":{"type":"object","title":"PostpaidInvoiceData","description":"An account's invoice for one calendar month, covering every postpaid team it owns, billed by the hour.","required":["id","uuid_short","month","month_label","status","status_label","total","currency","invoice_date","due_date","credit_hold_date","suspension_date","termination_date","paid_at","invoice_id","can_pay","lines"],"example":{"id":"8f9b2a4c-6d1e-4f3a-9b7c-2e5d8a1f4c6b","uuid_short":"Uuid short","month":"2026-09","month_label":"September 2026","status":"unpaid","status_label":"Unpaid","total":"16.00","currency":"USD","invoice_date":"Invoice date","due_date":"2026-10-07","credit_hold_date":"2026-10-14","suspension_date":"2026-10-14","termination_date":"2026-10-21","paid_at":null,"invoice_id":18342,"can_pay":true,"lines":[{"type":"usage","description":"lambda-core","resource":"Virtual Server","team_name":"Anomalous Materials","month":"2026-09","hours":672,"hourly_rate":"0.02381","monthly_rate":"16.00","amount":"16.00032","started_at":"2026-09-01T00:00:00+00:00","ended_at":"2026-09-30T23:59:59+00:00"},{"type":"monthly_cap","description":"Monthly cap adjustment: lambda-core","resource":"Virtual Server","team_name":"Anomalous Materials","month":"2026-09","hours":null,"hourly_rate":null,"monthly_rate":null,"amount":"-0.00032","started_at":null,"ended_at":null}]},"properties":{"id":{"oneOf":[{"type":"string","description":"Null for a month with nothing billed yet, which has no row.","examples":["8f9b2a4c-6d1e-4f3a-9b7c-2e5d8a1f4c6b"],"isRequired":true,"uniqueKey":"id.oneOf.0","typeLabel":"string"},{"type":"null","description":"Null for a month with nothing billed yet, which has no row.","examples":["8f9b2a4c-6d1e-4f3a-9b7c-2e5d8a1f4c6b"],"isRequired":true,"uniqueKey":"id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"id","typeLabel":"string | null"},"uuid_short":{"oneOf":[{"type":"string","description":"The value of `uuid_short`.","examples":["Uuid short"],"isRequired":true,"uniqueKey":"uuid_short.oneOf.0","typeLabel":"string"},{"type":"null","description":"The value of `uuid_short`.","examples":["Uuid short"],"isRequired":true,"uniqueKey":"uuid_short.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"uuid_short","typeLabel":"string | null"},"month":{"type":"string","description":"The value of `month`.","examples":["2026-09"],"isRequired":true,"uniqueKey":"month","typeLabel":"string"},"month_label":{"type":"string","description":"The value of `month_label`.","examples":["September 2026"],"isRequired":true,"uniqueKey":"month_label","typeLabel":"string"},"status":{"type":"string","description":"The value of `status`.","enum":["draft","unpaid","credit_hold","suspended","termination_pending","paid","deferred","cancelled"],"examples":["unpaid"],"isRequired":true,"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"status_label":{"type":"string","description":"The value of `status_label`.","examples":["Unpaid"],"isRequired":true,"uniqueKey":"status_label","typeLabel":"string"},"total":{"type":"string","description":"The value of `total`.","examples":["16.00"],"isRequired":true,"uniqueKey":"total","typeLabel":"string"},"currency":{"type":"string","description":"The three-letter currency code used for monetary amounts.","examples":["USD"],"isRequired":true,"uniqueKey":"currency","typeLabel":"string"},"invoice_date":{"oneOf":[{"type":"string","description":"On a draft, the dates it will be issued (the next month's first day) and due.","examples":["Invoice date"],"isRequired":true,"uniqueKey":"invoice_date.oneOf.0","typeLabel":"string"},{"type":"null","description":"On a draft, the dates it will be issued (the next month's first day) and due.","examples":["Invoice date"],"isRequired":true,"uniqueKey":"invoice_date.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"invoice_date","typeLabel":"string | null"},"due_date":{"oneOf":[{"type":"string","description":"The value of `due_date`.","examples":["2026-10-07"],"isRequired":true,"uniqueKey":"due_date.oneOf.0","typeLabel":"string"},{"type":"null","description":"The value of `due_date`.","examples":["2026-10-07"],"isRequired":true,"uniqueKey":"due_date.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"due_date","typeLabel":"string | null"},"credit_hold_date":{"oneOf":[{"type":"string","description":"The value of `credit_hold_date`.","examples":["2026-10-14"],"isRequired":true,"uniqueKey":"credit_hold_date.oneOf.0","typeLabel":"string"},{"type":"null","description":"The value of `credit_hold_date`.","examples":["2026-10-14"],"isRequired":true,"uniqueKey":"credit_hold_date.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"credit_hold_date","typeLabel":"string | null"},"suspension_date":{"oneOf":[{"type":"string","description":"The value of `suspension_date`.","examples":["2026-10-14"],"isRequired":true,"uniqueKey":"suspension_date.oneOf.0","typeLabel":"string"},{"type":"null","description":"The value of `suspension_date`.","examples":["2026-10-14"],"isRequired":true,"uniqueKey":"suspension_date.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"suspension_date","typeLabel":"string | null"},"termination_date":{"oneOf":[{"type":"string","description":"The value of `termination_date`.","examples":["2026-10-21"],"isRequired":true,"uniqueKey":"termination_date.oneOf.0","typeLabel":"string"},{"type":"null","description":"The value of `termination_date`.","examples":["2026-10-21"],"isRequired":true,"uniqueKey":"termination_date.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"termination_date","typeLabel":"string | null"},"paid_at":{"oneOf":[{"type":"string","description":"When payment was recorded, in UTC.","examples":[null],"isRequired":true,"uniqueKey":"paid_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"When payment was recorded, in UTC.","examples":[null],"isRequired":true,"uniqueKey":"paid_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"paid_at","typeLabel":"string | null"},"invoice_id":{"oneOf":[{"type":"integer","description":"The published invoice, paid like any other through the invoice endpoints. Null until it is published.","examples":[18342],"isRequired":true,"uniqueKey":"invoice_id.oneOf.0","typeLabel":"integer"},{"type":"null","description":"The published invoice, paid like any other through the invoice endpoints. Null until it is published.","examples":[18342],"isRequired":true,"uniqueKey":"invoice_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"invoice_id","typeLabel":"integer | null"},"can_pay":{"type":"boolean","description":"Whether the customer can pay.","examples":[true],"isRequired":true,"uniqueKey":"can_pay","typeLabel":"boolean"},"lines":{"oneOf":[{"type":"array","description":"The value of `lines`.","examples":[[{"type":"usage","description":"lambda-core","resource":"Virtual Server","team_name":"Anomalous Materials","month":"2026-09","hours":672,"hourly_rate":"0.02381","monthly_rate":"16.00","amount":"16.00032","started_at":"2026-09-01T00:00:00+00:00","ended_at":"2026-09-30T23:59:59+00:00"},{"type":"monthly_cap","description":"Monthly cap adjustment: lambda-core","resource":"Virtual Server","team_name":"Anomalous Materials","month":"2026-09","hours":null,"hourly_rate":null,"monthly_rate":null,"amount":"-0.00032","started_at":null,"ended_at":null}]],"items":{"type":"object","description":"One line of a postpaid invoice: a resource's hours, a cap give-back, a one-off charge or the rounding.","examples":[{"type":"usage","description":"lambda-core","resource":"Virtual Server","team_name":"Anomalous Materials","month":"2026-09","hours":672,"hourly_rate":"0.02381","monthly_rate":"16.00","amount":"16.00032","started_at":"2026-09-01T00:00:00+00:00","ended_at":"2026-09-30T23:59:59+00:00"}],"properties":{"type":{"type":"string","description":"usage, monthly_cap, charge or rounding.","examples":["usage"],"isRequired":true,"uniqueKey":"lines.oneOf.0.items.[INDEX].type","typeLabel":"string"},"description":{"type":"string","description":"An optional description shown to customers.","examples":["lambda-core"],"isRequired":true,"uniqueKey":"lines.oneOf.0.items.[INDEX].description","typeLabel":"string"},"resource":{"oneOf":[{"type":"string","description":"The kind of resource the line bills, such as \"Virtual Server\", which the invoice groups by. Null for the rounding line.","examples":["Virtual Server"],"isRequired":true,"uniqueKey":"lines.oneOf.0.items.[INDEX].resource.oneOf.0","typeLabel":"string"},{"type":"null","description":"The kind of resource the line bills, such as \"Virtual Server\", which the invoice groups by. Null for the rounding line.","examples":["Virtual Server"],"isRequired":true,"uniqueKey":"lines.oneOf.0.items.[INDEX].resource.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"lines.oneOf.0.items.[INDEX].resource","typeLabel":"string | null"},"team_name":{"oneOf":[{"type":"string","description":"The team the line was billed in. Null for the rounding line and for a team since deleted.","examples":["Anomalous Materials"],"isRequired":true,"uniqueKey":"lines.oneOf.0.items.[INDEX].team_name.oneOf.0","typeLabel":"string"},{"type":"null","description":"The team the line was billed in. Null for the rounding line and for a team since deleted.","examples":["Anomalous Materials"],"isRequired":true,"uniqueKey":"lines.oneOf.0.items.[INDEX].team_name.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"lines.oneOf.0.items.[INDEX].team_name","typeLabel":"string | null"},"month":{"type":"string","description":"The month the line was billed for, which is earlier than the invoice's on a carried-over line.","examples":["2026-09"],"isRequired":true,"uniqueKey":"lines.oneOf.0.items.[INDEX].month","typeLabel":"string"},"hours":{"oneOf":[{"type":"integer","description":"The value of `hours`.","examples":[672],"isRequired":true,"uniqueKey":"lines.oneOf.0.items.[INDEX].hours.oneOf.0","typeLabel":"integer"},{"type":"null","description":"The value of `hours`.","examples":[672],"isRequired":true,"uniqueKey":"lines.oneOf.0.items.[INDEX].hours.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"lines.oneOf.0.items.[INDEX].hours","typeLabel":"integer | null"},"hourly_rate":{"oneOf":[{"type":"string","description":"Five decimal places, as charged.","examples":["0.02381"],"isRequired":true,"uniqueKey":"lines.oneOf.0.items.[INDEX].hourly_rate.oneOf.0","typeLabel":"string"},{"type":"null","description":"Five decimal places, as charged.","examples":["0.02381"],"isRequired":true,"uniqueKey":"lines.oneOf.0.items.[INDEX].hourly_rate.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"lines.oneOf.0.items.[INDEX].hourly_rate","typeLabel":"string | null"},"monthly_rate":{"oneOf":[{"type":"string","description":"The value of `monthly_rate`.","examples":["16.00"],"isRequired":true,"uniqueKey":"lines.oneOf.0.items.[INDEX].monthly_rate.oneOf.0","typeLabel":"string"},{"type":"null","description":"The value of `monthly_rate`.","examples":["16.00"],"isRequired":true,"uniqueKey":"lines.oneOf.0.items.[INDEX].monthly_rate.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"lines.oneOf.0.items.[INDEX].monthly_rate","typeLabel":"string | null"},"amount":{"type":"string","description":"Five decimal places; the invoice total is rounded up to the cent once, on its own line.","examples":["16.00032"],"isRequired":true,"uniqueKey":"lines.oneOf.0.items.[INDEX].amount","typeLabel":"string"},"started_at":{"oneOf":[{"type":"string","description":"The date and time for started at, in UTC.","examples":["2026-09-01T00:00:00+00:00"],"isRequired":true,"uniqueKey":"lines.oneOf.0.items.[INDEX].started_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"The date and time for started at, in UTC.","examples":["2026-09-01T00:00:00+00:00"],"isRequired":true,"uniqueKey":"lines.oneOf.0.items.[INDEX].started_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"lines.oneOf.0.items.[INDEX].started_at","typeLabel":"string | null"},"ended_at":{"oneOf":[{"type":"string","description":"The date and time for ended at, in UTC.","examples":["2026-09-30T23:59:59+00:00"],"isRequired":true,"uniqueKey":"lines.oneOf.0.items.[INDEX].ended_at.oneOf.0","typeLabel":"string"},{"type":"null","description":"The date and time for ended at, in UTC.","examples":["2026-09-30T23:59:59+00:00"],"isRequired":true,"uniqueKey":"lines.oneOf.0.items.[INDEX].ended_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"lines.oneOf.0.items.[INDEX].ended_at","typeLabel":"string | null"}},"required":["type","description","resource","team_name","month","hours","hourly_rate","monthly_rate","amount","started_at","ended_at"],"title":"PostpaidInvoiceLineData","uniqueKey":"lines.oneOf.0.items.[INDEX]","typeLabel":"PostpaidInvoiceLineData · object"},"isRequired":true,"uniqueKey":"lines.oneOf.0","typeLabel":"PostpaidInvoiceLineData · object[]"},{"type":"null","description":"The value of `lines`.","examples":[[{"type":"usage","description":"lambda-core","resource":"Virtual Server","team_name":"Anomalous Materials","month":"2026-09","hours":672,"hourly_rate":"0.02381","monthly_rate":"16.00","amount":"16.00032","started_at":"2026-09-01T00:00:00+00:00","ended_at":"2026-09-30T23:59:59+00:00"},{"type":"monthly_cap","description":"Monthly cap adjustment: lambda-core","resource":"Virtual Server","team_name":"Anomalous Materials","month":"2026-09","hours":null,"hourly_rate":null,"monthly_rate":null,"amount":"-0.00032","started_at":null,"ended_at":null}]],"items":{"type":"object","description":"One line of a postpaid invoice: a resource's hours, a cap give-back, a one-off charge or the rounding.","examples":[{"type":"usage","description":"lambda-core","resource":"Virtual Server","team_name":"Anomalous Materials","month":"2026-09","hours":672,"hourly_rate":"0.02381","monthly_rate":"16.00","amount":"16.00032","started_at":"2026-09-01T00:00:00+00:00","ended_at":"2026-09-30T23:59:59+00:00"}],"properties":{"type":{"type":"string","description":"usage, monthly_cap, charge or rounding.","examples":["usage"]},"description":{"type":"string","description":"An optional description shown to customers.","examples":["lambda-core"]},"resource":{"oneOf":[{"type":"string","description":"The kind of resource the line bills, such as \"Virtual Server\", which the invoice groups by. Null for the rounding line.","examples":["Virtual Server"]},{"type":"null","description":"The kind of resource the line bills, such as \"Virtual Server\", which the invoice groups by. Null for the rounding line.","examples":["Virtual Server"]}]},"team_name":{"oneOf":[{"type":"string","description":"The team the line was billed in. Null for the rounding line and for a team since deleted.","examples":["Anomalous Materials"]},{"type":"null","description":"The team the line was billed in. Null for the rounding line and for a team since deleted.","examples":["Anomalous Materials"]}]},"month":{"type":"string","description":"The month the line was billed for, which is earlier than the invoice's on a carried-over line.","examples":["2026-09"]},"hours":{"oneOf":[{"type":"integer","description":"The value of `hours`.","examples":[672]},{"type":"null","description":"The value of `hours`.","examples":[672]}]},"hourly_rate":{"oneOf":[{"type":"string","description":"Five decimal places, as charged.","examples":["0.02381"]},{"type":"null","description":"Five decimal places, as charged.","examples":["0.02381"]}]},"monthly_rate":{"oneOf":[{"type":"string","description":"The value of `monthly_rate`.","examples":["16.00"]},{"type":"null","description":"The value of `monthly_rate`.","examples":["16.00"]}]},"amount":{"type":"string","description":"Five decimal places; the invoice total is rounded up to the cent once, on its own line.","examples":["16.00032"]},"started_at":{"oneOf":[{"type":"string","description":"The date and time for started at, in UTC.","examples":["2026-09-01T00:00:00+00:00"]},{"type":"null","description":"The date and time for started at, in UTC.","examples":["2026-09-01T00:00:00+00:00"]}]},"ended_at":{"oneOf":[{"type":"string","description":"The date and time for ended at, in UTC.","examples":["2026-09-30T23:59:59+00:00"]},{"type":"null","description":"The date and time for ended at, in UTC.","examples":["2026-09-30T23:59:59+00:00"]}]}},"required":["type","description","resource","team_name","month","hours","hourly_rate","monthly_rate","amount","started_at","ended_at"],"title":"PostpaidInvoiceLineData"},"isRequired":true,"uniqueKey":"lines.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"lines","typeLabel":"PostpaidInvoiceLineData · object[] | null"}},"uniqueKey":"","typeLabel":"PostpaidInvoiceData · object"},"examples":{"Example":{"title":"Example","value":{"id":"8f9b2a4c-6d1e-4f3a-9b7c-2e5d8a1f4c6b","uuid_short":"Uuid short","month":"2026-09","month_label":"September 2026","status":"unpaid","status_label":"Unpaid","total":"16.00","currency":"USD","invoice_date":"Invoice date","due_date":"2026-10-07","credit_hold_date":"2026-10-14","suspension_date":"2026-10-14","termination_date":"2026-10-21","paid_at":null,"invoice_id":18342,"can_pay":true,"lines":[{"type":"usage","description":"lambda-core","resource":"Virtual Server","team_name":"Anomalous Materials","month":"2026-09","hours":672,"hourly_rate":"0.02381","monthly_rate":"16.00","amount":"16.00032","started_at":"2026-09-01T00:00:00+00:00","ended_at":"2026-09-30T23:59:59+00:00"},{"type":"monthly_cap","description":"Monthly cap adjustment: lambda-core","resource":"Virtual Server","team_name":"Anomalous Materials","month":"2026-09","hours":null,"hourly_rate":null,"monthly_rate":null,"amount":"-0.00032","started_at":null,"ended_at":null}]}}},"exampleType":"generated"}},"exampleType":"generated"},"7ff7b272-f481-43dd-889f-57c14d401348":{"description":"The key was missing, malformed, revoked, or belongs to an account that no longer exists.","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","examples":["Unauthenticated."],"isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"required":["message"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":"Unauthenticated."}}},"exampleType":"generated"}},"exampleType":"generated"},"9f2a9f38-906a-469c-b591-ca7f7520fbfc":{"description":"Access denied. Check the key's team, permissions and allowed IP addresses. Some actions, such as managing API keys, require a browser session. The response message explains the reason.","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","examples":["This API key is not allowed to do that in this team. It needs the \"snapshot.delete\" permission."],"isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"required":["message"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":"This API key is not allowed to do that in this team. It needs the \"snapshot.delete\" permission."}}},"exampleType":"generated"}},"exampleType":"generated"},"70583aa4-45fb-45f8-bdd6-fdc15d5848d4":{"description":"The resource was not found in the selected team. Resources in another account or team also return 404.","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","examples":["Not found."],"isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"required":["message"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":"Not found."}}},"exampleType":"generated"}},"exampleType":"generated"},"8f84b1ff-5d76-4c76-b875-2771dfc125a9":{"description":"Too many requests. The `Retry-After` header says how many seconds to wait. Limits are per account, so several keys on one account share them.","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","examples":["Too Many Attempts."],"isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"required":["message"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":"Too Many Attempts."}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"fdadd9d9-532f-4e6c-bfcf-6c005afe8770":{"http":{"type":"http","description":"Your API key, sent as a bearer token. Create one in the control panel under API Keys, give it only the permissions the integration needs, and copy it when it is created. It cannot be shown again. Each key is restricted to one owned team. The key determines the team for every request.","scheme":"bearer","scopes":[],"schemeName":"http"}}},"servers":{"e601f557-b722-4651-a289-fe48fc498e0d":{"url":"https://console.advinservers.com/api/v1/client"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","description":"Your API key, sent as a bearer token. Create one in the control panel under API Keys, give it only the permissions the integration needs, and copy it when it is created. It cannot be shown again. Each key is restricted to one owned team. The key determines the team for every request.","scheme":"bearer","scopes":[],"schemeName":"http"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Your API key, sent as a bearer token. Create one in the control panel under API Keys, give it only the permissions the integration needs, and copy it when it is created. It cannot be shown again. Each key is restricted to one owned team. The key determines the team for every request.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"http","name":"Authorization"}],"title":"http"}]},"originalFileLocation":"https://console.advinservers.com/docs/openapi.json"},"subdomain":"advinservers","siteName":"Advin Servers","title":"Get a postpaid invoice - Advin Servers","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-15T11:50:01.801Z","originalFileLocation":"api-reference/invoices/get-a-postpaid-invoice.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;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=\"dark\"}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=\"### Overview Returns one postpaid invoice with its lines. A usage line is one resource\u0026#x27;s stretch of the month: hours (part hours count as whole ones, at least one and at most 672 a month) at hourly_rate, which is the monthly price over 672 hours rounded up to five decimal places. A monthly_cap line hands back what the rounded rate charged above the monthly price, a charge line is a one-off purchase such as a bandwidth block, and a rounding line takes the total up to the next cent. A draft\u0026#x27;s lines are worked out to this moment. ### Permissions Requires the account permission invoices.read (View invoices).\">\u003cmeta data-mint-head name=\"application-name\" content=\"Advin Servers\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/advinservers/RPny3aqgeedmf-mE/_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/advinservers/RPny3aqgeedmf-mE/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/advinservers/RPny3aqgeedmf-mE/_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/advinservers/RPny3aqgeedmf-mE/_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/advinservers/RPny3aqgeedmf-mE/_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/advinservers/RPny3aqgeedmf-mE/_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/advinservers/RPny3aqgeedmf-mE/_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/advinservers/RPny3aqgeedmf-mE/_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/advinservers/RPny3aqgeedmf-mE/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Get a postpaid invoice - Advin Servers\">\u003cmeta data-mint-head property=\"og:description\" content=\"### Overview Returns one postpaid invoice with its lines. A usage line is one resource\u0026#x27;s stretch of the month: hours (part hours count as whole ones, at least one and at most 672 a month) at hourly_rate, which is the monthly price over 672 hours rounded up to five decimal places. A monthly_cap line hands back what the rounded rate charged above the monthly price, a charge line is a one-off purchase such as a bandwidth block, and a rounding line takes the total up to the next cent. A draft\u0026#x27;s lines are worked out to this moment. ### Permissions Requires the account permission invoices.read (View invoices).\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Advin Servers\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.advinservers.com/api-reference/invoices/get-a-postpaid-invoice\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://advinservers.mintlify.site/_mintlify/api/og/v2?division=Invoices\u0026amp;title=Get+a+postpaid+invoice\u0026amp;description=%23%23%23+Overview%0A%0AReturns+one+postpaid+invoice+with+its+%60lines%60.+A+usage+line+is+one+resource%27s+stretch+of+the+month%3A+%60hours%60+%28part+hours+count+as+whole+ones%2C+at+le\u0026amp;theme=12aefb67993d924344a01129\u0026amp;signature=6ace690da79e9acafd26377c656e97774a42b3f69f05fd5c21570386dec6f058\">\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=\"Get a postpaid invoice - Advin Servers\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"### Overview Returns one postpaid invoice with its lines. A usage line is one resource\u0026#x27;s stretch of the month: hours (part hours count as whole ones, at least one and at most 672 a month) at hourly_rate, which is the monthly price over 672 hours rounded up to five decimal places. A monthly_cap line hands back what the rounded rate charged above the monthly price, a charge line is a one-off purchase such as a bandwidth block, and a rounding line takes the total up to the next cent. A draft\u0026#x27;s lines are worked out to this moment. ### Permissions Requires the account permission invoices.read (View invoices).\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://advinservers.mintlify.site/_mintlify/api/og/v2?division=Invoices\u0026amp;title=Get+a+postpaid+invoice\u0026amp;description=%23%23%23+Overview%0A%0AReturns+one+postpaid+invoice+with+its+%60lines%60.+A+usage+line+is+one+resource%27s+stretch+of+the+month%3A+%60hours%60+%28part+hours+count+as+whole+ones%2C+at+le\u0026amp;theme=12aefb67993d924344a01129\u0026amp;signature=6ace690da79e9acafd26377c656e97774a42b3f69f05fd5c21570386dec6f058\">\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/advinservers/RPny3aqgeedmf-mE/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Advin Servers\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#232323\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.advinservers.com/api-reference/invoices/get-a-postpaid-invoice\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/invoices/get-a-postpaid-invoice.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.advinservers.com/#organization\",\"name\":\"Advin Servers\",\"url\":\"https://docs.advinservers.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/advinservers/hsoR78mplm26jwSe/logo/light.svg?fit=max\u0026auto=format\u0026n=hsoR78mplm26jwSe\u0026q=85\u0026s=5adfd787faa2746d42842a3dbe9d5c55\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.advinservers.com#website\",\"name\":\"Advin Servers\",\"url\":\"https://docs.advinservers.com\",\"publisher\":{\"@id\":\"https://docs.advinservers.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.advinservers.com/api-reference/invoices/get-a-postpaid-invoice#webpage\",\"url\":\"https://docs.advinservers.com/api-reference/invoices/get-a-postpaid-invoice\",\"name\":\"Get a postpaid invoice\",\"description\":\"### Overview Returns one postpaid invoice with its lines. A usage line is one resource's stretch of the month: hours (part hours count as whole ones, at least one and at most 672 a month) at hourly_rate, which is the monthly price over 672 hours rounded up to five decimal places. A monthly_cap line hands back what the rounded rate charged above the monthly price, a charge line is a one-off purchase such as a bandwidth block, and a rounding line takes the total up to the next cent. A draft's lines are worked out to this moment. ### Permissions Requires the account permission invoices.read (View invoices).\",\"dateModified\":\"2026-11-15T11:50:01.801Z\",\"isPartOf\":{\"@id\":\"https://docs.advinservers.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.advinservers.com/api-reference/invoices/get-a-postpaid-invoice#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.advinservers.com/api-reference/invoices/get-a-postpaid-invoice#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Endpoints\",\"item\":\"https://docs.advinservers.com/api-reference/account/get-account-details\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Invoices\",\"item\":\"https://docs.advinservers.com/api-reference/invoices/list-postpaid-invoices\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Get a postpaid invoice\",\"item\":\"https://docs.advinservers.com/api-reference/invoices/get-a-postpaid-invoice\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.advinservers.com/api-reference/invoices/get-a-postpaid-invoice#apireference\",\"headline\":\"Get a postpaid invoice\",\"name\":\"Get a postpaid invoice\",\"description\":\"### Overview Returns one postpaid invoice with its lines. A usage line is one resource's stretch of the month: hours (part hours count as whole ones, at least one and at most 672 a month) at hourly_rate, which is the monthly price over 672 hours rounded up to five decimal places. A monthly_cap line hands back what the rounded rate charged above the monthly price, a charge line is a one-off purchase such as a bandwidth block, and a rounding line takes the total up to the next cent. A draft's lines are worked out to this moment. ### Permissions Requires the account permission invoices.read (View invoices).\",\"url\":\"https://docs.advinservers.com/api-reference/invoices/get-a-postpaid-invoice\",\"mainEntityOfPage\":{\"@id\":\"https://docs.advinservers.com/api-reference/invoices/get-a-postpaid-invoice#webpage\"},\"dateModified\":\"2026-11-15T11:50:01.801Z\",\"publisher\":{\"@id\":\"https://docs.advinservers.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.advinservers.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Advin Servers\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Advin Servers\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/invoices/get-a-postpaid-invoice.md","siteName":"Advin Servers","nav":{"global":null,"tabs":[{"tab":"Start Here","pages":[{"title":"Start Here","href":"/introduction"}]},{"tab":"Servers","pages":[{"title":"Servers","href":"/guides/server-overview"}]},{"tab":"Network","pages":[{"title":"Network","href":"/information/network"}]},{"tab":"Billing","pages":[{"title":"Billing","href":"/guides/how-billing-works"}]},{"tab":"Account and Teams","pages":[{"title":"Account and Teams","href":"/guides/account-settings"}]},{"tab":"Troubleshooting","pages":[{"title":"Troubleshooting","href":"/troubleshooting"}]},{"tab":"Policies","pages":[{"title":"Policies","href":"/policies/fair-use"}]},{"tab":"API","groups":[{"group":"Getting Started","pages":[{"title":"API Introduction","sidebarTitle":"Introduction","href":"/api-reference/introduction"}]},{"group":"Endpoints","pages":[{"group":"Account","pages":[{"title":"Get account details","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /account","href":"/api-reference/account/get-account-details"},{"title":"Update account details","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json patch /account","href":"/api-reference/account/update-account-details"},{"title":"Check account setup progress","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /account/setup","href":"/api-reference/account/check-account-setup-progress"},{"title":"Accept the terms of service","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /account/setup/terms","href":"/api-reference/account/accept-the-terms-of-service"}]},{"group":"Account activity","pages":[{"title":"List account activity","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /audit-logs","href":"/api-reference/account-activity/list-account-activity"}]},{"group":"Backups","pages":[{"title":"List a server's backups","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /servers/{server}/backups","href":"/api-reference/backups/list-a-servers-backups"},{"title":"Restore a backup","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /servers/{server}/backups/{backup}/restore","href":"/api-reference/backups/restore-a-backup"},{"title":"Download a backup","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /servers/{server}/backups/{backup}/download","href":"/api-reference/backups/download-a-backup"},{"title":"Create a backup download link","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /servers/{server}/backups/{backup}/download","href":"/api-reference/backups/create-a-backup-download-link"},{"title":"Get the nightly backup setting","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /servers/{server}/backups/schedule","href":"/api-reference/backups/get-the-nightly-backup-setting"},{"title":"Enable or disable nightly backups","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /servers/{server}/backups/schedule","href":"/api-reference/backups/enable-or-disable-nightly-backups"}]},{"group":"Bandwidth","pages":[{"title":"List bandwidth blocks","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /bandwidth-blocks","href":"/api-reference/bandwidth/list-bandwidth-blocks"},{"title":"Buy a bandwidth block","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /bandwidth-blocks","href":"/api-reference/bandwidth/buy-a-bandwidth-block"},{"title":"Get bandwidth prices","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /bandwidth-blocks/catalog","href":"/api-reference/bandwidth/get-bandwidth-prices"},{"title":"List bandwidth usage by location","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /bandwidth-blocks/pools","href":"/api-reference/bandwidth/list-bandwidth-usage-by-location"},{"title":"List locations for bandwidth pools","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /bandwidth-blocks/locations","href":"/api-reference/bandwidth/list-locations-for-bandwidth-pools"},{"title":"Enable or disable bandwidth pooling for a location","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json patch /bandwidth-blocks/pooling","href":"/api-reference/bandwidth/enable-or-disable-bandwidth-pooling-for-a-location"},{"title":"Preview a bandwidth pooling change","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /bandwidth-blocks/pooling/preview","href":"/api-reference/bandwidth/preview-a-bandwidth-pooling-change"},{"title":"Get a quote for a bandwidth block","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /bandwidth-blocks/quote","href":"/api-reference/bandwidth/get-a-quote-for-a-bandwidth-block"},{"title":"List servers a bandwidth block can be assigned to","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /bandwidth-blocks/{bandwidthBlock}/servers","href":"/api-reference/bandwidth/list-servers-a-bandwidth-block-can-be-assigned-to"},{"title":"List bandwidth block usage","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /bandwidth-blocks/{bandwidthBlock}/draws","href":"/api-reference/bandwidth/list-bandwidth-block-usage"},{"title":"Assign a bandwidth block to a server","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /bandwidth-blocks/{bandwidthBlock}/attach","href":"/api-reference/bandwidth/assign-a-bandwidth-block-to-a-server"},{"title":"Remove a bandwidth block from a server","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /bandwidth-blocks/{bandwidthBlock}/detach","href":"/api-reference/bandwidth/remove-a-bandwidth-block-from-a-server"},{"title":"Assign a bandwidth block to a location pool","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /bandwidth-blocks/{bandwidthBlock}/bind","href":"/api-reference/bandwidth/assign-a-bandwidth-block-to-a-location-pool"},{"title":"Remove a bandwidth block from a location pool","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /bandwidth-blocks/{bandwidthBlock}/unbind","href":"/api-reference/bandwidth/remove-a-bandwidth-block-from-a-location-pool"},{"title":"Cancel an unpaid bandwidth block","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /bandwidth-blocks/{bandwidthBlock}/cancel","href":"/api-reference/bandwidth/cancel-an-unpaid-bandwidth-block"}]},{"group":"Billing","pages":[{"title":"List service billing details","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /billing/services","href":"/api-reference/billing/list-service-billing-details"},{"title":"List services with payment settings","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /billing/managed-services","href":"/api-reference/billing/list-services-with-payment-settings"},{"title":"Get a service","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /billing/managed-services/{service}","href":"/api-reference/billing/get-a-service"},{"title":"Set up automatic payment for a service","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /billing/managed-services/{service}/subscription","href":"/api-reference/billing/set-up-automatic-payment-for-a-service"},{"title":"Stop a service's automatic payment","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json delete /billing/managed-services/{service}/subscription","href":"/api-reference/billing/stop-a-services-automatic-payment"},{"title":"List billing cycle prices","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /billing/managed-services/{service}/billing-cycle","href":"/api-reference/billing/list-billing-cycle-prices"},{"title":"Change a service's billing cycle","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json patch /billing/managed-services/{service}/billing-cycle","href":"/api-reference/billing/change-a-services-billing-cycle"},{"title":"Enable or disable account credit for a service","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json patch /billing/managed-services/{service}/account-credit","href":"/api-reference/billing/enable-or-disable-account-credit-for-a-service"},{"title":"Cancel a service","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /billing/managed-services/{service}/cancel","href":"/api-reference/billing/cancel-a-service"},{"title":"Withdraw a service cancellation","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json delete /billing/managed-services/{service}/cancel","href":"/api-reference/billing/withdraw-a-service-cancellation"},{"title":"List automatic payments","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /billing/subscriptions","href":"/api-reference/billing/list-automatic-payments"},{"title":"Cancel an automatic payment","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /billing/subscriptions/{subscription}/cancel","href":"/api-reference/billing/cancel-an-automatic-payment"},{"title":"Get the display currency","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /billing/currency","href":"/api-reference/billing/get-the-display-currency"},{"title":"Get account credit","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /billing/credit","href":"/api-reference/billing/get-account-credit"},{"title":"Get the monthly recurring cost","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /billing/monthly-recurring-cost","href":"/api-reference/billing/get-the-monthly-recurring-cost"},{"title":"List top-ups","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /billing/deposits","href":"/api-reference/billing/list-top-ups"},{"title":"Add funds to the account","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /billing/deposits","href":"/api-reference/billing/add-funds-to-the-account"},{"title":"Cancel a top-up","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /billing/deposits/{fundDeposit}/cancel","href":"/api-reference/billing/cancel-a-top-up"},{"title":"List saved PayPal accounts","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /billing/paypal-accounts","href":"/api-reference/billing/list-saved-paypal-accounts"},{"title":"Remove a saved PayPal account","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json delete /billing/paypal-accounts/{paypalAccount}","href":"/api-reference/billing/remove-a-saved-paypal-account"},{"title":"Get automatic payments","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /billing/autopay","href":"/api-reference/billing/get-automatic-payments"},{"title":"Update automatic payments","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json patch /billing/autopay","href":"/api-reference/billing/update-automatic-payments"},{"title":"Apply automatic payments to every service","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /billing/autopay/sync","href":"/api-reference/billing/apply-automatic-payments-to-every-service"},{"title":"Remove a saved card","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json delete /billing/cards/{paymentCard}","href":"/api-reference/billing/remove-a-saved-card"},{"title":"List saved payment methods","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /billing/payment-methods","href":"/api-reference/billing/list-saved-payment-methods"},{"title":"Delete a saved payment method","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json delete /billing/payment-methods/{payMethod}","href":"/api-reference/billing/delete-a-saved-payment-method"}]},{"group":"Checkout","pages":[{"title":"List payment options","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /checkout/options","href":"/api-reference/checkout/list-payment-options"},{"title":"Get a checkout","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /checkout/{uuid}","href":"/api-reference/checkout/get-a-checkout"},{"title":"Start a checkout payment","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /checkout/{uuid}/start","href":"/api-reference/checkout/start-a-checkout-payment"},{"title":"Cancel a checkout","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /checkout/{uuid}/cancel","href":"/api-reference/checkout/cancel-a-checkout"}]},{"group":"DDoS protection","pages":[{"title":"Get a server's DDoS protection","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /servers/{server}/ddos-protection","href":"/api-reference/ddos-protection/get-a-servers-ddos-protection"},{"title":"List DDoS filtering presets","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /servers/{server}/ddos-protection/presets","href":"/api-reference/ddos-protection/list-ddos-filtering-presets"},{"title":"List DDoS filtering presets for an IP address","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /servers/{server}/ddos-protection/ip/{ip}/presets","href":"/api-reference/ddos-protection/list-ddos-filtering-presets-for-an-ip-address"},{"title":"Get DDoS filtering settings for an IP address","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /servers/{server}/ddos-protection/ip/{ip}/settings","href":"/api-reference/ddos-protection/get-ddos-filtering-settings-for-an-ip-address"},{"title":"Update DDoS filtering settings for an IP address","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /servers/{server}/ddos-protection/ip/{ip}/settings","href":"/api-reference/ddos-protection/update-ddos-filtering-settings-for-an-ip-address"},{"title":"List DDoS filtering rules for an IP address","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /servers/{server}/ddos-protection/ip/{ip}/profiles","href":"/api-reference/ddos-protection/list-ddos-filtering-rules-for-an-ip-address"},{"title":"Add a DDoS filtering rule to an IP address","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /servers/{server}/ddos-protection/ip/{ip}/profiles","href":"/api-reference/ddos-protection/add-a-ddos-filtering-rule-to-an-ip-address"},{"title":"Delete a DDoS filtering rule from an IP address","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json delete /servers/{server}/ddos-protection/ip/{ip}/profiles/{profileId}","href":"/api-reference/ddos-protection/delete-a-ddos-filtering-rule-from-an-ip-address"},{"title":"List DDoS attacks on an IP address","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /servers/{server}/ddos-protection/ip/{ip}/attacks","href":"/api-reference/ddos-protection/list-ddos-attacks-on-an-ip-address"},{"title":"Reset DDoS filtering for an IP address","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /servers/{server}/ddos-protection/ip/{ip}/reset","href":"/api-reference/ddos-protection/reset-ddos-filtering-for-an-ip-address"}]},{"group":"Domain name","pages":[{"title":"Get a server's domain name","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /servers/{server}/domain","href":"/api-reference/domain-name/get-a-servers-domain-name"},{"title":"Update a server's domain name","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json put /servers/{server}/domain","href":"/api-reference/domain-name/update-a-servers-domain-name"}]},{"group":"Firewall groups","pages":[{"title":"List firewall groups","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /firewall-groups","href":"/api-reference/firewall-groups/list-firewall-groups"},{"title":"Create a firewall group","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /firewall-groups","href":"/api-reference/firewall-groups/create-a-firewall-group"},{"title":"Get a firewall group","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /firewall-groups/{firewallGroup}","href":"/api-reference/firewall-groups/get-a-firewall-group"},{"title":"Delete a firewall group","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json delete /firewall-groups/{firewallGroup}","href":"/api-reference/firewall-groups/delete-a-firewall-group"},{"title":"Rename a firewall group","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json patch /firewall-groups/{firewallGroup}","href":"/api-reference/firewall-groups/rename-a-firewall-group"},{"title":"Set a firewall group's servers","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json put /firewall-groups/{firewallGroup}/servers","href":"/api-reference/firewall-groups/set-a-firewall-groups-servers"},{"title":"Reorder firewall rules","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json put /firewall-groups/{firewallGroup}/rules/reorder","href":"/api-reference/firewall-groups/reorder-firewall-rules"},{"title":"Add a firewall rule","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /firewall-groups/{firewallGroup}/rules","href":"/api-reference/firewall-groups/add-a-firewall-rule"},{"title":"Delete a firewall rule","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json delete /firewall-groups/{firewallGroup}/rules/{rule}","href":"/api-reference/firewall-groups/delete-a-firewall-rule"},{"title":"Update a firewall rule","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json patch /firewall-groups/{firewallGroup}/rules/{rule}","href":"/api-reference/firewall-groups/update-a-firewall-rule"},{"title":"List firewall groups for a server","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /servers/{server}/firewall-groups","href":"/api-reference/firewall-groups/list-firewall-groups-for-a-server"},{"title":"Create a firewall group for a server","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /servers/{server}/firewall-groups","href":"/api-reference/firewall-groups/create-a-firewall-group-for-a-server"},{"title":"Reorder a server's firewall groups","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json put /servers/{server}/firewall-groups/reorder","href":"/api-reference/firewall-groups/reorder-a-servers-firewall-groups"},{"title":"Apply a firewall group to a server","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /servers/{server}/firewall-groups/{firewallGroup}/attach","href":"/api-reference/firewall-groups/apply-a-firewall-group-to-a-server"},{"title":"Remove a firewall group from a server","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /servers/{server}/firewall-groups/{firewallGroup}/detach","href":"/api-reference/firewall-groups/remove-a-firewall-group-from-a-server"}]},{"group":"IP addresses","pages":[{"title":"List floating IPs","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /floating-ips","href":"/api-reference/ip-addresses/list-floating-ips"},{"title":"Buy a floating IP","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /floating-ips","href":"/api-reference/ip-addresses/buy-a-floating-ip"},{"title":"List locations for floating IPs","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /floating-ips/locations","href":"/api-reference/ip-addresses/list-locations-for-floating-ips"},{"title":"Get a quote for a floating IP","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /floating-ips/quote","href":"/api-reference/ip-addresses/get-a-quote-for-a-floating-ip"},{"title":"List servers a floating IP can attach to","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /floating-ips/{floatingIp}/servers","href":"/api-reference/ip-addresses/list-servers-a-floating-ip-can-attach-to"},{"title":"Attach a floating IP to a server","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /floating-ips/{floatingIp}/attach","href":"/api-reference/ip-addresses/attach-a-floating-ip-to-a-server"},{"title":"Detach a floating IP from a server","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /floating-ips/{floatingIp}/detach","href":"/api-reference/ip-addresses/detach-a-floating-ip-from-a-server"},{"title":"Swap a floating IP with the primary address","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /floating-ips/{floatingIp}/swap-primary","href":"/api-reference/ip-addresses/swap-a-floating-ip-with-the-primary-address"},{"title":"Cancel an unpaid floating IP order","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /floating-ips/{floatingIp}/cancel-checkout","href":"/api-reference/ip-addresses/cancel-an-unpaid-floating-ip-order"},{"title":"Cancel a floating IP","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /floating-ips/{floatingIp}/cancel","href":"/api-reference/ip-addresses/cancel-a-floating-ip"},{"title":"Withdraw a floating IP cancellation","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /floating-ips/{floatingIp}/withdraw-cancellation","href":"/api-reference/ip-addresses/withdraw-a-floating-ip-cancellation"},{"title":"Release a floating IP","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json delete /floating-ips/{floatingIp}","href":"/api-reference/ip-addresses/release-a-floating-ip"},{"title":"Set a server's primary IP address","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /servers/{server}/addresses/{addressId}/primary","href":"/api-reference/ip-addresses/set-a-servers-primary-ip-address"}]},{"group":"IP groups","pages":[{"title":"List IP groups","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /ip-groups","href":"/api-reference/ip-groups/list-ip-groups"},{"title":"Create an IP group","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /ip-groups","href":"/api-reference/ip-groups/create-an-ip-group"},{"title":"Get an IP group","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /ip-groups/{firewallIpGroup}","href":"/api-reference/ip-groups/get-an-ip-group"},{"title":"Delete an IP group","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json delete /ip-groups/{firewallIpGroup}","href":"/api-reference/ip-groups/delete-an-ip-group"},{"title":"Rename an IP group","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json patch /ip-groups/{firewallIpGroup}","href":"/api-reference/ip-groups/rename-an-ip-group"},{"title":"Add addresses to an IP group","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /ip-groups/{firewallIpGroup}/entries","href":"/api-reference/ip-groups/add-addresses-to-an-ip-group"},{"title":"Remove an address from an IP group","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json delete /ip-groups/{firewallIpGroup}/entries/{entry}","href":"/api-reference/ip-groups/remove-an-address-from-an-ip-group"},{"title":"Update an address in an IP group","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json patch /ip-groups/{firewallIpGroup}/entries/{entry}","href":"/api-reference/ip-groups/update-an-address-in-an-ip-group"}]},{"group":"ISO images","pages":[{"title":"List ISOs","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /isos","href":"/api-reference/iso-images/list-isos"},{"title":"Download an ISO","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /isos","href":"/api-reference/iso-images/download-an-iso"},{"title":"Check an ISO download link","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /isos/query-link","href":"/api-reference/iso-images/check-an-iso-download-link"},{"title":"Delete an ISO","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json delete /isos/{iso}","href":"/api-reference/iso-images/delete-an-iso"},{"title":"Rename an ISO","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json patch /isos/{iso}","href":"/api-reference/iso-images/rename-an-iso"},{"title":"List ISOs available to a server","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /servers/{server}/isos","href":"/api-reference/iso-images/list-isos-available-to-a-server"}]},{"group":"Invoices","pages":[{"title":"List postpaid invoices","description":"### Overview\n\nLists the account's monthly postpaid invoices. One invoice a month covers every postpaid team the account owns, and each line names the team it was billed in. The current month comes first as a `draft`, its `total` worked out to this moment, followed by every earlier month, newest first. A month too small to invoice on its own is `deferred` and carried onto the next invoice. Once published, `invoice_id` names the invoice to pay with the invoice endpoints, and `can_pay` is true while it is owed. `id` is null while nothing has been billed this month.\n\n### Permissions\n\nRequires the account permission `invoices.read` (View invoices).","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /postpaid-invoices","href":"/api-reference/invoices/list-postpaid-invoices"},{"title":"Get a postpaid invoice","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /postpaid-invoices/{invoice}","href":"/api-reference/invoices/get-a-postpaid-invoice"},{"title":"List invoices","description":"### Overview\n\nLists account invoices, newest first, without filters or pagination. The list is the same for every team on the account.\n\nEach invoice includes totals. Line items, payments and the remaining balance are omitted; fetch an individual invoice for those details. `statuses` lists possible statuses. `scan_limit` indicates how far back the lookup checked. `truncated` is true if more invoices exist than the lookup returned.\n\n### Permissions\n\nRequires the account permission `invoices.read` (View invoices).","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /invoices","href":"/api-reference/invoices/list-invoices"},{"title":"Get an invoice","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /invoices/{invoice}","href":"/api-reference/invoices/get-an-invoice"},{"title":"Download an invoice PDF","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /invoices/{invoice}/pdf","href":"/api-reference/invoices/download-an-invoice-pdf"},{"title":"Create a checkout for an invoice","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /invoices/{invoice}/pay","href":"/api-reference/invoices/create-a-checkout-for-an-invoice"},{"title":"List invoices that can be paid together","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /invoices/bulk-payment","href":"/api-reference/invoices/list-invoices-that-can-be-paid-together"},{"title":"Create a checkout for several invoices","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /invoices/bulk-payment","href":"/api-reference/invoices/create-a-checkout-for-several-invoices"}]},{"group":"Private networks","pages":[{"title":"List private networks","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /private-networks","href":"/api-reference/private-networks/list-private-networks"},{"title":"Create a private network","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /private-networks","href":"/api-reference/private-networks/create-a-private-network"},{"title":"List locations for private networks","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /private-networks/locations","href":"/api-reference/private-networks/list-locations-for-private-networks"},{"title":"Get a private network","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /private-networks/{privateNetwork}","href":"/api-reference/private-networks/get-a-private-network"},{"title":"Delete a private network","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json delete /private-networks/{privateNetwork}","href":"/api-reference/private-networks/delete-a-private-network"},{"title":"Rename a private network","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json patch /private-networks/{privateNetwork}","href":"/api-reference/private-networks/rename-a-private-network"},{"title":"List servers that can join a private network","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /private-networks/{privateNetwork}/eligible-servers","href":"/api-reference/private-networks/list-servers-that-can-join-a-private-network"},{"title":"List a server's private networks","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /servers/{server}/private-networks","href":"/api-reference/private-networks/list-a-servers-private-networks"},{"title":"Create a private network in a server's location","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /servers/{server}/private-networks","href":"/api-reference/private-networks/create-a-private-network-in-a-servers-location"},{"title":"Attach a server to a private network","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /servers/{server}/private-networks/{privateNetwork}/attach","href":"/api-reference/private-networks/attach-a-server-to-a-private-network"},{"title":"Detach a server from a private network","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /servers/{server}/private-networks/{privateNetwork}/detach","href":"/api-reference/private-networks/detach-a-server-from-a-private-network"},{"title":"Delete a server's private network","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json delete /servers/{server}/private-networks/{privateNetwork}","href":"/api-reference/private-networks/delete-a-servers-private-network"}]},{"group":"Reverse DNS","pages":[{"title":"List a server's reverse DNS addresses","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /servers/{server}/rdns","href":"/api-reference/reverse-dns/list-a-servers-reverse-dns-addresses"},{"title":"List reverse DNS records for an address","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /servers/{server}/rdns/{ipId}","href":"/api-reference/reverse-dns/list-reverse-dns-records-for-an-address"},{"title":"Create a reverse DNS record","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /servers/{server}/rdns/{ipId}","href":"/api-reference/reverse-dns/create-a-reverse-dns-record"},{"title":"Change a reverse DNS record","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json put /servers/{server}/rdns/{ipId}/{recordId}","href":"/api-reference/reverse-dns/change-a-reverse-dns-record"},{"title":"Delete a reverse DNS record","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json delete /servers/{server}/rdns/{ipId}/{recordId}","href":"/api-reference/reverse-dns/delete-a-reverse-dns-record"}]},{"group":"SSH keys","pages":[{"title":"List SSH keys","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /ssh-keys","href":"/api-reference/ssh-keys/list-ssh-keys"},{"title":"Add an SSH key","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /ssh-keys","href":"/api-reference/ssh-keys/add-an-ssh-key"},{"title":"Delete an SSH key","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json delete /ssh-keys/{sshKey}","href":"/api-reference/ssh-keys/delete-an-ssh-key"},{"title":"Update an SSH key","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json patch /ssh-keys/{sshKey}","href":"/api-reference/ssh-keys/update-an-ssh-key"},{"title":"Delete multiple SSH keys","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /ssh-keys/bulk/delete","href":"/api-reference/ssh-keys/delete-multiple-ssh-keys"},{"title":"List SSH keys for a reinstall","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /servers/{server}/settings/ssh-keys","href":"/api-reference/ssh-keys/list-ssh-keys-for-a-reinstall"}]},{"group":"Server firewall","pages":[{"title":"Get a server's default firewall policy","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /servers/{server}/firewall/policy","href":"/api-reference/server-firewall/get-a-servers-default-firewall-policy"},{"title":"List externally managed firewall rules","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /servers/{server}/firewall-groups/unmanaged-rules","href":"/api-reference/server-firewall/list-externally-managed-firewall-rules"}]},{"group":"Server settings","pages":[{"title":"Rename a server","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /servers/{server}/settings/rename","href":"/api-reference/server-settings/rename-a-server"},{"title":"Change a server's icon","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json put /servers/{server}/settings/icon","href":"/api-reference/server-settings/change-a-servers-icon"},{"title":"List templates for a reinstall","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /servers/{server}/settings/template-groups","href":"/api-reference/server-settings/list-templates-for-a-reinstall"},{"title":"Reinstall a server","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /servers/{server}/settings/reinstall","href":"/api-reference/server-settings/reinstall-a-server"},{"title":"Get the boot order","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /servers/{server}/settings/hardware/boot-order","href":"/api-reference/server-settings/get-the-boot-order"},{"title":"Set the boot order","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json put /servers/{server}/settings/hardware/boot-order","href":"/api-reference/server-settings/set-the-boot-order"},{"title":"Get hardware settings","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /servers/{server}/settings/hardware/options","href":"/api-reference/server-settings/get-hardware-settings"},{"title":"Update hardware settings","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json put /servers/{server}/settings/hardware/options","href":"/api-reference/server-settings/update-hardware-settings"},{"title":"Change the boot firmware","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json put /servers/{server}/settings/hardware/bios","href":"/api-reference/server-settings/change-the-boot-firmware"},{"title":"Mount an ISO","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /servers/{server}/settings/hardware/isos/{iso}/mount","href":"/api-reference/server-settings/mount-an-iso"},{"title":"Unmount an ISO","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /servers/{server}/settings/hardware/isos/{iso}/unmount","href":"/api-reference/server-settings/unmount-an-iso"},{"title":"Get DNS resolvers","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /servers/{server}/settings/network","href":"/api-reference/server-settings/get-dns-resolvers"},{"title":"Set DNS resolvers","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json put /servers/{server}/settings/network","href":"/api-reference/server-settings/set-dns-resolvers"},{"title":"Get a server's SSH keys","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /servers/{server}/settings/auth","href":"/api-reference/server-settings/get-a-servers-ssh-keys"},{"title":"Change a server's password or SSH keys","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json put /servers/{server}/settings/auth","href":"/api-reference/server-settings/change-a-servers-password-or-ssh-keys"}]},{"group":"Server upgrades","pages":[{"title":"List upgrade plans for a server","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /servers/{server}/upgrades/catalog","href":"/api-reference/server-upgrades/list-upgrade-plans-for-a-server"},{"title":"Get the current plan change","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /servers/{server}/upgrades/current","href":"/api-reference/server-upgrades/get-the-current-plan-change"},{"title":"Get a quote for a plan change","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /servers/{server}/upgrades/quote","href":"/api-reference/server-upgrades/get-a-quote-for-a-plan-change"},{"title":"Buy a plan change","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /servers/{server}/upgrades","href":"/api-reference/server-upgrades/buy-a-plan-change"},{"title":"Cancel a plan change","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /servers/{server}/upgrades/{upgrade}/cancel","href":"/api-reference/server-upgrades/cancel-a-plan-change"}]},{"group":"Servers","pages":[{"title":"List servers","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /servers","href":"/api-reference/servers/list-servers"},{"title":"Order servers","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /servers","href":"/api-reference/servers/order-servers"},{"title":"List server plans","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /servers/catalog","href":"/api-reference/servers/list-server-plans"},{"title":"List templates","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /servers/templates","href":"/api-reference/servers/list-templates"},{"title":"List marketplace apps","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /servers/marketplace-apps","href":"/api-reference/servers/list-marketplace-apps"},{"title":"Get a quote for a server order","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /servers/quote","href":"/api-reference/servers/get-a-quote-for-a-server-order"},{"title":"Hold a domain name for the next server","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /servers/domain","href":"/api-reference/servers/hold-a-domain-name-for-the-next-server"},{"title":"List outstanding server orders","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /servers/orders","href":"/api-reference/servers/list-outstanding-server-orders"},{"title":"Cancel a server order","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /servers/orders/{serverOrder}/cancel","href":"/api-reference/servers/cancel-a-server-order"},{"title":"Get power states for multiple servers","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /servers/power-states","href":"/api-reference/servers/get-power-states-for-multiple-servers"},{"title":"Get a server","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /servers/{server}","href":"/api-reference/servers/get-a-server"},{"title":"Get a server's billing service","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /servers/{server}/billing","href":"/api-reference/servers/get-a-servers-billing-service"},{"title":"Get a server's unpaid invoice","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /servers/{server}/billing/overdue-invoice","href":"/api-reference/servers/get-a-servers-unpaid-invoice"},{"title":"Get a server's live configuration","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /servers/{server}/details","href":"/api-reference/servers/get-a-servers-live-configuration"},{"title":"Dismiss an installation failure notice","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json delete /servers/{server}/install-failure","href":"/api-reference/servers/dismiss-an-installation-failure-notice"},{"title":"Get all usage graphs","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /servers/{server}/metrics","href":"/api-reference/servers/get-all-usage-graphs"},{"title":"Get one usage graph","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /servers/{server}/metrics-data/{type}/{period}","href":"/api-reference/servers/get-one-usage-graph"},{"title":"List a server's audit log","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /servers/{server}/audit-log","href":"/api-reference/servers/list-a-servers-audit-log"},{"title":"Get a server's notes","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /servers/{server}/notes","href":"/api-reference/servers/get-a-servers-notes"},{"title":"Update a server's notes","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json put /servers/{server}/notes","href":"/api-reference/servers/update-a-servers-notes"},{"title":"Get a server's live status","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /servers/{server}/state","href":"/api-reference/servers/get-a-servers-live-status"},{"title":"Send a power command","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json patch /servers/{server}/state","href":"/api-reference/servers/send-a-power-command"},{"title":"Open a console session","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /servers/{server}/create-console-session","href":"/api-reference/servers/open-a-console-session"}]},{"group":"Setup scripts","pages":[{"title":"List setup scripts","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /user-scripts","href":"/api-reference/setup-scripts/list-setup-scripts"},{"title":"Add a setup script","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /user-scripts","href":"/api-reference/setup-scripts/add-a-setup-script"},{"title":"Delete a setup script","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json delete /user-scripts/{userScript}","href":"/api-reference/setup-scripts/delete-a-setup-script"},{"title":"Update a setup script","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json patch /user-scripts/{userScript}","href":"/api-reference/setup-scripts/update-a-setup-script"},{"title":"List setup scripts for a reinstall","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /servers/{server}/settings/user-scripts","href":"/api-reference/setup-scripts/list-setup-scripts-for-a-reinstall"}]},{"group":"Snapshots","pages":[{"title":"List the team's snapshots","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /snapshots","href":"/api-reference/snapshots/list-the-teams-snapshots"},{"title":"List snapshot storages","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /snapshots/storages","href":"/api-reference/snapshots/list-snapshot-storages"},{"title":"Buy a snapshot storage","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /snapshots/storages","href":"/api-reference/snapshots/buy-a-snapshot-storage"},{"title":"Get a snapshot storage","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /snapshots/storages/{snapshotStorage}","href":"/api-reference/snapshots/get-a-snapshot-storage"},{"title":"Rename a snapshot storage","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json patch /snapshots/storages/{snapshotStorage}","href":"/api-reference/snapshots/rename-a-snapshot-storage"},{"title":"Get a quote for resizing a snapshot storage","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /snapshots/storages/{snapshotStorage}/resize/quote","href":"/api-reference/snapshots/get-a-quote-for-resizing-a-snapshot-storage"},{"title":"Resize a snapshot storage","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /snapshots/storages/{snapshotStorage}/resize","href":"/api-reference/snapshots/resize-a-snapshot-storage"},{"title":"Cancel a snapshot storage","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /snapshots/storages/{snapshotStorage}/cancel","href":"/api-reference/snapshots/cancel-a-snapshot-storage"},{"title":"Withdraw a snapshot storage cancellation","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /snapshots/storages/{snapshotStorage}/withdraw-cancellation","href":"/api-reference/snapshots/withdraw-a-snapshot-storage-cancellation"},{"title":"Move a snapshot to another storage","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /snapshots/{snapshot}/move","href":"/api-reference/snapshots/move-a-snapshot-to-another-storage"},{"title":"Delete a snapshot by ID","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json delete /snapshots/{snapshot}","href":"/api-reference/snapshots/delete-a-snapshot-by-id"},{"title":"List snapshots available to a server","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /servers/{server}/snapshots","href":"/api-reference/snapshots/list-snapshots-available-to-a-server"},{"title":"Take a snapshot","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /servers/{server}/snapshots","href":"/api-reference/snapshots/take-a-snapshot"},{"title":"Restore a snapshot","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /servers/{server}/snapshots/{snapshot}/restore","href":"/api-reference/snapshots/restore-a-snapshot"},{"title":"Delete a snapshot","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json delete /servers/{server}/snapshots/{snapshot}","href":"/api-reference/snapshots/delete-a-snapshot"}]},{"group":"Support tickets","pages":[{"title":"List support tickets","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /tickets","href":"/api-reference/support-tickets/list-support-tickets"},{"title":"Open a support ticket","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /tickets","href":"/api-reference/support-tickets/open-a-support-ticket"},{"title":"List ticket departments","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /tickets/departments","href":"/api-reference/support-tickets/list-ticket-departments"},{"title":"Get a ticket","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /tickets/{ticket}","href":"/api-reference/support-tickets/get-a-ticket"},{"title":"Download a ticket attachment","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /tickets/{ticket}/messages/{message}/attachments/{index}","href":"/api-reference/support-tickets/download-a-ticket-attachment"},{"title":"Close a ticket","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /tickets/{ticket}/close","href":"/api-reference/support-tickets/close-a-ticket"},{"title":"Reply to a ticket","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /tickets/{ticket}/reply","href":"/api-reference/support-tickets/reply-to-a-ticket"}]},{"group":"Team activity","pages":[{"title":"List a team's audit log","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /teams/{team}/audit-logs","href":"/api-reference/team-activity/list-a-teams-audit-log"}]},{"group":"Team members","pages":[{"title":"List a team's members","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /teams/{team}/members","href":"/api-reference/team-members/list-a-teams-members"},{"title":"Invite a team member","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /teams/{team}/members","href":"/api-reference/team-members/invite-a-team-member"},{"title":"Remove a team member","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json delete /teams/{team}/members/{member}","href":"/api-reference/team-members/remove-a-team-member"},{"title":"Change a member's role","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json patch /teams/{team}/members/{member}","href":"/api-reference/team-members/change-a-members-role"},{"title":"Withdraw an invitation","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json delete /teams/{team}/invitations/{invitation}","href":"/api-reference/team-members/withdraw-an-invitation"}]},{"group":"Team roles","pages":[{"title":"List role permissions","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /teams/permissions","href":"/api-reference/team-roles/list-role-permissions"},{"title":"List a team's roles","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /teams/{team}/roles","href":"/api-reference/team-roles/list-a-teams-roles"},{"title":"Create a role","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /teams/{team}/roles","href":"/api-reference/team-roles/create-a-role"},{"title":"Get a role","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /teams/{team}/roles/{role}","href":"/api-reference/team-roles/get-a-role"},{"title":"Delete a role","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json delete /teams/{team}/roles/{role}","href":"/api-reference/team-roles/delete-a-role"},{"title":"Update a role","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json patch /teams/{team}/roles/{role}","href":"/api-reference/team-roles/update-a-role"}]},{"group":"Teams","pages":[{"title":"List teams","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /teams","href":"/api-reference/teams/list-teams"},{"title":"Create a team","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /teams","href":"/api-reference/teams/create-a-team"},{"title":"Get the current team","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json get /teams/context","href":"/api-reference/teams/get-the-current-team"},{"title":"Delete a team","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json delete /teams/{team}","href":"/api-reference/teams/delete-a-team"},{"title":"Rename a team","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json patch /teams/{team}","href":"/api-reference/teams/rename-a-team"},{"title":"Set the default team","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /teams/{team}/default","href":"/api-reference/teams/set-the-default-team"}]},{"group":"Transfers","pages":[{"title":"Transfer resources to another team","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /transfers","href":"/api-reference/transfers/transfer-resources-to-another-team"},{"title":"Preview the credit from a move to a postpaid team","deprecated":null,"version":null,"openapi":"https://console.advinservers.com/docs/openapi.json post /transfers/quote","href":"/api-reference/transfers/preview-the-credit-from-a-move-to-a-postpaid-team"}]}]}]}]},"basePath":"","title":"Get a postpaid invoice - Advin Servers","buildId":"dpl_Fyv1NbzwP68g2bEH2Roy98uY1zmE","deploymentId":"dpl_Fyv1NbzwP68g2bEH2Roy98uY1zmE","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-DdEMm2kG.js","utils-BMo572L7.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-C-4m9KAx.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-DPLK2Oq9.js","snippetPresets-BKjfJMC9.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-DTsgtCEj.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-C8vmhyQM.js","shallow-r9w8LQGS.js","getApiPlaygroundDisplay-DjPI64HQ.js","CodeSnippet-C8Bvhl16.js","CodeSnippets-BtWUwcMy.js","Page-BIYvYBgk.js","getPastedJson-Dcm_3Pgl.js","icon-BXwrTpjc.js","MethodPill-CcjfVmmy.js","DuplicateIcon-BuKIbXAQ.js","createIcon-DaL9yXsO.js","DynamicMarkdown-Co5nikxh.js","SectionHeading-P4UNTsMZ.js","axios-vUo_bRtp.js","Markdown-CEfymfIH.js","clsx-Dq9TQuNi.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-D2J8knkn.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-BgZ2ThuU.js"]}