Close menu
Explore Plans
Mobile menu Close menu
Xero

New sales invoice

This trigger fires when a new sales invoice is created in the organisation you select.

Developer info

API endpoint slug
xero.new_invoice

Trigger fields

Organisation Dropdown list

Label
Which organisation?
Helper text
The Xero organisation to watch.
Slug
organisation
Required
true
Can have default value
false

Status Dropdown list

Label
Only invoices with status
Helper text
Limit to invoices in this status. Choose Any for all new invoices.
Slug
status
Required
true
Can have default value
true

Ingredients

Invoice

Slug
invoice_id
Filter code
Xero.newInvoice.InvoiceId
Type
String
Example
243216c5-369e-4056-ac67-05388f86dc81

Invoice number

Slug
invoice_number
Filter code
Xero.newInvoice.InvoiceNumber
Type
String
Example
INV-0042

Contact name

Slug
contact_name
Filter code
Xero.newInvoice.ContactName
Type
String
Example
Acme Ltd

Contact

Slug
contact_id
Filter code
Xero.newInvoice.ContactId
Type
String
Example
be392c8d-1f2a-4d1b-8f0e-2b6c9d1e4a77

Total

Slug
total
Filter code
Xero.newInvoice.Total
Type
String
Example
250.00

Amount due

Slug
amount_due
Filter code
Xero.newInvoice.AmountDue
Type
String
Example
250.00

Currency code

Slug
currency_code
Filter code
Xero.newInvoice.CurrencyCode
Type
String
Example
USD

Status

Slug
status
Filter code
Xero.newInvoice.Status
Type
String
Example
AUTHORISED

Invoice date

Slug
invoice_date
Filter code
Xero.newInvoice.InvoiceDate
Type
Date (ISO8601)
Example
2020-07-07

Due date

Slug
due_date
Filter code
Xero.newInvoice.DueDate
Type
Date (ISO8601)
Example
2020-07-07