Invoices

For more details on how to work with custom fields please refer to Working with custom fields guide.

The invoice object represents the main building block of the invoicing module.

You can find out more about invoicing in our Help documentation: Creating and Managing Invoices

Following diagram shows invoices in our data hierarchy:

BudgetBudgetInvoice AttributionInvoice AttributionInvoice AttributionInvoiceInvoiceLine ItemLine ItemLine ItemTax RateTax RateTax Rate

Tax changes

On September 3, 2024, we've released new Tax rates system. That means that tax1_name, tax1_value, tax2_name and tax2_value attributes on Invoice object are no longer in use. You should, however, use tax_rate_id attribute on Line item objects to achieve the same goal. You can read more about this in LineItems endpoint documentation.

Related resources

Attributes

amount object
Response Parameter `filter` Parameter `sort`

Invoice amount excluding tax, in the invoice currency.

amount_credited object
Response Parameter `filter` Parameter `sort`

Amount credited via credit notes, excluding tax, in the invoice currency.

amount_credited_default object
Response

Amount credited via credit notes, excluding tax, in the organization default currency.

amount_credited_normalized object
Response

Amount credited via credit notes, excluding tax, normalized to the organization default currency.

amount_credited_with_tax object
Response Parameter `filter` Parameter `sort`

Amount credited including tax, in the invoice currency.

amount_credited_with_tax_default object
Response

Amount credited including tax, in the organization default currency.

amount_credited_with_tax_normalized object
Response

Amount credited including tax, normalized to the organization default currency.

amount_default object
Response

Invoice amount excluding tax, in the organization default currency.

amount_normalized object
Response

Invoice amount excluding tax, normalized to the organization default currency.

amount_paid object
Response Parameter `filter` Parameter `sort`

Amount already paid, in the invoice currency.

amount_paid_default object
Response

Amount already paid, in the organization default currency.

amount_paid_normalized object
Response

Amount already paid, normalized to the organization default currency.

amount_tax object
Response Parameter `filter` Parameter `sort`

Total tax amount, in the invoice currency.

amount_tax_default object
Response

Total tax amount, in the organization default currency.

amount_tax_normalized object
Response

Total tax amount, normalized to the organization default currency.

amount_unpaid object
Response Parameter `filter`

Outstanding balance, in the invoice currency.

amount_unpaid_default object
Response

Outstanding balance, in the organization default currency.

amount_unpaid_normalized object
Response

Outstanding balance, normalized to the organization default currency.

amount_with_tax object
Response Parameter `filter` Parameter `sort`

Invoice total including tax, in the invoice currency.

amount_with_tax_default object
Response

Invoice total including tax, in the organization default currency.

amount_with_tax_normalized object
Response

Invoice total including tax, normalized to the organization default currency.

amount_written_off object
Response Parameter `filter` Parameter `sort`

Amount written off as uncollectible, in the invoice currency.

amount_written_off_default object
Response

Amount written off as uncollectible, in the organization default currency.

amount_written_off_normalized object
Response

Amount written off as uncollectible, normalized to the organization default currency.

attachment attachment
Response

The generated PDF document attached to this invoice.

attachment_id integer
Request

ID of the generated PDF attachment for this invoice.

automatically_created boolean
Parameter `filter`

Whether this invoice was automatically generated from a template.

bank_account bank account
Response

The bank account for payment.

bank_account_details object
Response Request

Bank account details shown on the invoice.

bank_account_id integer
Request

ID of the bank account for payment.

bill_from contact entry
Response

The subsidiary contact issuing the invoice.

bill_to contact entry
Response

The client contact receiving the invoice.

company company
Response

The client company being billed.

company_id integer
Request Parameter `filter`

ID of the client company being billed.

company_name object
Parameter `sort`

Name of the client company at the time of invoicing.

company_reference_id integer
Response

Company reference ID in the external accounting system.

created_at string
Response Parameter `filter` Parameter `sort`

Timestamp when the invoice was created.

creation_options object
Response Request

Configuration options used when creating the invoice.

creator person
Response

The person who created the invoice.

creator_id integer
Parameter `filter`

ID of the person who created the invoice.

credited boolean
Response Parameter `filter` Parameter `sort`

Whether this invoice has been credited via a credit note.

currency string
Response Request Parameter `filter`

Currency code of the invoice.

currency_default object
Response

Organization default currency code.

currency_normalized object
Response

Normalized currency code for cross-currency comparisons.

custom_field_attachments array of attachment
Response

Files in file-type custom fields on this invoice.

custom_field_people array of person
Response

People in person-type custom fields on this invoice.

custom_fields object
Response Request Parameter `filter` Parameter `sort`

Custom field values on this invoice.

deal_id integer
Parameter `filter`

ID of the budget (deal) this invoice is linked to.

deleted_at string
Response Parameter `sort`

Soft-deletion timestamp; present if the invoice has been deleted.

delivery_on string
Response Request Parameter `filter` Parameter `sort`

Date when the goods or services were delivered.

discount number
Response Request Parameter `sort`

Discount percentage applied to the invoice total.

document_type document type
Response

The PDF template used for rendering this invoice.

document_type_id integer
Request

ID of the PDF template used for rendering this invoice.

email_key string
Response

Unique key for email-based interactions with this invoice.

exchange_date string
Response

Date used for currency exchange rate lookup.

exchange_rate number
Response

Exchange rate from the invoice currency to the organization default currency.

exported boolean
Response Request

Whether this invoice has been exported to external accounting software.

exported_at string
Response

Timestamp when this invoice was exported to accounting software.

export_id string
Response Request

ID of this invoice in the external accounting system.

export_integration_type_id integer
Response Enum

Type of accounting integration used for export.

Enum Values (11 values)

  • 1
    CPP
  • 2
    Quickbooks
  • 3
    Xero
  • 4
    Exact
  • 5
    Economic
  • 6
    Fortnox
  • 7
    Custom
  • 8
    Twinfield
  • 9
    Sage Accounting
  • 10
    Sage Intacct
  • 11
    Netsuite
export_invoice_url string
Response Request

URL to view this invoice in the external accounting system.

export_status integer
Parameter `filter` Enum

Export status to external accounting software.

Enum Values (2 values)

  • 1
  • 2
finalized_at string
Response

Timestamp when the invoice was finalized.

finalized_on string
Response

Date when the invoice was finalized (locked for editing).

footer object
Response

Footer text on the invoice document.

footer_interpolated object
Response

Footer text with template variables resolved.

full_query string
Parameter `filter`

Full-text search index value for this invoice.

fuzzy_dates string
Parameter `filter`

Fuzzy date representation for flexible date-based display.

fuzzy_people integer
Parameter `filter`

Fuzzy people representation for flexible person-based display.

id integer
Parameter `filter`

Unique identifier for this invoice.

invoice_aging integer
Parameter `filter` Enum

Number of days since the invoice was issued (aging).

Enum Values (5 values)

  • 0
  • 1
  • 2
  • 3
  • 4
invoice_attributions array of invoice attribution
Response

Links between this invoice and the budgets it bills.

invoiced_on string
Response Request Parameter `filter` Parameter `sort`

Date when the invoice was issued.

invoice_state integer
Parameter `filter` Enum

Current lifecycle state of the invoice (draft, finalized, sent, or paid).

Enum Values (2 values)

  • 1
  • 2
invoice_status integer
Parameter `filter` Enum

Combined payment and lifecycle status for display purposes.

Enum Values (5 values)

  • 0
  • 1
  • 2
  • 3
  • 4
invoice_template_id integer
Response

ID of the invoice template used for auto-generation.

invoice_type integer
Parameter `filter` Enum

Display label for the invoice type (standard invoice or credit note).

Enum Values (2 values)

  • 1
  • 2
invoice_type_id integer
Response Request Enum

Whether this is a standard invoice or a credit note.

Enum Values (2 values)

  • 1
    Invoice
  • 2
    Credit note
invoicing_method integer
Parameter `filter` Enum

Method used to generate line items on this invoice.

Enum Values (3 values)

  • 1
  • 2
  • 3
issuer person
Response

The person issuing or finalizing this invoice.

issuer_id integer
Request Parameter `filter`

ID of the person issuing or finalizing this invoice.

jump_query string
Parameter `filter`

Quick search index value for this invoice.

last_activity_at string
Response Parameter `filter` Parameter `sort`

Date of the last activity recorded on this invoice.

line_item_tax boolean
Response

Whether tax is applied per line item rather than at the invoice level.

note string
Response Request

Internal notes on the invoice.

note_interpolated object
Response

Invoice note with template variables resolved.

number string
Response Request Parameter `filter` Parameter `sort`

Unique invoice number.

organization organization
Response

The organization this invoice belongs to.

overdue_status integer
Parameter `filter` Enum

Overdue status indicating whether the invoice is past its due date.

Enum Values (2 values)

  • 1
  • 2
paid_on string
Response Parameter `filter`

Date when the invoice was paid by the client.

parent_company_id integer
Parameter `filter`

ID of the parent company of the client linked to this invoice, used for hierarchical company filtering.

parent_invoice invoice
Response

The original invoice this credit note credits.

parent_invoice_id integer
Request Parameter `filter`

ID of the original invoice if this is a credit note.

payment_status integer
Parameter `filter` Enum

Payment status of the invoice.

Enum Values (3 values)

  • 1
  • 2
  • 3
payment_terms integer
Response Parameter `filter`

Number of days between the invoice issue date and the due date.

pay_on string
Response Request Parameter `filter` Parameter `sort`

Due date for payment.

pay_on_relative boolean
Response Request

Payment due as relative days from the invoice issue date.

project_id integer
Parameter `filter`

ID of the project associated with this invoice.

purchase_order_number string
Response Request Parameter `filter` Parameter `sort`

Client-provided purchase order number for reference.

query string
Parameter `filter`

Search index representation of this invoice.

responsible_id integer
Parameter `filter`

ID of the person responsible for this invoice.

sample_data boolean
Response

Whether this record is demo data.

sent_on string
Response Request Parameter `filter` Parameter `sort`

Date when the invoice was sent to the client.

sent_status integer
Parameter `filter` Enum

Sent status of the invoice.

Enum Values (2 values)

  • 1
  • 2
status integer
Parameter `filter` Enum

Combined status for display purposes.

Enum Values (2 values)

  • 1
  • 2
subject string
Response Request Parameter `sort`

Short description of what is being invoiced.

subscriber_id integer
Parameter `filter`

ID of the subscriber person for this invoice.

subscriber_ids object
Request

IDs of people subscribed to notifications for this invoice.

subsidiary subsidiary
Response

The subsidiary issuing this invoice.

subsidiary_id integer
Request Parameter `filter`

ID of the subsidiary issuing this invoice.

tag_list string
Response Request

Tags applied to this invoice.

tags string
Parameter `filter`

Tags applied to this invoice.

tax1_name string
Response Request

Name of the primary tax (e.g. VAT).

tax1_value number
Response Request

Primary tax rate percentage.

tax2_name string
Response Request

Name of the secondary tax, if applicable.

tax2_value number
Response Request

Secondary tax rate percentage.

updated_at string
Response

Timestamp of the last modification to this invoice.