Skip to main content

invoices_v1

An invoice is a financial document issued by a seller to a buyer, detailing the products or services provided, their quantities, and the agreed-upon prices.

ColumnData typeDescription
idNUMBER(38,0)The unique identifier of the invoice.
referenceVARCHAR(80)The reference of the invoice that is auto populated or inputted as free text.
statusVARCHAR(7)The status of the invoice. Possible values: 'Sent', 'Created', 'Paid'.
cancellation_stateVARCHAR(13)The cancellation state of the invoice. Possible values: 'Cancelled', 'Not Cancelled'.
created_atTIMESTAMP_TZ(9)The timestamp with time zone offset of the invoice creation.
created_at_dateDATEThe date of the invoice creation.
created_at_timeTIME(9)The time of the invoice creation.
sent_atTIMESTAMP_TZ(9)The timestamp with time zone offset when the invoice is sent.
sent_at_dateDATEThe date when the invoice is sent.
sent_at_timeTIME(9)The time when the invoice is sent.
cancelled_atTIMESTAMP_TZ(9)The timestamp with time zone offset of the invoice cancellation.
cancelled_at_dateDATEThe date of the invoice cancellation.
cancelled_at_timeTIME(9)The time of the invoice cancellation.
paid_atTIMESTAMP_TZ(9)The timestamp with time zone offset of the invoice payment.
paid_at_dateDATEThe date of the invoice payment.
paid_at_timeTIME(9)The time of the invoice payment.
due_atTIMESTAMP_TZ(9)The timestamp with time zone offset when the invoice is due.
due_at_dateDATEThe date when the invoice is due.
due_at_timeTIME(9)The time when the invoice is due.
deleted_atTIMESTAMP_TZ(9)The timestamp with time zone offset of invoice deletion.
days_to_overdueNUMBER(9,0)The number of days for an invoice to be overdue.
days_overdueNUMBER(9,0)The number of days an invoice is overdue by.
notesVARCHAR(6000)Notes associated with the invoice.
internal_notesVARCHAR(6000)Internal notes associated with the invoice.
flagVARCHAR(100)The current flag applied to the invoice. The flag is a marker or label used to categorise, prioritise, or highlight specific invoices.
flag_colourVARCHAR(40)The textual representation of the current flag colour set in the flag definition settings.
flag_commentVARCHAR(2000)Additional comments or notes associated with the current flag.
flag_dateTIMESTAMP_TZ(9)The timestamp with the timezone offset of when the current flag was set to take effect.
flag_ownerVARCHAR(100)The person responsible for setting or managing a flag. It is used to assign ownership and accountability for flagged items.
total_net_amountNUMBER(9,2)The total net amount of the invoice in the currency defined in the 'currency' column.
total_net_amount_gbpNUMBER(10,2)The total net amount of the invoice converted into GBP based on the exchange rate on the day that the invoice is created.
total_tax_amountNUMBER(10,2)The total tax (VAT) amount of the invoice in the currency defined in the 'currency' column.
total_tax_amount_gbpNUMBER(10,2)The total tax (VAT) amount of the invoice converted into GBP based on the exchange rate on the day that the invoice is created.
total_gross_amountNUMBER(9,2)The total gross (net + tax) amount of the invoice in the currency defined in the 'currency' column.
total_gross_amount_gbpNUMBER(10,2)The total gross (net + tax) amount of the invoice converted into GBP based on the exchange rate on the day that the invoice is created.
amount_paidNUMBER(9,2)The total gross amount of the invoice which has been paid already in the currency defined in the 'currency' column.
amount_paid_gbpNUMBER(10,2)The total gross amount of the invoice which has been paid already, converted into GBP based on the exchange rate on the day that the invoice is created.
amount_unpaidNUMBER(10,2)The total gross amount of the invoice remaining to be paid in the currency defined in the 'currency' column.
amount_unpaid_gbpNUMBER(10,2)The total gross amount of the invoice remaining to be paid, converted into GBP based on the exchange rate on the day that the invoice is created.
amount_part_paidNUMBER(9,2)The total gross amount paid already of the invoice when that amount is not equal total gross amount in the currency defined in the 'currency' column.
amount_part_paid_gbpNUMBER(10,2)The total gross amount paid already of the invoice when that amount is not equal total gross amount, converted into GBP based on the exchange rate on the day that the invoice is created.
currencyVARCHAR(3)The ISO 4217 currency code of the invoice currency.
contact_nameVARCHAR(256)The contact name responsible for the invoice.
contact_groupVARCHAR(100)The contact group of the contact responsible for the invoice.
parent_contactVARCHAR(256)The parent contact of the contact responsible for the invoice.
web_user_nameVARCHAR(100)The web user responsible for the invoice.
web_user_groupVARCHAR(400)The group of the web user responsible for the invoice.
job_typeVARCHAR(200)The job type of the job connected to the invoice.
job_referenceVARCHAR(88)The job reference connected to the invoice.
job_group_referenceVARCHAR(80)The job group reference connected to the invoice.
sales_opportunity_referenceVARCHAR(80)The sales opportunity reference connected to the invoice.
contract_referenceVARCHAR(80)The contract reference connected to the invoice.
nominal_codeVARCHAR(100)A code that represents a specific nominal account or general ledger account used for accounting purposes, project tracking, cost allocation, or analysis in relation to the invoice.
nominal_code_descriptionVARCHAR(200)A description or name that provides additional information about the nominal code used in the invoice.
department_codeVARCHAR(16)A code that identifies the specific department or cost center within an organisation that is associated with the invoice.
department_code_descriptionVARCHAR(200)A description or name that provides additional information about the department code used in the invoice.
delivery_site_nameVARCHAR(256)The location or site where the products or services specified in the invoice are to be delivered.
tracking_code_1NUMBER(38,0)A code or identifier used to track or categorise specific information related to the invoice when financial integration is set to Xero. This could be used for various purposes such as project tracking, cost allocation, or analysis.
tracking_code_2NUMBER(38,0)Another code or identifier used to track or categorise additional information related to the invoice when financial integration is set to Xero. Similar to tracking_code_1, it can be used for various purposes based on the organisation's needs.
first_line_of_correspondenceVARCHAR(512)First line of correspondence - This is the initial line of information used to address the recipient of the invoice. This field serves as the starting point for any communication related to the transaction and ensures that the document reaches the intended recipient.
_job_idNUMBER(38,0)The identifier of the job associated with the invoice.
_job_group_idNUMBER(38,0)The identifier of the job group associated with the invoice.
_contact_idNUMBER(38,0)The identifier of the contact associated with the invoice.
_delivery_site_contact_idNUMBER(38,0)The identifier of the delivery site (contact) associated with the invoice.
_contract_idNUMBER(38,0)The identifier of the contract associated with the invoice.
_sales_opportunity_idNUMBER(38,0)The identifier of the sales opportunity associated with the invoice.
_last_sync_atTIMESTAMP_TZ(9)The timestamp with time zone offset of when the invoice record was last refreshed.