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