The Invoice object
The Invoice object represents an itemized record of goods and/or services sold to a customer or bought from a vendor.
Represents a Bill when the Invoice type is ACCOUNTS_PAYABLE. References an Invoice when the Invoice type is ACCOUNTS_RECEIVABLE.
id
remote_id
The third-party API ID of the matching object.
created_at
The datetime that this object was created by Merge.
modified_at
The datetime that this object was modified by Merge.
type
Whether the invoice is an accounts receivable or accounts payable. If `type` is `ACCOUNTS_PAYABLE`, the invoice is a bill. If `type` is `ACCOUNTS_RECEIVABLE`, it is an invoice.
* `ACCOUNTS_RECEIVABLE` - ACCOUNTS_RECEIVABLE
* `ACCOUNTS_PAYABLE` - ACCOUNTS_PAYABLE
Allowed values:
contact
The invoice's contact.
number
The invoice's number.
issue_date
The invoice's issue date.
due_date
The invoice's due date.
paid_on_date
The invoice's paid date.
memo
The invoice's private note.
company
The company the invoice belongs to.
employee
The employee this overall transaction relates to.
currency
The invoice's currency. The currency code in ISO 4217 format.
exchange_rate
The invoice's exchange rate.
payment_term
The payment term that applies to this transaction.
total_discount
The total discounts applied to the total cost.
sub_total
The total amount being paid before taxes.
status
The status of the invoice.
* `PAID` - PAID
* `DRAFT` - DRAFT
* `SUBMITTED` - SUBMITTED
* `PARTIALLY_PAID` - PARTIALLY_PAID
* `OPEN` - OPEN
* `VOID` - VOID
total_tax_amount
The total amount being paid in taxes.
total_amount
The invoice's total amount.
balance
The invoice's remaining balance.
remote_updated_at
When the third party's invoice entry was updated.
tracking_categories
accounting_period
The accounting period that the Invoice was generated in.
purchase_orders
sales_orders
payments
Array of `Payment` object IDs.
applied_payments
A list of the Payment Applied to Lines common models related to a given Invoice, Credit Note, or Journal Entry.
line_items
applied_credit_notes
`CreditNoteApplyLines` applied to the Invoice.
applied_vendor_credits
`VendorCreditApplyLines` applied to the Invoice.
inclusive_of_tax
If the transaction is inclusive or exclusive of tax. `True` if inclusive, `False` if exclusive.
remote_was_deleted
Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
field_mappings
remote_data
remote_fields