Sort specification in field:order format. Order is either asc (ascending) or desc (descending).Sortable fields: invoicing_date, issue_date, due_date, paid_date, account_name, status.
{"docsConfig":{"theme":"maple","$schema":"https://mintlify.com/docs.json","name":"Alguna Docs","colors":{"primary":"#00BA61","light":"#FFFFFF","dark":"#000000"},"logo":{"light":"https://mintcdn.com/alguna-20/hip-SL42XieIK0Ru/logo/light.svg?fit=max\u0026auto=format\u0026n=hip-SL42XieIK0Ru\u0026q=85\u0026s=71436010713272c2db3828c5275207a3","dark":"https://mintcdn.com/alguna-20/hip-SL42XieIK0Ru/logo/dark.svg?fit=max\u0026auto=format\u0026n=hip-SL42XieIK0Ru\u0026q=85\u0026s=9e7341031c0b41384603cf6dcc500e70"},"favicon":"https://mintcdn.com/alguna-20/vTO84Dvkxt4l7dcX/logo/favicon.png?fit=max\u0026auto=format\u0026n=vTO84Dvkxt4l7dcX\u0026q=85\u0026s=e8976e8afe662327a08b9cff93c75acc","api":{"playground":{"display":"simple"},"examples":{"languages":["curl","python","javascript"],"prefill":true},"mdx":{"auth":{"method":"bearer"}}},"appearance":{"default":"dark","strict":false},"background":{"decoration":"windows"},"navbar":{"links":[{"href":"mailto:support@alguna.io","label":"Support"},{"href":"https://app.alguna.io","label":"Login"}],"primary":{"type":"button","label":"Get Started","href":"https://cal.com/alguna/demo"}},"footer":{"socials":{"linkedin":"https://linkedin.com/company/algunahq","x":"https://x.com/algunahq"}},"seo":{"metatags":{"canonical":"https://alguna.com/docs"},"organization":{"id":"https://alguna.com/#organization","name":"Alguna","legalName":"Alguna Inc","url":"https://alguna.com/","logo":"https://alguna.com/alguna-logo-black.svg"}},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"alguna-20","hasAudioNarration":false,"actualSubdomain":"alguna-20","customDomains":["alguna.com"],"gitSource":{"type":"github","owner":"alguna-io","repo":"monorepo","deployBranch":"main","contentDirectory":"docs","isPrivate":false,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ae8d82d0eaa9b5a32aa4cfc","collectionId":"fee99b0d-13b8-42bd-ba91-498c6b14c598","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ae8d82d0eaa9b5a32aa4cfc"},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6ae90402069fd935d923e764","clientVersion":"0.0.4045","searchFilterCounts":[{"language":"default","tag":"API References","count":182},{"language":"default","tag":"API Reference","count":148},{"language":"default","tag":"Documentation","count":82},{"language":"default","tag":"Subscriptions","count":34},{"language":"default","tag":"Webhooks","count":26},{"language":"default","tag":"Invoices","count":23},{"language":"default","tag":"Integrations","count":21},{"language":"default","tag":"Quotes","count":16},{"language":"default","tag":"Insights","count":15},{"language":"default","tag":"Customers","count":14}]},"assistantConfig":{"deflection":{"enabled":true,"email":"support@alguna.io"}},"basePath":"/docs","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","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":"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":"llms-txt-v2","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":"byok-sep-25","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":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","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":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/invoices/list","slug":"/api-reference/invoices/list","pageMetadata":{"noindex":true,"title":"List Invoices","api":"GET https://api.alguna.io/invoices","description":"Retrieve a paginated list of invoices with optional filtering and sorting","href":"/api-reference/invoices/list"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Retrieve a paginated list of invoices with optional filtering and sorting\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,p:`p`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{Expandable,Heading,ParamField,ResponseField,Table}=_components;if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Retrieves a paginated list of all invoices. You can filter and sort the results using query parameters.`}),`\n`,_jsx(Heading,{level:`2`,id:`query-parameters`,children:`Query Parameters`}),`\n`,_jsx(ParamField,{query:`page`,type:`integer`,default:`1`,id:`param-page`,children:_jsx(_components.p,{children:`The page number to retrieve (1-indexed).`})}),`\n`,_jsx(ParamField,{query:`limit`,type:`integer`,default:`10`,id:`param-limit`,children:_jsxs(_components.p,{children:[`The number of invoices to return per page. Must be one of: `,_jsx(_components.code,{children:`5`}),`, `,_jsx(_components.code,{children:`10`}),`, `,_jsx(_components.code,{children:`25`}),`, `,_jsx(_components.code,{children:`50`}),`, or `,_jsx(_components.code,{children:`100`}),`. Values exceeding `,_jsx(_components.code,{children:`100`}),` are capped automatically.`]})}),`\n`,_jsxs(ParamField,{query:`filters`,type:`string`,id:`param-filters`,children:[_jsx(_components.p,{children:`A JSON-encoded array of filter objects. Each filter object has the following properties:`}),_jsxs(Expandable,{title:`Filter Object`,children:[_jsxs(ParamField,{body:`field`,type:`string`,required:true,id:`param-field`,children:[_jsx(_components.p,{children:`The field to filter on. Supported fields:`}),_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Field`}),_jsx(_components.th,{children:`Operators`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`status`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`eq`}),`, `,_jsx(_components.code,{children:`in`})]}),_jsxs(_components.td,{children:[`Invoice status (e.g. `,_jsx(_components.code,{children:`draft`}),`, `,_jsx(_components.code,{children:`upcoming`}),`, `,_jsx(_components.code,{children:`issued`}),`, `,_jsx(_components.code,{children:`paid`}),`, `,_jsx(_components.code,{children:`void`}),`)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`account_id`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`eq`})}),_jsx(_components.td,{children:`The account ID associated with the invoice`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`subscription_id`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`eq`})}),_jsx(_components.td,{children:`The subscription ID associated with the invoice`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`autopay`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`eq`})}),_jsxs(_components.td,{children:[`Whether the invoice is set to auto-pay (`,_jsx(_components.code,{children:`true`}),` or `,_jsx(_components.code,{children:`false`}),`)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`invoicing_date`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`eq`}),`, `,_jsx(_components.code,{children:`gte`}),`, `,_jsx(_components.code,{children:`lte`})]}),_jsx(_components.td,{children:`The invoicing date (ISO 8601 format)`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`issue_date`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`eq`}),`, `,_jsx(_components.code,{children:`gte`}),`, `,_jsx(_components.code,{children:`lte`})]}),_jsx(_components.td,{children:`The issue date (ISO 8601 format)`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`due_date`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`eq`}),`, `,_jsx(_components.code,{children:`gte`}),`, `,_jsx(_components.code,{children:`lte`})]}),_jsx(_components.td,{children:`The due date (ISO 8601 format)`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`paid_date`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`eq`}),`, `,_jsx(_components.code,{children:`gte`}),`, `,_jsx(_components.code,{children:`lte`})]}),_jsx(_components.td,{children:`The paid date (ISO 8601 format)`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`tag_ids`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`in`})}),_jsx(_components.td,{children:`Tag IDs associated with the invoice`})]})]})]})]}),_jsxs(ParamField,{body:`operator`,type:`string`,required:true,id:`param-operator`,children:[_jsx(_components.p,{children:`The comparison operator.`}),_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Operator`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`eq`})}),_jsx(_components.td,{children:`Exact match`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`in`})}),_jsx(_components.td,{children:`Matches any value in a comma-separated list`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`gte`})}),_jsx(_components.td,{children:`Greater than or equal to (date fields)`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`lte`})}),_jsx(_components.td,{children:`Less than or equal to (date fields)`})]})]})]})]}),_jsx(ParamField,{body:`value`,type:`string`,required:true,id:`param-value`,children:_jsxs(_components.p,{children:[`The value to match against. For the `,_jsx(_components.code,{children:`in`}),` operator, use comma-separated values. For date operators, use ISO 8601 format.`]})})]})]}),`\n`,_jsxs(ParamField,{query:`sort`,type:`string`,id:`param-sort`,children:[_jsxs(_components.p,{children:[`Sort specification in `,_jsx(_components.code,{children:`field:order`}),` format. Order is either `,_jsx(_components.code,{children:`asc`}),` (ascending) or `,_jsx(_components.code,{children:`desc`}),` (descending).`]}),_jsxs(_components.p,{children:[`Sortable fields: `,_jsx(_components.code,{children:`invoicing_date`}),`, `,_jsx(_components.code,{children:`issue_date`}),`, `,_jsx(_components.code,{children:`due_date`}),`, `,_jsx(_components.code,{children:`paid_date`}),`, `,_jsx(_components.code,{children:`account_name`}),`, `,_jsx(_components.code,{children:`status`}),`.`]})]}),`\n`,`\n`,_jsx(Heading,{level:`2`,id:`response`,children:`Response`}),`\n`,`\n`,_jsxs(ResponseField,{name:`items`,type:`array`,id:`param-items`,children:[_jsx(_components.p,{children:`List of invoice objects.`}),_jsxs(Expandable,{title:`Invoice Object`,children:[_jsx(ResponseField,{name:`id`,type:`string`,id:`param-id`,children:_jsx(_components.p,{children:`The Alguna ID of the invoice.`})}),_jsx(ResponseField,{name:`accountId`,type:`string`,id:`param-account-id`,children:_jsx(_components.p,{children:`The Alguna ID of the account associated with the invoice.`})}),_jsx(ResponseField,{name:`currency`,type:`string`,id:`param-currency`,children:_jsx(_components.p,{children:`The ISO 4217 currency in which the invoice is billed.`})}),_jsx(ResponseField,{name:`description`,type:`string`,id:`param-description`,children:_jsx(_components.p,{children:`The description or memo for the invoice.`})}),_jsx(ResponseField,{name:`billingPeriodStart`,type:`string`,id:`param-billing-period-start`,children:_jsx(_components.p,{children:`The start date of the billing period for the invoice (RFC 3339 timestamp).`})}),_jsx(ResponseField,{name:`billingPeriodEnd`,type:`string`,id:`param-billing-period-end`,children:_jsx(_components.p,{children:`The end date of the billing period for the invoice (RFC 3339 timestamp).`})}),_jsx(ResponseField,{name:`status`,type:`string`,id:`param-status`,children:_jsxs(_components.p,{children:[`The status of the invoice. For more info on invoice statuses see the `,_jsx(_components.a,{href:`/invoices/invoicing-config`,children:`invoice status`}),` guide.`]})}),_jsx(ResponseField,{name:`total`,type:`string`,id:`param-total`,children:_jsx(_components.p,{children:`The total amount of the invoice as a decimal string e.g., “200.00”.`})}),_jsx(ResponseField,{name:`billingPeriod`,type:`string`,id:`param-billing-period`,children:_jsx(_components.p,{children:`The formatted billing period for the invoice.`})}),_jsx(ResponseField,{name:`createdAt`,type:`datetime`,id:`param-created-at`,children:_jsx(_components.p,{children:`The date and time at which the invoice was created.`})}),_jsx(ResponseField,{name:`updatedAt`,type:`datetime`,id:`param-updated-at`,children:_jsx(_components.p,{children:`The date and time at which the invoice was last updated.`})})]})]}),`\n`,_jsx(ResponseField,{name:`pageCount`,type:`integer`,id:`param-page-count`,children:_jsx(_components.p,{children:`Total number of pages available based on the current limit.`})}),`\n`,_jsx(ResponseField,{name:`limit`,type:`integer`,id:`param-limit-1`,children:_jsx(_components.p,{children:`The number of items per page used for this request.`})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"noindex":true,"title":"List Invoices","api":"GET https://api.alguna.io/invoices","description":"Retrieve a paginated list of invoices with optional filtering and sorting","href":"/api-reference/invoices/list"}}},"mdxSourceWithNoJs":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,p:`p`,pre:`pre`,span:`span`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{CodeBlock,Expandable,Heading,ParamField,RequestExample,ResponseExample,ResponseField,Table}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!RequestExample)_missingMdxReference(`RequestExample`,true);if(!ResponseExample)_missingMdxReference(`ResponseExample`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Retrieves a paginated list of all invoices. You can filter and sort the results using query parameters.`}),`\n`,_jsx(Heading,{level:`2`,id:`query-parameters`,children:`Query Parameters`}),`\n`,_jsx(ParamField,{query:`page`,type:`integer`,default:`1`,id:`param-page`,children:_jsx(_components.p,{children:`The page number to retrieve (1-indexed).`})}),`\n`,_jsx(ParamField,{query:`limit`,type:`integer`,default:`10`,id:`param-limit`,children:_jsxs(_components.p,{children:[`The number of invoices to return per page. Must be one of: `,_jsx(_components.code,{children:`5`}),`, `,_jsx(_components.code,{children:`10`}),`, `,_jsx(_components.code,{children:`25`}),`, `,_jsx(_components.code,{children:`50`}),`, or `,_jsx(_components.code,{children:`100`}),`. Values exceeding `,_jsx(_components.code,{children:`100`}),` are capped automatically.`]})}),`\n`,_jsxs(ParamField,{query:`filters`,type:`string`,id:`param-filters`,children:[_jsx(_components.p,{children:`A JSON-encoded array of filter objects. Each filter object has the following properties:`}),_jsxs(Expandable,{title:`Filter Object`,children:[_jsxs(ParamField,{body:`field`,type:`string`,required:true,id:`param-field`,children:[_jsx(_components.p,{children:`The field to filter on. Supported fields:`}),_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Field`}),_jsx(_components.th,{children:`Operators`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`status`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`eq`}),`, `,_jsx(_components.code,{children:`in`})]}),_jsxs(_components.td,{children:[`Invoice status (e.g. `,_jsx(_components.code,{children:`draft`}),`, `,_jsx(_components.code,{children:`upcoming`}),`, `,_jsx(_components.code,{children:`issued`}),`, `,_jsx(_components.code,{children:`paid`}),`, `,_jsx(_components.code,{children:`void`}),`)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`account_id`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`eq`})}),_jsx(_components.td,{children:`The account ID associated with the invoice`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`subscription_id`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`eq`})}),_jsx(_components.td,{children:`The subscription ID associated with the invoice`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`autopay`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`eq`})}),_jsxs(_components.td,{children:[`Whether the invoice is set to auto-pay (`,_jsx(_components.code,{children:`true`}),` or `,_jsx(_components.code,{children:`false`}),`)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`invoicing_date`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`eq`}),`, `,_jsx(_components.code,{children:`gte`}),`, `,_jsx(_components.code,{children:`lte`})]}),_jsx(_components.td,{children:`The invoicing date (ISO 8601 format)`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`issue_date`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`eq`}),`, `,_jsx(_components.code,{children:`gte`}),`, `,_jsx(_components.code,{children:`lte`})]}),_jsx(_components.td,{children:`The issue date (ISO 8601 format)`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`due_date`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`eq`}),`, `,_jsx(_components.code,{children:`gte`}),`, `,_jsx(_components.code,{children:`lte`})]}),_jsx(_components.td,{children:`The due date (ISO 8601 format)`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`paid_date`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`eq`}),`, `,_jsx(_components.code,{children:`gte`}),`, `,_jsx(_components.code,{children:`lte`})]}),_jsx(_components.td,{children:`The paid date (ISO 8601 format)`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`tag_ids`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`in`})}),_jsx(_components.td,{children:`Tag IDs associated with the invoice`})]})]})]})]}),_jsxs(ParamField,{body:`operator`,type:`string`,required:true,id:`param-operator`,children:[_jsx(_components.p,{children:`The comparison operator.`}),_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Operator`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`eq`})}),_jsx(_components.td,{children:`Exact match`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`in`})}),_jsx(_components.td,{children:`Matches any value in a comma-separated list`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`gte`})}),_jsx(_components.td,{children:`Greater than or equal to (date fields)`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`lte`})}),_jsx(_components.td,{children:`Less than or equal to (date fields)`})]})]})]})]}),_jsx(ParamField,{body:`value`,type:`string`,required:true,id:`param-value`,children:_jsxs(_components.p,{children:[`The value to match against. For the `,_jsx(_components.code,{children:`in`}),` operator, use comma-separated values. For date operators, use ISO 8601 format.`]})})]})]}),`\n`,_jsxs(ParamField,{query:`sort`,type:`string`,id:`param-sort`,children:[_jsxs(_components.p,{children:[`Sort specification in `,_jsx(_components.code,{children:`field:order`}),` format. Order is either `,_jsx(_components.code,{children:`asc`}),` (ascending) or `,_jsx(_components.code,{children:`desc`}),` (descending).`]}),_jsxs(_components.p,{children:[`Sortable fields: `,_jsx(_components.code,{children:`invoicing_date`}),`, `,_jsx(_components.code,{children:`issue_date`}),`, `,_jsx(_components.code,{children:`due_date`}),`, `,_jsx(_components.code,{children:`paid_date`}),`, `,_jsx(_components.code,{children:`account_name`}),`, `,_jsx(_components.code,{children:`status`}),`.`]})]}),`\n`,_jsxs(RequestExample,{children:[_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://api.alguna.io/invoices?page=1\u0026limit=25\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer YOUR_API_KEY\"`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`cURL (with filters and sort)`,numberOfLines:`6`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`6`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -G`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://api.alguna.io/invoices\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer YOUR_API_KEY\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --data-urlencode`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'page=1'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --data-urlencode`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'limit=10'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --data-urlencode`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'filters=[{\"field\":\"status\",\"operator\":\"in\",\"value\":\"issued,paid\"},{\"field\":\"due_date\",\"operator\":\"gte\",\"value\":\"2024-01-01T00:00:00Z\"}]'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --data-urlencode`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'sort=due_date:desc'`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Node.js`,numberOfLines:`9`,language:`javascript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`9`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` invoices`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` alguna`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`invoices`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`list`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` page:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` limit:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 25`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` filters:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` [`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`field:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`operator:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"in\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`value:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"issued,paid\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`field:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"due_date\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`operator:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"gte\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`value:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"2024-01-01T00:00:00Z\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` sort:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"due_date:desc\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`});`})}),`\n`]})})})]}),`\n`,_jsx(Heading,{level:`2`,id:`response`,children:`Response`}),`\n`,_jsx(ResponseExample,{children:_jsx(CodeBlock,{filename:`Response`,numberOfLines:`29`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`29`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"items\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"ZVzWRFnt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"accountId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"aBsZxlLh\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"currency\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"USD\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"description\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Platform subscription\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"billingPeriodStart\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2024-02-01T00:00:00Z\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"billingPeriodEnd\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2024-02-29T23:59:59Z\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"upcoming\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"total\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"200.00\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"billingPeriod\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Feb 01, 24 - Feb 29, 24\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"createdAt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2024-01-24T16:36:52.78883Z\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"updatedAt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2024-01-26T19:30:37.734294Z\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"jqsKFrxO\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"accountId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"JXvYcskd\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"currency\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"USD\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"description\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Monthly seats\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"billingPeriodStart\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2024-02-01T00:00:00Z\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"billingPeriodEnd\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2024-02-29T23:59:59Z\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"upcoming\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"total\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"500.00\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"billingPeriod\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Feb 01, 24 - Feb 29, 24\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"createdAt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2024-01-24T16:25:48.027798Z\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"updatedAt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2024-01-26T19:30:38.083477Z\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})}),`\n`,_jsxs(ResponseField,{name:`items`,type:`array`,id:`param-items`,children:[_jsx(_components.p,{children:`List of invoice objects.`}),_jsxs(Expandable,{title:`Invoice Object`,children:[_jsx(ResponseField,{name:`id`,type:`string`,id:`param-id`,children:_jsx(_components.p,{children:`The Alguna ID of the invoice.`})}),_jsx(ResponseField,{name:`accountId`,type:`string`,id:`param-account-id`,children:_jsx(_components.p,{children:`The Alguna ID of the account associated with the invoice.`})}),_jsx(ResponseField,{name:`currency`,type:`string`,id:`param-currency`,children:_jsx(_components.p,{children:`The ISO 4217 currency in which the invoice is billed.`})}),_jsx(ResponseField,{name:`description`,type:`string`,id:`param-description`,children:_jsx(_components.p,{children:`The description or memo for the invoice.`})}),_jsx(ResponseField,{name:`billingPeriodStart`,type:`string`,id:`param-billing-period-start`,children:_jsx(_components.p,{children:`The start date of the billing period for the invoice (RFC 3339 timestamp).`})}),_jsx(ResponseField,{name:`billingPeriodEnd`,type:`string`,id:`param-billing-period-end`,children:_jsx(_components.p,{children:`The end date of the billing period for the invoice (RFC 3339 timestamp).`})}),_jsx(ResponseField,{name:`status`,type:`string`,id:`param-status`,children:_jsxs(_components.p,{children:[`The status of the invoice. For more info on invoice statuses see the `,_jsx(_components.a,{href:`/invoices/invoicing-config`,children:`invoice status`}),` guide.`]})}),_jsx(ResponseField,{name:`total`,type:`string`,id:`param-total`,children:_jsx(_components.p,{children:`The total amount of the invoice as a decimal string e.g., “200.00”.`})}),_jsx(ResponseField,{name:`billingPeriod`,type:`string`,id:`param-billing-period`,children:_jsx(_components.p,{children:`The formatted billing period for the invoice.`})}),_jsx(ResponseField,{name:`createdAt`,type:`datetime`,id:`param-created-at`,children:_jsx(_components.p,{children:`The date and time at which the invoice was created.`})}),_jsx(ResponseField,{name:`updatedAt`,type:`datetime`,id:`param-updated-at`,children:_jsx(_components.p,{children:`The date and time at which the invoice was last updated.`})})]})]}),`\n`,_jsx(ResponseField,{name:`pageCount`,type:`integer`,id:`param-page-count`,children:_jsx(_components.p,{children:`Total number of pages available based on the current limit.`})}),`\n`,_jsx(ResponseField,{name:`limit`,type:`integer`,id:`param-limit-1`,children:_jsx(_components.p,{children:`The number of items per page used for this request.`})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"noindex":true,"title":"List Invoices","api":"GET https://api.alguna.io/invoices","description":"Retrieve a paginated list of invoices with optional filtering and sorting","href":"/api-reference/invoices/list"}}}},"mdxExtracts":{"tableOfContents":[{"title":"Query Parameters","slug":"query-parameters","depth":2,"children":[]},{"title":"Response","slug":"response","depth":2,"children":[]}],"codeExamples":{"request":{"type":"RequestExample","children":[{"filename":"cURL","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"shellscript\">\u003ccode language=\"shellscript\" numberOfLines=\"2\">\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#DCDCAA\">curl\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"https://api.alguna.io/invoices?page=1\u0026#x26;limit=25\"\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -H\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"Authorization: Bearer YOUR_API_KEY\"\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"cURL (with filters and sort)","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"shellscript\">\u003ccode language=\"shellscript\" numberOfLines=\"6\">\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#DCDCAA\">curl\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -G\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"https://api.alguna.io/invoices\"\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -H\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"Authorization: Bearer YOUR_API_KEY\"\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> --data-urlencode\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'page=1'\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> --data-urlencode\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'limit=10'\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> --data-urlencode\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'filters=[{\"field\":\"status\",\"operator\":\"in\",\"value\":\"issued,paid\"},{\"field\":\"due_date\",\"operator\":\"gte\",\"value\":\"2024-01-01T00:00:00Z\"}]'\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> --data-urlencode\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'sort=due_date:desc'\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"Node.js","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"javascript\">\u003ccode language=\"javascript\" numberOfLines=\"9\">\u003cspan class=\"line\">\u003cspan style=\"color:#CF222E;--shiki-dark:#569CD6\">const\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#4FC1FF\"> invoices\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D4D4D4\"> =\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#C586C0\"> await\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> alguna\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">invoices\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#8250DF;--shiki-dark:#DCDCAA\">list\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">({\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> page:\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\"> 1\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> limit:\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\"> 25\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> filters:\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> { \u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">field:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"status\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">operator:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"in\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">value:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"issued,paid\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> { \u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">field:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"due_date\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">operator:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"gte\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">value:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"2024-01-01T00:00:00Z\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> ],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\"> sort:\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"due_date:desc\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">});\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]},"response":{"type":"ResponseExample","children":[{"filename":"Response","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"29\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"items\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"ZVzWRFnt\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"accountId\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"aBsZxlLh\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"currency\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"USD\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"description\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Platform subscription\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"billingPeriodStart\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2024-02-01T00:00:00Z\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"billingPeriodEnd\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2024-02-29T23:59:59Z\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"status\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"upcoming\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"total\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"200.00\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"billingPeriod\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Feb 01, 24 - Feb 29, 24\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"createdAt\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2024-01-24T16:36:52.78883Z\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"updatedAt\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2024-01-26T19:30:37.734294Z\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"jqsKFrxO\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"accountId\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"JXvYcskd\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"currency\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"USD\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"description\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Monthly seats\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"billingPeriodStart\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2024-02-01T00:00:00Z\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"billingPeriodEnd\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2024-02-29T23:59:59Z\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"status\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"upcoming\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"total\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"500.00\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"billingPeriod\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Feb 01, 24 - Feb 29, 24\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"createdAt\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2024-01-24T16:25:48.027798Z\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"updatedAt\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2024-01-26T19:30:38.083477Z\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }]\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]}},"endpoint":{"title":"List Invoices","path":"/invoices","servers":[{"url":"https://api.alguna.io"}],"method":"get","request":{"security":[{"title":"Bearer Auth","parameters":{"header":{"Authorization":{"type":"http","scheme":"bearer","description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token."}},"query":{},"cookie":{}}}],"parameters":{"query":{"page":{"schema":[{"type":"integer","description":"The page number to retrieve (1-indexed)."}]},"limit":{"schema":[{"type":"integer","description":"The number of invoices to return per page. Must be one of: `5` , `10` , `25` , `50` , or `100` . Values exceeding `100` are capped automatically."}]},"filters":{"schema":[{"type":"string","description":"A JSON-encoded array of filter objects. Each filter object has the following properties:"}]},"sort":{"schema":[{"type":"string","description":"Sort specification in `field:order` format. Order is either `asc` (ascending) or `desc` (descending). Sortable fields: `invoicing_date` , `issue_date` , `due_date` , `paid_date` , `account_name` , `status` ."}]}},"header":{},"cookie":{},"path":{}},"body":{}},"response":{"200":{"application/json":{"schemaArray":[{"type":"object","properties":{"items":[{"type":"array","items":[{"type":"object","properties":{"id":[{"type":"string","description":"The Alguna ID of the invoice."}],"accountId":[{"type":"string","description":"The Alguna ID of the account associated with the invoice."}],"currency":[{"type":"string","description":"The ISO 4217 currency in which the invoice is billed."}],"description":[{"type":"string","description":"The description or memo for the invoice."}],"billingPeriodStart":[{"type":"string","description":"The start date of the billing period for the invoice (RFC 3339 timestamp)."}],"billingPeriodEnd":[{"type":"string","description":"The end date of the billing period for the invoice (RFC 3339 timestamp)."}],"status":[{"type":"string","description":"The status of the invoice. For more info on invoice statuses see the invoice status guide."}],"total":[{"type":"string","description":"The total amount of the invoice as a decimal string e.g., “200.00”."}],"billingPeriod":[{"type":"string","description":"The formatted billing period for the invoice."}],"createdAt":[{"type":"object","properties":{},"description":"The date and time at which the invoice was created."}],"updatedAt":[{"type":"object","properties":{},"description":"The date and time at which the invoice was last updated."}]}}],"description":"List of invoice objects."}],"pageCount":[{"type":"integer","description":"Total number of pages available based on the current limit."}],"limit":[{"type":"integer","description":"The number of items per page used for this request."}]}}],"examples":{"example":{"value":{"items":[{"id":"\u003cstring>","accountId":"\u003cstring>","currency":"\u003cstring>","description":"\u003cstring>","billingPeriodStart":"\u003cstring>","billingPeriodEnd":"\u003cstring>","status":"\u003cstring>","total":"\u003cstring>","billingPeriod":"\u003cstring>","createdAt":{},"updatedAt":{}}],"pageCount":123,"limit":123}}}}}},"deprecated":false}},"jsLinks":[],"subdomain":"alguna-20","siteName":"Alguna Docs","title":"List Invoices - Alguna Docs","navMaps":{"firstHrefInVersion":{"2026-04-01":{"href":"/api-reference/v2/overview","matchLevel":3},"v1":{"href":"/api-reference/invoices/list","matchLevel":0}},"firstHrefInLanguage":{}},"lastModified":"2026-09-02T00:44:08.505Z","originalFileLocation":"api-reference/invoices/list.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=\"Retrieve a paginated list of invoices with optional filtering and sorting\">\u003cmeta data-mint-head name=\"application-name\" content=\"Alguna Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003cmeta data-mint-head name=\"robots\" content=\"noindex\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/alguna-20/QHKYV98yVO84gW0v/_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=\"/docs/mintlify-assets/_mintlify/favicons/alguna-20/QHKYV98yVO84gW0v/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/alguna-20/QHKYV98yVO84gW0v/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/alguna-20/QHKYV98yVO84gW0v/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/alguna-20/QHKYV98yVO84gW0v/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/alguna-20/QHKYV98yVO84gW0v/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/alguna-20/QHKYV98yVO84gW0v/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/alguna-20/QHKYV98yVO84gW0v/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/alguna-20/QHKYV98yVO84gW0v/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"List Invoices - Alguna Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Retrieve a paginated list of invoices with optional filtering and sorting\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Alguna Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://alguna.com/docs/api-reference/invoices/list\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://alguna-20.mintlify.app/_mintlify/api/og/v2?division=Invoices\u0026amp;title=List+Invoices\u0026amp;description=Retrieve+a+paginated+list+of+invoices+with+optional+filtering+and+sorting\u0026amp;theme=f6c1ec92a0e2bfb7a1fcd8d8\u0026amp;signature=8b61e73082608ed8210f33b42a889a97cb97c99f4f009d2c0b2b9357ba5608dd\">\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=\"List Invoices - Alguna Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Retrieve a paginated list of invoices with optional filtering and sorting\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://alguna-20.mintlify.app/_mintlify/api/og/v2?division=Invoices\u0026amp;title=List+Invoices\u0026amp;description=Retrieve+a+paginated+list+of+invoices+with+optional+filtering+and+sorting\u0026amp;theme=f6c1ec92a0e2bfb7a1fcd8d8\u0026amp;signature=8b61e73082608ed8210f33b42a889a97cb97c99f4f009d2c0b2b9357ba5608dd\">\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=\"/docs/mintlify-assets/_mintlify/favicons/alguna-20/QHKYV98yVO84gW0v/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Alguna Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#00BA61\">\u003clink data-mint-head rel=\"canonical\" href=\"https://alguna.com/docs/api-reference/invoices/list\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/api-reference/invoices/list.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Alguna Docs\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Alguna Docs","nav":{"global":null,"anchors":[{"anchor":"Documentation","icon":"book-open","pages":[{"title":"Documentation","href":"/overview"}]},{"anchor":"Quick Starts","icon":"rocket","pages":[{"title":"Quick Starts","href":"/quickstarts/overview"}]},{"anchor":"API References","icon":"code","versions":[{"version":"2026-04-01","pages":[{"title":"2026-04-01","href":"/api-reference/v2/overview"}]},{"version":"v1","tag":"Deprecated","groups":[{"group":"API Reference","pages":[{"title":"Overview","icon":"plug","href":"/api-reference/overview"}]},{"group":"Billing Events \u0026 Usage Metering","pages":[{"title":"Ingest Billable Events","api":"POST https://api.alguna.io/events","href":"/api-reference/events/ingest"},{"title":"Create Billable Metric","api":"POST https://api.alguna.io/metrics","href":"/api-reference/events/createMetric"},{"title":"Get Billable Metric","api":"GET https://api.alguna.io/metrics/{id}","href":"/api-reference/events/getMetric"},{"title":"List Billable Metrics","api":"GET https://api.alguna.io/metrics","href":"/api-reference/events/listMetrics"},{"title":"Update Billable Metric","api":"PUT https://api.alguna.io/metrics/{id}","href":"/api-reference/events/updateMetric"}]},{"group":"Bundles","pages":[{"title":"Create Bundle","api":"POST https://api.alguna.io/price-bundles","href":"/api-reference/bundles/createBundles"},{"title":"Update Bundle","api":"PUT https://api.alguna.io/price-bundles/{id}","href":"/api-reference/bundles/updateBundles"},{"title":"Get Bundle","api":"GET https://api.alguna.io/price-bundles/{id}","href":"/api-reference/bundles/getBundles"},{"title":"List Bundles","api":"GET https://api.alguna.io/price-bundles","href":"/api-reference/bundles/listBundles"}]},{"group":"Credit Grants","pages":[{"title":"Create Credit Grant","api":"POST https://api.alguna.io/credit-grants","href":"/api-reference/credit-grants/create"},{"title":"Get Credit Grant","api":"GET https://api.alguna.io/credit-grants/{id}","href":"/api-reference/credit-grants/get"},{"title":"List Credit Grants","api":"GET https://api.alguna.io/credit-grants","href":"/api-reference/credit-grants/list"},{"title":"List Grants by Wallet","api":"GET https://api.alguna.io/wallets/{id}/credit-grants","href":"/api-reference/credit-grants/list-by-wallet"}]},{"group":"Credit Notes","pages":[{"title":"Create Credit Note","api":"POST https://api.alguna.io/credit-notes","href":"/api-reference/credit-notes/create"},{"title":"Get Credit Note","api":"GET https://api.alguna.io/credit-notes/{id}","href":"/api-reference/credit-notes/get"},{"title":"List Credit Notes by Account","api":"GET https://api.alguna.io/account/{id}/credit-notes","href":"/api-reference/credit-notes/list"}]},{"group":"Customers","pages":[{"title":"Create Account","api":"POST https://api.alguna.io/accounts","href":"/api-reference/customers/create"},{"title":"Get Customer","api":"GET https://api.alguna.io/accounts/{id}","href":"/api-reference/customers/getByID"},{"title":"Lookup Customer by Alias","api":"GET https://api.alguna.io/account-lookup","href":"/api-reference/customers/accountLookup"},{"title":"List Customers","api":"GET https://api.alguna.io/accounts","href":"/api-reference/customers/list"},{"title":"Update Customers","api":"PATCH https://api.alguna.io/accounts/{id}","description":null,"href":"/api-reference/customers/update"}]},{"group":"Invoices","pages":[{"title":"List Invoices","api":"GET https://api.alguna.io/invoices","href":"/api-reference/invoices/list"},{"title":"Get Invoice","api":"GET https://api.alguna.io/invoices/{id}","description":null,"href":"/api-reference/invoices/getByID"},{"title":"Lookup Invoice by Reference","api":"GET https://api.alguna.io/invoice-lookup","href":"/api-reference/invoices/invoiceLookup"},{"title":"Mark Invoice as Paid","api":"PUT https://api.alguna.io/invoices/{id}/mark-as-paid","href":"/api-reference/invoices/markAsPaid"},{"title":"Create invoice","api":"POST https://api.alguna.io/invoices","href":"/api-reference/invoices/create"},{"title":"Create Invoice Line Item","api":"POST https://api.alguna.io/invoices/{id}/line-items","href":"/api-reference/invoices/createLineItem"},{"title":"Update Invoice Line Item","api":"PUT https://api.alguna.io/invoices/{id}/line-items/{itemID}","href":"/api-reference/invoices/updateLineItem"},{"title":"Delete Invoice Line Item","api":"DELETE https://api.alguna.io/invoices/{id}/line-items/{itemID}","href":"/api-reference/invoices/deleteLineItem"},{"title":"Generate PDF","api":"GET https://api.alguna.io/dashboard/invoices/{id}/pdf","href":"/api-reference/invoices/generatePDFs"}]},{"group":"Plans","pages":[{"title":"Get Plan","api":"GET https://api.alguna.io/plans/{id}","href":"/api-reference/plans/getPlan"},{"title":"List Plans","api":"GET https://api.alguna.io/plans/","href":"/api-reference/plans/listPlans"}]},{"group":"Products","pages":[{"title":"Create Product","api":"POST https://api.alguna.io/products","href":"/api-reference/products/createProduct"},{"title":"Get Product","api":"GET https://api.alguna.io/products/{id}","href":"/api-reference/products/getProduct"},{"title":"Update Product","api":"PATCH https://api.alguna.io/products/{id}","href":"/api-reference/products/updateProduct"},{"title":"List Products","api":"GET https://api.alguna.io/products","href":"/api-reference/products/listProducts"}]},{"group":"Refunds","pages":[{"title":"Get Refund","api":"GET https://api.alguna.io/refunds/{id}","href":"/api-reference/refunds/get"}]},{"group":"Subscriptions","pages":[{"title":"List Subscriptions","api":"GET https://api.alguna.io/subscriptions","href":"/api-reference/subscriptions/getSubscriptions"},{"title":"Get Subscription","api":"GET https://api.alguna.io/subscriptions/{id}","href":"/api-reference/subscriptions/getSubscription"},{"title":"Create Subscription","api":"POST https://api.alguna.io/subscriptions","href":"/api-reference/subscriptions/createSubscription"},{"title":"Activate Subscription","api":"POST https://api.alguna.io/subscriptions/{id}/activate","href":"/api-reference/subscriptions/activateSubscription"},{"title":"Update Subscription","api":"PATCH https://api.alguna.io/subscriptions/{id}","href":"/api-reference/subscriptions/updateSubscription"},{"title":"Cancel Subscription","api":"POST https://api.alguna.io/subscriptions/{id}/cancel","href":"/api-reference/subscriptions/cancelSubscription"},{"title":"Delete Subscription","api":"DELETE https://api.alguna.io/subscriptions/{id}","href":"/api-reference/subscriptions/deleteSubscription"}]},{"group":"Subscription Versions","pages":[{"title":"Get Subscription Version","api":"GET https://api.alguna.io/subscriptions/{id}/versions/{versionId}","href":"/api-reference/subscription-versions/getSubscriptionVersion"},{"title":"List Subscription Versions","api":"GET https://api.alguna.io/subscriptions/{id}/versions","href":"/api-reference/subscription-versions/getSubscriptionVersions"},{"title":"Create Subscription Version","api":"POST https://api.alguna.io/subscriptions/{id}/versions","href":"/api-reference/subscription-versions/createSubscriptionVersion"},{"title":"Update Subscription Version","api":"PATCH https://api.alguna.io/subscriptions/{id}/versions/{versionId}","href":"/api-reference/subscription-versions/updateSubscriptionVersion"},{"title":"Publish Subscription Version","api":"POST https://api.alguna.io/subscriptions/{id}/versions/{versionId}/publish","href":"/api-reference/subscription-versions/publishSubscriptionVersion"},{"title":"Delete Subscription Version","api":"DELETE https://api.alguna.io/subscriptions/{id}/versions/{versionId}","href":"/api-reference/subscription-versions/deleteSubscriptionVersion"},{"title":"Pricing Models API Reference","href":"/api-reference/subscription-versions/pricingModels"}]},{"group":"Wallets","pages":[{"title":"Create Wallet","api":"POST https://api.alguna.io/wallets","href":"/api-reference/wallets/create"},{"title":"Get Wallet","api":"GET https://api.alguna.io/wallets/{id}","href":"/api-reference/wallets/get"},{"title":"List Wallets","api":"GET https://api.alguna.io/wallets","href":"/api-reference/wallets/list"},{"title":"Get Wallet Balance","api":"GET https://api.alguna.io/wallets/{id}/balance","href":"/api-reference/wallets/get-balance"},{"title":"Credit Wallet","api":"POST https://api.alguna.io/wallets/{id}/credit","href":"/api-reference/wallets/credit"}]}]}]},{"anchor":"Integrations","icon":"plug","pages":[{"title":"Integrations","href":"/integrations/marketplace"}]},{"anchor":"Migrations","icon":"plane","pages":[{"title":"Migrations","href":"/migrations/migrations"}]},{"anchor":"Contact us","icon":"envelope","href":"https://alguna.io"}]},"basePath":"","title":"List Invoices - Alguna Docs","buildId":"dpl_Acry4NrQAgjcikyFgVE2eJ7XQCAv","deploymentId":"dpl_Acry4NrQAgjcikyFgVE2eJ7XQCAv","dynamics":["c2aa737661","b0f84f53ff","2b790eda92"],"chunks":["OpenApiReferenceProvider-C2Ap4tLG.js","utils-DOQ4WuIX.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-PBLA84v6.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-BSX8gB2N.js","snippetPresets-DEKVfaPa.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","Page-CFXBIa-t.js","ApiExamples-BSZ21_fK.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-Bd7Ye-9k.js","shallow-Yd0HfeLO.js","getApiPlaygroundDisplay-CLdBbHLF.js","CodeSnippet-BJnsDPfe.js","CodeSnippets-CdAH7YRl.js","getPastedJson-Wsal3Fw6.js","icon-WwS_mnlk.js","MethodPill-CYxxzIKu.js","DuplicateIcon-CejZ8LQc.js","createIcon-DKEFCi_0.js","DynamicMarkdown-BCpKo5ib.js","SectionHeading-ClsMcgQm.js","axios-vUo_bRtp.js"]}