Invoices

A customer invoice kept as an open item on the customer receivable account.

Fields

The API name is what the API, MCP and the CLI use.

NameAPI nameTypeRequiredDescription
IDidRecord IDYes
NamelabelText
Invoice numberuidTextInternal number of this invoice.
Invoice datedateDateYesCalendar date for this value.
ReturnsalesorderreturnIdReference
ReturnstorereturnIdReference
SalestorepossaleIdReference
ProjectprojectIdReference
CustomercustomerIdReferenceYes
BranchcustomerbranchIdReference
ContactcustomercontactIdReference
UseruserIdUser
Partner companycompanyIdPartnerReference
Source invoicefinancesinvoiceIdSourceReference
Customer referencecustomerReferenceTextThe customer's own reference for this document, such as their purchase order number.
Document typeclassConstantYesInvoice increases the receivable. Credit note reduces the source invoice.
Quote currencycurrencyConstantYesCurrency of this invoice. The exchange rate converts amounts to the accounting currency.
Due datedateDueDateYesCalendar date without time of date.
Amount appliedamountAppliedCurrencyYesPart of the credit note applied to the source invoice open balance at send. Not a payment allocation.
Recharge amountamountRechargeCurrencyMonetary amount in the applicable currency for this record.
Exchange rate datedateFxrateSourceDateCalendar date of the exchange rate used for conversion.
Payment termfinancespaymenttermIdReference
Exchange ratefxrateDecimalYesAccounting-currency units for 1 unit of the other currency. Use 1 when both currencies are the same.
Tax in unit pricepriceBasisConstantYesWhether unit prices include tax (gross) or exclude tax (net).
Open balancebalanceCurrencyYesRemaining amount in document currency.
DiscountdiscountCurrencyYesAmount in the document or line currency.
Total payabletotalPayableCurrencyYesMonetary amount in the applicable currency for this record.
RoundingroundingCurrencyYesMonetary amount in the applicable currency for this record.
SubtotalsubtotalCurrencyYesSum of line amounts before tax and withholding on this document.
TaxtaxCurrencyYesTax amount for this scope, in document currency, from the configured tax engine.
WithholdingwithholdingCurrencyYesWithholding tax amount, not a rate.
TotaltotalCurrencyYesSum of lines at 6 decimals. Settlement and PDF use the payable total at currency minor units; any difference appears as a rounding line.
Credit reasoncreditReasonConstantFixed option from the allowed set for this field.
Cancel reasoncancelReasonText AreaRequired explanation when canceling this record.
TagstagIdsTags
DescriptiondescriptionText Area
Created bycreatedByUser
Created atcreatedAtDate and TimeYes
Updated byupdatedByUser
Updated atupdatedAtDate and TimeYes
Sent bysentByUser
Sent atsentAtDate and Time
Canceled bycanceledByUser
Canceled atcanceledAtDate and Time
Blocked byblockedByUser
Blocked atblockedAtDate and Time
Archived byarchivedByUser
Archived atarchivedAtDate and Time

Relations

Owned records (solid line) are deleted with their owner. Grouped records (dashed line) can exist alone.

FieldPoints toKind
Return salesorderreturnIdSales returnsreference
Return storereturnIdStore returnsreference
Sale storepossaleIdPOS salesreference
Project projectIdProjectsreference
Customer customerIdCustomersreference
Branch customerbranchIdCustomer branchesreference
Contact customercontactIdCustomer contactsreference
User userIdUsersreference
Partner company companyIdPartnerCompaniesreference
Source invoice financesinvoiceIdSourceInvoicesreference
Payment term financespaymenttermIdPayment termsreference
Tags tagIdsTagsreference

Actions

What you can do with a record. Every action also sends the webhook event financesinvoices.<action>. Reads (find, get, count) work on every table.

NameAPI nameDescriptionWhere
CreatecreateAdd an new invoice.App · API · MCP · CLI
EditupdateSave changes to this invoice.App · API · MCP · CLI
IssuesendIssue this invoice. The open balance and the journal entry use this action.App · API · MCP · CLI
CancelcancelReverse the posted effect of this invoice.App · API · MCP · CLI
Revoke external linksrevokeRevoke active external share links for this invoice.App · API · MCP · CLI
Share externallysharePublish and send an external link to this document.App · API · MCP · CLI
BlockblockStop edits and deletion of this invoice. It stays visible and can still appear on existing documents. Unblock to edit again.App · API · MCP · CLI
UnblockunblockAllow edits and deletion of this invoice again.App · API · MCP · CLI
ArchivearchiveRetire this invoice from daily use. It leaves active lists and pickers, and most actions stop. Unarchive to restore it.App · API · MCP · CLI
RestoreunarchiveReturn this invoice to active lists and actions.App · API · MCP · CLI
DeletedeleteDelete this invoice and the data that belongs with it. This cannot be undone.App · API · MCP · CLI

States

How a record moves from state to state. Archive and block can happen in any state.

IssueCancelCreatedSentSent · Canceled

Events

Moments the record reaches on its own. Subscribe to them with a webhook.

NameWebhook eventDescription
Overduefinancesinvoices.overdueThe invoice passed its due date with a balance left.
Followedfinancesinvoices.followedPeople who follow this invoice are told about it.