Skip to content

api_external.invoices

View

Invoices between an org and the caller's account, or the caller as an individual (Section 4.4.5): payables the party submitted or was self-billed, in every state, and receivables the org issued to it, once issued. Only while the party's engagement on the project has the money area open (Section 8.7). Totals are NULL while any line is unpriced.

Columns of api_external.invoices
ColumnTypeNullableDescription
iduuidYesInvoice.
org_iduuidYesOrg.
org_nametextYesOrg name.
project_iduuidYesProject.
project_nametextYesProject name.
directionapp.money_directionYesPayable (the party bills the org) or Receivable (the org bills the party).
account_iduuidYesThe caller's account; NULL for an individual's invoice.
invoice_numbertextYesInvoice number.
issued_ondateYesInvoice date.
due_ondateYesDue date.
currency_codecharacter(3)YesCurrency.
invoice_stateapp.invoice_stateYesInvoice state.
total_minorbigintYesTotal with tax in minor units; NULL while any line is unpriced.
applied_minorbigintYesApproved payments applied in minor units.
balance_minorbigintYesTotal less approved payments applied; NULL while the total is unknown.
submitted_attimestamp with time zoneYesWhen the invoice was recorded.
issued_attimestamp with time zoneYesWhen the org issued it.
approved_attimestamp with time zoneYesWhen the org approved it for payment.
disputed_attimestamp with time zoneYesWhen it was last disputed.
canceled_attimestamp with time zoneYesWhen it was canceled.
last_paid_ondateYesDate of the latest approved payment applied.
payee_person_iduuidYesThe caller, for an invoice billed by them as an individual.
engagement_iduuidYesEngagement the invoice bills.
scheduled_minorbigintYesPayments recorded against it and awaiting approval, in minor units.
scheduled_ondateYesPayment date of the latest recorded payment awaiting approval.