Portal API key minted in portal Settings → API access. Scope read or write; pinned to one company. Send as Authorization: Bearer lac_sk_....
Query Parameters
customer_id
string
Target company. Optional — API keys are pinned to one company, and single-company sessions default to it.
Response
Invoices payload.
Invoice list payload.
customer_id
string
payment_accounts
object[]
Open company cash accounts in the invoice currency, from primary feeds and company-owned connections and selected scopes where the provider has an account catalogue. Only returned to interactive sales-invoice editors; other callers receive an empty array. Excludes closed, superseded, excluded and invalid-IBAN accounts. Contains no provider identifiers or balances.
Show child attributes
seller
object
Current canonical seller identity used for new drafts.
Show child attributes
summary
object
Show child attributes
approval_policy
enum<string>
required means a draft needs an approver before it can be sent or finalized.
Available options:
off,
required
purchase_approval_policy
enum<string>
Available options:
off,
approval,
verify_and_approve
purchase_flow
object
The purchase flow as people, from the same facts as the rows: the active members holding each review capability and the members with payment release authority. Absent when the membership ledger or the release grants could not be read.
Show child attributes
can_verify_purchases
boolean
can_approve_purchases
boolean
can_read_purchase_payments
boolean
Whether this interactive caller may inspect source-bound purchase payments.
can_prepare_purchase_payments
boolean
Whether this caller can start a payment with the configured company paying account.
can_approve
boolean
Whether THIS caller may approve or send back a draft. False for API keys: deciding needs an interactive person with sales invoice approval.
can_manage_sales
boolean
Whether this caller may create, edit, issue, or correct sales invoices.
agent_runs
object[]
Read-only explanations of the invoice checks Björn can perform from the canonical invoice, review, reminder, and payment facts in this response.
Show child attributes
automation_candidates
object[]
Evidence-backed process suggestions inferred from current invoice outcomes. These are discussion prompts, not activated automations.
Show child attributes
invoices
object[]
Show child attributes
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"LAC Developers","description":"Developer documentation for Last Accounting Company customer API and MCP server.","colors":{"primary":"#1aa251","light":"#3ecf74","dark":"#16823f"},"logo":{"light":"https://mintcdn.com/lastaccountingcompany/t6yDKpFsZd7KsB-H/favicon.png?fit=max\u0026auto=format\u0026n=t6yDKpFsZd7KsB-H\u0026q=85\u0026s=6284d1423b8824129348afb245217405","dark":"https://mintcdn.com/lastaccountingcompany/t6yDKpFsZd7KsB-H/favicon.png?fit=max\u0026auto=format\u0026n=t6yDKpFsZd7KsB-H\u0026q=85\u0026s=6284d1423b8824129348afb245217405"},"favicon":"https://mintcdn.com/lastaccountingcompany/t6yDKpFsZd7KsB-H/favicon.png?fit=max\u0026auto=format\u0026n=t6yDKpFsZd7KsB-H\u0026q=85\u0026s=6284d1423b8824129348afb245217405","navbar":{"links":[{"href":"https://app.lastaccountingcompany.com","label":"Portal"}]},"footer":{"links":[{"header":"Last Accounting Company","items":[{"label":"Home","href":"https://lastaccountingcompany.com"},{"label":"Customer portal","href":"https://app.lastaccountingcompany.com"},{"label":"Privacy","href":"https://lastaccountingcompany.com/privacy"},{"label":"Terms","href":"https://lastaccountingcompany.com/terms"}]}]},"contextual":{"options":["copy","view"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"lastaccountingcompany","hasAudioNarration":false,"actualSubdomain":"lastaccountingcompany","customDomains":["docs.lastaccountingcompany.com"],"gitSource":{"type":"github","owner":"the-last-accounting-company","repo":"thelastaccountingcompany","deployBranch":"main","contentDirectory":"developer-docs","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6ac89726f69e845f5b7c5fd6","clientVersion":"0.0.4131","searchFilterCounts":[{"language":"default","tag":"API reference","count":176},{"language":"default","tag":"Endpoints","count":174},{"language":"default","tag":"Invoicing","count":34},{"language":"default","tag":"Connections","count":27},{"language":"default","tag":"Payroll","count":15},{"language":"default","tag":"Accounting","count":14},{"language":"default","tag":"Documents","count":14},{"language":"default","tag":"Payments","count":13},{"language":"default","tag":"Filings","count":9},{"language":"default","tag":"Books","count":8}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/invoicing/list-sales-invoices","slug":"/api-reference/invoicing/list-sales-invoices","pageMetadata":{"title":"List sales invoices","description":"Lists the company's sales invoices and drafts with their statuses.","deprecated":null,"version":null,"openapi":"/openapi.yaml get /invoices","href":"/api-reference/invoicing/list-sales-invoices","autogeneratedByOpenApi":true},"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: \"Lists the company’s sales invoices and drafts with their statuses.\"\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":"List sales invoices","description":"Lists the company's sales invoices and drafts with their statuses.","deprecated":null,"version":null,"openapi":"/openapi.yaml get /invoices","href":"/api-reference/invoicing/list-sales-invoices","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"listInvoices","tags":["Invoicing"],"summary":"List sales invoices","description":"Lists the company's sales invoices and drafts with their statuses.","parameters":["2a4b3fda-5ff8-47a3-a5b8-a7b5d2a7b51c"],"responses":{"200":"685d770f-8e07-41ca-a6f4-bd5c6aa535d6","401":"94c79364-65ac-468c-9f18-86d5e8894786","403":"e4ea45f5-57e0-4689-a0a3-457bf0f247ff"},"method":"get","type":"path","servers":["c2b5025d-91e7-4eb9-8e47-1bbb79026229"],"security":["3ca8961e-60dc-4dcf-a1f3-962de80bfbd5"],"path":"/invoices","baseUrlOptions":["https://api.app.lastaccountingcompany.com/portal"],"title":"List sales invoices","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"2a4b3fda-5ff8-47a3-a5b8-a7b5d2a7b51c":{"name":"customer_id","in":"query","required":false,"description":"Target company. Optional — API keys are pinned to one company, and single-company sessions default to it.","schema":{"type":"string","isRequired":false,"description":"Target company. Optional — API keys are pinned to one company, and single-company sessions default to it.","uniqueKey":"","typeLabel":"string"}}},"responses":{"685d770f-8e07-41ca-a6f4-bd5c6aa535d6":{"description":"Invoices payload.","content":{"application/json":{"schema":{"type":"object","description":"Invoice list payload.","properties":{"customer_id":{"type":"string","uniqueKey":"customer_id","typeLabel":"string"},"payment_accounts":{"type":"array","description":"Open company cash accounts in the invoice currency, from primary feeds and company-owned connections and selected scopes where the provider has an account catalogue. Only returned to interactive sales-invoice editors; other callers receive an empty array. Excludes closed, superseded, excluded and invalid-IBAN accounts. Contains no provider identifiers or balances.","items":{"type":"object","additionalProperties":false,"required":["iban","bank_name","name","currency"],"properties":{"iban":{"type":"string","isRequired":true,"uniqueKey":"payment_accounts.items.[INDEX].iban","typeLabel":"string"},"bank_name":{"type":"string","isRequired":true,"uniqueKey":"payment_accounts.items.[INDEX].bank_name","typeLabel":"string"},"name":{"type":"string","isRequired":true,"uniqueKey":"payment_accounts.items.[INDEX].name","typeLabel":"string"},"currency":{"type":"string","isRequired":true,"uniqueKey":"payment_accounts.items.[INDEX].currency","typeLabel":"string"}},"uniqueKey":"payment_accounts.items.[INDEX]","typeLabel":"object"},"uniqueKey":"payment_accounts","typeLabel":"object[]"},"seller":{"type":"object","description":"Current canonical seller identity used for new drafts.","properties":{"display_name":{"type":"string","uniqueKey":"seller.display_name","typeLabel":"string"},"legal_name":{"type":"string","uniqueKey":"seller.legal_name","typeLabel":"string"},"business_id":{"type":"string","uniqueKey":"seller.business_id","typeLabel":"string"}},"uniqueKey":"seller","typeLabel":"object"},"summary":{"type":"object","required":["outstanding_cents","overdue_cents","paid_cents","sent_cents","purchase_total_cents","purchase_due_cents","purchase_approved_cents","purchase_paid_cents","sales_invoice_count","sales_receipt_count","sales_outstanding_count","sales_overdue_count","purchase_bill_count","purchase_approved_count","purchase_payment_count","currency"],"properties":{"outstanding_cents":{"type":"integer","format":"int64","isRequired":true,"uniqueKey":"summary.outstanding_cents","typeLabel":"integer\u003cint64>"},"overdue_cents":{"type":"integer","format":"int64","isRequired":true,"uniqueKey":"summary.overdue_cents","typeLabel":"integer\u003cint64>"},"paid_cents":{"type":"integer","format":"int64","isRequired":true,"uniqueKey":"summary.paid_cents","typeLabel":"integer\u003cint64>"},"sent_cents":{"type":"integer","format":"int64","isRequired":true,"uniqueKey":"summary.sent_cents","typeLabel":"integer\u003cint64>"},"purchase_total_cents":{"type":"integer","format":"int64","isRequired":true,"uniqueKey":"summary.purchase_total_cents","typeLabel":"integer\u003cint64>"},"purchase_due_cents":{"type":"integer","format":"int64","isRequired":true,"uniqueKey":"summary.purchase_due_cents","typeLabel":"integer\u003cint64>"},"purchase_approved_cents":{"type":"integer","format":"int64","description":"Remaining open value of operational purchase bills approved for payment; already-paid bills are excluded.","isRequired":true,"uniqueKey":"summary.purchase_approved_cents","typeLabel":"integer\u003cint64>"},"purchase_paid_cents":{"type":"integer","format":"int64","isRequired":true,"uniqueKey":"summary.purchase_paid_cents","typeLabel":"integer\u003cint64>"},"sales_invoice_count":{"type":"integer","format":"int64","isRequired":true,"uniqueKey":"summary.sales_invoice_count","typeLabel":"integer\u003cint64>"},"sales_receipt_count":{"type":"integer","format":"int64","description":"Distinct non-reversed payment records allocated to operational sales invoices.","isRequired":true,"uniqueKey":"summary.sales_receipt_count","typeLabel":"integer\u003cint64>"},"sales_outstanding_count":{"type":"integer","format":"int64","isRequired":true,"uniqueKey":"summary.sales_outstanding_count","typeLabel":"integer\u003cint64>"},"sales_overdue_count":{"type":"integer","format":"int64","isRequired":true,"uniqueKey":"summary.sales_overdue_count","typeLabel":"integer\u003cint64>"},"purchase_bill_count":{"type":"integer","format":"int64","isRequired":true,"uniqueKey":"summary.purchase_bill_count","typeLabel":"integer\u003cint64>"},"purchase_approved_count":{"type":"integer","format":"int64","description":"Operational purchase bills currently approved and not yet paid.","isRequired":true,"uniqueKey":"summary.purchase_approved_count","typeLabel":"integer\u003cint64>"},"purchase_payment_count":{"type":"integer","format":"int64","description":"Distinct non-reversed payment records or live bank settlement debits allocated to operational purchase bills, deduplicated by bank transaction when available.","isRequired":true,"uniqueKey":"summary.purchase_payment_count","typeLabel":"integer\u003cint64>"},"currency":{"type":"string","isRequired":true,"uniqueKey":"summary.currency","typeLabel":"string"},"customer_credit_cents":{"type":"integer","format":"int64","uniqueKey":"summary.customer_credit_cents","typeLabel":"integer\u003cint64>"}},"uniqueKey":"summary","typeLabel":"object"},"approval_policy":{"type":"string","enum":["off","required"],"description":"`required` means a draft needs an approver before it can be sent or finalized.","uniqueKey":"approval_policy","typeLabel":"enum\u003cstring>"},"purchase_approval_policy":{"type":"string","enum":["off","approval","verify_and_approve"],"uniqueKey":"purchase_approval_policy","typeLabel":"enum\u003cstring>"},"purchase_flow":{"type":"object","description":"The purchase flow as people, from the same facts as the rows: the active members holding each review capability and the members with payment release authority. Absent when the membership ledger or the release grants could not be read.","required":["policy","verifiers","approvers","payers"],"properties":{"policy":{"type":"string","enum":["off","approval","verify_and_approve"],"isRequired":true,"uniqueKey":"purchase_flow.policy","typeLabel":"enum\u003cstring>"},"verifiers":{"type":"array","items":{"type":"object","required":["email"],"properties":{"email":{"type":"string","format":"email","isRequired":true,"uniqueKey":"purchase_flow.verifiers.items.[INDEX].email","typeLabel":"string\u003cemail>"},"first_name":{"type":"string","uniqueKey":"purchase_flow.verifiers.items.[INDEX].first_name","typeLabel":"string"},"last_name":{"type":"string","uniqueKey":"purchase_flow.verifiers.items.[INDEX].last_name","typeLabel":"string"}},"uniqueKey":"purchase_flow.verifiers.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"purchase_flow.verifiers","typeLabel":"object[]"},"approvers":{"type":"array","items":{"type":"object","required":["email"],"properties":{"email":{"type":"string","format":"email","isRequired":true,"uniqueKey":"purchase_flow.approvers.items.[INDEX].email","typeLabel":"string\u003cemail>"},"first_name":{"type":"string","uniqueKey":"purchase_flow.approvers.items.[INDEX].first_name","typeLabel":"string"},"last_name":{"type":"string","uniqueKey":"purchase_flow.approvers.items.[INDEX].last_name","typeLabel":"string"}},"uniqueKey":"purchase_flow.approvers.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"purchase_flow.approvers","typeLabel":"object[]"},"payers":{"type":"array","items":{"type":"object","required":["email"],"properties":{"email":{"type":"string","format":"email","isRequired":true,"uniqueKey":"purchase_flow.payers.items.[INDEX].email","typeLabel":"string\u003cemail>"},"first_name":{"type":"string","uniqueKey":"purchase_flow.payers.items.[INDEX].first_name","typeLabel":"string"},"last_name":{"type":"string","uniqueKey":"purchase_flow.payers.items.[INDEX].last_name","typeLabel":"string"}},"uniqueKey":"purchase_flow.payers.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"purchase_flow.payers","typeLabel":"object[]"}},"uniqueKey":"purchase_flow","typeLabel":"object"},"can_verify_purchases":{"type":"boolean","uniqueKey":"can_verify_purchases","typeLabel":"boolean"},"can_approve_purchases":{"type":"boolean","uniqueKey":"can_approve_purchases","typeLabel":"boolean"},"can_read_purchase_payments":{"type":"boolean","description":"Whether this interactive caller may inspect source-bound purchase payments.","uniqueKey":"can_read_purchase_payments","typeLabel":"boolean"},"can_prepare_purchase_payments":{"type":"boolean","description":"Whether this caller can start a payment with the configured company paying account.","uniqueKey":"can_prepare_purchase_payments","typeLabel":"boolean"},"can_approve":{"type":"boolean","description":"Whether THIS caller may approve or send back a draft. False for API keys: deciding needs an interactive person with sales invoice approval.","uniqueKey":"can_approve","typeLabel":"boolean"},"can_manage_sales":{"type":"boolean","description":"Whether this caller may create, edit, issue, or correct sales invoices.","uniqueKey":"can_manage_sales","typeLabel":"boolean"},"agent_runs":{"type":"array","description":"Read-only explanations of the invoice checks Björn can perform from the canonical invoice, review, reminder, and payment facts in this response.","items":{"type":"object","additionalProperties":false,"required":["id","name","status","scope","current_work","trigger","agent_work","return_condition","reasoning"],"properties":{"id":{"type":"string","isRequired":true,"uniqueKey":"agent_runs.items.[INDEX].id","typeLabel":"string"},"name":{"type":"string","isRequired":true,"uniqueKey":"agent_runs.items.[INDEX].name","typeLabel":"string"},"status":{"type":"string","enum":["active","waiting","paused","pending","snapshot"],"description":"Snapshot summarizes current invoice facts without claiming agent execution or progress.","isRequired":true,"uniqueKey":"agent_runs.items.[INDEX].status","typeLabel":"enum\u003cstring>"},"scope":{"type":"string","isRequired":true,"uniqueKey":"agent_runs.items.[INDEX].scope","typeLabel":"string"},"current_work":{"type":"string","isRequired":true,"uniqueKey":"agent_runs.items.[INDEX].current_work","typeLabel":"string"},"trigger":{"type":"string","isRequired":true,"uniqueKey":"agent_runs.items.[INDEX].trigger","typeLabel":"string"},"agent_work":{"type":"string","isRequired":true,"uniqueKey":"agent_runs.items.[INDEX].agent_work","typeLabel":"string"},"return_condition":{"type":"string","isRequired":true,"uniqueKey":"agent_runs.items.[INDEX].return_condition","typeLabel":"string"},"reasoning":{"type":"string","isRequired":true,"uniqueKey":"agent_runs.items.[INDEX].reasoning","typeLabel":"string"},"progress_current":{"type":"integer","minimum":0,"uniqueKey":"agent_runs.items.[INDEX].progress_current","typeLabel":"integer"},"progress_total":{"type":"integer","minimum":0,"uniqueKey":"agent_runs.items.[INDEX].progress_total","typeLabel":"integer"},"progress_label":{"type":"string","uniqueKey":"agent_runs.items.[INDEX].progress_label","typeLabel":"string"},"outcome":{"type":"string","uniqueKey":"agent_runs.items.[INDEX].outcome","typeLabel":"string"},"context_prompt":{"type":"string","uniqueKey":"agent_runs.items.[INDEX].context_prompt","typeLabel":"string"}},"uniqueKey":"agent_runs.items.[INDEX]","typeLabel":"object"},"uniqueKey":"agent_runs","typeLabel":"object[]"},"automation_candidates":{"type":"array","description":"Evidence-backed process suggestions inferred from current invoice outcomes. These are discussion prompts, not activated automations.","items":{"type":"object","additionalProperties":false,"required":["id","name","evidence","trigger","agent_work","return_condition","reasoning"],"properties":{"id":{"type":"string","isRequired":true,"uniqueKey":"automation_candidates.items.[INDEX].id","typeLabel":"string"},"name":{"type":"string","isRequired":true,"uniqueKey":"automation_candidates.items.[INDEX].name","typeLabel":"string"},"evidence":{"type":"string","isRequired":true,"uniqueKey":"automation_candidates.items.[INDEX].evidence","typeLabel":"string"},"trigger":{"type":"string","isRequired":true,"uniqueKey":"automation_candidates.items.[INDEX].trigger","typeLabel":"string"},"agent_work":{"type":"string","isRequired":true,"uniqueKey":"automation_candidates.items.[INDEX].agent_work","typeLabel":"string"},"return_condition":{"type":"string","isRequired":true,"uniqueKey":"automation_candidates.items.[INDEX].return_condition","typeLabel":"string"},"reasoning":{"type":"string","isRequired":true,"uniqueKey":"automation_candidates.items.[INDEX].reasoning","typeLabel":"string"},"context_prompt":{"type":"string","uniqueKey":"automation_candidates.items.[INDEX].context_prompt","typeLabel":"string"}},"uniqueKey":"automation_candidates.items.[INDEX]","typeLabel":"object"},"uniqueKey":"automation_candidates","typeLabel":"object[]"},"invoices":{"type":"array","items":{"type":"object","description":"One sales invoice, sales draft, or purchase invoice. Amounts are integer cents; interior fields beyond the stable ones vary by status.","properties":{"id":{"type":"string","uniqueKey":"invoices.items.[INDEX].id","typeLabel":"string"},"status":{"type":"string","uniqueKey":"invoices.items.[INDEX].status","typeLabel":"string"},"draft_saved_at":{"type":"string","description":"Time the canonical draft was last saved; empty for issued invoices.","uniqueKey":"invoices.items.[INDEX].draft_saved_at","typeLabel":"string"},"delivery_channel":{"type":"string","uniqueKey":"invoices.items.[INDEX].delivery_channel","typeLabel":"string"},"document_type":{"type":"string","enum":["invoice","credit_note"],"uniqueKey":"invoices.items.[INDEX].document_type","typeLabel":"enum\u003cstring>"},"original_invoice_id":{"type":"string","uniqueKey":"invoices.items.[INDEX].original_invoice_id","typeLabel":"string"},"original_invoice_number":{"type":"string","uniqueKey":"invoices.items.[INDEX].original_invoice_number","typeLabel":"string"},"original_invoice_date":{"type":"string","format":"date","uniqueKey":"invoices.items.[INDEX].original_invoice_date","typeLabel":"string\u003cdate>"},"correction_reason":{"type":"string","uniqueKey":"invoices.items.[INDEX].correction_reason","typeLabel":"string"},"credited_cents":{"type":"integer","format":"int64","uniqueKey":"invoices.items.[INDEX].credited_cents","typeLabel":"integer\u003cint64>"},"paid_cents":{"type":"integer","format":"int64","description":"Live allocated payment amount in integer cents.","uniqueKey":"invoices.items.[INDEX].paid_cents","typeLabel":"integer\u003cint64>"},"open_cents":{"type":"integer","format":"int64","description":"Amount still outstanding in integer cents.","uniqueKey":"invoices.items.[INDEX].open_cents","typeLabel":"integer\u003cint64>"},"can_cancel_before_sending":{"type":"boolean","description":"True only when this issued Maventa invoice has one queued intent, no provider attempt or id, no payment or earlier correction, and an active original journal. The write route repeats these checks under the outbound and journal locks.","uniqueKey":"invoices.items.[INDEX].can_cancel_before_sending","typeLabel":"boolean"},"seller_name":{"type":"string","description":"Customer-facing seller name captured for this invoice.","uniqueKey":"invoices.items.[INDEX].seller_name","typeLabel":"string"},"seller_legal_name":{"type":"string","description":"Registered legal seller name captured for this invoice.","uniqueKey":"invoices.items.[INDEX].seller_legal_name","typeLabel":"string"},"seller_business_id":{"type":"string","description":"Seller Business ID captured for this invoice.","uniqueKey":"invoices.items.[INDEX].seller_business_id","typeLabel":"string"},"seller_iban":{"type":"string","description":"Payment account captured for this invoice.","uniqueKey":"invoices.items.[INDEX].seller_iban","typeLabel":"string"},"payment_reference_issue":{"type":"string","description":"Unresolved creditor-reference uncertainty from the canonical purchase readiness owner; empty when no issue is recorded.","uniqueKey":"invoices.items.[INDEX].payment_reference_issue","typeLabel":"string"},"seller_profile_id":{"type":"string","description":"Partner seller profile id; empty for the tenant's own sale.","uniqueKey":"invoices.items.[INDEX].seller_profile_id","typeLabel":"string"},"posts_ledger":{"type":"boolean","description":"False for a partner sale. Such an invoice is excluded from this company's journal, VAT facts, receivables, aging, and overdue controls.","uniqueKey":"invoices.items.[INDEX].posts_ledger","typeLabel":"boolean"},"partner_copy_status":{"type":"string","enum":["not_required","no_contact_email","pending","sending","sent","failed","ambiguous"],"description":"Delivery state of the partner's bookkeeping PDF copy.","uniqueKey":"invoices.items.[INDEX].partner_copy_status","typeLabel":"enum\u003cstring>"},"partner_copy_error":{"type":"string","description":"Latest partner-copy delivery error.","uniqueKey":"invoices.items.[INDEX].partner_copy_error","typeLabel":"string"},"pdf_available":{"type":"boolean","description":"Whether the exact issued PDF is registered as retained evidence.","uniqueKey":"invoices.items.[INDEX].pdf_available","typeLabel":"boolean"},"pdf_document_id":{"type":"string","description":"Canonical evidence-document id for the issued PDF.","uniqueKey":"invoices.items.[INDEX].pdf_document_id","typeLabel":"string"},"pdf_sha256":{"type":"string","pattern":"^[0-9a-f]{64}$","description":"SHA-256 of the exact bytes returned by the PDF endpoint.","uniqueKey":"invoices.items.[INDEX].pdf_sha256","typeLabel":"string"},"pdf_size_bytes":{"type":"integer","format":"int64","description":"Size of the retained PDF in bytes.","uniqueKey":"invoices.items.[INDEX].pdf_size_bytes","typeLabel":"integer\u003cint64>"},"approval_status":{"type":"string","enum":["none","awaiting","approved","rejected"],"description":"Where this draft stands with its approver, for a company whose `invoice_approval_policy` is `required`. Meaningful only while the row is a draft; an issued invoice carries an empty value because approval no longer applies to it. Changing a draft resets this to `none`: the approval was for the invoice as written.","uniqueKey":"invoices.items.[INDEX].approval_status","typeLabel":"enum\u003cstring>"},"approval_requested_by":{"type":"string","description":"Who asked for approval.","uniqueKey":"invoices.items.[INDEX].approval_requested_by","typeLabel":"string"},"approval_request_id":{"type":"string","pattern":"^[0-9a-f]{32}$","description":"Stable identity of the current approval request.","uniqueKey":"invoices.items.[INDEX].approval_request_id","typeLabel":"string"},"approval_decided_by":{"type":"string","description":"Which approver approved it or sent it back.","uniqueKey":"invoices.items.[INDEX].approval_decided_by","typeLabel":"string"},"approval_reason":{"type":"string","description":"Why an approver did not approve it.","uniqueKey":"invoices.items.[INDEX].approval_reason","typeLabel":"string"},"approval_created_by":{"type":"string","description":"Who created the draft; this person cannot decide it.","uniqueKey":"invoices.items.[INDEX].approval_created_by","typeLabel":"string"},"approval_revision":{"type":"string","pattern":"^[0-9a-f]{64}$","description":"Material sales invoice revision that approve or return must echo.","uniqueKey":"invoices.items.[INDEX].approval_revision","typeLabel":"string"},"approval_returned_revision":{"type":"string","pattern":"^[0-9a-f]{64}$","description":"Material revision that was returned. A new request needs a different current revision.","uniqueKey":"invoices.items.[INDEX].approval_returned_revision","typeLabel":"string"},"review_revision":{"type":"string","description":"Current commercial/source review revision of a purchase invoice; accounting-only coding is excluded.","uniqueKey":"invoices.items.[INDEX].review_revision","typeLabel":"string"},"payment_claimed_by_batch":{"type":"boolean","description":"A live unsettled payment batch owns this bill, including an unreleased preparation. Resolve that attempt before inviting a competing manual transfer. This fact does not grant access to other sources in its batch.","uniqueKey":"invoices.items.[INDEX].payment_claimed_by_batch","typeLabel":"boolean"},"review_next_action":{"type":"string","enum":["verify","approve","returned","approved","ready_for_payment","payment_prepared","payment_in_progress","paid","source_unavailable","payment_details_missing"],"uniqueKey":"invoices.items.[INDEX].review_next_action","typeLabel":"enum\u003cstring>"},"review_stale_reasons":{"type":"array","items":{"type":"string","enum":["payment_reference_added","payment_reference_corrected","payment_reference_ambiguous","payment_reference_ambiguity_resolved","payee_account_added"],"uniqueKey":"invoices.items.[INDEX].review_stale_reasons.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"Every cause LAC can prove for an earlier decision no longer applying to this version, from the audited einvoice payment-detail enrichment, ordered most-blocking first. Empty when no decision was superseded or no cause is provable. Never complete: an amount or due date can move with nothing to prove it, so clients must keep the general \"details changed\" warning beside whatever this names.","uniqueKey":"invoices.items.[INDEX].review_stale_reasons","typeLabel":"enum\u003cstring>[]"},"review_can_decide":{"type":"boolean","description":"Whether this person may perform the next purchase review action. Follows the membership record exactly: an admin who stepped out of a stage in the approval flow reads false here like anyone else without the capability.","uniqueKey":"invoices.items.[INDEX].review_can_decide","typeLabel":"boolean"},"review_owners":{"type":"array","description":"Whose move the open review step is: the active members holding its capability, minus the bill's maker and, under verify_and_approve, the person who verified it. Absent when the membership ledger could not be read; empty when nobody can decide the step.","items":{"type":"object","required":["email"],"properties":{"email":{"type":"string","format":"email","isRequired":true,"uniqueKey":"invoices.items.[INDEX].review_owners.items.[INDEX].email","typeLabel":"string\u003cemail>"},"first_name":{"type":"string","uniqueKey":"invoices.items.[INDEX].review_owners.items.[INDEX].first_name","typeLabel":"string"},"last_name":{"type":"string","uniqueKey":"invoices.items.[INDEX].review_owners.items.[INDEX].last_name","typeLabel":"string"}},"uniqueKey":"invoices.items.[INDEX].review_owners.items.[INDEX]","typeLabel":"object"},"uniqueKey":"invoices.items.[INDEX].review_owners","typeLabel":"object[]"},"agent_review":{"type":"object","additionalProperties":false,"required":["result","reason_code","explanation","source","engine_version"],"description":"A read-only recommendation about the current invoice facts. It never approves, returns, pays, or sends a reminder.","properties":{"result":{"type":"string","enum":["valid","unclear","reject"],"isRequired":true,"uniqueKey":"invoices.items.[INDEX].agent_review.result","typeLabel":"enum\u003cstring>"},"reason_code":{"type":"string","isRequired":true,"uniqueKey":"invoices.items.[INDEX].agent_review.reason_code","typeLabel":"string"},"explanation":{"type":"string","isRequired":true,"uniqueKey":"invoices.items.[INDEX].agent_review.explanation","typeLabel":"string"},"source":{"type":"string","description":"Assessment producer; the MVP backend returns rules.","isRequired":true,"uniqueKey":"invoices.items.[INDEX].agent_review.source","typeLabel":"string"},"engine_version":{"type":"string","description":"Stable evaluator version used for QA and later engine comparisons.","isRequired":true,"uniqueKey":"invoices.items.[INDEX].agent_review.engine_version","typeLabel":"string"},"recommended_action":{"type":"string","description":"Read-only recommendation; allowed mutations remain server-owned.","uniqueKey":"invoices.items.[INDEX].agent_review.recommended_action","typeLabel":"string"},"checked_evidence":{"type":"array","items":{"type":"string","uniqueKey":"invoices.items.[INDEX].agent_review.checked_evidence.items.[INDEX]","typeLabel":"string"},"uniqueKey":"invoices.items.[INDEX].agent_review.checked_evidence","typeLabel":"string[]"}},"uniqueKey":"invoices.items.[INDEX].agent_review","typeLabel":"object"},"review_history":{"type":"array","items":{"type":"object","additionalProperties":true,"uniqueKey":"invoices.items.[INDEX].review_history.items.[INDEX]","typeLabel":"object"},"uniqueKey":"invoices.items.[INDEX].review_history","typeLabel":"object[]"},"review_evidence":{"type":"array","items":{"type":"object","required":["document_id","document_type","name"],"properties":{"document_id":{"type":"string","isRequired":true,"uniqueKey":"invoices.items.[INDEX].review_evidence.items.[INDEX].document_id","typeLabel":"string"},"document_type":{"type":"string","isRequired":true,"uniqueKey":"invoices.items.[INDEX].review_evidence.items.[INDEX].document_type","typeLabel":"string"},"name":{"type":"string","isRequired":true,"uniqueKey":"invoices.items.[INDEX].review_evidence.items.[INDEX].name","typeLabel":"string"},"content_type":{"type":"string","uniqueKey":"invoices.items.[INDEX].review_evidence.items.[INDEX].content_type","typeLabel":"string"}},"uniqueKey":"invoices.items.[INDEX].review_evidence.items.[INDEX]","typeLabel":"object"},"uniqueKey":"invoices.items.[INDEX].review_evidence","typeLabel":"object[]"},"has_original":{"type":"boolean","description":"Whether a retained supplier-invoice source document is available; explicit receipt/supporting attachments do not qualify.","uniqueKey":"invoices.items.[INDEX].has_original","typeLabel":"boolean"},"customer":{"type":"object","description":"An invoicing counterparty (the customer you invoice), with e-invoice routing and per-party defaults. Rates in basis points (25.5% = 2550).","required":["name"],"properties":{"name":{"type":"string","isRequired":true,"uniqueKey":"invoices.items.[INDEX].customer.name","typeLabel":"string"},"id":{"type":"string","description":"Party id. Include on upsert to update an existing party.","uniqueKey":"invoices.items.[INDEX].customer.id","typeLabel":"string"},"business_id":{"type":"string","description":"Finnish business ID (Y-tunnus), e.g. `1234567-8`.","uniqueKey":"invoices.items.[INDEX].customer.business_id","typeLabel":"string"},"vat_number":{"type":"string","description":"EU VAT number, e.g. `FI12345678`.","uniqueKey":"invoices.items.[INDEX].customer.vat_number","typeLabel":"string"},"address_line1":{"type":"string","uniqueKey":"invoices.items.[INDEX].customer.address_line1","typeLabel":"string"},"postal_code":{"type":"string","uniqueKey":"invoices.items.[INDEX].customer.postal_code","typeLabel":"string"},"city":{"type":"string","uniqueKey":"invoices.items.[INDEX].customer.city","typeLabel":"string"},"country_code":{"type":"string","description":"ISO 3166-1 alpha-2, e.g. `FI`.","uniqueKey":"invoices.items.[INDEX].customer.country_code","typeLabel":"string"},"email":{"type":"string","uniqueKey":"invoices.items.[INDEX].customer.email","typeLabel":"string"},"einvoice_address":{"type":"string","description":"E-invoice (verkkolasku) address, e.g. an OVT identifier.","uniqueKey":"invoices.items.[INDEX].customer.einvoice_address","typeLabel":"string"},"einvoice_operator":{"type":"string","description":"E-invoice operator/intermediator code.","uniqueKey":"invoices.items.[INDEX].customer.einvoice_operator","typeLabel":"string"},"default_payment_terms_days":{"type":"integer","uniqueKey":"invoices.items.[INDEX].customer.default_payment_terms_days","typeLabel":"integer"},"default_vat_code":{"type":"string","uniqueKey":"invoices.items.[INDEX].customer.default_vat_code","typeLabel":"string"},"default_vat_rate_basis_points":{"type":"integer","description":"Default VAT rate in basis points (25.5% = 2550).","uniqueKey":"invoices.items.[INDEX].customer.default_vat_rate_basis_points","typeLabel":"integer"},"default_invoice_language":{"type":"string","uniqueKey":"invoices.items.[INDEX].customer.default_invoice_language","typeLabel":"string"}},"uniqueKey":"invoices.items.[INDEX].customer","typeLabel":"object"},"lines":{"type":"array","items":{"oneOf":[{"type":"object","description":"One invoice line. Money in integer cents; VAT rate in basis points; quantity is a decimal string.","required":["unit_price_cents","net_cents","vat_cents","gross_cents","description","quantity"],"properties":{"description":{"type":"string","isRequired":true,"uniqueKey":"invoices.items.[INDEX].lines.items.[INDEX].oneOf.0.description","typeLabel":"string"},"quantity":{"type":"string","description":"Decimal quantity as a string, e.g. `\"2.5\"`.","isRequired":true,"uniqueKey":"invoices.items.[INDEX].lines.items.[INDEX].oneOf.0.quantity","typeLabel":"string"},"unit_price_cents":{"type":"integer","description":"Net unit price in integer cents; derived when unit_price_gross_cents is supplied.","isRequired":true,"uniqueKey":"invoices.items.[INDEX].lines.items.[INDEX].oneOf.0.unit_price_cents","typeLabel":"integer"},"net_cents":{"type":"integer","description":"Line net amount in integer cents.","isRequired":true,"uniqueKey":"invoices.items.[INDEX].lines.items.[INDEX].oneOf.0.net_cents","typeLabel":"integer"},"vat_cents":{"type":"integer","description":"Line VAT amount in integer cents.","isRequired":true,"uniqueKey":"invoices.items.[INDEX].lines.items.[INDEX].oneOf.0.vat_cents","typeLabel":"integer"},"gross_cents":{"type":"integer","description":"Line gross amount in integer cents.","isRequired":true,"uniqueKey":"invoices.items.[INDEX].lines.items.[INDEX].oneOf.0.gross_cents","typeLabel":"integer"},"unit_price_gross_cents":{"oneOf":[{"type":"integer","minimum":1,"maximum":9007199254740991,"description":"Agreed VAT-inclusive unit price in cents. When present on a draft, this is authoritative: gross is price times quantity rounded to cents; VAT is extracted from gross with half-up cent rounding and net is the remainder. The server recomputes all amounts, including the net unit price. Omit or use null for VAT-exclusive pricing. Retained on saved drafts, recurring templates and issued invoices.","uniqueKey":"invoices.items.[INDEX].lines.items.[INDEX].oneOf.0.unit_price_gross_cents.oneOf.0","typeLabel":"integer"},{"type":"null","minimum":1,"maximum":9007199254740991,"description":"Agreed VAT-inclusive unit price in cents. When present on a draft, this is authoritative: gross is price times quantity rounded to cents; VAT is extracted from gross with half-up cent rounding and net is the remainder. The server recomputes all amounts, including the net unit price. Omit or use null for VAT-exclusive pricing. Retained on saved drafts, recurring templates and issued invoices.","uniqueKey":"invoices.items.[INDEX].lines.items.[INDEX].oneOf.0.unit_price_gross_cents.oneOf.1","typeLabel":"null"}],"uniqueKey":"invoices.items.[INDEX].lines.items.[INDEX].oneOf.0.unit_price_gross_cents","typeLabel":"integer | null"},"vat_rate_basis_points":{"oneOf":[{"type":"integer","description":"VAT rate in basis points (25.5% = 2550); null when not applicable.","uniqueKey":"invoices.items.[INDEX].lines.items.[INDEX].oneOf.0.vat_rate_basis_points.oneOf.0","typeLabel":"integer"},{"type":"null","description":"VAT rate in basis points (25.5% = 2550); null when not applicable.","uniqueKey":"invoices.items.[INDEX].lines.items.[INDEX].oneOf.0.vat_rate_basis_points.oneOf.1","typeLabel":"null"}],"uniqueKey":"invoices.items.[INDEX].lines.items.[INDEX].oneOf.0.vat_rate_basis_points","typeLabel":"integer | null"},"vat_code":{"type":"string","description":"VAT treatment code.","uniqueKey":"invoices.items.[INDEX].lines.items.[INDEX].oneOf.0.vat_code","typeLabel":"string"}},"uniqueKey":"invoices.items.[INDEX].lines.items.[INDEX].oneOf.0","typeLabel":"object"},{"type":"object","description":"One invoice line. Money in integer cents; VAT rate in basis points; quantity is a decimal string.","required":["unit_price_cents","net_cents","vat_cents","gross_cents","description","quantity","unit_price_gross_cents"],"properties":{"unit_price_gross_cents":{"type":"integer","description":"Agreed VAT-inclusive unit price in cents. When present on a draft, this is authoritative: gross is price times quantity rounded to cents; VAT is extracted from gross with half-up cent rounding and net is the remainder. The server recomputes all amounts, including the net unit price. Omit or use null for VAT-exclusive pricing. Retained on saved drafts, recurring templates and issued invoices.","maximum":9007199254740991,"minimum":1,"isRequired":true,"uniqueKey":"invoices.items.[INDEX].lines.items.[INDEX].oneOf.1.unit_price_gross_cents","typeLabel":"integer"},"description":{"type":"string","isRequired":true,"uniqueKey":"invoices.items.[INDEX].lines.items.[INDEX].oneOf.1.description","typeLabel":"string"},"quantity":{"type":"string","description":"Decimal quantity as a string, e.g. `\"2.5\"`.","isRequired":true,"uniqueKey":"invoices.items.[INDEX].lines.items.[INDEX].oneOf.1.quantity","typeLabel":"string"},"unit_price_cents":{"type":"integer","description":"Net unit price in integer cents; derived when unit_price_gross_cents is supplied.","isRequired":true,"uniqueKey":"invoices.items.[INDEX].lines.items.[INDEX].oneOf.1.unit_price_cents","typeLabel":"integer"},"net_cents":{"type":"integer","description":"Line net amount in integer cents.","isRequired":true,"uniqueKey":"invoices.items.[INDEX].lines.items.[INDEX].oneOf.1.net_cents","typeLabel":"integer"},"vat_cents":{"type":"integer","description":"Line VAT amount in integer cents.","isRequired":true,"uniqueKey":"invoices.items.[INDEX].lines.items.[INDEX].oneOf.1.vat_cents","typeLabel":"integer"},"gross_cents":{"type":"integer","description":"Line gross amount in integer cents.","isRequired":true,"uniqueKey":"invoices.items.[INDEX].lines.items.[INDEX].oneOf.1.gross_cents","typeLabel":"integer"},"vat_rate_basis_points":{"oneOf":[{"type":"integer","description":"VAT rate in basis points (25.5% = 2550); null when not applicable.","uniqueKey":"invoices.items.[INDEX].lines.items.[INDEX].oneOf.1.vat_rate_basis_points.oneOf.0","typeLabel":"integer"},{"type":"null","description":"VAT rate in basis points (25.5% = 2550); null when not applicable.","uniqueKey":"invoices.items.[INDEX].lines.items.[INDEX].oneOf.1.vat_rate_basis_points.oneOf.1","typeLabel":"null"}],"uniqueKey":"invoices.items.[INDEX].lines.items.[INDEX].oneOf.1.vat_rate_basis_points","typeLabel":"integer | null"},"vat_code":{"type":"string","description":"VAT treatment code.","uniqueKey":"invoices.items.[INDEX].lines.items.[INDEX].oneOf.1.vat_code","typeLabel":"string"}},"uniqueKey":"invoices.items.[INDEX].lines.items.[INDEX].oneOf.1","typeLabel":"object"}],"uniqueKey":"invoices.items.[INDEX].lines.items.[INDEX]","typeLabel":"object"},"uniqueKey":"invoices.items.[INDEX].lines","typeLabel":"object[]"}},"additionalProperties":true,"uniqueKey":"invoices.items.[INDEX]","typeLabel":"object"},"uniqueKey":"invoices","typeLabel":"object[]"}},"additionalProperties":true,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"customer_id":"\u003cstring>","payment_accounts":[{"iban":"\u003cstring>","bank_name":"\u003cstring>","name":"\u003cstring>","currency":"\u003cstring>"}],"seller":{"display_name":"\u003cstring>","legal_name":"\u003cstring>","business_id":"\u003cstring>"},"summary":{"outstanding_cents":123,"overdue_cents":123,"paid_cents":123,"sent_cents":123,"purchase_total_cents":123,"purchase_due_cents":123,"purchase_approved_cents":123,"purchase_paid_cents":123,"sales_invoice_count":123,"sales_receipt_count":123,"sales_outstanding_count":123,"sales_overdue_count":123,"purchase_bill_count":123,"purchase_approved_count":123,"purchase_payment_count":123,"currency":"\u003cstring>","customer_credit_cents":123},"approval_policy":"off","purchase_approval_policy":"off","purchase_flow":{"policy":"off","verifiers":[{"email":"jsmith@example.com","first_name":"\u003cstring>","last_name":"\u003cstring>"}],"approvers":[{"email":"jsmith@example.com","first_name":"\u003cstring>","last_name":"\u003cstring>"}],"payers":[{"email":"jsmith@example.com","first_name":"\u003cstring>","last_name":"\u003cstring>"}]},"can_verify_purchases":true,"can_approve_purchases":true,"can_read_purchase_payments":true,"can_prepare_purchase_payments":true,"can_approve":true,"can_manage_sales":true,"agent_runs":[{"id":"\u003cstring>","name":"\u003cstring>","status":"active","scope":"\u003cstring>","current_work":"\u003cstring>","trigger":"\u003cstring>","agent_work":"\u003cstring>","return_condition":"\u003cstring>","reasoning":"\u003cstring>","progress_current":1,"progress_total":1,"progress_label":"\u003cstring>","outcome":"\u003cstring>","context_prompt":"\u003cstring>"}],"automation_candidates":[{"id":"\u003cstring>","name":"\u003cstring>","evidence":"\u003cstring>","trigger":"\u003cstring>","agent_work":"\u003cstring>","return_condition":"\u003cstring>","reasoning":"\u003cstring>","context_prompt":"\u003cstring>"}],"invoices":[{"id":"\u003cstring>","status":"\u003cstring>","draft_saved_at":"\u003cstring>","delivery_channel":"\u003cstring>","document_type":"invoice","original_invoice_id":"\u003cstring>","original_invoice_number":"\u003cstring>","original_invoice_date":"2023-12-25","correction_reason":"\u003cstring>","credited_cents":123,"paid_cents":123,"open_cents":123,"can_cancel_before_sending":true,"seller_name":"\u003cstring>","seller_legal_name":"\u003cstring>","seller_business_id":"\u003cstring>","seller_iban":"\u003cstring>","payment_reference_issue":"\u003cstring>","seller_profile_id":"\u003cstring>","posts_ledger":true,"partner_copy_status":"not_required","partner_copy_error":"\u003cstring>","pdf_available":true,"pdf_document_id":"\u003cstring>","pdf_sha256":"\u003cstring>","pdf_size_bytes":123,"approval_status":"none","approval_requested_by":"\u003cstring>","approval_request_id":"\u003cstring>","approval_decided_by":"\u003cstring>","approval_reason":"\u003cstring>","approval_created_by":"\u003cstring>","approval_revision":"\u003cstring>","approval_returned_revision":"\u003cstring>","review_revision":"\u003cstring>","payment_claimed_by_batch":true,"review_next_action":"verify","review_stale_reasons":["payment_reference_added"],"review_can_decide":true,"review_owners":[{"email":"jsmith@example.com","first_name":"\u003cstring>","last_name":"\u003cstring>"}],"agent_review":{"result":"valid","reason_code":"\u003cstring>","explanation":"\u003cstring>","source":"\u003cstring>","engine_version":"\u003cstring>","recommended_action":"\u003cstring>","checked_evidence":["\u003cstring>"]},"review_history":[{}],"review_evidence":[{"document_id":"\u003cstring>","document_type":"\u003cstring>","name":"\u003cstring>","content_type":"\u003cstring>"}],"has_original":true,"customer":{"name":"\u003cstring>","id":"\u003cstring>","business_id":"\u003cstring>","vat_number":"\u003cstring>","address_line1":"\u003cstring>","postal_code":"\u003cstring>","city":"\u003cstring>","country_code":"\u003cstring>","email":"\u003cstring>","einvoice_address":"\u003cstring>","einvoice_operator":"\u003cstring>","default_payment_terms_days":123,"default_vat_code":"\u003cstring>","default_vat_rate_basis_points":123,"default_invoice_language":"\u003cstring>"},"lines":[{"description":"\u003cstring>","quantity":"\u003cstring>","unit_price_cents":123,"net_cents":123,"vat_cents":123,"gross_cents":123,"unit_price_gross_cents":4503599627370496,"vat_rate_basis_points":123,"vat_code":"\u003cstring>"}]}]}}},"exampleType":"generated"}},"exampleType":"generated"},"94c79364-65ac-468c-9f18-86d5e8894786":{"description":"Missing or invalid bearer token.","content":{"application/json":{"schema":{"type":"object","description":"Standard error envelope.","properties":{"error":{"type":"string","description":"Machine-readable error message.","uniqueKey":"error","typeLabel":"string"},"detail":{"type":"string","description":"Human-readable detail.","uniqueKey":"detail","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>","detail":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"e4ea45f5-57e0-4689-a0a3-457bf0f247ff":{"description":"Insufficient scope or role — e.g. a read-scoped key on a mutating method, or an API key on an interactive-session-only endpoint.","content":{"application/json":{"schema":{"type":"object","description":"Standard error envelope.","properties":{"error":{"type":"string","description":"Machine-readable error message.","uniqueKey":"error","typeLabel":"string"},"detail":{"type":"string","description":"Human-readable detail.","uniqueKey":"detail","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>","detail":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"3ca8961e-60dc-4dcf-a1f3-962de80bfbd5":{"apiKey":{"type":"http","scheme":"bearer","bearerFormat":"lac_sk_...","description":"Portal API key minted in portal Settings → API access. Scope `read` or `write`; pinned to one company. Send as `Authorization: Bearer lac_sk_...`.","scopes":[],"schemeName":"apiKey"}}},"servers":{"c2b5025d-91e7-4eb9-8e47-1bbb79026229":{"url":"https://api.app.lastaccountingcompany.com/portal","description":"Production (note the /portal base path)."}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","bearerFormat":"lac_sk_...","description":"Portal API key minted in portal Settings → API access. Scope `read` or `write`; pinned to one company. Send as `Authorization: Bearer lac_sk_...`.","scopes":[],"schemeName":"apiKey"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Portal API key minted in portal Settings → API access. Scope `read` or `write`; pinned to one company. Send as `Authorization: Bearer lac_sk_...`.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"apiKey","name":"Authorization"}],"title":"apiKey"}]},"originalFileLocation":"openapi.yaml"},"subdomain":"lastaccountingcompany","siteName":"LAC Developers","title":"List sales invoices - LAC Developers","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-09T07:26:37.716Z","originalFileLocation":"api-reference/invoicing/list-sales-invoices.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=\"system\"}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=\"Lists the company\u0026#x27;s sales invoices and drafts with their statuses.\">\u003cmeta data-mint-head name=\"application-name\" content=\"LAC Developers\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/lastaccountingcompany/p6PlJEp_YIYYenvU/_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/lastaccountingcompany/p6PlJEp_YIYYenvU/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/lastaccountingcompany/p6PlJEp_YIYYenvU/_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/lastaccountingcompany/p6PlJEp_YIYYenvU/_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/lastaccountingcompany/p6PlJEp_YIYYenvU/_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/lastaccountingcompany/p6PlJEp_YIYYenvU/_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/lastaccountingcompany/p6PlJEp_YIYYenvU/_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/lastaccountingcompany/p6PlJEp_YIYYenvU/_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/lastaccountingcompany/p6PlJEp_YIYYenvU/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"List sales invoices - LAC Developers\">\u003cmeta data-mint-head property=\"og:description\" content=\"Lists the company\u0026#x27;s sales invoices and drafts with their statuses.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"LAC Developers\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.lastaccountingcompany.com/api-reference/invoicing/list-sales-invoices\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://lastaccountingcompany.mintlify.site/_mintlify/api/og/v2?division=Invoicing\u0026amp;title=List+sales+invoices\u0026amp;description=Lists+the+company%27s+sales+invoices+and+drafts+with+their+statuses.\u0026amp;theme=714bc0c16859e58845045bb7\u0026amp;signature=102c5fef376f49cd5e22bd99c94870b9c6f45f022b8f5e9986b27b9b00287eef\">\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 sales invoices - LAC Developers\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Lists the company\u0026#x27;s sales invoices and drafts with their statuses.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://lastaccountingcompany.mintlify.site/_mintlify/api/og/v2?division=Invoicing\u0026amp;title=List+sales+invoices\u0026amp;description=Lists+the+company%27s+sales+invoices+and+drafts+with+their+statuses.\u0026amp;theme=714bc0c16859e58845045bb7\u0026amp;signature=102c5fef376f49cd5e22bd99c94870b9c6f45f022b8f5e9986b27b9b00287eef\">\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/lastaccountingcompany/p6PlJEp_YIYYenvU/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"LAC Developers\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#1aa251\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.lastaccountingcompany.com/api-reference/invoicing/list-sales-invoices\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/invoicing/list-sales-invoices.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.lastaccountingcompany.com/#organization\",\"name\":\"LAC Developers\",\"url\":\"https://docs.lastaccountingcompany.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/lastaccountingcompany/t6yDKpFsZd7KsB-H/favicon.png?fit=max\u0026auto=format\u0026n=t6yDKpFsZd7KsB-H\u0026q=85\u0026s=6284d1423b8824129348afb245217405\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.lastaccountingcompany.com#website\",\"name\":\"LAC Developers\",\"url\":\"https://docs.lastaccountingcompany.com\",\"publisher\":{\"@id\":\"https://docs.lastaccountingcompany.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.lastaccountingcompany.com/api-reference/invoicing/list-sales-invoices#webpage\",\"url\":\"https://docs.lastaccountingcompany.com/api-reference/invoicing/list-sales-invoices\",\"name\":\"List sales invoices\",\"description\":\"Lists the company's sales invoices and drafts with their statuses.\",\"dateModified\":\"2026-10-09T07:26:37.716Z\",\"isPartOf\":{\"@id\":\"https://docs.lastaccountingcompany.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.lastaccountingcompany.com/api-reference/invoicing/list-sales-invoices#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.lastaccountingcompany.com/api-reference/invoicing/list-sales-invoices#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Endpoints\",\"item\":\"https://docs.lastaccountingcompany.com/api-reference/company/get-the-authenticated-identity\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"List sales invoices\",\"item\":\"https://docs.lastaccountingcompany.com/api-reference/invoicing/list-sales-invoices\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.lastaccountingcompany.com/api-reference/invoicing/list-sales-invoices#apireference\",\"headline\":\"List sales invoices\",\"name\":\"List sales invoices\",\"description\":\"Lists the company's sales invoices and drafts with their statuses.\",\"url\":\"https://docs.lastaccountingcompany.com/api-reference/invoicing/list-sales-invoices\",\"mainEntityOfPage\":{\"@id\":\"https://docs.lastaccountingcompany.com/api-reference/invoicing/list-sales-invoices#webpage\"},\"dateModified\":\"2026-10-09T07:26:37.716Z\",\"publisher\":{\"@id\":\"https://docs.lastaccountingcompany.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.lastaccountingcompany.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"LAC Developers\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"LAC Developers\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/invoicing/list-sales-invoices.md","siteName":"LAC Developers","nav":{"global":null,"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":""}]},{"tab":"API reference","groups":[{"group":"API reference","pages":[{"title":"API reference","href":"/api-reference"}]},{"group":"Endpoints","pages":[{"group":"Company","pages":[{"title":"Get the authenticated identity","deprecated":null,"version":null,"openapi":"/openapi.yaml get /me","href":"/api-reference/company/get-the-authenticated-identity"},{"title":"List accessible companies","deprecated":null,"version":null,"openapi":"/openapi.yaml get /customers","href":"/api-reference/company/list-accessible-companies"},{"title":"Get the company profile","deprecated":null,"version":null,"openapi":"/openapi.yaml get /company","href":"/api-reference/company/get-the-company-profile"},{"title":"Update the customer-facing name or company settings","deprecated":null,"version":null,"openapi":"/openapi.yaml post /company/settings","href":"/api-reference/company/update-the-customer-facing-name-or-company-settings"},{"title":"Get the portal overview dashboard","deprecated":null,"version":null,"openapi":"/openapi.yaml get /overview","href":"/api-reference/company/get-the-portal-overview-dashboard"},{"title":"Get the accounting agent's status","deprecated":null,"version":null,"openapi":"/openapi.yaml get /status","href":"/api-reference/company/get-the-accounting-agents-status"}]},{"group":"Onboarding","pages":[{"title":"Get the saved company verification submission","deprecated":null,"version":null,"openapi":"/openapi.yaml get /onboarding/kyc","href":"/api-reference/onboarding/get-the-saved-company-verification-submission"},{"title":"Submit documents and continue onboarding","deprecated":null,"version":null,"openapi":"/openapi.yaml post /onboarding/kyc/submit","href":"/api-reference/onboarding/submit-documents-and-continue-onboarding"},{"title":"Get the saved onboarding journey","deprecated":null,"version":null,"openapi":"/openapi.yaml get /onboarding/journey","href":"/api-reference/onboarding/get-the-saved-onboarding-journey"},{"title":"Get the workspace release decision","deprecated":null,"version":null,"openapi":"/openapi.yaml get /platform-access","href":"/api-reference/onboarding/get-the-workspace-release-decision"},{"title":"Save one onboarding answer","deprecated":null,"version":null,"openapi":"/openapi.yaml put /onboarding/journey/answers/{key}","href":"/api-reference/onboarding/save-one-onboarding-answer"},{"title":"Replace the source inventory","deprecated":null,"version":null,"openapi":"/openapi.yaml put /onboarding/journey/sources","href":"/api-reference/onboarding/replace-the-source-inventory"},{"title":"Confirm the current source inventory","deprecated":null,"version":null,"openapi":"/openapi.yaml post /onboarding/journey/source-confirmation","href":"/api-reference/onboarding/confirm-the-current-source-inventory"},{"title":"Upload an onboarding statement","deprecated":null,"version":null,"openapi":"/openapi.yaml post /onboarding/journey/statements/{kind}","href":"/api-reference/onboarding/upload-an-onboarding-statement"}]},{"group":"Documents","pages":[{"title":"Get per-file ingest progress","deprecated":null,"version":null,"openapi":"/openapi.yaml get /ingest-status","href":"/api-reference/documents/get-per-file-ingest-progress"},{"title":"List evidence attached to one exact Books row","deprecated":null,"version":null,"openapi":"/openapi.yaml get /sheet/attachments","href":"/api-reference/documents/list-evidence-attached-to-one-exact-books-row"},{"title":"Attach evidence to one exact Books row","deprecated":null,"version":null,"openapi":"/openapi.yaml post /sheet/attachments","href":"/api-reference/documents/attach-evidence-to-one-exact-books-row"},{"title":"Download evidence from one exact Books row","deprecated":null,"version":null,"openapi":"/openapi.yaml get /sheet/attachments/{filename}","href":"/api-reference/documents/download-evidence-from-one-exact-books-row"},{"title":"Detach a portal upload from one exact Books row","deprecated":null,"version":null,"openapi":"/openapi.yaml delete /sheet/attachments/{filename}","href":"/api-reference/documents/detach-a-portal-upload-from-one-exact-books-row"},{"title":"Render retained invoice evidence as PDF","deprecated":null,"version":null,"openapi":"/openapi.yaml get /sheet/attachments/{filename}/invoice.pdf","href":"/api-reference/documents/render-retained-invoice-evidence-as-pdf"},{"title":"Render retained image evidence as JPEG","deprecated":null,"version":null,"openapi":"/openapi.yaml get /sheet/attachments/{filename}/preview.jpg","href":"/api-reference/documents/render-retained-image-evidence-as-jpeg"},{"title":"List uploaded files","deprecated":null,"version":null,"openapi":"/openapi.yaml get /uploads","href":"/api-reference/documents/list-uploaded-files"},{"title":"Upload documents","deprecated":null,"version":null,"openapi":"/openapi.yaml post /uploads","href":"/api-reference/documents/upload-documents"},{"title":"Export all uploads as a zip","deprecated":null,"version":null,"openapi":"/openapi.yaml get /uploads/export","href":"/api-reference/documents/export-all-uploads-as-a-zip"},{"title":"Render an uploaded JSON invoice as PDF","deprecated":null,"version":null,"openapi":"/openapi.yaml get /uploads/{filename}/invoice.pdf","href":"/api-reference/documents/render-an-uploaded-json-invoice-as-pdf"},{"title":"Download one uploaded file","deprecated":null,"version":null,"openapi":"/openapi.yaml get /uploads/{filename}","href":"/api-reference/documents/download-one-uploaded-file"},{"title":"Delete an uploaded file","deprecated":null,"version":null,"openapi":"/openapi.yaml delete /uploads/{filename}","href":"/api-reference/documents/delete-an-uploaded-file"},{"title":"Update an uploaded file's metadata","deprecated":null,"version":null,"openapi":"/openapi.yaml patch /uploads/{filename}","href":"/api-reference/documents/update-an-uploaded-files-metadata"}]},{"group":"Books","pages":[{"title":"Get the Books or VAT sheet","deprecated":null,"version":null,"openapi":"/openapi.yaml get /sheet","href":"/api-reference/books/get-the-books-or-vat-sheet"},{"title":"Get the audit history of one exact Books row","deprecated":null,"version":null,"openapi":"/openapi.yaml get /rows/{row_id}/history","href":"/api-reference/books/get-the-audit-history-of-one-exact-books-row"},{"title":"Get the customer Transactions timeline","deprecated":null,"version":null,"openapi":"/openapi.yaml get /activity","href":"/api-reference/books/get-the-customer-transactions-timeline"},{"title":"Record an answer about one transaction row","deprecated":null,"version":null,"openapi":"/openapi.yaml post /books/declarations","href":"/api-reference/books/record-an-answer-about-one-transaction-row"},{"title":"Get financial statements","deprecated":null,"version":null,"openapi":"/openapi.yaml get /statements","href":"/api-reference/books/get-financial-statements"},{"title":"Download an account-detailed financial report","deprecated":null,"version":null,"openapi":"/openapi.yaml get /statements/pdf","href":"/api-reference/books/download-an-account-detailed-financial-report"},{"title":"Drill into statement lines by account","deprecated":null,"version":null,"openapi":"/openapi.yaml get /statements/drill","href":"/api-reference/books/drill-into-statement-lines-by-account"},{"title":"Get ledger analytics","deprecated":null,"version":null,"openapi":"/openapi.yaml get /analytics","href":"/api-reference/books/get-ledger-analytics"}]},{"group":"Dimensions","pages":[{"title":"List dimension axes, values, and source coverage","deprecated":null,"version":null,"openapi":"/openapi.yaml get /dimensions","href":"/api-reference/dimensions/list-dimension-axes-values-and-source-coverage"}]},{"group":"Messages","pages":[{"title":"List chat messages","deprecated":null,"version":null,"openapi":"/openapi.yaml get /messages","href":"/api-reference/messages/list-chat-messages"},{"title":"Send a message to the accounting agent","deprecated":null,"version":null,"openapi":"/openapi.yaml post /messages","href":"/api-reference/messages/send-a-message-to-the-accounting-agent"},{"title":"Download one retained file referenced by chat","deprecated":null,"version":null,"openapi":"/openapi.yaml get /chat-artifacts/{document_id}","href":"/api-reference/messages/download-one-retained-file-referenced-by-chat"}]},{"group":"Work log","pages":[{"title":"List work log entries","deprecated":null,"version":null,"openapi":"/openapi.yaml get /worklog","href":"/api-reference/work-log/list-work-log-entries"},{"title":"Record hours worked","deprecated":null,"version":null,"openapi":"/openapi.yaml post /worklog","href":"/api-reference/work-log/record-hours-worked"},{"title":"Void a work log entry","deprecated":null,"version":null,"openapi":"/openapi.yaml post /worklog/{entry_id}/void","href":"/api-reference/work-log/void-a-work-log-entry"}]},{"group":"Filings","pages":[{"title":"Get the filing state","deprecated":null,"version":null,"openapi":"/openapi.yaml get /filings","href":"/api-reference/filings/get-the-filing-state"},{"title":"Read the next assigned VAT return and its exact draft","deprecated":null,"version":null,"openapi":"/openapi.yaml get /filings/upcoming","href":"/api-reference/filings/read-the-next-assigned-vat-return-and-its-exact-draft"},{"title":"Get the filing archive","deprecated":null,"version":null,"openapi":"/openapi.yaml get /filings/history","href":"/api-reference/filings/get-the-filing-archive"},{"title":"Download one filing archive document","deprecated":null,"version":null,"openapi":"/openapi.yaml get /filings/history/document","href":"/api-reference/filings/download-one-filing-archive-document"},{"title":"Set filing authorization","deprecated":null,"version":null,"openapi":"/openapi.yaml post /filings/authorization","href":"/api-reference/filings/set-filing-authorization"},{"title":"Request a filing review","deprecated":null,"version":null,"openapi":"/openapi.yaml post /filings/review-requests","href":"/api-reference/filings/request-a-filing-review"},{"title":"List output packages","deprecated":null,"version":null,"openapi":"/openapi.yaml get /outputs","href":"/api-reference/filings/list-output-packages"},{"title":"Get one output package","deprecated":null,"version":null,"openapi":"/openapi.yaml get /outputs/{output_id}","href":"/api-reference/filings/get-one-output-package"},{"title":"Download an output package file","description":"Downloads one file of an output package by role: `excel`, `pdf`, `json`, or `instructions`. Returns raw file bytes with the appropriate content type.","deprecated":null,"version":null,"openapi":"/openapi.yaml get /outputs/{output_id}/files/{role}","href":"/api-reference/filings/download-an-output-package-file"}]},{"group":"Invoicing","pages":[{"title":"List sales invoices","deprecated":null,"version":null,"openapi":"/openapi.yaml get /invoices","href":"/api-reference/invoicing/list-sales-invoices"},{"title":"Create or update an invoice draft","description":"Creates a sales-invoice draft (or updates an existing one via `draft_id`). Set `seller_profile_id` to issue for an active partner seller. The partner becomes the legal seller and payee, and the sale does not post to this company's ledger. Monetary fields are integer cents; VAT rates are basis points (25.5% = 2550); line quantities are decimal strings. Delivery channel is one of `maventa_einvoice` (sent over the e-invoice network) or `pdf_download` (finalized as a PDF you deliver yourself). Requires a write-scoped key.","deprecated":null,"version":null,"openapi":"/openapi.yaml post /invoices","href":"/api-reference/invoicing/create-or-update-an-invoice-draft"},{"title":"Get an invoice","deprecated":null,"version":null,"openapi":"/openapi.yaml get /invoices/{invoice_id}","href":"/api-reference/invoicing/get-an-invoice"},{"title":"Delete an invoice draft","deprecated":null,"version":null,"openapi":"/openapi.yaml delete /invoices/{invoice_id}","href":"/api-reference/invoicing/delete-an-invoice-draft"},{"title":"Download the invoice as Finvoice XML","deprecated":null,"version":null,"openapi":"/openapi.yaml get /invoices/{invoice_id}/finvoice","href":"/api-reference/invoicing/download-the-invoice-as-finvoice-xml"},{"title":"Download the invoice as PDF","deprecated":null,"version":null,"openapi":"/openapi.yaml get /invoices/{invoice_id}/pdf","href":"/api-reference/invoicing/download-the-invoice-as-pdf"},{"title":"Ask for approval of a draft invoice","deprecated":null,"version":null,"openapi":"/openapi.yaml post /invoices/{invoice_id}/request-approval","href":"/api-reference/invoicing/ask-for-approval-of-a-draft-invoice"},{"title":"Approve a draft invoice","deprecated":null,"version":null,"openapi":"/openapi.yaml post /invoices/{invoice_id}/approve","href":"/api-reference/invoicing/approve-a-draft-invoice"},{"title":"Send a draft invoice back","deprecated":null,"version":null,"openapi":"/openapi.yaml post /invoices/{invoice_id}/reject","href":"/api-reference/invoicing/send-a-draft-invoice-back"},{"title":"Confirm delivery for a purchase invoice","deprecated":null,"version":null,"openapi":"/openapi.yaml post /purchase-bills/{bill_id}/verify","href":"/api-reference/invoicing/confirm-delivery-for-a-purchase-invoice"},{"title":"Approve a purchase invoice","deprecated":null,"version":null,"openapi":"/openapi.yaml post /purchase-bills/{bill_id}/approve","href":"/api-reference/invoicing/approve-a-purchase-invoice"},{"title":"Read the exact current bill correction form","deprecated":null,"version":null,"openapi":"/openapi.yaml get /purchase-bills/entry","href":"/api-reference/invoicing/read-the-exact-current-bill-correction-form"},{"title":"Read the current original review and accounting calculation","deprecated":null,"version":null,"openapi":"/openapi.yaml get /purchase-bills/{bill_id}/original-review","href":"/api-reference/invoicing/read-the-current-original-review-and-accounting-calculation"},{"title":"Download the original purchase invoice","deprecated":null,"version":null,"openapi":"/openapi.yaml get /purchase-bills/{bill_id}/original","href":"/api-reference/invoicing/download-the-original-purchase-invoice"},{"title":"Attach a missing original to an imported purchase invoice","deprecated":null,"version":null,"openapi":"/openapi.yaml post /purchase-bills/{bill_id}/original","href":"/api-reference/invoicing/attach-a-missing-original-to-an-imported-purchase-invoice"},{"title":"Open a purchase invoice as PDF","deprecated":null,"version":null,"openapi":"/openapi.yaml get /purchase-bills/{bill_id}/pdf","href":"/api-reference/invoicing/open-a-purchase-invoice-as-pdf"},{"title":"Open purchase invoice evidence","deprecated":null,"version":null,"openapi":"/openapi.yaml get /purchase-bills/{bill_id}/evidence/{document_id}","href":"/api-reference/invoicing/open-purchase-invoice-evidence"},{"title":"Send an e-invoice","deprecated":null,"version":null,"openapi":"/openapi.yaml post /invoices/{invoice_id}/send","href":"/api-reference/invoicing/send-an-e-invoice"},{"title":"Finalize a PDF invoice","deprecated":null,"version":null,"openapi":"/openapi.yaml post /invoices/{invoice_id}/finalize","href":"/api-reference/invoicing/finalize-a-pdf-invoice"},{"title":"Retry sending an invoice","deprecated":null,"version":null,"openapi":"/openapi.yaml post /invoices/{invoice_id}/retry-send","href":"/api-reference/invoicing/retry-sending-an-invoice"},{"title":"Retry an ambiguous partner invoice copy","deprecated":null,"version":null,"openapi":"/openapi.yaml post /invoices/{invoice_id}/retry-partner-copy","href":"/api-reference/invoicing/retry-an-ambiguous-partner-invoice-copy"},{"title":"Credit and replace an issued invoice","deprecated":null,"version":null,"openapi":"/openapi.yaml post /invoices/{invoice_id}/credit-note","href":"/api-reference/invoicing/credit-and-replace-an-issued-invoice"},{"title":"Request a payment reminder","deprecated":null,"version":null,"openapi":"/openapi.yaml post /invoices/{invoice_id}/reminder","href":"/api-reference/invoicing/request-a-payment-reminder"},{"title":"Ask Björn to prefill a draft from a document","deprecated":null,"version":null,"openapi":"/openapi.yaml post /invoices/{invoice_id}/prefill","href":"/api-reference/invoicing/ask-björn-to-prefill-a-draft-from-a-document"},{"title":"Search e-invoice recipients","deprecated":null,"version":null,"openapi":"/openapi.yaml get /invoice-receivers","href":"/api-reference/invoicing/search-e-invoice-recipients"},{"title":"List partner seller profiles","deprecated":null,"version":null,"openapi":"/openapi.yaml get /seller-profiles","href":"/api-reference/invoicing/list-partner-seller-profiles"},{"title":"Create a partner seller profile","deprecated":null,"version":null,"openapi":"/openapi.yaml post /seller-profiles","href":"/api-reference/invoicing/create-a-partner-seller-profile"},{"title":"Update a partner seller profile","deprecated":null,"version":null,"openapi":"/openapi.yaml patch /seller-profiles/{profile_id}","href":"/api-reference/invoicing/update-a-partner-seller-profile"},{"title":"List invoice customers","deprecated":null,"version":null,"openapi":"/openapi.yaml get /invoice-customers","href":"/api-reference/invoicing/list-invoice-customers"},{"title":"Create or update an invoice customer","deprecated":null,"version":null,"openapi":"/openapi.yaml post /invoice-customers","href":"/api-reference/invoicing/create-or-update-an-invoice-customer"},{"title":"List recurring invoice templates","deprecated":null,"version":null,"openapi":"/openapi.yaml get /invoice-recurring","href":"/api-reference/invoicing/list-recurring-invoice-templates"},{"title":"Create or update a recurring invoice template","deprecated":null,"version":null,"openapi":"/openapi.yaml post /invoice-recurring","href":"/api-reference/invoicing/create-or-update-a-recurring-invoice-template"},{"title":"Update a recurring template's status or schedule","deprecated":null,"version":null,"openapi":"/openapi.yaml patch /invoice-recurring/{template_id}","href":"/api-reference/invoicing/update-a-recurring-templates-status-or-schedule"},{"title":"Draft the next invoice from a template","deprecated":null,"version":null,"openapi":"/openapi.yaml post /invoice-recurring/{template_id}/draft-next","href":"/api-reference/invoicing/draft-the-next-invoice-from-a-template"}]},{"group":"Expenses","pages":[{"title":"Read an exact expense claim and its payment state","deprecated":null,"version":null,"openapi":"/openapi.yaml get /expenses/{claim_id}","href":"/api-reference/expenses/read-an-exact-expense-claim-and-its-payment-state"}]},{"group":"Payroll","pages":[{"title":"Get the payroll workspace","deprecated":null,"version":null,"openapi":"/openapi.yaml get /payroll","href":"/api-reference/payroll/get-the-payroll-workspace"},{"title":"Add an employee","deprecated":null,"version":null,"openapi":"/openapi.yaml post /payroll/employees","href":"/api-reference/payroll/add-an-employee"},{"title":"Update an employee","deprecated":null,"version":null,"openapi":"/openapi.yaml patch /payroll/employees","href":"/api-reference/payroll/update-an-employee"},{"title":"Update an employee's tax card","deprecated":null,"version":null,"openapi":"/openapi.yaml patch /payroll/employees/tax-card","href":"/api-reference/payroll/update-an-employees-tax-card"},{"title":"Fetch an employee's wage tax card from Vero","deprecated":null,"version":null,"openapi":"/openapi.yaml post /payroll/employees/tax-card/fetch","href":"/api-reference/payroll/fetch-an-employees-wage-tax-card-from-vero"},{"title":"Update employer payroll settings","deprecated":null,"version":null,"openapi":"/openapi.yaml patch /payroll/settings","href":"/api-reference/payroll/update-employer-payroll-settings"},{"title":"Draft a payroll run","deprecated":null,"version":null,"openapi":"/openapi.yaml post /payroll/draft","href":"/api-reference/payroll/draft-a-payroll-run"},{"title":"Approve a payroll run","deprecated":null,"version":null,"openapi":"/openapi.yaml post /payroll/approve","href":"/api-reference/payroll/approve-a-payroll-run"},{"title":"Confirm an imported bank payment against an approved payroll","deprecated":null,"version":null,"openapi":"/openapi.yaml post /payroll/payment-confirm","href":"/api-reference/payroll/confirm-an-imported-bank-payment-against-an-approved-payroll"},{"title":"Correct an approved payroll run's payday before payment","deprecated":null,"version":null,"openapi":"/openapi.yaml post /payroll/payment-date","href":"/api-reference/payroll/correct-an-approved-payroll-runs-payday-before-payment"},{"title":"Get an employee's payslip","deprecated":null,"version":null,"openapi":"/openapi.yaml get /payroll/payslip","href":"/api-reference/payroll/get-an-employees-payslip"},{"title":"Download an approved payslip","deprecated":null,"version":null,"openapi":"/openapi.yaml get /payroll/payslip/pdf","href":"/api-reference/payroll/download-an-approved-payslip"},{"title":"Download the employer calculation of an approved payroll","deprecated":null,"version":null,"openapi":"/openapi.yaml get /payroll/employer-calculation/pdf","href":"/api-reference/payroll/download-the-employer-calculation-of-an-approved-payroll"},{"title":"Download a sent Incomes Register report","deprecated":null,"version":null,"openapi":"/openapi.yaml get /payroll/report/pdf","href":"/api-reference/payroll/download-a-sent-incomes-register-report"},{"title":"Download an employee's finalized payroll files","deprecated":null,"version":null,"openapi":"/openapi.yaml get /payroll/export","href":"/api-reference/payroll/download-an-employees-finalized-payroll-files"}]},{"group":"Connections","pages":[{"title":"What one connection delivered","deprecated":null,"version":null,"openapi":"/openapi.yaml get /connections/{connection_id}/data","href":"/api-reference/connections/what-one-connection-delivered"},{"title":"The records inside one group","deprecated":null,"version":null,"openapi":"/openapi.yaml get /connections/{connection_id}/data/objects","href":"/api-reference/connections/the-records-inside-one-group"},{"title":"List bank connections","deprecated":null,"version":null,"openapi":"/openapi.yaml get /bank-connections","href":"/api-reference/connections/list-bank-connections"},{"title":"List PayPal settlement connections","deprecated":null,"version":null,"openapi":"/openapi.yaml get /paypal-connections","href":"/api-reference/connections/list-paypal-settlement-connections"},{"title":"Start PayPal partner consent","deprecated":null,"version":null,"openapi":"/openapi.yaml post /paypal-connections/oauth/start","href":"/api-reference/connections/start-paypal-partner-consent"},{"title":"Connect PayPal with the company's own PayPal app","deprecated":null,"version":null,"openapi":"/openapi.yaml post /paypal-connections/api-key","href":"/api-reference/connections/connect-paypal-with-the-companys-own-paypal-app"},{"title":"Recheck a stored PayPal app","deprecated":null,"version":null,"openapi":"/openapi.yaml post /paypal-connections/{connection_id}/revalidate","href":"/api-reference/connections/recheck-a-stored-paypal-app"},{"title":"List Vipps MobilePay settlement connections","deprecated":null,"version":null,"openapi":"/openapi.yaml get /vipps-mobilepay-connections","href":"/api-reference/connections/list-vipps-mobilepay-settlement-connections"},{"title":"Verify and activate a Vipps MobilePay accounting grant","deprecated":null,"version":null,"openapi":"/openapi.yaml post /vipps-mobilepay-connections/activate","href":"/api-reference/connections/verify-and-activate-a-vipps-mobilepay-accounting-grant"},{"title":"List Adyen settlement connections","deprecated":null,"version":null,"openapi":"/openapi.yaml get /adyen-connections","href":"/api-reference/connections/list-adyen-settlement-connections"},{"title":"Connect an Adyen merchant account","deprecated":null,"version":null,"openapi":"/openapi.yaml post /adyen-connections/api-key","href":"/api-reference/connections/connect-an-adyen-merchant-account"},{"title":"Recheck a stored Adyen key","deprecated":null,"version":null,"openapi":"/openapi.yaml post /adyen-connections/{connection_id}/revalidate","href":"/api-reference/connections/recheck-a-stored-adyen-key"},{"title":"List Stripe connections","deprecated":null,"version":null,"openapi":"/openapi.yaml get /stripe-connections","href":"/api-reference/connections/list-stripe-connections"},{"title":"Trigger a Stripe sync","deprecated":null,"version":null,"openapi":"/openapi.yaml post /stripe-connections/{connection_id}/sync","href":"/api-reference/connections/trigger-a-stripe-sync"},{"title":"List Fiest connections","deprecated":null,"version":null,"openapi":"/openapi.yaml get /fiest-connections","href":"/api-reference/connections/list-fiest-connections"},{"title":"Authorize or upgrade a Fiest restaurant connection","deprecated":null,"version":null,"openapi":"/openapi.yaml post /fiest-connections/oauth/start","href":"/api-reference/connections/authorize-or-upgrade-a-fiest-restaurant-connection"},{"title":"Trigger a Fiest sync","deprecated":null,"version":null,"openapi":"/openapi.yaml post /fiest-connections/{connection_id}/sync","href":"/api-reference/connections/trigger-a-fiest-sync"},{"title":"List Procountor connections","deprecated":null,"version":null,"openapi":"/openapi.yaml get /procountor-connections","href":"/api-reference/connections/list-procountor-connections"},{"title":"Trigger a Procountor sync","deprecated":null,"version":null,"openapi":"/openapi.yaml post /procountor-connections/{connection_id}/sync","href":"/api-reference/connections/trigger-a-procountor-sync"},{"title":"List Fennoa connections","deprecated":null,"version":null,"openapi":"/openapi.yaml get /fennoa-connections","href":"/api-reference/connections/list-fennoa-connections"},{"title":"Trigger a Fennoa sync","deprecated":null,"version":null,"openapi":"/openapi.yaml post /fennoa-connections/{connection_id}/sync","href":"/api-reference/connections/trigger-a-fennoa-sync"},{"title":"List inbox (email) connections","deprecated":null,"version":null,"openapi":"/openapi.yaml get /inbox-connections","href":"/api-reference/connections/list-inbox-email-connections"},{"title":"Update a Gmail inbox connection","deprecated":null,"version":null,"openapi":"/openapi.yaml patch /inbox-connections/{connection_id}","href":"/api-reference/connections/update-a-gmail-inbox-connection"},{"title":"List a connected Gmail inbox's own labels","deprecated":null,"version":null,"openapi":"/openapi.yaml get /inbox-connections/{connection_id}/labels","href":"/api-reference/connections/list-a-connected-gmail-inboxs-own-labels"},{"title":"List Google Sheets connections","deprecated":null,"version":null,"openapi":"/openapi.yaml get /gsheet-connections","href":"/api-reference/connections/list-google-sheets-connections"},{"title":"Request a service connection change","deprecated":null,"version":null,"openapi":"/openapi.yaml post /service-connections/requests","href":"/api-reference/connections/request-a-service-connection-change"},{"title":"Confirm or retract a service-connection step","deprecated":null,"version":null,"openapi":"/openapi.yaml post /service-connections/confirmations","href":"/api-reference/connections/confirm-or-retract-a-service-connection-step"}]},{"group":"Shopify App","pages":[{"title":"Render the embedded Shopify App Home","deprecated":null,"version":null,"openapi":"/openapi.yaml get /shopify/app","href":"/api-reference/shopify-app/render-the-embedded-shopify-app-home"},{"title":"Load the embedded Shopify App Home script","deprecated":null,"version":null,"openapi":"/openapi.yaml get /shopify/app.js","href":"/api-reference/shopify-app/load-the-embedded-shopify-app-home-script"},{"title":"Resolve the store's App Bridge connection state","deprecated":null,"version":null,"openapi":"/openapi.yaml post /shopify/app/session","href":"/api-reference/shopify-app/resolve-the-stores-app-bridge-connection-state"},{"title":"Exchange an App Bridge JWT for offline read access","deprecated":null,"version":null,"openapi":"/openapi.yaml post /shopify/app/complete","href":"/api-reference/shopify-app/exchange-an-app-bridge-jwt-for-offline-read-access"},{"title":"Receive a mandatory Shopify privacy webhook","deprecated":null,"version":null,"openapi":"/openapi.yaml post /shopify/privacy/webhooks","href":"/api-reference/shopify-app/receive-a-mandatory-shopify-privacy-webhook"},{"title":"Start installation from the permanent public app listing","deprecated":null,"version":null,"openapi":"/openapi.yaml post /shopify-connections/install/start","href":"/api-reference/shopify-app/start-installation-from-the-permanent-public-app-listing"},{"title":"Verify Shopify's signed App Home handoff","deprecated":null,"version":null,"openapi":"/openapi.yaml post /shopify-connections/install/verify","href":"/api-reference/shopify-app/verify-shopifys-signed-app-home-handoff"},{"title":"Bind a verified Shopify store to one LAC tenant","deprecated":null,"version":null,"openapi":"/openapi.yaml post /shopify-connections/oauth/start","href":"/api-reference/shopify-app/bind-a-verified-shopify-store-to-one-lac-tenant"}]},{"group":"Imports","pages":[{"title":"List import runs","deprecated":null,"version":null,"openapi":"/openapi.yaml get /imports","href":"/api-reference/imports/list-import-runs"},{"title":"Get an import run","deprecated":null,"version":null,"openapi":"/openapi.yaml get /imports/{run_id}","href":"/api-reference/imports/get-an-import-run"},{"title":"Download an import run's raw package","deprecated":null,"version":null,"openapi":"/openapi.yaml get /import-runs/{run_id}/raw-package","href":"/api-reference/imports/download-an-import-runs-raw-package"}]},{"group":"API keys","pages":[{"title":"List API keys (admin, interactive session only)","deprecated":null,"version":null,"openapi":"/openapi.yaml get /api-keys","href":"/api-reference/api-keys/list-api-keys-admin-interactive-session-only"},{"title":"Create an API key (admin, interactive session only)","deprecated":null,"version":null,"openapi":"/openapi.yaml post /api-keys","href":"/api-reference/api-keys/create-an-api-key-admin-interactive-session-only"},{"title":"Revoke an API key (admin, interactive session only)","deprecated":null,"version":null,"openapi":"/openapi.yaml delete /api-keys/{key_id}","href":"/api-reference/api-keys/revoke-an-api-key-admin-interactive-session-only"}]},{"group":"Lens","pages":[{"title":"Get the transactions window","deprecated":null,"version":null,"openapi":"/openapi.yaml get /lens/transactions","href":"/api-reference/lens/get-the-transactions-window"},{"title":"Get how one row was booked","deprecated":null,"version":null,"openapi":"/openapi.yaml get /lens/booking","href":"/api-reference/lens/get-how-one-row-was-booked"},{"title":"Get data coverage per real source","deprecated":null,"version":null,"openapi":"/openapi.yaml get /lens/data-coverage","href":"/api-reference/lens/get-data-coverage-per-real-source"},{"title":"Get the add-source catalog","deprecated":null,"version":null,"openapi":"/openapi.yaml get /lens/connections-catalog","href":"/api-reference/lens/get-the-add-source-catalog"}]},{"group":"Accounting","pages":[{"title":"Download an account-by-account general ledger","deprecated":null,"version":null,"openapi":"/openapi.yaml get /lens/general-ledger.csv","href":"/api-reference/accounting/download-an-account-by-account-general-ledger"},{"title":"Get the customer-visible general ledger","deprecated":null,"version":null,"openapi":"/openapi.yaml get /lens/general-ledger","href":"/api-reference/accounting/get-the-customer-visible-general-ledger"},{"title":"Drill from a customer-visible GL account to journal entries","deprecated":null,"version":null,"openapi":"/openapi.yaml get /lens/journal-entries","href":"/api-reference/accounting/drill-from-a-customer-visible-gl-account-to-journal-entries"},{"title":"Open one customer-visible journal entry","deprecated":null,"version":null,"openapi":"/openapi.yaml get /lens/journal-entries/{id}","href":"/api-reference/accounting/open-one-customer-visible-journal-entry"},{"title":"Get the monthly, custom-range, or all-time general-ledger view","deprecated":null,"version":null,"openapi":"/openapi.yaml get /accounting/gl","href":"/api-reference/accounting/get-the-monthly-custom-range-or-all-time-general-ledger-view"},{"title":"List journal entries (keyset window)","deprecated":null,"version":null,"openapi":"/openapi.yaml get /accounting/journal-entries","href":"/api-reference/accounting/list-journal-entries-keyset-window"},{"title":"Get one journal entry fully opened","deprecated":null,"version":null,"openapi":"/openapi.yaml get /accounting/journal-entries/{id}","href":"/api-reference/accounting/get-one-journal-entry-fully-opened"},{"title":"Get the context view","deprecated":null,"version":null,"openapi":"/openapi.yaml get /accounting/context","href":"/api-reference/accounting/get-the-context-view"},{"title":"Get the customer-request review queue","deprecated":null,"version":null,"openapi":"/openapi.yaml get /accounting/requests","href":"/api-reference/accounting/get-the-customer-request-review-queue"},{"title":"Decide one proposed customer request","deprecated":null,"version":null,"openapi":"/openapi.yaml post /accounting/requests/review","href":"/api-reference/accounting/decide-one-proposed-customer-request"},{"title":"Get the filings strip","deprecated":null,"version":null,"openapi":"/openapi.yaml get /accounting/filings","href":"/api-reference/accounting/get-the-filings-strip"},{"title":"Preview one filing draft","deprecated":null,"version":null,"openapi":"/openapi.yaml get /accounting/filings/{id}/preview","href":"/api-reference/accounting/preview-one-filing-draft"},{"title":"Get the explorer table catalog","deprecated":null,"version":null,"openapi":"/openapi.yaml get /accounting/explorer/catalog","href":"/api-reference/accounting/get-the-explorer-table-catalog"},{"title":"Run one read-only SQL statement","deprecated":null,"version":null,"openapi":"/openapi.yaml post /accounting/explorer/query","href":"/api-reference/accounting/run-one-read-only-sql-statement"}]},{"group":"Payments","pages":[{"title":"Get the native Open Payments setup and supported Finnish banks","deprecated":null,"version":null,"openapi":"/openapi.yaml get /payment-settings","href":"/api-reference/payments/get-the-native-open-payments-setup-and-supported-finnish-banks"},{"title":"Configure the company paying account and accept current Open Payments terms","deprecated":null,"version":null,"openapi":"/openapi.yaml patch /payment-settings","href":"/api-reference/payments/configure-the-company-paying-account-and-accept-current-open-payments-terms"},{"title":"Open the exact retained Open Payments terms document","deprecated":null,"version":null,"openapi":"/openapi.yaml get /payment-settings/terms","href":"/api-reference/payments/open-the-exact-retained-open-payments-terms-document"},{"title":"Start hosted Open Payments company verification","deprecated":null,"version":null,"openapi":"/openapi.yaml post /payment-settings/verification","href":"/api-reference/payments/start-hosted-open-payments-company-verification"},{"title":"Move the paying account's Nordea Business connection forward","deprecated":null,"version":null,"openapi":"/openapi.yaml post /payment-settings/bank-connection","href":"/api-reference/payments/move-the-paying-accounts-nordea-business-connection-forward"},{"title":"List explicit named-member payment release authority","deprecated":null,"version":null,"openapi":"/openapi.yaml get /payment-settings/release-authority","href":"/api-reference/payments/list-explicit-named-member-payment-release-authority"},{"title":"Grant or revoke explicit payment release authority","deprecated":null,"version":null,"openapi":"/openapi.yaml patch /payment-settings/release-authority","href":"/api-reference/payments/grant-or-revoke-explicit-payment-release-authority"},{"title":"Get one exact contextual payment source and its active batch","deprecated":null,"version":null,"openapi":"/openapi.yaml get /payment-sources/{kind}/{source_id}","href":"/api-reference/payments/get-one-exact-contextual-payment-source-and-its-active-batch"},{"title":"Read one exact payment batch including older settled history","deprecated":null,"version":null,"openapi":"/openapi.yaml get /payment-batches/{batch_id}","href":"/api-reference/payments/read-one-exact-payment-batch-including-older-settled-history"},{"title":"Release one exact immutable source-bound payment batch","deprecated":null,"version":null,"openapi":"/openapi.yaml post /payment-batches/{batch_id}/release","href":"/api-reference/payments/release-one-exact-immutable-source-bound-payment-batch"},{"title":"Poll an already submitted direct payment","deprecated":null,"version":null,"openapi":"/openapi.yaml post /payment-batches/{batch_id}/poll","href":"/api-reference/payments/poll-an-already-submitted-direct-payment"},{"title":"Resolve one ambiguous direct submission from bank evidence","deprecated":null,"version":null,"openapi":"/openapi.yaml post /payment-batches/{batch_id}/resolve","href":"/api-reference/payments/resolve-one-ambiguous-direct-submission-from-bank-evidence"},{"title":"Everything the company can pay, is paying, or has paid","deprecated":null,"version":null,"openapi":"/openapi.yaml get /payments","href":"/api-reference/payments/everything-the-company-can-pay-is-paying-or-has-paid"}]}]}]}]},"basePath":"","title":"List sales invoices - LAC Developers","buildId":"dpl_5joLUXmnJgwqjrHAS4dxZrQTdxgh","deploymentId":"dpl_5joLUXmnJgwqjrHAS4dxZrQTdxgh","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-DPDWPCdE.js","utils-DyjUHyLo.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-BWYE1cdS.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-COAzxpEw.js","snippetPresets-DNiD_S52.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-CjwVt80x.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-ByHQMk7z.js","shallow-CaZuw1AO.js","getApiPlaygroundDisplay-DPVPOknm.js","CodeSnippet-B31CH-Mp.js","CodeSnippets-BxTYZWz6.js","Page-DDHbuAIY.js","getPastedJson-DhoAwiNO.js","icon-Dhq8z75J.js","MethodPill-DLXmKOwr.js","DuplicateIcon-jzdVwyRU.js","createIcon-eD0b3klN.js","DynamicMarkdown-BfddVCX7.js","SectionHeading-2pSCIo17.js","axios-vUo_bRtp.js","Markdown-DsWjhwJ4.js","clsx-B2t_mZQG.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CUljsAY7.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-Cf70306N.js"]}