Attributes
Unique identifier for the invoice.
Resource type. Value will be “Invoice”.
Unique ID of the invoice in your system for linking purposes.
ID of the Business that generated the invoice.
Status of the invoice. Values can be:
SENT, PARTIALLY_PAID,
PAID, VOIDED, PARTIALLY_WRITTEN_OFF, WRITTEN_OFF, REFUNDEDWhen the invoice was sent by the business to the recipient.
When the invoice is due.
When the invoice was paid.
When the invoice was voided. Voiding excludes the invoice from accounting.
Number for the invoice for display to end-users.
List of Refund Allocations associated with this invoice.
Line items making up the invoice.
Subtotal of all invoice line items in cents.
Additional discount applied to the whole invoice in addition to individual
line items.
Sum of all discount amounts across the invoice line items and any additional
discounts in cents.
Sum of all taxes across the invoice line items and any additional taxes in
cents.
Tips included by the buyer, in cents.
The Account Identifier for a tips account.
If not specified, tips will be attributed to the Chart of Account’s default tips account, default a liability account.
Alternate accounts can be specified in case tips should be tracked as revenue.
Total amount of the invoice in cents.
The remaining balance on the invoice after factoring in all previous invoice
payments and write-offs.
Memo for any text you would like to associate with the invoice (for example, to display to end users).
Arbitrary custom metadata in JSON format with a size limit of 1KB.
Any (typically user-visible) identifier you would like to associate with the invoice. Can be used to filter when listing invoices.
Payments made by a customer are allocated toward one or many invoices. This list shows
which payments have been been allocated towards this invoice.
The most common case is that there is a 1:1 relationship between a payment and an invoice,
in which case the allocation’s
amount will match the payment’s amount.Write-offs applied to the invoice. See the Write-Off object for more information.
Arbitrary metadata you can include with the invoice
Time when the invoice was first imported into Layer. Eligible sort key.
Time when the invoice was last updated in Layer. Eligible sort key.