Skip to main content
GET
List sales invoices

Authorizations

Authorization
string
header
required

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.

seller
object

Current canonical seller identity used for new drafts.

summary
object
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.

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.

automation_candidates
object[]

Evidence-backed process suggestions inferred from current invoice outcomes. These are discussion prompts, not activated automations.

invoices
object[]