Skip to content

Xero

Reference


Xero is an online accounting software platform designed for small businesses and accountants to manage finances efficiently.

Categories: [accounting]

Version: 1


Connections

Version: 1

OAuth2 Authorization Code

Properties

NameTypeControl TypeDescription
Client IdSTRINGTEXT
Client SecretSTRINGTEXT

Triggers

New Bill

Trigger off whenever a new bill is added.

Type: STATIC_WEBHOOK

Properties

NameTypeControl TypeDescription
Webhook KeySTRINGTEXTThe key used to sign the webhook request.

Output

Type: OBJECT

Properties

TypeControl Type
STRINGTEXT
STRINGTEXT
{STRING(ContactID), STRING(Name), STRING(EmailAddress)}OBJECT_BUILDER
STRINGTEXT
STRINGTEXT
STRINGTEXT
STRINGTEXT
[{STRING(Description), INTEGER(Quantity), NUMBER(UnitAmount)}]ARRAY_BUILDER
STRINGTEXT

New Contact

Triggers when a contact is created.

Type: STATIC_WEBHOOK

Properties

NameTypeControl TypeDescription
Webhook KeySTRINGTEXTThe key used to sign the webhook request.

Output

Type: OBJECT

Properties

TypeControl Type
STRINGTEXT
STRINGTEXT
STRINGTEXT
STRINGTEXT
STRINGTEXT
STRINGTEXT
STRINGTEXT
STRINGTEXT
STRINGTEXT
STRINGTEXT
[{STRING(AddressType), STRING(City), STRING(Region), STRING(PostalCode), STRING(Country)}]ARRAY_BUILDER
[{STRING(PhoneType), STRING(PhoneNumber), STRING(PhoneAreaCode), STRING(PhoneCountryCode)}]ARRAY_BUILDER

New Invoice

Trigger off whenever a new invoice is added.

Type: STATIC_WEBHOOK

Properties

NameTypeControl TypeDescription
Webhook KeySTRINGTEXTThe key used to sign the webhook request.

Output

Type: OBJECT

Properties

TypeControl Type
STRINGTEXT
STRINGTEXT
{STRING(ContactID), STRING(Name), STRING(EmailAddress)}OBJECT_BUILDER
STRINGTEXT
STRINGTEXT
STRINGTEXT
STRINGTEXT
[{STRING(Description), INTEGER(Quantity), NUMBER(UnitAmount)}]ARRAY_BUILDER
STRINGTEXT

Actions

Create Bill

Creates draft bill (Accounts Payable).

Properties

NameTypeControl TypeDescription
ContactSTRINGSELECTContact to create the bill for.
DateDATEDATEDate of the bill. If no date is specified, the current date will be used.
Due DateDATEDATEDate bill is due. If no date is specified, the current date will be used.
Line Amount TypeSTRINGSELECT
Line Items[{STRING(Description), NUMBER(Quantity), NUMBER(UnitAmount), STRING(AccountCode)}($LineItem)]ARRAY_BUILDERLine items on the bill.
CurrencySTRINGSELECTCurrency that bill is raised in.
Invoice ReferenceSTRINGTEXTReference number of the bill.

Output

Type: OBJECT

Properties

TypeControl Type
STRINGTEXT
STRINGTEXT
{STRING(ContactID), STRING(Name), STRING(EmailAddress)}OBJECT_BUILDER
STRINGTEXT
STRINGTEXT
STRINGTEXT
STRINGTEXT
[{STRING(Description), INTEGER(Quantity), NUMBER(UnitAmount)}]ARRAY_BUILDER
STRINGTEXT

Create Contact

Creates a new contact.

Properties

NameTypeControl TypeDescription
NameSTRINGTEXTFull name of a contact or organisation.
Company NumberSTRINGTEXTCompany registration number.
Account NumberSTRINGTEXTUnique account number to identify, reference and search for the contact.
Contact StatusSTRINGSELECTCurrent status of a contact.
First NameSTRINGTEXTFirst name of primary person.
Last NameSTRINGTEXTLast name of primary person.
Email AddressSTRINGEMAILEmail address of contact person.
Bank Account NumberSTRINGTEXTBank account number of contact.
Tax NumberSTRINGTEXTTax number of contact – this is also known as the ABN (Australia), GST Number (New Zealand), VAT Number (UK) or Tax ID Number (US and global) in the Xero UI depending on which regionalized version of Xero you are using.
Phones[{STRING(PhoneType), STRING(PhoneNumber), STRING(PhoneAreaCode), STRING(PhoneCountryCode)}]ARRAY_BUILDER
Addresses[{STRING(AddressType), STRING(City), STRING(Region), STRING(PostalCode), STRING(Country)}]ARRAY_BUILDER

Output

Type: OBJECT

Properties

TypeControl Type
STRINGTEXT
STRINGTEXT
STRINGTEXT
STRINGTEXT
STRINGTEXT
STRINGTEXT
STRINGTEXT
STRINGTEXT
STRINGTEXT
STRINGTEXT
[{STRING(AddressType), STRING(City), STRING(Region), STRING(PostalCode), STRING(Country)}]ARRAY_BUILDER
[{STRING(PhoneType), STRING(PhoneNumber), STRING(PhoneAreaCode), STRING(PhoneCountryCode)}]ARRAY_BUILDER

Create Invoice

Creates draft invoice (Acount Receivable).

Properties

NameTypeControl TypeDescription
ContactSTRINGSELECTContact to create the invoice for.
DateDATEDATEDate invoice was issued. If no date is specified, the current date will be used.
Due DateDATEDATEDate invoice is due. If no date is specified, the current date will be used.
Line Amount TypeSTRINGSELECT
Line Items[{STRING(Description), INTEGER(Quantity), NUMBER(UnitAmount), NUMBER(DiscountRate)}]ARRAY_BUILDERLine items on the invoice.
CurrencySTRINGSELECTCurrency that invoice is raised in.
Invoice ReferenceSTRINGTEXTReference number of the invoice.

Output

Type: OBJECT

Properties

TypeControl Type
STRINGTEXT
STRINGTEXT
{STRING(ContactID), STRING(Name), STRING(EmailAddress)}OBJECT_BUILDER
STRINGTEXT
STRINGTEXT
STRINGTEXT
STRINGTEXT
[{STRING(Description), INTEGER(Quantity), NUMBER(UnitAmount)}]ARRAY_BUILDER
STRINGTEXT

Create Quote

Creates a new quote draft.

Properties

NameTypeControl TypeDescription
ContactSTRINGSELECTFull name of a contact or organisation.
DateDATEDATEDate quote was issued.
Line Items[{STRING(Description), INTEGER(Quantity), NUMBER(UnitAmount), NUMBER(DiscountRate)}]ARRAY_BUILDERLine items on the invoice.
Line Amount TypeSTRINGSELECT
Expiry DateDATEDATEDate quote expires
CurrencySTRINGSELECTThe currency that quote has been raised in.
Quote NumberSTRINGTEXTUnique alpha numeric code identifying a quote.
ReferenceSTRINGTEXTAdditional reference number
Branding ThemeSTRINGSELECTThe branding theme to be applied to this quote.
TitleSTRINGTEXTThe title of the quote.
SummarySTRINGTEXTThe summary of the quote.
TermsSTRINGTEXT_AREAThe terms of the quote.

Output

Type: OBJECT

Properties

TypeControl Type
STRINGTEXT
STRINGTEXT
STRINGTEXT
STRINGTEXT
{STRING(ContactID), STRING(Name), STRING(EmailAddress)}OBJECT_BUILDER
[{STRING(LineItemID), STRING(Description), NUMBER(UnitAmount), INTEGER(DiscountRate), INTEGER(Quantity)}]ARRAY_BUILDER
STRINGTEXT
STRINGTEXT
STRINGTEXT
STRINGTEXT
STRINGTEXT
STRINGTEXT
STRINGTEXT
STRINGTEXT