POST /Payments

Servers

Request headers

Name Type Required Description
Content-Type String Yes The media type of the request body.

Default value: "application/json"

xero-tenant-id String Yes

Xero identifier for Tenant

Idempotency-Key String No

This allows you to safely retry requests without the risk of duplicate processing. 128 character max.

Request body fields

Name Type Required Description
BatchPayment No
HasAccount Boolean No

A boolean to indicate if a contact has an validation errors

Default value: false

InvoiceNumber String No

Number of invoice or credit note you are applying payment to e.g.INV-4003

Details String No

The information to appear on the supplier's bank account

Prepayment Object No
Prepayment.LineAmountTypes String No

Line amounts are exclusive of tax by default if you don’t specify this element. See Line Amount Types

Possible values:

  • "Inclusive"
  • "Exclusive"
  • "NoTax"
Prepayment.Date String No

The date the prepayment is created YYYY-MM-DD

Prepayment.Payments[] Array No

See Payments

Prepayment.Type String No

See Prepayment Types

Possible values:

  • "APPREPAYMENT"
  • "RECEIVE-PREPAYMENT"
  • "SPEND-PREPAYMENT"
  • "ARPREPAYMENT"
Prepayment.Total Number No

The total of the prepayment(subtotal + total tax)

Prepayment.TotalTax Number No

The total tax on the prepayment

Prepayment.Reference String No

Returns Invoice number field. Reference field isn't available.

Prepayment.LineItems[] Array No

See Prepayment Line Items

Prepayment.LineItems[].Quantity Number No

LineItem Quantity

Prepayment.LineItems[].UnitAmount Number No

LineItem Unit Amount

Prepayment.LineItems[].TaxAmount Number No

The tax amount is auto calculated as a percentage of the line amount (see below) based on the tax rate. This value can be overriden if the calculated is not correct.

Prepayment.LineItems[].Item No
Prepayment.LineItems[].AccountCode String No

See Accounts

Prepayment.LineItems[].RepeatingInvoiceID String No

The Xero identifier for a Repeating Invoice

Prepayment.LineItems[].LineItemID String No

LineItem unique ID

Prepayment.LineItems[].Description String No

Description needs to be at least 1 char long. A line item with just a description (i.e no unit amount or quantity) can be created by specifying just a element that contains at least 1 character

Prepayment.LineItems[].TaxType String No

The tax type from TaxRates

Prepayment.LineItems[].Taxability String No

The type of taxability

Possible values:

  • "NOT_APPLICABLE"
  • "EXEMPT"
  • "PART_TAXABLE"
  • "TAXABLE"
  • "NON_TAXABLE"
Prepayment.LineItems[].TaxBreakdown[] Array No

An array of tax components defined for this line item

Prepayment.LineItems[].TaxBreakdown[].TaxComponentId String No

The unique ID number of this component

Prepayment.LineItems[].TaxBreakdown[].Name String No

The name of the jurisdiction

Prepayment.LineItems[].TaxBreakdown[].Type String No

The type of the jurisdiction

Possible values:

  • "SYSGST/USSPECIAL"
  • "SYSGST/USCOUNTRY"
  • "SYSGST/USCOUNTY"
  • "SYSGST/USSTATE"
  • "SYSGST/USCITY"
Prepayment.LineItems[].TaxBreakdown[].TaxAmount Number No

The amount of the tax

Prepayment.LineItems[].TaxBreakdown[].TaxableAmount Number No

The amount that is taxable

Prepayment.LineItems[].TaxBreakdown[].NonTaxableAmount Number No

The amount that is not taxable

Prepayment.LineItems[].TaxBreakdown[].TaxPercentage Number No

The percentage of the tax

Prepayment.LineItems[].TaxBreakdown[].ExemptAmount Number No

The amount that is exempt

Prepayment.LineItems[].TaxBreakdown[].StateAssignedNo String No

The state assigned number of the jurisdiction

Prepayment.LineItems[].TaxBreakdown[].JurisdictionRegion String No

Name identifying the region within the country

Prepayment.LineItems[].LineAmount Number No

If you wish to omit either the Quantity or UnitAmount you can provide a LineAmount and Xero will calculate the missing amount for you. The line amount reflects the discounted price if either a DiscountRate or DiscountAmount has been used i.e. LineAmount = Quantity * Unit Amount * ((100 - DiscountRate)/100) or LineAmount = (Quantity * UnitAmount) - DiscountAmount

Prepayment.LineItems[].AccountID String No

The associated account ID related to this line item

Prepayment.LineItems[].SalesTaxCodeId Number No

The ID of the sales tax code

Prepayment.LineItems[].ItemCode String No

See Items

Prepayment.LineItems[].Tracking[] Array No

Optional Tracking Category – see Tracking. Any LineItem can have a maximum of 2 elements.

Prepayment.LineItems[].Tracking[].TrackingCategoryID String No

The Xero identifier for a tracking category

Prepayment.LineItems[].Tracking[].Name String No

The name of the tracking category

Prepayment.LineItems[].Tracking[].Option String No

See Tracking Options

Prepayment.LineItems[].Tracking[].TrackingOptionID String No

The Xero identifier for a tracking category option

Prepayment.LineItems[].DiscountAmount Number No

Discount amount being applied to a line item. Only supported on ACCREC invoices and quotes. ACCPAY invoices and credit notes in Xero do not support discounts.

Prepayment.LineItems[].DiscountRate Number No

Percentage discount being applied to a line item (only supported on ACCREC invoices – ACC PAY invoices and credit notes in Xero do not support discounts

Prepayment.UpdatedDateUTC String No

UTC timestamp of last update to the prepayment

Prepayment.SubTotal Number No

The subtotal of the prepayment excluding taxes

Prepayment.CurrencyRate Number No

The currency rate for a multicurrency prepayment. If no rate is specified, the XE.com day rate is used

Prepayment.Status String No

See Prepayment Status Codes

Possible values:

  • "AUTHORISED"
  • "PAID"
  • "VOIDED"
Prepayment.AppliedAmount Number No

The amount of applied to an invoice

Prepayment.Attachments[] Array No

See Attachments

Prepayment.Attachments[].ContentLength Integer No

Length of the file content

Prepayment.Attachments[].IncludeOnline Boolean No

Include the file with the online invoice

Prepayment.Attachments[].AttachmentID String No

Unique ID for the file

Prepayment.Attachments[].MimeType String No

Type of file

Prepayment.Attachments[].Url String No

URL to the file on xero.com

Prepayment.Attachments[].FileName String No

Name of the file

Prepayment.RemainingCredit Number No

The remaining credit balance on the prepayment

Prepayment.Allocations[] Array No

See Allocations

Prepayment.Allocations[].Amount Number Yes

the amount being applied to the invoice

Prepayment.Allocations[].Date String Yes

the date the allocation is applied YYYY-MM-DD.

Prepayment.Allocations[].Prepayment No
Prepayment.Allocations[].Overpayment Object No
Prepayment.Allocations[].Overpayment.LineAmountTypes String No

Line amounts are exclusive of tax by default if you don’t specify this element. See Line Amount Types

Possible values:

  • "Inclusive"
  • "Exclusive"
  • "NoTax"
Prepayment.Allocations[].Overpayment.Date String No

The date the overpayment is created YYYY-MM-DD

Prepayment.Allocations[].Overpayment.Payments[] Array No

See Payments

Prepayment.Allocations[].Overpayment.Type String No

See Overpayment Types

Possible values:

  • "RECEIVE-OVERPAYMENT"
  • "AROVERPAYMENT"
  • "SPEND-OVERPAYMENT"
Prepayment.Allocations[].Overpayment.Total Number No

The total of the overpayment (subtotal + total tax)

Prepayment.Allocations[].Overpayment.TotalTax Number No

The total tax on the overpayment

Prepayment.Allocations[].Overpayment.LineItems[] Array No

See Overpayment Line Items

Prepayment.Allocations[].Overpayment.LineItems[].Quantity Number No

LineItem Quantity

Prepayment.Allocations[].Overpayment.LineItems[].UnitAmount Number No

LineItem Unit Amount

Prepayment.Allocations[].Overpayment.LineItems[].TaxAmount Number No

The tax amount is auto calculated as a percentage of the line amount (see below) based on the tax rate. This value can be overriden if the calculated is not correct.

Prepayment.Allocations[].Overpayment.LineItems[].Item No
Prepayment.Allocations[].Overpayment.LineItems[].AccountCode String No

See Accounts

Prepayment.Allocations[].Overpayment.LineItems[].RepeatingInvoiceID String No

The Xero identifier for a Repeating Invoice

Prepayment.Allocations[].Overpayment.LineItems[].LineItemID String No

LineItem unique ID

Prepayment.Allocations[].Overpayment.LineItems[].Description String No

Description needs to be at least 1 char long. A line item with just a description (i.e no unit amount or quantity) can be created by specifying just a element that contains at least 1 character

Prepayment.Allocations[].Overpayment.LineItems[].TaxType String No

The tax type from TaxRates

Prepayment.Allocations[].Overpayment.LineItems[].Taxability String No

The type of taxability

Possible values:

  • "NOT_APPLICABLE"
  • "EXEMPT"
  • "PART_TAXABLE"
  • "TAXABLE"
  • "NON_TAXABLE"
Prepayment.Allocations[].Overpayment.LineItems[].TaxBreakdown[] Array No

An array of tax components defined for this line item

Prepayment.Allocations[].Overpayment.LineItems[].TaxBreakdown[].TaxComponentId String No

The unique ID number of this component

Prepayment.Allocations[].Overpayment.LineItems[].TaxBreakdown[].Name String No

The name of the jurisdiction

Prepayment.Allocations[].Overpayment.LineItems[].TaxBreakdown[].Type String No

The type of the jurisdiction

Possible values:

  • "SYSGST/USSPECIAL"
  • "SYSGST/USCOUNTRY"
  • "SYSGST/USCOUNTY"
  • "SYSGST/USSTATE"
  • "SYSGST/USCITY"
Prepayment.Allocations[].Overpayment.LineItems[].TaxBreakdown[].TaxAmount Number No

The amount of the tax

Prepayment.Allocations[].Overpayment.LineItems[].TaxBreakdown[].TaxableAmount Number No

The amount that is taxable

Prepayment.Allocations[].Overpayment.LineItems[].TaxBreakdown[].NonTaxableAmount Number No

The amount that is not taxable

Prepayment.Allocations[].Overpayment.LineItems[].TaxBreakdown[].TaxPercentage Number No

The percentage of the tax

Prepayment.Allocations[].Overpayment.LineItems[].TaxBreakdown[].ExemptAmount Number No

The amount that is exempt

Prepayment.Allocations[].Overpayment.LineItems[].TaxBreakdown[].StateAssignedNo String No

The state assigned number of the jurisdiction

Prepayment.Allocations[].Overpayment.LineItems[].TaxBreakdown[].JurisdictionRegion String No

Name identifying the region within the country

Prepayment.Allocations[].Overpayment.LineItems[].LineAmount Number No

If you wish to omit either the Quantity or UnitAmount you can provide a LineAmount and Xero will calculate the missing amount for you. The line amount reflects the discounted price if either a DiscountRate or DiscountAmount has been used i.e. LineAmount = Quantity * Unit Amount * ((100 - DiscountRate)/100) or LineAmount = (Quantity * UnitAmount) - DiscountAmount

Prepayment.Allocations[].Overpayment.LineItems[].AccountID String No

The associated account ID related to this line item

Prepayment.Allocations[].Overpayment.LineItems[].SalesTaxCodeId Number No

The ID of the sales tax code

Prepayment.Allocations[].Overpayment.LineItems[].ItemCode String No

See Items

Prepayment.Allocations[].Overpayment.LineItems[].Tracking[] Array No

Optional Tracking Category – see Tracking. Any LineItem can have a maximum of 2 elements.

Prepayment.Allocations[].Overpayment.LineItems[].Tracking[].TrackingCategoryID String No

The Xero identifier for a tracking category

Prepayment.Allocations[].Overpayment.LineItems[].Tracking[].Name String No

The name of the tracking category

Prepayment.Allocations[].Overpayment.LineItems[].Tracking[].Option String No

See Tracking Options

Prepayment.Allocations[].Overpayment.LineItems[].Tracking[].TrackingOptionID String No

The Xero identifier for a tracking category option

Prepayment.Allocations[].Overpayment.LineItems[].DiscountAmount Number No

Discount amount being applied to a line item. Only supported on ACCREC invoices and quotes. ACCPAY invoices and credit notes in Xero do not support discounts.

Prepayment.Allocations[].Overpayment.LineItems[].DiscountRate Number No

Percentage discount being applied to a line item (only supported on ACCREC invoices – ACC PAY invoices and credit notes in Xero do not support discounts

Prepayment.Allocations[].Overpayment.UpdatedDateUTC String No

UTC timestamp of last update to the overpayment

Prepayment.Allocations[].Overpayment.SubTotal Number No

The subtotal of the overpayment excluding taxes

Prepayment.Allocations[].Overpayment.CurrencyRate Number No

The currency rate for a multicurrency overpayment. If no rate is specified, the XE.com day rate is used

Prepayment.Allocations[].Overpayment.Status String No

See Overpayment Status Codes

Possible values:

  • "AUTHORISED"
  • "PAID"
  • "VOIDED"
Prepayment.Allocations[].Overpayment.OverpaymentID String No

Xero generated unique identifier

Prepayment.Allocations[].Overpayment.AppliedAmount Number No

The amount of applied to an invoice

Prepayment.Allocations[].Overpayment.Attachments[] Array No

See Attachments

Prepayment.Allocations[].Overpayment.Attachments[].ContentLength Integer No

Length of the file content

Prepayment.Allocations[].Overpayment.Attachments[].IncludeOnline Boolean No

Include the file with the online invoice

Prepayment.Allocations[].Overpayment.Attachments[].AttachmentID String No

Unique ID for the file

Prepayment.Allocations[].Overpayment.Attachments[].MimeType String No

Type of file

Prepayment.Allocations[].Overpayment.Attachments[].Url String No

URL to the file on xero.com

Prepayment.Allocations[].Overpayment.Attachments[].FileName String No

Name of the file

Prepayment.Allocations[].Overpayment.RemainingCredit Number No

The remaining credit balance on the overpayment

Prepayment.Allocations[].Overpayment.Allocations[] Array No

See Allocations

Prepayment.Allocations[].Overpayment.Contact Object No
Prepayment.Allocations[].Overpayment.Contact.BankAccountDetails String No

Bank account number of contact

Prepayment.Allocations[].Overpayment.Contact.Website String No

Website address for contact (read only)

Prepayment.Allocations[].Overpayment.Contact.Name String No

Full name of contact/organisation (max length = 255)

Prepayment.Allocations[].Overpayment.Contact.SalesTrackingCategories[] Array No

The default sales tracking categories for contacts

Prepayment.Allocations[].Overpayment.Contact.SalesTrackingCategories[].TrackingOptionName String No

The default purchase tracking category name for contacts

Prepayment.Allocations[].Overpayment.Contact.SalesTrackingCategories[].TrackingCategoryName String No

The default sales tracking category name for contacts

Prepayment.Allocations[].Overpayment.Contact.SalesDefaultLineAmountType String No

The default sales line amount type for a contact. Only available when summaryOnly parameter or paging is used, or when fetch by ContactId or ContactNumber.

Possible values:

  • "INCLUSIVE"
  • "NONE"
  • "EXCLUSIVE"
Prepayment.Allocations[].Overpayment.Contact.TrackingCategoryOption String No

The name of the Tracking Option assigned to the contact under SalesTrackingCategories and PurchasesTrackingCategories

Prepayment.Allocations[].Overpayment.Contact.TaxNumber String No

Tax 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 (max length = 50)

Prepayment.Allocations[].Overpayment.Contact.TrackingCategoryName String No

The name of the Tracking Category assigned to the contact under SalesTrackingCategories and PurchasesTrackingCategories

Prepayment.Allocations[].Overpayment.Contact.LastName String No

Last name of contact person (max length = 255)

Prepayment.Allocations[].Overpayment.Contact.IsSupplier Boolean No

true or false – Boolean that describes if a contact that has any AP invoices entered against them. Cannot be set via PUT or POST – it is automatically set when an accounts payable invoice is generated against this contact.

Prepayment.Allocations[].Overpayment.Contact.PurchasesTrackingCategories[] Array No

The default purchases tracking categories for contacts

Prepayment.Allocations[].Overpayment.Contact.PurchasesTrackingCategories[].TrackingOptionName String No

The default purchase tracking category name for contacts

Prepayment.Allocations[].Overpayment.Contact.PurchasesTrackingCategories[].TrackingCategoryName String No

The default sales tracking category name for contacts

Prepayment.Allocations[].Overpayment.Contact.UpdatedDateUTC String No

UTC timestamp of last update to contact

Prepayment.Allocations[].Overpayment.Contact.BrandingTheme Object No
Prepayment.Allocations[].Overpayment.Contact.BrandingTheme.Name String No

Name of branding theme

Prepayment.Allocations[].Overpayment.Contact.BrandingTheme.BrandingThemeID String No

Xero identifier

Prepayment.Allocations[].Overpayment.Contact.BrandingTheme.Type String No

Always INVOICE

Possible values:

  • "INVOICE"
Prepayment.Allocations[].Overpayment.Contact.BrandingTheme.LogoUrl String No

The location of the image file used as the logo on this branding theme

Prepayment.Allocations[].Overpayment.Contact.BrandingTheme.SortOrder Integer No

Integer – ranked order of branding theme. The default branding theme has a value of 0

Prepayment.Allocations[].Overpayment.Contact.BrandingTheme.CreatedDateUTC String No

UTC timestamp of creation date of branding theme

Prepayment.Allocations[].Overpayment.Contact.IsCustomer Boolean No

true or false – Boolean that describes if a contact has any AR invoices entered against them. Cannot be set via PUT or POST – it is automatically set when an accounts receivable invoice is generated against this contact.

Prepayment.Allocations[].Overpayment.Contact.PurchasesDefaultLineAmountType String No

The default purchases line amount type for a contact Only available when summaryOnly parameter or paging is used, or when fetch by ContactId or ContactNumber.

Possible values:

  • "INCLUSIVE"
  • "NONE"
  • "EXCLUSIVE"
Prepayment.Allocations[].Overpayment.Contact.Attachments[] Array No

Displays array of attachments from the API

Prepayment.Allocations[].Overpayment.Contact.Attachments[].ContentLength Integer No

Length of the file content

Prepayment.Allocations[].Overpayment.Contact.Attachments[].IncludeOnline Boolean No

Include the file with the online invoice

Prepayment.Allocations[].Overpayment.Contact.Attachments[].AttachmentID String No

Unique ID for the file

Prepayment.Allocations[].Overpayment.Contact.Attachments[].MimeType String No

Type of file

Prepayment.Allocations[].Overpayment.Contact.Attachments[].Url String No

URL to the file on xero.com

Prepayment.Allocations[].Overpayment.Contact.Attachments[].FileName String No

Name of the file

Prepayment.Allocations[].Overpayment.Contact.PurchasesDefaultAccountCode String No

The default purchases account code for contacts

Prepayment.Allocations[].Overpayment.Contact.ContactID String No

Xero identifier

Prepayment.Allocations[].Overpayment.Contact.AccountsPayableTaxType String No

The tax type from TaxRates

Prepayment.Allocations[].Overpayment.Contact.ContactStatus String No

Current status of a contact – see contact status types

Possible values:

  • "ARCHIVED"
  • "ACTIVE"
  • "GDPRREQUEST"
Prepayment.Allocations[].Overpayment.Contact.Addresses[] Array No

Store certain address types for a contact – see address types

Prepayment.Allocations[].Overpayment.Contact.Addresses[].City String No

max length = 255

Prepayment.Allocations[].Overpayment.Contact.Addresses[].AddressType String No

define the type of address

Possible values:

  • "STREET"
  • "POBOX"
Prepayment.Allocations[].Overpayment.Contact.Addresses[].AttentionTo String No

max length = 255

Prepayment.Allocations[].Overpayment.Contact.Addresses[].AddressLine2 String No

max length = 500

Prepayment.Allocations[].Overpayment.Contact.Addresses[].Region String No

max length = 255

Prepayment.Allocations[].Overpayment.Contact.Addresses[].Country String No

max length = 50, [A-Z], [a-z] only

Prepayment.Allocations[].Overpayment.Contact.Addresses[].AddressLine1 String No

max length = 500

Prepayment.Allocations[].Overpayment.Contact.Addresses[].AddressLine4 String No

max length = 500

Prepayment.Allocations[].Overpayment.Contact.Addresses[].AddressLine3 String No

max length = 500

Prepayment.Allocations[].Overpayment.Contact.Addresses[].PostalCode String No

max length = 50

Prepayment.Allocations[].Overpayment.Contact.StatusAttributeString String No

Status of object

Prepayment.Allocations[].Overpayment.Contact.CompanyNumber String No

Company registration number (max length = 50)

Prepayment.Allocations[].Overpayment.Contact.Phones[] Array No

Store certain phone types for a contact – see phone types

Prepayment.Allocations[].Overpayment.Contact.Phones[].PhoneType String No

Possible values:

  • "DEFAULT"
  • "OFFICE"
  • "DDI"
  • "MOBILE"
  • "FAX"
Prepayment.Allocations[].Overpayment.Contact.Phones[].PhoneNumber String No

max length = 50

Prepayment.Allocations[].Overpayment.Contact.Phones[].PhoneAreaCode String No

max length = 10

Prepayment.Allocations[].Overpayment.Contact.Phones[].PhoneCountryCode String No

max length = 20

Prepayment.Allocations[].Overpayment.Contact.BatchPayments No

Bank details for use on a batch payment stored with each contact

Prepayment.Allocations[].Overpayment.Contact.FirstName String No

First name of contact person (max length = 255)

Prepayment.Allocations[].Overpayment.Contact.SalesDefaultAccountCode String No

The default sales account code for contacts

Prepayment.Allocations[].Overpayment.Contact.ContactNumber String No

This can be updated via the API only i.e. This field is read only on the Xero contact screen, used to identify contacts in external systems (max length = 50). If the Contact Number is used, this is displayed as Contact Code in the Contacts UI in Xero.

Prepayment.Allocations[].Overpayment.Contact.AccountsReceivableTaxType String No

The tax type from TaxRates

Prepayment.Allocations[].Overpayment.Contact.DefaultCurrency String No

3 letter alpha code for the currency – see list of currency codes

Possible values:

  • "ISK"
  • "JMD"
  • "LTL"
  • "SVC"
  • "SAR"
  • "EEK"
  • "TTD"
  • "SBD"
  • "SHP"
  • "GBP"
  • "TRY"
  • "MOP"
  • "INR"
  • "MAD"
  • "CUP"
  • "CLF"
  • "SRD"
  • "SZL"
  • "IRR"
  • "CHF"
  • "EUR"
  • "KZT"
  • "ALL"
  • "MZN"
  • "CDF"
  • "BZD"
  • "KES"
  • "AOA"
  • "NGN"
  • "SEK"
  • "BND"
  • "UYU"
  • "BRL"
  • "YER"
  • "ANG"
  • "BYR"
  • "MRO"
  • "DJF"
  • "LSL"
  • "BBD"
  • "MGA"
  • "VND"
  • "DOP"
  • "TJS"
  • "FJD"
  • "BGN"
  • "TWD"
  • "QAR"
  • "VES"
  • "CNY"
  • "AUD"
  • "ZMW"
  • "WST"
  • "MDL"
  • "KHR"
  • "NZD"
  • "AMD"
  • "AZN"
  • "TZS"
  • "GIP"
  • "AED"
  • "AFN"
  • "DZD"
  • "PKR"
  • "KYD"
  • "AWG"
  • "BSD"
  • "PEN"
  • "XAF"
  • "NAD"
  • "ZWD"
  • "BTN"
  • "KRW"
  • "NPR"
  • "FKP"
  • "TND"
  • "LVL"
  • "MWK"
  • "JOD"
  • "LRD"
  • "RSD"
  • "SCR"
  • "HUF"
  • "IDR"
  • "LAK"
  • "UAH"
  • "ZAR"
  • "OMR"
  • "PGK"
  • "SLL"
  • "MVR"
  • "USD"
  • "MXV"
  • "MKD"
  • "COP"
  • "CAD"
  • "KMF"
  • "MXN"
  • "PYG"
  • "XCD"
  • "STD"
  • "IQD"
  • "TOP"
  • "VEF"
  • "VUV"
  • "SOS"
  • "CVE"
  • "CUC"
  • "KGS"
  • "TMT"
  • "THB"
  • "BOB"
  • "UZS"
  • "BYN"
  • "SKK"
  • "ILS"
  • "PLN"
  • "RON"
  • "BHD"
  • "BIF"
  • "SLE"
  • "XPF"
  • "ARS"
  • "GTQ"
  • "RUB"
  • "HKD"
  • "ZMK"
  • "RWF"
  • "BDT"
  • "ETB"
  • "LYD"
  • "JPY"
  • "SGD"
  • "STN"
  • "MNT"
  • "NIO"
  • "GEL"
  • "MUR"
  • "NOK"
  • "ERN"
  • "SYP"
  • "MYR"
  • "DKK"
  • "HRK"
  • "CLP"
  • "GNF"
  • "GMD"
  • "BAM"
  • "HTG"
  • "LBP"
  • "PHP"
  • "EGP"
  • "SDG"
  • "CRC"
  • "CZK"
  • "KWD"
  • "KPW"
  • "GHS"
  • "GYD"
  • "LKR"
  • "BMD"
  • "BWP"
  • "MRU"
  • "PAB"
  • "UGX"
  • "MMK"
  • "XOF"
  • "HNL"
Prepayment.Allocations[].Overpayment.Contact.HasValidationErrors Boolean No

A boolean to indicate if a contact has an validation errors

Default value: false

Prepayment.Allocations[].Overpayment.Contact.AccountNumber String No

A user defined account number. This can be updated via the API and the Xero UI (max length = 50)

Prepayment.Allocations[].Overpayment.Contact.Balances Object No

The raw AccountsReceivable(sales invoices) and AccountsPayable(bills) outstanding and overdue amounts, not converted to base currency (read only)

Prepayment.Allocations[].Overpayment.Contact.Balances.AccountsReceivable Object No
Prepayment.Allocations[].Overpayment.Contact.Balances.AccountsReceivable.Overdue Number No
Prepayment.Allocations[].Overpayment.Contact.Balances.AccountsReceivable.Outstanding Number No
Prepayment.Allocations[].Overpayment.Contact.Balances.AccountsPayable Object No
Prepayment.Allocations[].Overpayment.Contact.Balances.AccountsPayable.Overdue Number No
Prepayment.Allocations[].Overpayment.Contact.Balances.AccountsPayable.Outstanding Number No
Prepayment.Allocations[].Overpayment.Contact.XeroNetworkKey String No

Store XeroNetworkKey for contacts.

Prepayment.Allocations[].Overpayment.Contact.Discount Number No

The default discount rate for the contact (read only)

Prepayment.Allocations[].Overpayment.Contact.MergedToContactID String No

ID for the destination of a merged contact. Only returned when using paging or when fetching a contact by ContactId or ContactNumber.

Prepayment.Allocations[].Overpayment.Contact.ValidationErrors[] Array No

Displays validation errors returned from the API

Prepayment.Allocations[].Overpayment.Contact.ValidationErrors[].Message String No

Validation error message

Prepayment.Allocations[].Overpayment.Contact.EmailAddress String No

Email address of contact person (umlauts not supported) (max length = 255)

Prepayment.Allocations[].Overpayment.Contact.HasAttachments Boolean No

A boolean to indicate if a contact has an attachment

Default value: false

Prepayment.Allocations[].Overpayment.Contact.PaymentTerms Object No
Prepayment.Allocations[].Overpayment.Contact.PaymentTerms.Bills Object No
Prepayment.Allocations[].Overpayment.Contact.PaymentTerms.Bills.Day Integer No

Day of Month (0-31)

Prepayment.Allocations[].Overpayment.Contact.PaymentTerms.Bills.Type String No

Possible values:

  • "DAYSAFTERBILLMONTH"
  • "OFCURRENTMONTH"
  • "DAYSAFTERBILLDATE"
  • "OFFOLLOWINGMONTH"
Prepayment.Allocations[].Overpayment.Contact.PaymentTerms.Sales Object No
Prepayment.Allocations[].Overpayment.Contact.PaymentTerms.Sales.Day Integer No

Day of Month (0-31)

Prepayment.Allocations[].Overpayment.Contact.PaymentTerms.Sales.Type String No

Possible values:

  • "DAYSAFTERBILLMONTH"
  • "OFCURRENTMONTH"
  • "DAYSAFTERBILLDATE"
  • "OFFOLLOWINGMONTH"
Prepayment.Allocations[].Overpayment.Contact.ContactGroups[] Array No

Displays which contact groups a contact is included in

Prepayment.Allocations[].Overpayment.Contact.ContactGroups[].Name String No

The Name of the contact group. Required when creating a new contact group

Prepayment.Allocations[].Overpayment.Contact.ContactGroups[].Status String No

The Status of a contact group. To delete a contact group update the status to DELETED. Only contact groups with a status of ACTIVE are returned on GETs.

Possible values:

  • "DELETED"
  • "ACTIVE"
Prepayment.Allocations[].Overpayment.Contact.ContactGroups[].ContactGroupID String No

The Xero identifier for an contact group – specified as a string following the endpoint name. e.g. /297c2dc5-cc47-4afd-8ec8-74990b8761e9

Prepayment.Allocations[].Overpayment.Contact.ContactGroups[].Contacts[] Array No

The ContactID and Name of Contacts in a contact group. Returned on GETs when the ContactGroupID is supplied in the URL.

Prepayment.Allocations[].Overpayment.Contact.ContactPersons[] Array No

See contact persons

Prepayment.Allocations[].Overpayment.Contact.ContactPersons[].IncludeInEmails Boolean No

boolean to indicate whether contact should be included on emails with invoices etc.

Prepayment.Allocations[].Overpayment.Contact.ContactPersons[].EmailAddress String No

Email address of person

Prepayment.Allocations[].Overpayment.Contact.ContactPersons[].LastName String No

Last name of person

Prepayment.Allocations[].Overpayment.Contact.ContactPersons[].FirstName String No

First name of person

Prepayment.Allocations[].Overpayment.HasAttachments Boolean No

boolean to indicate if a overpayment has an attachment

Default value: false

Prepayment.Allocations[].Overpayment.CurrencyCode String No

3 letter alpha code for the currency – see list of currency codes

Possible values:

  • "ISK"
  • "JMD"
  • "LTL"
  • "SVC"
  • "SAR"
  • "EEK"
  • "TTD"
  • "SBD"
  • "SHP"
  • "GBP"
  • "TRY"
  • "MOP"
  • "INR"
  • "MAD"
  • "CUP"
  • "CLF"
  • "SRD"
  • "SZL"
  • "IRR"
  • "CHF"
  • "EUR"
  • "KZT"
  • "ALL"
  • "MZN"
  • "CDF"
  • "BZD"
  • "KES"
  • "AOA"
  • "NGN"
  • "SEK"
  • "BND"
  • "UYU"
  • "BRL"
  • "YER"
  • "ANG"
  • "BYR"
  • "MRO"
  • "DJF"
  • "LSL"
  • "BBD"
  • "MGA"
  • "VND"
  • "DOP"
  • "TJS"
  • "FJD"
  • "BGN"
  • "TWD"
  • "QAR"
  • "VES"
  • "CNY"
  • "AUD"
  • "ZMW"
  • "WST"
  • "MDL"
  • "KHR"
  • "NZD"
  • "AMD"
  • "AZN"
  • "TZS"
  • "GIP"
  • "AED"
  • "AFN"
  • "DZD"
  • "PKR"
  • "KYD"
  • "AWG"
  • "BSD"
  • "PEN"
  • "XAF"
  • "NAD"
  • "ZWD"
  • "BTN"
  • "KRW"
  • "NPR"
  • "FKP"
  • "TND"
  • "LVL"
  • "MWK"
  • "JOD"
  • "LRD"
  • "RSD"
  • "SCR"
  • "HUF"
  • "IDR"
  • "LAK"
  • "UAH"
  • "ZAR"
  • "OMR"
  • "PGK"
  • "SLL"
  • "MVR"
  • "USD"
  • "MXV"
  • "MKD"
  • "COP"
  • "CAD"
  • "KMF"
  • "MXN"
  • "PYG"
  • "XCD"
  • "STD"
  • "IQD"
  • "TOP"
  • "VEF"
  • "VUV"
  • "SOS"
  • "CVE"
  • "CUC"
  • "KGS"
  • "TMT"
  • "THB"
  • "BOB"
  • "UZS"
  • "BYN"
  • "SKK"
  • "ILS"
  • "PLN"
  • "RON"
  • "BHD"
  • "BIF"
  • "SLE"
  • "XPF"
  • "ARS"
  • "GTQ"
  • "RUB"
  • "HKD"
  • "ZMK"
  • "RWF"
  • "BDT"
  • "ETB"
  • "LYD"
  • "JPY"
  • "SGD"
  • "STN"
  • "MNT"
  • "NIO"
  • "GEL"
  • "MUR"
  • "NOK"
  • "ERN"
  • "SYP"
  • "MYR"
  • "DKK"
  • "HRK"
  • "CLP"
  • "GNF"
  • "GMD"
  • "BAM"
  • "HTG"
  • "LBP"
  • "PHP"
  • "EGP"
  • "SDG"
  • "CRC"
  • "CZK"
  • "KWD"
  • "KPW"
  • "GHS"
  • "GYD"
  • "LKR"
  • "BMD"
  • "BWP"
  • "MRU"
  • "PAB"
  • "UGX"
  • "MMK"
  • "XOF"
  • "HNL"
Prepayment.Allocations[].StatusAttributeString String No

A string to indicate if a invoice status

Prepayment.Allocations[].ValidationErrors[] Array No

Displays array of validation error messages from the API

Prepayment.Allocations[].ValidationErrors[].Message String No

Validation error message

Prepayment.Allocations[].IsDeleted Boolean No

A flag that returns true when the allocation is succesfully deleted

Prepayment.Allocations[].AllocationID String No

Xero generated unique identifier

Prepayment.Allocations[].Invoice Yes
Prepayment.Allocations[].CreditNote Object No
Prepayment.Allocations[].CreditNote.HasErrors Boolean No

A boolean to indicate if a credit note has an validation errors

Default value: false

Prepayment.Allocations[].CreditNote.Payments[] Array No

See Payments

Prepayment.Allocations[].CreditNote.Total Number No

The total of the Credit Note(subtotal + total tax)

Prepayment.Allocations[].CreditNote.FullyPaidOnDate String No

Date when credit note was fully paid(UTC format)

Prepayment.Allocations[].CreditNote.InvoiceAddresses[] Array No

An array of addresses used to auto calculate sales tax

Prepayment.Allocations[].CreditNote.InvoiceAddresses[].City String No

City of a physical address

Prepayment.Allocations[].CreditNote.InvoiceAddresses[].AddressLine2 String No

Second line of a physical address

Prepayment.Allocations[].CreditNote.InvoiceAddresses[].Region String No

Region or state of a physical address

Prepayment.Allocations[].CreditNote.InvoiceAddresses[].Country String No

Country of a physical address

Prepayment.Allocations[].CreditNote.InvoiceAddresses[].AddressLine1 String No

First line of a physical address

Prepayment.Allocations[].CreditNote.InvoiceAddresses[].InvoiceAddressType String No

Indicates whether the address is defined as origin (FROM) or destination (TO)

Possible values:

  • "FROM"
  • "TO"
Prepayment.Allocations[].CreditNote.InvoiceAddresses[].AddressLine4 String No

Fourth line of a physical address

Prepayment.Allocations[].CreditNote.InvoiceAddresses[].AddressLine3 String No

Third line of a physical address

Prepayment.Allocations[].CreditNote.InvoiceAddresses[].PostalCode String No

Postal code of a physical address

Prepayment.Allocations[].CreditNote.UpdatedDateUTC String No

UTC timestamp of last update to the credit note

Prepayment.Allocations[].CreditNote.CurrencyRate Number No

The currency rate for a multicurrency invoice. If no rate is specified, the XE.com day rate is used

Prepayment.Allocations[].CreditNote.RemainingCredit Number No

The remaining credit balance on the Credit Note

Prepayment.Allocations[].CreditNote.Allocations[] Array No

See Allocations

Prepayment.Allocations[].CreditNote.Contact Object No
Prepayment.Allocations[].CreditNote.Contact.BankAccountDetails String No

Bank account number of contact

Prepayment.Allocations[].CreditNote.Contact.Website String No

Website address for contact (read only)

Prepayment.Allocations[].CreditNote.Contact.Name String No

Full name of contact/organisation (max length = 255)

Prepayment.Allocations[].CreditNote.Contact.SalesTrackingCategories[] Array No

The default sales tracking categories for contacts

Prepayment.Allocations[].CreditNote.Contact.SalesTrackingCategories[].TrackingOptionName String No

The default purchase tracking category name for contacts

Prepayment.Allocations[].CreditNote.Contact.SalesTrackingCategories[].TrackingCategoryName String No

The default sales tracking category name for contacts

Prepayment.Allocations[].CreditNote.Contact.SalesDefaultLineAmountType String No

The default sales line amount type for a contact. Only available when summaryOnly parameter or paging is used, or when fetch by ContactId or ContactNumber.

Possible values:

  • "INCLUSIVE"
  • "NONE"
  • "EXCLUSIVE"
Prepayment.Allocations[].CreditNote.Contact.TrackingCategoryOption String No

The name of the Tracking Option assigned to the contact under SalesTrackingCategories and PurchasesTrackingCategories

Prepayment.Allocations[].CreditNote.Contact.TaxNumber String No

Tax 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 (max length = 50)

Prepayment.Allocations[].CreditNote.Contact.TrackingCategoryName String No

The name of the Tracking Category assigned to the contact under SalesTrackingCategories and PurchasesTrackingCategories

Prepayment.Allocations[].CreditNote.Contact.LastName String No

Last name of contact person (max length = 255)

Prepayment.Allocations[].CreditNote.Contact.IsSupplier Boolean No

true or false – Boolean that describes if a contact that has any AP invoices entered against them. Cannot be set via PUT or POST – it is automatically set when an accounts payable invoice is generated against this contact.

Prepayment.Allocations[].CreditNote.Contact.PurchasesTrackingCategories[] Array No

The default purchases tracking categories for contacts

Prepayment.Allocations[].CreditNote.Contact.PurchasesTrackingCategories[].TrackingOptionName String No

The default purchase tracking category name for contacts

Prepayment.Allocations[].CreditNote.Contact.PurchasesTrackingCategories[].TrackingCategoryName String No

The default sales tracking category name for contacts

Prepayment.Allocations[].CreditNote.Contact.UpdatedDateUTC String No

UTC timestamp of last update to contact

Prepayment.Allocations[].CreditNote.Contact.BrandingTheme Object No
Prepayment.Allocations[].CreditNote.Contact.BrandingTheme.Name String No

Name of branding theme

Prepayment.Allocations[].CreditNote.Contact.BrandingTheme.BrandingThemeID String No

Xero identifier

Prepayment.Allocations[].CreditNote.Contact.BrandingTheme.Type String No

Always INVOICE

Possible values:

  • "INVOICE"
Prepayment.Allocations[].CreditNote.Contact.BrandingTheme.LogoUrl String No

The location of the image file used as the logo on this branding theme

Prepayment.Allocations[].CreditNote.Contact.BrandingTheme.SortOrder Integer No

Integer – ranked order of branding theme. The default branding theme has a value of 0

Prepayment.Allocations[].CreditNote.Contact.BrandingTheme.CreatedDateUTC String No

UTC timestamp of creation date of branding theme

Prepayment.Allocations[].CreditNote.Contact.IsCustomer Boolean No

true or false – Boolean that describes if a contact has any AR invoices entered against them. Cannot be set via PUT or POST – it is automatically set when an accounts receivable invoice is generated against this contact.

Prepayment.Allocations[].CreditNote.Contact.PurchasesDefaultLineAmountType String No

The default purchases line amount type for a contact Only available when summaryOnly parameter or paging is used, or when fetch by ContactId or ContactNumber.

Possible values:

  • "INCLUSIVE"
  • "NONE"
  • "EXCLUSIVE"
Prepayment.Allocations[].CreditNote.Contact.Attachments[] Array No

Displays array of attachments from the API

Prepayment.Allocations[].CreditNote.Contact.Attachments[].ContentLength Integer No

Length of the file content

Prepayment.Allocations[].CreditNote.Contact.Attachments[].IncludeOnline Boolean No

Include the file with the online invoice

Prepayment.Allocations[].CreditNote.Contact.Attachments[].AttachmentID String No

Unique ID for the file

Prepayment.Allocations[].CreditNote.Contact.Attachments[].MimeType String No

Type of file

Prepayment.Allocations[].CreditNote.Contact.Attachments[].Url String No

URL to the file on xero.com

Prepayment.Allocations[].CreditNote.Contact.Attachments[].FileName String No

Name of the file

Prepayment.Allocations[].CreditNote.Contact.PurchasesDefaultAccountCode String No

The default purchases account code for contacts

Prepayment.Allocations[].CreditNote.Contact.ContactID String No

Xero identifier

Prepayment.Allocations[].CreditNote.Contact.AccountsPayableTaxType String No

The tax type from TaxRates

Prepayment.Allocations[].CreditNote.Contact.ContactStatus String No

Current status of a contact – see contact status types

Possible values:

  • "ARCHIVED"
  • "ACTIVE"
  • "GDPRREQUEST"
Prepayment.Allocations[].CreditNote.Contact.Addresses[] Array No

Store certain address types for a contact – see address types

Prepayment.Allocations[].CreditNote.Contact.Addresses[].City String No

max length = 255

Prepayment.Allocations[].CreditNote.Contact.Addresses[].AddressType String No

define the type of address

Possible values:

  • "STREET"
  • "POBOX"
Prepayment.Allocations[].CreditNote.Contact.Addresses[].AttentionTo String No

max length = 255

Prepayment.Allocations[].CreditNote.Contact.Addresses[].AddressLine2 String No

max length = 500

Prepayment.Allocations[].CreditNote.Contact.Addresses[].Region String No

max length = 255

Prepayment.Allocations[].CreditNote.Contact.Addresses[].Country String No

max length = 50, [A-Z], [a-z] only

Prepayment.Allocations[].CreditNote.Contact.Addresses[].AddressLine1 String No

max length = 500

Prepayment.Allocations[].CreditNote.Contact.Addresses[].AddressLine4 String No

max length = 500

Prepayment.Allocations[].CreditNote.Contact.Addresses[].AddressLine3 String No

max length = 500

Prepayment.Allocations[].CreditNote.Contact.Addresses[].PostalCode String No

max length = 50

Prepayment.Allocations[].CreditNote.Contact.StatusAttributeString String No

Status of object

Prepayment.Allocations[].CreditNote.Contact.CompanyNumber String No

Company registration number (max length = 50)

Prepayment.Allocations[].CreditNote.Contact.Phones[] Array No

Store certain phone types for a contact – see phone types

Prepayment.Allocations[].CreditNote.Contact.Phones[].PhoneType String No

Possible values:

  • "DEFAULT"
  • "OFFICE"
  • "DDI"
  • "MOBILE"
  • "FAX"
Prepayment.Allocations[].CreditNote.Contact.Phones[].PhoneNumber String No

max length = 50

Prepayment.Allocations[].CreditNote.Contact.Phones[].PhoneAreaCode String No

max length = 10

Prepayment.Allocations[].CreditNote.Contact.Phones[].PhoneCountryCode String No

max length = 20

Prepayment.Allocations[].CreditNote.Contact.BatchPayments No

Bank details for use on a batch payment stored with each contact

Prepayment.Allocations[].CreditNote.Contact.FirstName String No

First name of contact person (max length = 255)

Prepayment.Allocations[].CreditNote.Contact.SalesDefaultAccountCode String No

The default sales account code for contacts

Prepayment.Allocations[].CreditNote.Contact.ContactNumber String No

This can be updated via the API only i.e. This field is read only on the Xero contact screen, used to identify contacts in external systems (max length = 50). If the Contact Number is used, this is displayed as Contact Code in the Contacts UI in Xero.

Prepayment.Allocations[].CreditNote.Contact.AccountsReceivableTaxType String No

The tax type from TaxRates

Prepayment.Allocations[].CreditNote.Contact.DefaultCurrency String No

3 letter alpha code for the currency – see list of currency codes

Possible values:

  • "ISK"
  • "JMD"
  • "LTL"
  • "SVC"
  • "SAR"
  • "EEK"
  • "TTD"
  • "SBD"
  • "SHP"
  • "GBP"
  • "TRY"
  • "MOP"
  • "INR"
  • "MAD"
  • "CUP"
  • "CLF"
  • "SRD"
  • "SZL"
  • "IRR"
  • "CHF"
  • "EUR"
  • "KZT"
  • "ALL"
  • "MZN"
  • "CDF"
  • "BZD"
  • "KES"
  • "AOA"
  • "NGN"
  • "SEK"
  • "BND"
  • "UYU"
  • "BRL"
  • "YER"
  • "ANG"
  • "BYR"
  • "MRO"
  • "DJF"
  • "LSL"
  • "BBD"
  • "MGA"
  • "VND"
  • "DOP"
  • "TJS"
  • "FJD"
  • "BGN"
  • "TWD"
  • "QAR"
  • "VES"
  • "CNY"
  • "AUD"
  • "ZMW"
  • "WST"
  • "MDL"
  • "KHR"
  • "NZD"
  • "AMD"
  • "AZN"
  • "TZS"
  • "GIP"
  • "AED"
  • "AFN"
  • "DZD"
  • "PKR"
  • "KYD"
  • "AWG"
  • "BSD"
  • "PEN"
  • "XAF"
  • "NAD"
  • "ZWD"
  • "BTN"
  • "KRW"
  • "NPR"
  • "FKP"
  • "TND"
  • "LVL"
  • "MWK"
  • "JOD"
  • "LRD"
  • "RSD"
  • "SCR"
  • "HUF"
  • "IDR"
  • "LAK"
  • "UAH"
  • "ZAR"
  • "OMR"
  • "PGK"
  • "SLL"
  • "MVR"
  • "USD"
  • "MXV"
  • "MKD"
  • "COP"
  • "CAD"
  • "KMF"
  • "MXN"
  • "PYG"
  • "XCD"
  • "STD"
  • "IQD"
  • "TOP"
  • "VEF"
  • "VUV"
  • "SOS"
  • "CVE"
  • "CUC"
  • "KGS"
  • "TMT"
  • "THB"
  • "BOB"
  • "UZS"
  • "BYN"
  • "SKK"
  • "ILS"
  • "PLN"
  • "RON"
  • "BHD"
  • "BIF"
  • "SLE"
  • "XPF"
  • "ARS"
  • "GTQ"
  • "RUB"
  • "HKD"
  • "ZMK"
  • "RWF"
  • "BDT"
  • "ETB"
  • "LYD"
  • "JPY"
  • "SGD"
  • "STN"
  • "MNT"
  • "NIO"
  • "GEL"
  • "MUR"
  • "NOK"
  • "ERN"
  • "SYP"
  • "MYR"
  • "DKK"
  • "HRK"
  • "CLP"
  • "GNF"
  • "GMD"
  • "BAM"
  • "HTG"
  • "LBP"
  • "PHP"
  • "EGP"
  • "SDG"
  • "CRC"
  • "CZK"
  • "KWD"
  • "KPW"
  • "GHS"
  • "GYD"
  • "LKR"
  • "BMD"
  • "BWP"
  • "MRU"
  • "PAB"
  • "UGX"
  • "MMK"
  • "XOF"
  • "HNL"
Prepayment.Allocations[].CreditNote.Contact.HasValidationErrors Boolean No

A boolean to indicate if a contact has an validation errors

Default value: false

Prepayment.Allocations[].CreditNote.Contact.AccountNumber String No

A user defined account number. This can be updated via the API and the Xero UI (max length = 50)

Prepayment.Allocations[].CreditNote.Contact.Balances Object No

The raw AccountsReceivable(sales invoices) and AccountsPayable(bills) outstanding and overdue amounts, not converted to base currency (read only)

Prepayment.Allocations[].CreditNote.Contact.Balances.AccountsReceivable Object No
Prepayment.Allocations[].CreditNote.Contact.Balances.AccountsReceivable.Overdue Number No
Prepayment.Allocations[].CreditNote.Contact.Balances.AccountsReceivable.Outstanding Number No
Prepayment.Allocations[].CreditNote.Contact.Balances.AccountsPayable Object No
Prepayment.Allocations[].CreditNote.Contact.Balances.AccountsPayable.Overdue Number No
Prepayment.Allocations[].CreditNote.Contact.Balances.AccountsPayable.Outstanding Number No
Prepayment.Allocations[].CreditNote.Contact.XeroNetworkKey String No

Store XeroNetworkKey for contacts.

Prepayment.Allocations[].CreditNote.Contact.Discount Number No

The default discount rate for the contact (read only)

Prepayment.Allocations[].CreditNote.Contact.MergedToContactID String No

ID for the destination of a merged contact. Only returned when using paging or when fetching a contact by ContactId or ContactNumber.

Prepayment.Allocations[].CreditNote.Contact.ValidationErrors[] Array No

Displays validation errors returned from the API

Prepayment.Allocations[].CreditNote.Contact.ValidationErrors[].Message String No

Validation error message

Prepayment.Allocations[].CreditNote.Contact.EmailAddress String No

Email address of contact person (umlauts not supported) (max length = 255)

Prepayment.Allocations[].CreditNote.Contact.HasAttachments Boolean No

A boolean to indicate if a contact has an attachment

Default value: false

Prepayment.Allocations[].CreditNote.Contact.PaymentTerms Object No
Prepayment.Allocations[].CreditNote.Contact.PaymentTerms.Bills Object No
Prepayment.Allocations[].CreditNote.Contact.PaymentTerms.Bills.Day Integer No

Day of Month (0-31)

Prepayment.Allocations[].CreditNote.Contact.PaymentTerms.Bills.Type String No

Possible values:

  • "DAYSAFTERBILLMONTH"
  • "OFCURRENTMONTH"
  • "DAYSAFTERBILLDATE"
  • "OFFOLLOWINGMONTH"
Prepayment.Allocations[].CreditNote.Contact.PaymentTerms.Sales Object No
Prepayment.Allocations[].CreditNote.Contact.PaymentTerms.Sales.Day Integer No

Day of Month (0-31)

Prepayment.Allocations[].CreditNote.Contact.PaymentTerms.Sales.Type String No

Possible values:

  • "DAYSAFTERBILLMONTH"
  • "OFCURRENTMONTH"
  • "DAYSAFTERBILLDATE"
  • "OFFOLLOWINGMONTH"
Prepayment.Allocations[].CreditNote.Contact.ContactGroups[] Array No

Displays which contact groups a contact is included in

Prepayment.Allocations[].CreditNote.Contact.ContactGroups[].Name String No

The Name of the contact group. Required when creating a new contact group

Prepayment.Allocations[].CreditNote.Contact.ContactGroups[].Status String No

The Status of a contact group. To delete a contact group update the status to DELETED. Only contact groups with a status of ACTIVE are returned on GETs.

Possible values:

  • "DELETED"
  • "ACTIVE"
Prepayment.Allocations[].CreditNote.Contact.ContactGroups[].ContactGroupID String No

The Xero identifier for an contact group – specified as a string following the endpoint name. e.g. /297c2dc5-cc47-4afd-8ec8-74990b8761e9

Prepayment.Allocations[].CreditNote.Contact.ContactGroups[].Contacts[] Array No

The ContactID and Name of Contacts in a contact group. Returned on GETs when the ContactGroupID is supplied in the URL.

Prepayment.Allocations[].CreditNote.Contact.ContactPersons[] Array No

See contact persons

Prepayment.Allocations[].CreditNote.Contact.ContactPersons[].IncludeInEmails Boolean No

boolean to indicate whether contact should be included on emails with invoices etc.

Prepayment.Allocations[].CreditNote.Contact.ContactPersons[].EmailAddress String No

Email address of person

Prepayment.Allocations[].CreditNote.Contact.ContactPersons[].LastName String No

Last name of person

Prepayment.Allocations[].CreditNote.Contact.ContactPersons[].FirstName String No

First name of person

Prepayment.Allocations[].CreditNote.CurrencyCode String No

3 letter alpha code for the currency – see list of currency codes

Possible values:

  • "ISK"
  • "JMD"
  • "LTL"
  • "SVC"
  • "SAR"
  • "EEK"
  • "TTD"
  • "SBD"
  • "SHP"
  • "GBP"
  • "TRY"
  • "MOP"
  • "INR"
  • "MAD"
  • "CUP"
  • "CLF"
  • "SRD"
  • "SZL"
  • "IRR"
  • "CHF"
  • "EUR"
  • "KZT"
  • "ALL"
  • "MZN"
  • "CDF"
  • "BZD"
  • "KES"
  • "AOA"
  • "NGN"
  • "SEK"
  • "BND"
  • "UYU"
  • "BRL"
  • "YER"
  • "ANG"
  • "BYR"
  • "MRO"
  • "DJF"
  • "LSL"
  • "BBD"
  • "MGA"
  • "VND"
  • "DOP"
  • "TJS"
  • "FJD"
  • "BGN"
  • "TWD"
  • "QAR"
  • "VES"
  • "CNY"
  • "AUD"
  • "ZMW"
  • "WST"
  • "MDL"
  • "KHR"
  • "NZD"
  • "AMD"
  • "AZN"
  • "TZS"
  • "GIP"
  • "AED"
  • "AFN"
  • "DZD"
  • "PKR"
  • "KYD"
  • "AWG"
  • "BSD"
  • "PEN"
  • "XAF"
  • "NAD"
  • "ZWD"
  • "BTN"
  • "KRW"
  • "NPR"
  • "FKP"
  • "TND"
  • "LVL"
  • "MWK"
  • "JOD"
  • "LRD"
  • "RSD"
  • "SCR"
  • "HUF"
  • "IDR"
  • "LAK"
  • "UAH"
  • "ZAR"
  • "OMR"
  • "PGK"
  • "SLL"
  • "MVR"
  • "USD"
  • "MXV"
  • "MKD"
  • "COP"
  • "CAD"
  • "KMF"
  • "MXN"
  • "PYG"
  • "XCD"
  • "STD"
  • "IQD"
  • "TOP"
  • "VEF"
  • "VUV"
  • "SOS"
  • "CVE"
  • "CUC"
  • "KGS"
  • "TMT"
  • "THB"
  • "BOB"
  • "UZS"
  • "BYN"
  • "SKK"
  • "ILS"
  • "PLN"
  • "RON"
  • "BHD"
  • "BIF"
  • "SLE"
  • "XPF"
  • "ARS"
  • "GTQ"
  • "RUB"
  • "HKD"
  • "ZMK"
  • "RWF"
  • "BDT"
  • "ETB"
  • "LYD"
  • "JPY"
  • "SGD"
  • "STN"
  • "MNT"
  • "NIO"
  • "GEL"
  • "MUR"
  • "NOK"
  • "ERN"
  • "SYP"
  • "MYR"
  • "DKK"
  • "HRK"
  • "CLP"
  • "GNF"
  • "GMD"
  • "BAM"
  • "HTG"
  • "LBP"
  • "PHP"
  • "EGP"
  • "SDG"
  • "CRC"
  • "CZK"
  • "KWD"
  • "KPW"
  • "GHS"
  • "GYD"
  • "LKR"
  • "BMD"
  • "BWP"
  • "MRU"
  • "PAB"
  • "UGX"
  • "MMK"
  • "XOF"
  • "HNL"
Prepayment.Allocations[].CreditNote.CreditNoteID String No

Xero generated unique identifier

Prepayment.Allocations[].CreditNote.LineAmountTypes String No

Line amounts are exclusive of tax by default if you don’t specify this element. See Line Amount Types

Possible values:

  • "Inclusive"
  • "Exclusive"
  • "NoTax"
Prepayment.Allocations[].CreditNote.Date String No

The date the credit note is issued YYYY-MM-DD. If the Date element is not specified then it will default to the current date based on the timezone setting of the organisation

Prepayment.Allocations[].CreditNote.CISDeduction Number No

CIS deduction for UK contractors

Prepayment.Allocations[].CreditNote.SentToContact Boolean No

Boolean to set whether the credit note in the Xero app should be marked as “sent”. This can be set only on credit notes that have been approved

Prepayment.Allocations[].CreditNote.Warnings[] Array No

Displays array of warning messages from the API

Prepayment.Allocations[].CreditNote.Warnings[].Message String No

Validation error message

Prepayment.Allocations[].CreditNote.Type String No

See Credit Note Types

Possible values:

  • "ACCPAYCREDIT"
  • "ACCRECCREDIT"
Prepayment.Allocations[].CreditNote.StatusAttributeString String No

A string to indicate if a invoice status

Prepayment.Allocations[].CreditNote.DueDate String No

Date invoice is due – YYYY-MM-DD

Prepayment.Allocations[].CreditNote.CISRate Number No

CIS Deduction rate for the organisation

Prepayment.Allocations[].CreditNote.TotalTax Number No

The total tax on the credit note

Prepayment.Allocations[].CreditNote.Reference String No

ACCRECCREDIT only – additional reference number

Prepayment.Allocations[].CreditNote.LineItems[] Array No

See Invoice Line Items

Prepayment.Allocations[].CreditNote.LineItems[].Quantity Number No

LineItem Quantity

Prepayment.Allocations[].CreditNote.LineItems[].UnitAmount Number No

LineItem Unit Amount

Prepayment.Allocations[].CreditNote.LineItems[].TaxAmount Number No

The tax amount is auto calculated as a percentage of the line amount (see below) based on the tax rate. This value can be overriden if the calculated is not correct.

Prepayment.Allocations[].CreditNote.LineItems[].Item No
Prepayment.Allocations[].CreditNote.LineItems[].AccountCode String No

See Accounts

Prepayment.Allocations[].CreditNote.LineItems[].RepeatingInvoiceID String No

The Xero identifier for a Repeating Invoice

Prepayment.Allocations[].CreditNote.LineItems[].LineItemID String No

LineItem unique ID

Prepayment.Allocations[].CreditNote.LineItems[].Description String No

Description needs to be at least 1 char long. A line item with just a description (i.e no unit amount or quantity) can be created by specifying just a element that contains at least 1 character

Prepayment.Allocations[].CreditNote.LineItems[].TaxType String No

The tax type from TaxRates

Prepayment.Allocations[].CreditNote.LineItems[].Taxability String No

The type of taxability

Possible values:

  • "NOT_APPLICABLE"
  • "EXEMPT"
  • "PART_TAXABLE"
  • "TAXABLE"
  • "NON_TAXABLE"
Prepayment.Allocations[].CreditNote.LineItems[].TaxBreakdown[] Array No

An array of tax components defined for this line item

Prepayment.Allocations[].CreditNote.LineItems[].TaxBreakdown[].TaxComponentId String No

The unique ID number of this component

Prepayment.Allocations[].CreditNote.LineItems[].TaxBreakdown[].Name String No

The name of the jurisdiction

Prepayment.Allocations[].CreditNote.LineItems[].TaxBreakdown[].Type String No

The type of the jurisdiction

Possible values:

  • "SYSGST/USSPECIAL"
  • "SYSGST/USCOUNTRY"
  • "SYSGST/USCOUNTY"
  • "SYSGST/USSTATE"
  • "SYSGST/USCITY"
Prepayment.Allocations[].CreditNote.LineItems[].TaxBreakdown[].TaxAmount Number No

The amount of the tax

Prepayment.Allocations[].CreditNote.LineItems[].TaxBreakdown[].TaxableAmount Number No

The amount that is taxable

Prepayment.Allocations[].CreditNote.LineItems[].TaxBreakdown[].NonTaxableAmount Number No

The amount that is not taxable

Prepayment.Allocations[].CreditNote.LineItems[].TaxBreakdown[].TaxPercentage Number No

The percentage of the tax

Prepayment.Allocations[].CreditNote.LineItems[].TaxBreakdown[].ExemptAmount Number No

The amount that is exempt

Prepayment.Allocations[].CreditNote.LineItems[].TaxBreakdown[].StateAssignedNo String No

The state assigned number of the jurisdiction

Prepayment.Allocations[].CreditNote.LineItems[].TaxBreakdown[].JurisdictionRegion String No

Name identifying the region within the country

Prepayment.Allocations[].CreditNote.LineItems[].LineAmount Number No

If you wish to omit either the Quantity or UnitAmount you can provide a LineAmount and Xero will calculate the missing amount for you. The line amount reflects the discounted price if either a DiscountRate or DiscountAmount has been used i.e. LineAmount = Quantity * Unit Amount * ((100 - DiscountRate)/100) or LineAmount = (Quantity * UnitAmount) - DiscountAmount

Prepayment.Allocations[].CreditNote.LineItems[].AccountID String No

The associated account ID related to this line item

Prepayment.Allocations[].CreditNote.LineItems[].SalesTaxCodeId Number No

The ID of the sales tax code

Prepayment.Allocations[].CreditNote.LineItems[].ItemCode String No

See Items

Prepayment.Allocations[].CreditNote.LineItems[].Tracking[] Array No

Optional Tracking Category – see Tracking. Any LineItem can have a maximum of 2 elements.

Prepayment.Allocations[].CreditNote.LineItems[].Tracking[].TrackingCategoryID String No

The Xero identifier for a tracking category

Prepayment.Allocations[].CreditNote.LineItems[].Tracking[].Name String No

The name of the tracking category

Prepayment.Allocations[].CreditNote.LineItems[].Tracking[].Option String No

See Tracking Options

Prepayment.Allocations[].CreditNote.LineItems[].Tracking[].TrackingOptionID String No

The Xero identifier for a tracking category option

Prepayment.Allocations[].CreditNote.LineItems[].DiscountAmount Number No

Discount amount being applied to a line item. Only supported on ACCREC invoices and quotes. ACCPAY invoices and credit notes in Xero do not support discounts.

Prepayment.Allocations[].CreditNote.LineItems[].DiscountRate Number No

Percentage discount being applied to a line item (only supported on ACCREC invoices – ACC PAY invoices and credit notes in Xero do not support discounts

Prepayment.Allocations[].CreditNote.SubTotal Number No

The subtotal of the credit note excluding taxes

Prepayment.Allocations[].CreditNote.Status String No

See Credit Note Status Codes

Possible values:

  • "DELETED"
  • "AUTHORISED"
  • "SUBMITTED"
  • "DRAFT"
  • "PAID"
  • "VOIDED"
Prepayment.Allocations[].CreditNote.BrandingThemeID String No

See BrandingThemes

Prepayment.Allocations[].CreditNote.AppliedAmount Number No

The amount of applied to an invoice

Prepayment.Allocations[].CreditNote.ValidationErrors[] Array No

Displays array of validation error messages from the API

Prepayment.Allocations[].CreditNote.ValidationErrors[].Message String No

Validation error message

Prepayment.Allocations[].CreditNote.HasAttachments Boolean No

boolean to indicate if a credit note has an attachment

Default value: false

Prepayment.Allocations[].CreditNote.CreditNoteNumber String No

ACCRECCREDIT – Unique alpha numeric code identifying credit note (when missing will auto-generate from your Organisation Invoice Settings)

Prepayment.Contact Object No
Prepayment.Contact.BankAccountDetails String No

Bank account number of contact

Prepayment.Contact.Website String No

Website address for contact (read only)

Prepayment.Contact.Name String No

Full name of contact/organisation (max length = 255)

Prepayment.Contact.SalesTrackingCategories[] Array No

The default sales tracking categories for contacts

Prepayment.Contact.SalesTrackingCategories[].TrackingOptionName String No

The default purchase tracking category name for contacts

Prepayment.Contact.SalesTrackingCategories[].TrackingCategoryName String No

The default sales tracking category name for contacts

Prepayment.Contact.SalesDefaultLineAmountType String No

The default sales line amount type for a contact. Only available when summaryOnly parameter or paging is used, or when fetch by ContactId or ContactNumber.

Possible values:

  • "INCLUSIVE"
  • "NONE"
  • "EXCLUSIVE"
Prepayment.Contact.TrackingCategoryOption String No

The name of the Tracking Option assigned to the contact under SalesTrackingCategories and PurchasesTrackingCategories

Prepayment.Contact.TaxNumber String No

Tax 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 (max length = 50)

Prepayment.Contact.TrackingCategoryName String No

The name of the Tracking Category assigned to the contact under SalesTrackingCategories and PurchasesTrackingCategories

Prepayment.Contact.LastName String No

Last name of contact person (max length = 255)

Prepayment.Contact.IsSupplier Boolean No

true or false – Boolean that describes if a contact that has any AP invoices entered against them. Cannot be set via PUT or POST – it is automatically set when an accounts payable invoice is generated against this contact.

Prepayment.Contact.PurchasesTrackingCategories[] Array No

The default purchases tracking categories for contacts

Prepayment.Contact.PurchasesTrackingCategories[].TrackingOptionName String No

The default purchase tracking category name for contacts

Prepayment.Contact.PurchasesTrackingCategories[].TrackingCategoryName String No

The default sales tracking category name for contacts

Prepayment.Contact.UpdatedDateUTC String No

UTC timestamp of last update to contact

Prepayment.Contact.BrandingTheme Object No
Prepayment.Contact.BrandingTheme.Name String No

Name of branding theme

Prepayment.Contact.BrandingTheme.BrandingThemeID String No

Xero identifier

Prepayment.Contact.BrandingTheme.Type String No

Always INVOICE

Possible values:

  • "INVOICE"
Prepayment.Contact.BrandingTheme.LogoUrl String No

The location of the image file used as the logo on this branding theme

Prepayment.Contact.BrandingTheme.SortOrder Integer No

Integer – ranked order of branding theme. The default branding theme has a value of 0

Prepayment.Contact.BrandingTheme.CreatedDateUTC String No

UTC timestamp of creation date of branding theme

Prepayment.Contact.IsCustomer Boolean No

true or false – Boolean that describes if a contact has any AR invoices entered against them. Cannot be set via PUT or POST – it is automatically set when an accounts receivable invoice is generated against this contact.

Prepayment.Contact.PurchasesDefaultLineAmountType String No

The default purchases line amount type for a contact Only available when summaryOnly parameter or paging is used, or when fetch by ContactId or ContactNumber.

Possible values:

  • "INCLUSIVE"
  • "NONE"
  • "EXCLUSIVE"
Prepayment.Contact.Attachments[] Array No

Displays array of attachments from the API

Prepayment.Contact.Attachments[].ContentLength Integer No

Length of the file content

Prepayment.Contact.Attachments[].IncludeOnline Boolean No

Include the file with the online invoice

Prepayment.Contact.Attachments[].AttachmentID String No

Unique ID for the file

Prepayment.Contact.Attachments[].MimeType String No

Type of file

Prepayment.Contact.Attachments[].Url String No

URL to the file on xero.com

Prepayment.Contact.Attachments[].FileName String No

Name of the file

Prepayment.Contact.PurchasesDefaultAccountCode String No

The default purchases account code for contacts

Prepayment.Contact.ContactID String No

Xero identifier

Prepayment.Contact.AccountsPayableTaxType String No

The tax type from TaxRates

Prepayment.Contact.ContactStatus String No

Current status of a contact – see contact status types

Possible values:

  • "ARCHIVED"
  • "ACTIVE"
  • "GDPRREQUEST"
Prepayment.Contact.Addresses[] Array No

Store certain address types for a contact – see address types

Prepayment.Contact.Addresses[].City String No

max length = 255

Prepayment.Contact.Addresses[].AddressType String No

define the type of address

Possible values:

  • "STREET"
  • "POBOX"
Prepayment.Contact.Addresses[].AttentionTo String No

max length = 255

Prepayment.Contact.Addresses[].AddressLine2 String No

max length = 500

Prepayment.Contact.Addresses[].Region String No

max length = 255

Prepayment.Contact.Addresses[].Country String No

max length = 50, [A-Z], [a-z] only

Prepayment.Contact.Addresses[].AddressLine1 String No

max length = 500

Prepayment.Contact.Addresses[].AddressLine4 String No

max length = 500

Prepayment.Contact.Addresses[].AddressLine3 String No

max length = 500

Prepayment.Contact.Addresses[].PostalCode String No

max length = 50

Prepayment.Contact.StatusAttributeString String No

Status of object

Prepayment.Contact.CompanyNumber String No

Company registration number (max length = 50)

Prepayment.Contact.Phones[] Array No

Store certain phone types for a contact – see phone types

Prepayment.Contact.Phones[].PhoneType String No

Possible values:

  • "DEFAULT"
  • "OFFICE"
  • "DDI"
  • "MOBILE"
  • "FAX"
Prepayment.Contact.Phones[].PhoneNumber String No

max length = 50

Prepayment.Contact.Phones[].PhoneAreaCode String No

max length = 10

Prepayment.Contact.Phones[].PhoneCountryCode String No

max length = 20

Prepayment.Contact.BatchPayments No

Bank details for use on a batch payment stored with each contact

Prepayment.Contact.FirstName String No

First name of contact person (max length = 255)

Prepayment.Contact.SalesDefaultAccountCode String No

The default sales account code for contacts

Prepayment.Contact.ContactNumber String No

This can be updated via the API only i.e. This field is read only on the Xero contact screen, used to identify contacts in external systems (max length = 50). If the Contact Number is used, this is displayed as Contact Code in the Contacts UI in Xero.

Prepayment.Contact.AccountsReceivableTaxType String No

The tax type from TaxRates

Prepayment.Contact.DefaultCurrency String No

3 letter alpha code for the currency – see list of currency codes

Possible values:

  • "ISK"
  • "JMD"
  • "LTL"
  • "SVC"
  • "SAR"
  • "EEK"
  • "TTD"
  • "SBD"
  • "SHP"
  • "GBP"
  • "TRY"
  • "MOP"
  • "INR"
  • "MAD"
  • "CUP"
  • "CLF"
  • "SRD"
  • "SZL"
  • "IRR"
  • "CHF"
  • "EUR"
  • "KZT"
  • "ALL"
  • "MZN"
  • "CDF"
  • "BZD"
  • "KES"
  • "AOA"
  • "NGN"
  • "SEK"
  • "BND"
  • "UYU"
  • "BRL"
  • "YER"
  • "ANG"
  • "BYR"
  • "MRO"
  • "DJF"
  • "LSL"
  • "BBD"
  • "MGA"
  • "VND"
  • "DOP"
  • "TJS"
  • "FJD"
  • "BGN"
  • "TWD"
  • "QAR"
  • "VES"
  • "CNY"
  • "AUD"
  • "ZMW"
  • "WST"
  • "MDL"
  • "KHR"
  • "NZD"
  • "AMD"
  • "AZN"
  • "TZS"
  • "GIP"
  • "AED"
  • "AFN"
  • "DZD"
  • "PKR"
  • "KYD"
  • "AWG"
  • "BSD"
  • "PEN"
  • "XAF"
  • "NAD"
  • "ZWD"
  • "BTN"
  • "KRW"
  • "NPR"
  • "FKP"
  • "TND"
  • "LVL"
  • "MWK"
  • "JOD"
  • "LRD"
  • "RSD"
  • "SCR"
  • "HUF"
  • "IDR"
  • "LAK"
  • "UAH"
  • "ZAR"
  • "OMR"
  • "PGK"
  • "SLL"
  • "MVR"
  • "USD"
  • "MXV"
  • "MKD"
  • "COP"
  • "CAD"
  • "KMF"
  • "MXN"
  • "PYG"
  • "XCD"
  • "STD"
  • "IQD"
  • "TOP"
  • "VEF"
  • "VUV"
  • "SOS"
  • "CVE"
  • "CUC"
  • "KGS"
  • "TMT"
  • "THB"
  • "BOB"
  • "UZS"
  • "BYN"
  • "SKK"
  • "ILS"
  • "PLN"
  • "RON"
  • "BHD"
  • "BIF"
  • "SLE"
  • "XPF"
  • "ARS"
  • "GTQ"
  • "RUB"
  • "HKD"
  • "ZMK"
  • "RWF"
  • "BDT"
  • "ETB"
  • "LYD"
  • "JPY"
  • "SGD"
  • "STN"
  • "MNT"
  • "NIO"
  • "GEL"
  • "MUR"
  • "NOK"
  • "ERN"
  • "SYP"
  • "MYR"
  • "DKK"
  • "HRK"
  • "CLP"
  • "GNF"
  • "GMD"
  • "BAM"
  • "HTG"
  • "LBP"
  • "PHP"
  • "EGP"
  • "SDG"
  • "CRC"
  • "CZK"
  • "KWD"
  • "KPW"
  • "GHS"
  • "GYD"
  • "LKR"
  • "BMD"
  • "BWP"
  • "MRU"
  • "PAB"
  • "UGX"
  • "MMK"
  • "XOF"
  • "HNL"
Prepayment.Contact.HasValidationErrors Boolean No

A boolean to indicate if a contact has an validation errors

Default value: false

Prepayment.Contact.AccountNumber String No

A user defined account number. This can be updated via the API and the Xero UI (max length = 50)

Prepayment.Contact.Balances Object No

The raw AccountsReceivable(sales invoices) and AccountsPayable(bills) outstanding and overdue amounts, not converted to base currency (read only)

Prepayment.Contact.Balances.AccountsReceivable Object No
Prepayment.Contact.Balances.AccountsReceivable.Overdue Number No
Prepayment.Contact.Balances.AccountsReceivable.Outstanding Number No
Prepayment.Contact.Balances.AccountsPayable Object No
Prepayment.Contact.Balances.AccountsPayable.Overdue Number No
Prepayment.Contact.Balances.AccountsPayable.Outstanding Number No
Prepayment.Contact.XeroNetworkKey String No

Store XeroNetworkKey for contacts.

Prepayment.Contact.Discount Number No

The default discount rate for the contact (read only)

Prepayment.Contact.MergedToContactID String No

ID for the destination of a merged contact. Only returned when using paging or when fetching a contact by ContactId or ContactNumber.

Prepayment.Contact.ValidationErrors[] Array No

Displays validation errors returned from the API

Prepayment.Contact.ValidationErrors[].Message String No

Validation error message

Prepayment.Contact.EmailAddress String No

Email address of contact person (umlauts not supported) (max length = 255)

Prepayment.Contact.HasAttachments Boolean No

A boolean to indicate if a contact has an attachment

Default value: false

Prepayment.Contact.PaymentTerms Object No
Prepayment.Contact.PaymentTerms.Bills Object No
Prepayment.Contact.PaymentTerms.Bills.Day Integer No

Day of Month (0-31)

Prepayment.Contact.PaymentTerms.Bills.Type String No

Possible values:

  • "DAYSAFTERBILLMONTH"
  • "OFCURRENTMONTH"
  • "DAYSAFTERBILLDATE"
  • "OFFOLLOWINGMONTH"
Prepayment.Contact.PaymentTerms.Sales Object No
Prepayment.Contact.PaymentTerms.Sales.Day Integer No

Day of Month (0-31)

Prepayment.Contact.PaymentTerms.Sales.Type String No

Possible values:

  • "DAYSAFTERBILLMONTH"
  • "OFCURRENTMONTH"
  • "DAYSAFTERBILLDATE"
  • "OFFOLLOWINGMONTH"
Prepayment.Contact.ContactGroups[] Array No

Displays which contact groups a contact is included in

Prepayment.Contact.ContactGroups[].Name String No

The Name of the contact group. Required when creating a new contact group

Prepayment.Contact.ContactGroups[].Status String No

The Status of a contact group. To delete a contact group update the status to DELETED. Only contact groups with a status of ACTIVE are returned on GETs.

Possible values:

  • "DELETED"
  • "ACTIVE"
Prepayment.Contact.ContactGroups[].ContactGroupID String No

The Xero identifier for an contact group – specified as a string following the endpoint name. e.g. /297c2dc5-cc47-4afd-8ec8-74990b8761e9

Prepayment.Contact.ContactGroups[].Contacts[] Array No

The ContactID and Name of Contacts in a contact group. Returned on GETs when the ContactGroupID is supplied in the URL.

Prepayment.Contact.ContactPersons[] Array No

See contact persons

Prepayment.Contact.ContactPersons[].IncludeInEmails Boolean No

boolean to indicate whether contact should be included on emails with invoices etc.

Prepayment.Contact.ContactPersons[].EmailAddress String No

Email address of person

Prepayment.Contact.ContactPersons[].LastName String No

Last name of person

Prepayment.Contact.ContactPersons[].FirstName String No

First name of person

Prepayment.HasAttachments Boolean No

boolean to indicate if a prepayment has an attachment

Default value: false

Prepayment.CurrencyCode String No

3 letter alpha code for the currency – see list of currency codes

Possible values:

  • "ISK"
  • "JMD"
  • "LTL"
  • "SVC"
  • "SAR"
  • "EEK"
  • "TTD"
  • "SBD"
  • "SHP"
  • "GBP"
  • "TRY"
  • "MOP"
  • "INR"
  • "MAD"
  • "CUP"
  • "CLF"
  • "SRD"
  • "SZL"
  • "IRR"
  • "CHF"
  • "EUR"
  • "KZT"
  • "ALL"
  • "MZN"
  • "CDF"
  • "BZD"
  • "KES"
  • "AOA"
  • "NGN"
  • "SEK"
  • "BND"
  • "UYU"
  • "BRL"
  • "YER"
  • "ANG"
  • "BYR"
  • "MRO"
  • "DJF"
  • "LSL"
  • "BBD"
  • "MGA"
  • "VND"
  • "DOP"
  • "TJS"
  • "FJD"
  • "BGN"
  • "TWD"
  • "QAR"
  • "VES"
  • "CNY"
  • "AUD"
  • "ZMW"
  • "WST"
  • "MDL"
  • "KHR"
  • "NZD"
  • "AMD"
  • "AZN"
  • "TZS"
  • "GIP"
  • "AED"
  • "AFN"
  • "DZD"
  • "PKR"
  • "KYD"
  • "AWG"
  • "BSD"
  • "PEN"
  • "XAF"
  • "NAD"
  • "ZWD"
  • "BTN"
  • "KRW"
  • "NPR"
  • "FKP"
  • "TND"
  • "LVL"
  • "MWK"
  • "JOD"
  • "LRD"
  • "RSD"
  • "SCR"
  • "HUF"
  • "IDR"
  • "LAK"
  • "UAH"
  • "ZAR"
  • "OMR"
  • "PGK"
  • "SLL"
  • "MVR"
  • "USD"
  • "MXV"
  • "MKD"
  • "COP"
  • "CAD"
  • "KMF"
  • "MXN"
  • "PYG"
  • "XCD"
  • "STD"
  • "IQD"
  • "TOP"
  • "VEF"
  • "VUV"
  • "SOS"
  • "CVE"
  • "CUC"
  • "KGS"
  • "TMT"
  • "THB"
  • "BOB"
  • "UZS"
  • "BYN"
  • "SKK"
  • "ILS"
  • "PLN"
  • "RON"
  • "BHD"
  • "BIF"
  • "SLE"
  • "XPF"
  • "ARS"
  • "GTQ"
  • "RUB"
  • "HKD"
  • "ZMK"
  • "RWF"
  • "BDT"
  • "ETB"
  • "LYD"
  • "JPY"
  • "SGD"
  • "STN"
  • "MNT"
  • "NIO"
  • "GEL"
  • "MUR"
  • "NOK"
  • "ERN"
  • "SYP"
  • "MYR"
  • "DKK"
  • "HRK"
  • "CLP"
  • "GNF"
  • "GMD"
  • "BAM"
  • "HTG"
  • "LBP"
  • "PHP"
  • "EGP"
  • "SDG"
  • "CRC"
  • "CZK"
  • "KWD"
  • "KPW"
  • "GHS"
  • "GYD"
  • "LKR"
  • "BMD"
  • "BWP"
  • "MRU"
  • "PAB"
  • "UGX"
  • "MMK"
  • "XOF"
  • "HNL"
Prepayment.PrepaymentID String No

Xero generated unique identifier

Overpayment Object No
Overpayment.LineAmountTypes String No

Line amounts are exclusive of tax by default if you don’t specify this element. See Line Amount Types

Possible values:

  • "Inclusive"
  • "Exclusive"
  • "NoTax"
Overpayment.Date String No

The date the overpayment is created YYYY-MM-DD

Overpayment.Payments[] Array No

See Payments

Overpayment.Type String No

See Overpayment Types

Possible values:

  • "RECEIVE-OVERPAYMENT"
  • "AROVERPAYMENT"
  • "SPEND-OVERPAYMENT"
Overpayment.Total Number No

The total of the overpayment (subtotal + total tax)

Overpayment.TotalTax Number No

The total tax on the overpayment

Overpayment.LineItems[] Array No

See Overpayment Line Items

Overpayment.LineItems[].Quantity Number No

LineItem Quantity

Overpayment.LineItems[].UnitAmount Number No

LineItem Unit Amount

Overpayment.LineItems[].TaxAmount Number No

The tax amount is auto calculated as a percentage of the line amount (see below) based on the tax rate. This value can be overriden if the calculated is not correct.

Overpayment.LineItems[].Item No
Overpayment.LineItems[].AccountCode String No

See Accounts

Overpayment.LineItems[].RepeatingInvoiceID String No

The Xero identifier for a Repeating Invoice

Overpayment.LineItems[].LineItemID String No

LineItem unique ID

Overpayment.LineItems[].Description String No

Description needs to be at least 1 char long. A line item with just a description (i.e no unit amount or quantity) can be created by specifying just a element that contains at least 1 character

Overpayment.LineItems[].TaxType String No

The tax type from TaxRates

Overpayment.LineItems[].Taxability String No

The type of taxability

Possible values:

  • "NOT_APPLICABLE"
  • "EXEMPT"
  • "PART_TAXABLE"
  • "TAXABLE"
  • "NON_TAXABLE"
Overpayment.LineItems[].TaxBreakdown[] Array No

An array of tax components defined for this line item

Overpayment.LineItems[].TaxBreakdown[].TaxComponentId String No

The unique ID number of this component

Overpayment.LineItems[].TaxBreakdown[].Name String No

The name of the jurisdiction

Overpayment.LineItems[].TaxBreakdown[].Type String No

The type of the jurisdiction

Possible values:

  • "SYSGST/USSPECIAL"
  • "SYSGST/USCOUNTRY"
  • "SYSGST/USCOUNTY"
  • "SYSGST/USSTATE"
  • "SYSGST/USCITY"
Overpayment.LineItems[].TaxBreakdown[].TaxAmount Number No

The amount of the tax

Overpayment.LineItems[].TaxBreakdown[].TaxableAmount Number No

The amount that is taxable

Overpayment.LineItems[].TaxBreakdown[].NonTaxableAmount Number No

The amount that is not taxable

Overpayment.LineItems[].TaxBreakdown[].TaxPercentage Number No

The percentage of the tax

Overpayment.LineItems[].TaxBreakdown[].ExemptAmount Number No

The amount that is exempt

Overpayment.LineItems[].TaxBreakdown[].StateAssignedNo String No

The state assigned number of the jurisdiction

Overpayment.LineItems[].TaxBreakdown[].JurisdictionRegion String No

Name identifying the region within the country

Overpayment.LineItems[].LineAmount Number No

If you wish to omit either the Quantity or UnitAmount you can provide a LineAmount and Xero will calculate the missing amount for you. The line amount reflects the discounted price if either a DiscountRate or DiscountAmount has been used i.e. LineAmount = Quantity * Unit Amount * ((100 - DiscountRate)/100) or LineAmount = (Quantity * UnitAmount) - DiscountAmount

Overpayment.LineItems[].AccountID String No

The associated account ID related to this line item

Overpayment.LineItems[].SalesTaxCodeId Number No

The ID of the sales tax code

Overpayment.LineItems[].ItemCode String No

See Items

Overpayment.LineItems[].Tracking[] Array No

Optional Tracking Category – see Tracking. Any LineItem can have a maximum of 2 elements.

Overpayment.LineItems[].Tracking[].TrackingCategoryID String No

The Xero identifier for a tracking category

Overpayment.LineItems[].Tracking[].Name String No

The name of the tracking category

Overpayment.LineItems[].Tracking[].Option String No

See Tracking Options

Overpayment.LineItems[].Tracking[].TrackingOptionID String No

The Xero identifier for a tracking category option

Overpayment.LineItems[].DiscountAmount Number No

Discount amount being applied to a line item. Only supported on ACCREC invoices and quotes. ACCPAY invoices and credit notes in Xero do not support discounts.

Overpayment.LineItems[].DiscountRate Number No

Percentage discount being applied to a line item (only supported on ACCREC invoices – ACC PAY invoices and credit notes in Xero do not support discounts

Overpayment.UpdatedDateUTC String No

UTC timestamp of last update to the overpayment

Overpayment.SubTotal Number No

The subtotal of the overpayment excluding taxes

Overpayment.CurrencyRate Number No

The currency rate for a multicurrency overpayment. If no rate is specified, the XE.com day rate is used

Overpayment.Status String No

See Overpayment Status Codes

Possible values:

  • "AUTHORISED"
  • "PAID"
  • "VOIDED"
Overpayment.OverpaymentID String No

Xero generated unique identifier

Overpayment.AppliedAmount Number No

The amount of applied to an invoice

Overpayment.Attachments[] Array No

See Attachments

Overpayment.Attachments[].ContentLength Integer No

Length of the file content

Overpayment.Attachments[].IncludeOnline Boolean No

Include the file with the online invoice

Overpayment.Attachments[].AttachmentID String No

Unique ID for the file

Overpayment.Attachments[].MimeType String No

Type of file

Overpayment.Attachments[].Url String No

URL to the file on xero.com

Overpayment.Attachments[].FileName String No

Name of the file

Overpayment.RemainingCredit Number No

The remaining credit balance on the overpayment

Overpayment.Allocations[] Array No

See Allocations

Overpayment.Contact Object No
Overpayment.Contact.BankAccountDetails String No

Bank account number of contact

Overpayment.Contact.Website String No

Website address for contact (read only)

Overpayment.Contact.Name String No

Full name of contact/organisation (max length = 255)

Overpayment.Contact.SalesTrackingCategories[] Array No

The default sales tracking categories for contacts

Overpayment.Contact.SalesTrackingCategories[].TrackingOptionName String No

The default purchase tracking category name for contacts

Overpayment.Contact.SalesTrackingCategories[].TrackingCategoryName String No

The default sales tracking category name for contacts

Overpayment.Contact.SalesDefaultLineAmountType String No

The default sales line amount type for a contact. Only available when summaryOnly parameter or paging is used, or when fetch by ContactId or ContactNumber.

Possible values:

  • "INCLUSIVE"
  • "NONE"
  • "EXCLUSIVE"
Overpayment.Contact.TrackingCategoryOption String No

The name of the Tracking Option assigned to the contact under SalesTrackingCategories and PurchasesTrackingCategories

Overpayment.Contact.TaxNumber String No

Tax 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 (max length = 50)

Overpayment.Contact.TrackingCategoryName String No

The name of the Tracking Category assigned to the contact under SalesTrackingCategories and PurchasesTrackingCategories

Overpayment.Contact.LastName String No

Last name of contact person (max length = 255)

Overpayment.Contact.IsSupplier Boolean No

true or false – Boolean that describes if a contact that has any AP invoices entered against them. Cannot be set via PUT or POST – it is automatically set when an accounts payable invoice is generated against this contact.

Overpayment.Contact.PurchasesTrackingCategories[] Array No

The default purchases tracking categories for contacts

Overpayment.Contact.PurchasesTrackingCategories[].TrackingOptionName String No

The default purchase tracking category name for contacts

Overpayment.Contact.PurchasesTrackingCategories[].TrackingCategoryName String No

The default sales tracking category name for contacts

Overpayment.Contact.UpdatedDateUTC String No

UTC timestamp of last update to contact

Overpayment.Contact.BrandingTheme Object No
Overpayment.Contact.BrandingTheme.Name String No

Name of branding theme

Overpayment.Contact.BrandingTheme.BrandingThemeID String No

Xero identifier

Overpayment.Contact.BrandingTheme.Type String No

Always INVOICE

Possible values:

  • "INVOICE"
Overpayment.Contact.BrandingTheme.LogoUrl String No

The location of the image file used as the logo on this branding theme

Overpayment.Contact.BrandingTheme.SortOrder Integer No

Integer – ranked order of branding theme. The default branding theme has a value of 0

Overpayment.Contact.BrandingTheme.CreatedDateUTC String No

UTC timestamp of creation date of branding theme

Overpayment.Contact.IsCustomer Boolean No

true or false – Boolean that describes if a contact has any AR invoices entered against them. Cannot be set via PUT or POST – it is automatically set when an accounts receivable invoice is generated against this contact.

Overpayment.Contact.PurchasesDefaultLineAmountType String No

The default purchases line amount type for a contact Only available when summaryOnly parameter or paging is used, or when fetch by ContactId or ContactNumber.

Possible values:

  • "INCLUSIVE"
  • "NONE"
  • "EXCLUSIVE"
Overpayment.Contact.Attachments[] Array No

Displays array of attachments from the API

Overpayment.Contact.Attachments[].ContentLength Integer No

Length of the file content

Overpayment.Contact.Attachments[].IncludeOnline Boolean No

Include the file with the online invoice

Overpayment.Contact.Attachments[].AttachmentID String No

Unique ID for the file

Overpayment.Contact.Attachments[].MimeType String No

Type of file

Overpayment.Contact.Attachments[].Url String No

URL to the file on xero.com

Overpayment.Contact.Attachments[].FileName String No

Name of the file

Overpayment.Contact.PurchasesDefaultAccountCode String No

The default purchases account code for contacts

Overpayment.Contact.ContactID String No

Xero identifier

Overpayment.Contact.AccountsPayableTaxType String No

The tax type from TaxRates

Overpayment.Contact.ContactStatus String No

Current status of a contact – see contact status types

Possible values:

  • "ARCHIVED"
  • "ACTIVE"
  • "GDPRREQUEST"
Overpayment.Contact.Addresses[] Array No

Store certain address types for a contact – see address types

Overpayment.Contact.Addresses[].City String No

max length = 255

Overpayment.Contact.Addresses[].AddressType String No

define the type of address

Possible values:

  • "STREET"
  • "POBOX"
Overpayment.Contact.Addresses[].AttentionTo String No

max length = 255

Overpayment.Contact.Addresses[].AddressLine2 String No

max length = 500

Overpayment.Contact.Addresses[].Region String No

max length = 255

Overpayment.Contact.Addresses[].Country String No

max length = 50, [A-Z], [a-z] only

Overpayment.Contact.Addresses[].AddressLine1 String No

max length = 500

Overpayment.Contact.Addresses[].AddressLine4 String No

max length = 500

Overpayment.Contact.Addresses[].AddressLine3 String No

max length = 500

Overpayment.Contact.Addresses[].PostalCode String No

max length = 50

Overpayment.Contact.StatusAttributeString String No

Status of object

Overpayment.Contact.CompanyNumber String No

Company registration number (max length = 50)

Overpayment.Contact.Phones[] Array No

Store certain phone types for a contact – see phone types

Overpayment.Contact.Phones[].PhoneType String No

Possible values:

  • "DEFAULT"
  • "OFFICE"
  • "DDI"
  • "MOBILE"
  • "FAX"
Overpayment.Contact.Phones[].PhoneNumber String No

max length = 50

Overpayment.Contact.Phones[].PhoneAreaCode String No

max length = 10

Overpayment.Contact.Phones[].PhoneCountryCode String No

max length = 20

Overpayment.Contact.BatchPayments No

Bank details for use on a batch payment stored with each contact

Overpayment.Contact.FirstName String No

First name of contact person (max length = 255)

Overpayment.Contact.SalesDefaultAccountCode String No

The default sales account code for contacts

Overpayment.Contact.ContactNumber String No

This can be updated via the API only i.e. This field is read only on the Xero contact screen, used to identify contacts in external systems (max length = 50). If the Contact Number is used, this is displayed as Contact Code in the Contacts UI in Xero.

Overpayment.Contact.AccountsReceivableTaxType String No

The tax type from TaxRates

Overpayment.Contact.DefaultCurrency String No

3 letter alpha code for the currency – see list of currency codes

Possible values:

  • "ISK"
  • "JMD"
  • "LTL"
  • "SVC"
  • "SAR"
  • "EEK"
  • "TTD"
  • "SBD"
  • "SHP"
  • "GBP"
  • "TRY"
  • "MOP"
  • "INR"
  • "MAD"
  • "CUP"
  • "CLF"
  • "SRD"
  • "SZL"
  • "IRR"
  • "CHF"
  • "EUR"
  • "KZT"
  • "ALL"
  • "MZN"
  • "CDF"
  • "BZD"
  • "KES"
  • "AOA"
  • "NGN"
  • "SEK"
  • "BND"
  • "UYU"
  • "BRL"
  • "YER"
  • "ANG"
  • "BYR"
  • "MRO"
  • "DJF"
  • "LSL"
  • "BBD"
  • "MGA"
  • "VND"
  • "DOP"
  • "TJS"
  • "FJD"
  • "BGN"
  • "TWD"
  • "QAR"
  • "VES"
  • "CNY"
  • "AUD"
  • "ZMW"
  • "WST"
  • "MDL"
  • "KHR"
  • "NZD"
  • "AMD"
  • "AZN"
  • "TZS"
  • "GIP"
  • "AED"
  • "AFN"
  • "DZD"
  • "PKR"
  • "KYD"
  • "AWG"
  • "BSD"
  • "PEN"
  • "XAF"
  • "NAD"
  • "ZWD"
  • "BTN"
  • "KRW"
  • "NPR"
  • "FKP"
  • "TND"
  • "LVL"
  • "MWK"
  • "JOD"
  • "LRD"
  • "RSD"
  • "SCR"
  • "HUF"
  • "IDR"
  • "LAK"
  • "UAH"
  • "ZAR"
  • "OMR"
  • "PGK"
  • "SLL"
  • "MVR"
  • "USD"
  • "MXV"
  • "MKD"
  • "COP"
  • "CAD"
  • "KMF"
  • "MXN"
  • "PYG"
  • "XCD"
  • "STD"
  • "IQD"
  • "TOP"
  • "VEF"
  • "VUV"
  • "SOS"
  • "CVE"
  • "CUC"
  • "KGS"
  • "TMT"
  • "THB"
  • "BOB"
  • "UZS"
  • "BYN"
  • "SKK"
  • "ILS"
  • "PLN"
  • "RON"
  • "BHD"
  • "BIF"
  • "SLE"
  • "XPF"
  • "ARS"
  • "GTQ"
  • "RUB"
  • "HKD"
  • "ZMK"
  • "RWF"
  • "BDT"
  • "ETB"
  • "LYD"
  • "JPY"
  • "SGD"
  • "STN"
  • "MNT"
  • "NIO"
  • "GEL"
  • "MUR"
  • "NOK"
  • "ERN"
  • "SYP"
  • "MYR"
  • "DKK"
  • "HRK"
  • "CLP"
  • "GNF"
  • "GMD"
  • "BAM"
  • "HTG"
  • "LBP"
  • "PHP"
  • "EGP"
  • "SDG"
  • "CRC"
  • "CZK"
  • "KWD"
  • "KPW"
  • "GHS"
  • "GYD"
  • "LKR"
  • "BMD"
  • "BWP"
  • "MRU"
  • "PAB"
  • "UGX"
  • "MMK"
  • "XOF"
  • "HNL"
Overpayment.Contact.HasValidationErrors Boolean No

A boolean to indicate if a contact has an validation errors

Default value: false

Overpayment.Contact.AccountNumber String No

A user defined account number. This can be updated via the API and the Xero UI (max length = 50)

Overpayment.Contact.Balances Object No

The raw AccountsReceivable(sales invoices) and AccountsPayable(bills) outstanding and overdue amounts, not converted to base currency (read only)

Overpayment.Contact.Balances.AccountsReceivable Object No
Overpayment.Contact.Balances.AccountsReceivable.Overdue Number No
Overpayment.Contact.Balances.AccountsReceivable.Outstanding Number No
Overpayment.Contact.Balances.AccountsPayable Object No
Overpayment.Contact.Balances.AccountsPayable.Overdue Number No
Overpayment.Contact.Balances.AccountsPayable.Outstanding Number No
Overpayment.Contact.XeroNetworkKey String No

Store XeroNetworkKey for contacts.

Overpayment.Contact.Discount Number No

The default discount rate for the contact (read only)

Overpayment.Contact.MergedToContactID String No

ID for the destination of a merged contact. Only returned when using paging or when fetching a contact by ContactId or ContactNumber.

Overpayment.Contact.ValidationErrors[] Array No

Displays validation errors returned from the API

Overpayment.Contact.ValidationErrors[].Message String No

Validation error message

Overpayment.Contact.EmailAddress String No

Email address of contact person (umlauts not supported) (max length = 255)

Overpayment.Contact.HasAttachments Boolean No

A boolean to indicate if a contact has an attachment

Default value: false

Overpayment.Contact.PaymentTerms Object No
Overpayment.Contact.PaymentTerms.Bills Object No
Overpayment.Contact.PaymentTerms.Bills.Day Integer No

Day of Month (0-31)

Overpayment.Contact.PaymentTerms.Bills.Type String No

Possible values:

  • "DAYSAFTERBILLMONTH"
  • "OFCURRENTMONTH"
  • "DAYSAFTERBILLDATE"
  • "OFFOLLOWINGMONTH"
Overpayment.Contact.PaymentTerms.Sales Object No
Overpayment.Contact.PaymentTerms.Sales.Day Integer No

Day of Month (0-31)

Overpayment.Contact.PaymentTerms.Sales.Type String No

Possible values:

  • "DAYSAFTERBILLMONTH"
  • "OFCURRENTMONTH"
  • "DAYSAFTERBILLDATE"
  • "OFFOLLOWINGMONTH"
Overpayment.Contact.ContactGroups[] Array No

Displays which contact groups a contact is included in

Overpayment.Contact.ContactGroups[].Name String No

The Name of the contact group. Required when creating a new contact group

Overpayment.Contact.ContactGroups[].Status String No

The Status of a contact group. To delete a contact group update the status to DELETED. Only contact groups with a status of ACTIVE are returned on GETs.

Possible values:

  • "DELETED"
  • "ACTIVE"
Overpayment.Contact.ContactGroups[].ContactGroupID String No

The Xero identifier for an contact group – specified as a string following the endpoint name. e.g. /297c2dc5-cc47-4afd-8ec8-74990b8761e9

Overpayment.Contact.ContactGroups[].Contacts[] Array No

The ContactID and Name of Contacts in a contact group. Returned on GETs when the ContactGroupID is supplied in the URL.

Overpayment.Contact.ContactPersons[] Array No

See contact persons

Overpayment.Contact.ContactPersons[].IncludeInEmails Boolean No

boolean to indicate whether contact should be included on emails with invoices etc.

Overpayment.Contact.ContactPersons[].EmailAddress String No

Email address of person

Overpayment.Contact.ContactPersons[].LastName String No

Last name of person

Overpayment.Contact.ContactPersons[].FirstName String No

First name of person

Overpayment.HasAttachments Boolean No

boolean to indicate if a overpayment has an attachment

Default value: false

Overpayment.CurrencyCode String No

3 letter alpha code for the currency – see list of currency codes

Possible values:

  • "ISK"
  • "JMD"
  • "LTL"
  • "SVC"
  • "SAR"
  • "EEK"
  • "TTD"
  • "SBD"
  • "SHP"
  • "GBP"
  • "TRY"
  • "MOP"
  • "INR"
  • "MAD"
  • "CUP"
  • "CLF"
  • "SRD"
  • "SZL"
  • "IRR"
  • "CHF"
  • "EUR"
  • "KZT"
  • "ALL"
  • "MZN"
  • "CDF"
  • "BZD"
  • "KES"
  • "AOA"
  • "NGN"
  • "SEK"
  • "BND"
  • "UYU"
  • "BRL"
  • "YER"
  • "ANG"
  • "BYR"
  • "MRO"
  • "DJF"
  • "LSL"
  • "BBD"
  • "MGA"
  • "VND"
  • "DOP"
  • "TJS"
  • "FJD"
  • "BGN"
  • "TWD"
  • "QAR"
  • "VES"
  • "CNY"
  • "AUD"
  • "ZMW"
  • "WST"
  • "MDL"
  • "KHR"
  • "NZD"
  • "AMD"
  • "AZN"
  • "TZS"
  • "GIP"
  • "AED"
  • "AFN"
  • "DZD"
  • "PKR"
  • "KYD"
  • "AWG"
  • "BSD"
  • "PEN"
  • "XAF"
  • "NAD"
  • "ZWD"
  • "BTN"
  • "KRW"
  • "NPR"
  • "FKP"
  • "TND"
  • "LVL"
  • "MWK"
  • "JOD"
  • "LRD"
  • "RSD"
  • "SCR"
  • "HUF"
  • "IDR"
  • "LAK"
  • "UAH"
  • "ZAR"
  • "OMR"
  • "PGK"
  • "SLL"
  • "MVR"
  • "USD"
  • "MXV"
  • "MKD"
  • "COP"
  • "CAD"
  • "KMF"
  • "MXN"
  • "PYG"
  • "XCD"
  • "STD"
  • "IQD"
  • "TOP"
  • "VEF"
  • "VUV"
  • "SOS"
  • "CVE"
  • "CUC"
  • "KGS"
  • "TMT"
  • "THB"
  • "BOB"
  • "UZS"
  • "BYN"
  • "SKK"
  • "ILS"
  • "PLN"
  • "RON"
  • "BHD"
  • "BIF"
  • "SLE"
  • "XPF"
  • "ARS"
  • "GTQ"
  • "RUB"
  • "HKD"
  • "ZMK"
  • "RWF"
  • "BDT"
  • "ETB"
  • "LYD"
  • "JPY"
  • "SGD"
  • "STN"
  • "MNT"
  • "NIO"
  • "GEL"
  • "MUR"
  • "NOK"
  • "ERN"
  • "SYP"
  • "MYR"
  • "DKK"
  • "HRK"
  • "CLP"
  • "GNF"
  • "GMD"
  • "BAM"
  • "HTG"
  • "LBP"
  • "PHP"
  • "EGP"
  • "SDG"
  • "CRC"
  • "CZK"
  • "KWD"
  • "KPW"
  • "GHS"
  • "GYD"
  • "LKR"
  • "BMD"
  • "BWP"
  • "MRU"
  • "PAB"
  • "UGX"
  • "MMK"
  • "XOF"
  • "HNL"
Invoice Object No
Invoice.TotalDiscount Number No

Total of discounts applied on the invoice line items

Invoice.HasErrors Boolean No

A boolean to indicate if a invoice has an validation errors

Default value: false

Invoice.PlannedPaymentDate String No

Shown on bills (Accounts Payable) when this has been set

Invoice.Url String No

URL link to a source document – shown as “Go to [appName]” in the Xero app

Invoice.InvoiceNumber String No

ACCREC – Unique alpha numeric code identifying invoice (when missing will auto-generate from your Organisation Invoice Settings) (max length = 255)

Invoice.Payments[] Array No

See Payments

Invoice.IsDiscounted Boolean No

boolean to indicate if an invoice has a discount

Invoice.Total Number No

Total of Invoice tax inclusive (i.e. SubTotal + TotalTax). This will be ignored if it doesn’t equal the sum of the LineAmounts

Invoice.RepeatingInvoiceID String No

Xero generated unique identifier for repeating invoices

Invoice.FullyPaidOnDate String No

The date the invoice was fully paid. Only returned on fully paid invoices

Invoice.InvoiceAddresses[] Array No

An array of addresses used to auto calculate sales tax

Invoice.InvoiceAddresses[].City String No

City of a physical address

Invoice.InvoiceAddresses[].AddressLine2 String No

Second line of a physical address

Invoice.InvoiceAddresses[].Region String No

Region or state of a physical address

Invoice.InvoiceAddresses[].Country String No

Country of a physical address

Invoice.InvoiceAddresses[].AddressLine1 String No

First line of a physical address

Invoice.InvoiceAddresses[].InvoiceAddressType String No

Indicates whether the address is defined as origin (FROM) or destination (TO)

Possible values:

  • "FROM"
  • "TO"
Invoice.InvoiceAddresses[].AddressLine4 String No

Fourth line of a physical address

Invoice.InvoiceAddresses[].AddressLine3 String No

Third line of a physical address

Invoice.InvoiceAddresses[].PostalCode String No

Postal code of a physical address

Invoice.Overpayments[] Array No

See Overpayments

Invoice.Overpayments[].LineAmountTypes String No

Line amounts are exclusive of tax by default if you don’t specify this element. See Line Amount Types

Possible values:

  • "Inclusive"
  • "Exclusive"
  • "NoTax"
Invoice.Overpayments[].Date String No

The date the overpayment is created YYYY-MM-DD

Invoice.Overpayments[].Payments[] Array No

See Payments

Invoice.Overpayments[].Type String No

See Overpayment Types

Possible values:

  • "RECEIVE-OVERPAYMENT"
  • "AROVERPAYMENT"
  • "SPEND-OVERPAYMENT"
Invoice.Overpayments[].Total Number No

The total of the overpayment (subtotal + total tax)

Invoice.Overpayments[].TotalTax Number No

The total tax on the overpayment

Invoice.Overpayments[].LineItems[] Array No

See Overpayment Line Items

Invoice.Overpayments[].LineItems[].Quantity Number No

LineItem Quantity

Invoice.Overpayments[].LineItems[].UnitAmount Number No

LineItem Unit Amount

Invoice.Overpayments[].LineItems[].TaxAmount Number No

The tax amount is auto calculated as a percentage of the line amount (see below) based on the tax rate. This value can be overriden if the calculated is not correct.

Invoice.Overpayments[].LineItems[].Item No
Invoice.Overpayments[].LineItems[].AccountCode String No

See Accounts

Invoice.Overpayments[].LineItems[].RepeatingInvoiceID String No

The Xero identifier for a Repeating Invoice

Invoice.Overpayments[].LineItems[].LineItemID String No

LineItem unique ID

Invoice.Overpayments[].LineItems[].Description String No

Description needs to be at least 1 char long. A line item with just a description (i.e no unit amount or quantity) can be created by specifying just a element that contains at least 1 character

Invoice.Overpayments[].LineItems[].TaxType String No

The tax type from TaxRates

Invoice.Overpayments[].LineItems[].Taxability String No

The type of taxability

Possible values:

  • "NOT_APPLICABLE"
  • "EXEMPT"
  • "PART_TAXABLE"
  • "TAXABLE"
  • "NON_TAXABLE"
Invoice.Overpayments[].LineItems[].TaxBreakdown[] Array No

An array of tax components defined for this line item

Invoice.Overpayments[].LineItems[].TaxBreakdown[].TaxComponentId String No

The unique ID number of this component

Invoice.Overpayments[].LineItems[].TaxBreakdown[].Name String No

The name of the jurisdiction

Invoice.Overpayments[].LineItems[].TaxBreakdown[].Type String No

The type of the jurisdiction

Possible values:

  • "SYSGST/USSPECIAL"
  • "SYSGST/USCOUNTRY"
  • "SYSGST/USCOUNTY"
  • "SYSGST/USSTATE"
  • "SYSGST/USCITY"
Invoice.Overpayments[].LineItems[].TaxBreakdown[].TaxAmount Number No

The amount of the tax

Invoice.Overpayments[].LineItems[].TaxBreakdown[].TaxableAmount Number No

The amount that is taxable

Invoice.Overpayments[].LineItems[].TaxBreakdown[].NonTaxableAmount Number No

The amount that is not taxable

Invoice.Overpayments[].LineItems[].TaxBreakdown[].TaxPercentage Number No

The percentage of the tax

Invoice.Overpayments[].LineItems[].TaxBreakdown[].ExemptAmount Number No

The amount that is exempt

Invoice.Overpayments[].LineItems[].TaxBreakdown[].StateAssignedNo String No

The state assigned number of the jurisdiction

Invoice.Overpayments[].LineItems[].TaxBreakdown[].JurisdictionRegion String No

Name identifying the region within the country

Invoice.Overpayments[].LineItems[].LineAmount Number No

If you wish to omit either the Quantity or UnitAmount you can provide a LineAmount and Xero will calculate the missing amount for you. The line amount reflects the discounted price if either a DiscountRate or DiscountAmount has been used i.e. LineAmount = Quantity * Unit Amount * ((100 - DiscountRate)/100) or LineAmount = (Quantity * UnitAmount) - DiscountAmount

Invoice.Overpayments[].LineItems[].AccountID String No

The associated account ID related to this line item

Invoice.Overpayments[].LineItems[].SalesTaxCodeId Number No

The ID of the sales tax code

Invoice.Overpayments[].LineItems[].ItemCode String No

See Items

Invoice.Overpayments[].LineItems[].Tracking[] Array No

Optional Tracking Category – see Tracking. Any LineItem can have a maximum of 2 elements.

Invoice.Overpayments[].LineItems[].Tracking[].TrackingCategoryID String No

The Xero identifier for a tracking category

Invoice.Overpayments[].LineItems[].Tracking[].Name String No

The name of the tracking category

Invoice.Overpayments[].LineItems[].Tracking[].Option String No

See Tracking Options

Invoice.Overpayments[].LineItems[].Tracking[].TrackingOptionID String No

The Xero identifier for a tracking category option

Invoice.Overpayments[].LineItems[].DiscountAmount Number No

Discount amount being applied to a line item. Only supported on ACCREC invoices and quotes. ACCPAY invoices and credit notes in Xero do not support discounts.

Invoice.Overpayments[].LineItems[].DiscountRate Number No

Percentage discount being applied to a line item (only supported on ACCREC invoices – ACC PAY invoices and credit notes in Xero do not support discounts

Invoice.Overpayments[].UpdatedDateUTC String No

UTC timestamp of last update to the overpayment

Invoice.Overpayments[].SubTotal Number No

The subtotal of the overpayment excluding taxes

Invoice.Overpayments[].CurrencyRate Number No

The currency rate for a multicurrency overpayment. If no rate is specified, the XE.com day rate is used

Invoice.Overpayments[].Status String No

See Overpayment Status Codes

Possible values:

  • "AUTHORISED"
  • "PAID"
  • "VOIDED"
Invoice.Overpayments[].OverpaymentID String No

Xero generated unique identifier

Invoice.Overpayments[].AppliedAmount Number No

The amount of applied to an invoice

Invoice.Overpayments[].Attachments[] Array No

See Attachments

Invoice.Overpayments[].Attachments[].ContentLength Integer No

Length of the file content

Invoice.Overpayments[].Attachments[].IncludeOnline Boolean No

Include the file with the online invoice

Invoice.Overpayments[].Attachments[].AttachmentID String No

Unique ID for the file

Invoice.Overpayments[].Attachments[].MimeType String No

Type of file

Invoice.Overpayments[].Attachments[].Url String No

URL to the file on xero.com

Invoice.Overpayments[].Attachments[].FileName String No

Name of the file

Invoice.Overpayments[].RemainingCredit Number No

The remaining credit balance on the overpayment

Invoice.Overpayments[].Allocations[] Array No

See Allocations

Invoice.Overpayments[].Contact Object No
Invoice.Overpayments[].Contact.BankAccountDetails String No

Bank account number of contact

Invoice.Overpayments[].Contact.Website String No

Website address for contact (read only)

Invoice.Overpayments[].Contact.Name String No

Full name of contact/organisation (max length = 255)

Invoice.Overpayments[].Contact.SalesTrackingCategories[] Array No

The default sales tracking categories for contacts

Invoice.Overpayments[].Contact.SalesTrackingCategories[].TrackingOptionName String No

The default purchase tracking category name for contacts

Invoice.Overpayments[].Contact.SalesTrackingCategories[].TrackingCategoryName String No

The default sales tracking category name for contacts

Invoice.Overpayments[].Contact.SalesDefaultLineAmountType String No

The default sales line amount type for a contact. Only available when summaryOnly parameter or paging is used, or when fetch by ContactId or ContactNumber.

Possible values:

  • "INCLUSIVE"
  • "NONE"
  • "EXCLUSIVE"
Invoice.Overpayments[].Contact.TrackingCategoryOption String No

The name of the Tracking Option assigned to the contact under SalesTrackingCategories and PurchasesTrackingCategories

Invoice.Overpayments[].Contact.TaxNumber String No

Tax 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 (max length = 50)

Invoice.Overpayments[].Contact.TrackingCategoryName String No

The name of the Tracking Category assigned to the contact under SalesTrackingCategories and PurchasesTrackingCategories

Invoice.Overpayments[].Contact.LastName String No

Last name of contact person (max length = 255)

Invoice.Overpayments[].Contact.IsSupplier Boolean No

true or false – Boolean that describes if a contact that has any AP invoices entered against them. Cannot be set via PUT or POST – it is automatically set when an accounts payable invoice is generated against this contact.

Invoice.Overpayments[].Contact.PurchasesTrackingCategories[] Array No

The default purchases tracking categories for contacts

Invoice.Overpayments[].Contact.PurchasesTrackingCategories[].TrackingOptionName String No

The default purchase tracking category name for contacts

Invoice.Overpayments[].Contact.PurchasesTrackingCategories[].TrackingCategoryName String No

The default sales tracking category name for contacts

Invoice.Overpayments[].Contact.UpdatedDateUTC String No

UTC timestamp of last update to contact

Invoice.Overpayments[].Contact.BrandingTheme Object No
Invoice.Overpayments[].Contact.BrandingTheme.Name String No

Name of branding theme

Invoice.Overpayments[].Contact.BrandingTheme.BrandingThemeID String No

Xero identifier

Invoice.Overpayments[].Contact.BrandingTheme.Type String No

Always INVOICE

Possible values:

  • "INVOICE"
Invoice.Overpayments[].Contact.BrandingTheme.LogoUrl String No

The location of the image file used as the logo on this branding theme

Invoice.Overpayments[].Contact.BrandingTheme.SortOrder Integer No

Integer – ranked order of branding theme. The default branding theme has a value of 0

Invoice.Overpayments[].Contact.BrandingTheme.CreatedDateUTC String No

UTC timestamp of creation date of branding theme

Invoice.Overpayments[].Contact.IsCustomer Boolean No

true or false – Boolean that describes if a contact has any AR invoices entered against them. Cannot be set via PUT or POST – it is automatically set when an accounts receivable invoice is generated against this contact.

Invoice.Overpayments[].Contact.PurchasesDefaultLineAmountType String No

The default purchases line amount type for a contact Only available when summaryOnly parameter or paging is used, or when fetch by ContactId or ContactNumber.

Possible values:

  • "INCLUSIVE"
  • "NONE"
  • "EXCLUSIVE"
Invoice.Overpayments[].Contact.Attachments[] Array No

Displays array of attachments from the API

Invoice.Overpayments[].Contact.Attachments[].ContentLength Integer No

Length of the file content

Invoice.Overpayments[].Contact.Attachments[].IncludeOnline Boolean No

Include the file with the online invoice

Invoice.Overpayments[].Contact.Attachments[].AttachmentID String No

Unique ID for the file

Invoice.Overpayments[].Contact.Attachments[].MimeType String No

Type of file

Invoice.Overpayments[].Contact.Attachments[].Url String No

URL to the file on xero.com

Invoice.Overpayments[].Contact.Attachments[].FileName String No

Name of the file

Invoice.Overpayments[].Contact.PurchasesDefaultAccountCode String No

The default purchases account code for contacts

Invoice.Overpayments[].Contact.ContactID String No

Xero identifier

Invoice.Overpayments[].Contact.AccountsPayableTaxType String No

The tax type from TaxRates

Invoice.Overpayments[].Contact.ContactStatus String No

Current status of a contact – see contact status types

Possible values:

  • "ARCHIVED"
  • "ACTIVE"
  • "GDPRREQUEST"
Invoice.Overpayments[].Contact.Addresses[] Array No

Store certain address types for a contact – see address types

Invoice.Overpayments[].Contact.Addresses[].City String No

max length = 255

Invoice.Overpayments[].Contact.Addresses[].AddressType String No

define the type of address

Possible values:

  • "STREET"
  • "POBOX"
Invoice.Overpayments[].Contact.Addresses[].AttentionTo String No

max length = 255

Invoice.Overpayments[].Contact.Addresses[].AddressLine2 String No

max length = 500

Invoice.Overpayments[].Contact.Addresses[].Region String No

max length = 255

Invoice.Overpayments[].Contact.Addresses[].Country String No

max length = 50, [A-Z], [a-z] only

Invoice.Overpayments[].Contact.Addresses[].AddressLine1 String No

max length = 500

Invoice.Overpayments[].Contact.Addresses[].AddressLine4 String No

max length = 500

Invoice.Overpayments[].Contact.Addresses[].AddressLine3 String No

max length = 500

Invoice.Overpayments[].Contact.Addresses[].PostalCode String No

max length = 50

Invoice.Overpayments[].Contact.StatusAttributeString String No

Status of object

Invoice.Overpayments[].Contact.CompanyNumber String No

Company registration number (max length = 50)

Invoice.Overpayments[].Contact.Phones[] Array No

Store certain phone types for a contact – see phone types

Invoice.Overpayments[].Contact.Phones[].PhoneType String No

Possible values:

  • "DEFAULT"
  • "OFFICE"
  • "DDI"
  • "MOBILE"
  • "FAX"
Invoice.Overpayments[].Contact.Phones[].PhoneNumber String No

max length = 50

Invoice.Overpayments[].Contact.Phones[].PhoneAreaCode String No

max length = 10

Invoice.Overpayments[].Contact.Phones[].PhoneCountryCode String No

max length = 20

Invoice.Overpayments[].Contact.BatchPayments No

Bank details for use on a batch payment stored with each contact

Invoice.Overpayments[].Contact.FirstName String No

First name of contact person (max length = 255)

Invoice.Overpayments[].Contact.SalesDefaultAccountCode String No

The default sales account code for contacts

Invoice.Overpayments[].Contact.ContactNumber String No

This can be updated via the API only i.e. This field is read only on the Xero contact screen, used to identify contacts in external systems (max length = 50). If the Contact Number is used, this is displayed as Contact Code in the Contacts UI in Xero.

Invoice.Overpayments[].Contact.AccountsReceivableTaxType String No

The tax type from TaxRates

Invoice.Overpayments[].Contact.DefaultCurrency String No

3 letter alpha code for the currency – see list of currency codes

Possible values:

  • "ISK"
  • "JMD"
  • "LTL"
  • "SVC"
  • "SAR"
  • "EEK"
  • "TTD"
  • "SBD"
  • "SHP"
  • "GBP"
  • "TRY"
  • "MOP"
  • "INR"
  • "MAD"
  • "CUP"
  • "CLF"
  • "SRD"
  • "SZL"
  • "IRR"
  • "CHF"
  • "EUR"
  • "KZT"
  • "ALL"
  • "MZN"
  • "CDF"
  • "BZD"
  • "KES"
  • "AOA"
  • "NGN"
  • "SEK"
  • "BND"
  • "UYU"
  • "BRL"
  • "YER"
  • "ANG"
  • "BYR"
  • "MRO"
  • "DJF"
  • "LSL"
  • "BBD"
  • "MGA"
  • "VND"
  • "DOP"
  • "TJS"
  • "FJD"
  • "BGN"
  • "TWD"
  • "QAR"
  • "VES"
  • "CNY"
  • "AUD"
  • "ZMW"
  • "WST"
  • "MDL"
  • "KHR"
  • "NZD"
  • "AMD"
  • "AZN"
  • "TZS"
  • "GIP"
  • "AED"
  • "AFN"
  • "DZD"
  • "PKR"
  • "KYD"
  • "AWG"
  • "BSD"
  • "PEN"
  • "XAF"
  • "NAD"
  • "ZWD"
  • "BTN"
  • "KRW"
  • "NPR"
  • "FKP"
  • "TND"
  • "LVL"
  • "MWK"
  • "JOD"
  • "LRD"
  • "RSD"
  • "SCR"
  • "HUF"
  • "IDR"
  • "LAK"
  • "UAH"
  • "ZAR"
  • "OMR"
  • "PGK"
  • "SLL"
  • "MVR"
  • "USD"
  • "MXV"
  • "MKD"
  • "COP"
  • "CAD"
  • "KMF"
  • "MXN"
  • "PYG"
  • "XCD"
  • "STD"
  • "IQD"
  • "TOP"
  • "VEF"
  • "VUV"
  • "SOS"
  • "CVE"
  • "CUC"
  • "KGS"
  • "TMT"
  • "THB"
  • "BOB"
  • "UZS"
  • "BYN"
  • "SKK"
  • "ILS"
  • "PLN"
  • "RON"
  • "BHD"
  • "BIF"
  • "SLE"
  • "XPF"
  • "ARS"
  • "GTQ"
  • "RUB"
  • "HKD"
  • "ZMK"
  • "RWF"
  • "BDT"
  • "ETB"
  • "LYD"
  • "JPY"
  • "SGD"
  • "STN"
  • "MNT"
  • "NIO"
  • "GEL"
  • "MUR"
  • "NOK"
  • "ERN"
  • "SYP"
  • "MYR"
  • "DKK"
  • "HRK"
  • "CLP"
  • "GNF"
  • "GMD"
  • "BAM"
  • "HTG"
  • "LBP"
  • "PHP"
  • "EGP"
  • "SDG"
  • "CRC"
  • "CZK"
  • "KWD"
  • "KPW"
  • "GHS"
  • "GYD"
  • "LKR"
  • "BMD"
  • "BWP"
  • "MRU"
  • "PAB"
  • "UGX"
  • "MMK"
  • "XOF"
  • "HNL"
Invoice.Overpayments[].Contact.HasValidationErrors Boolean No

A boolean to indicate if a contact has an validation errors

Default value: false

Invoice.Overpayments[].Contact.AccountNumber String No

A user defined account number. This can be updated via the API and the Xero UI (max length = 50)

Invoice.Overpayments[].Contact.Balances Object No

The raw AccountsReceivable(sales invoices) and AccountsPayable(bills) outstanding and overdue amounts, not converted to base currency (read only)

Invoice.Overpayments[].Contact.Balances.AccountsReceivable Object No
Invoice.Overpayments[].Contact.Balances.AccountsReceivable.Overdue Number No
Invoice.Overpayments[].Contact.Balances.AccountsReceivable.Outstanding Number No
Invoice.Overpayments[].Contact.Balances.AccountsPayable Object No
Invoice.Overpayments[].Contact.Balances.AccountsPayable.Overdue Number No
Invoice.Overpayments[].Contact.Balances.AccountsPayable.Outstanding Number No
Invoice.Overpayments[].Contact.XeroNetworkKey String No

Store XeroNetworkKey for contacts.

Invoice.Overpayments[].Contact.Discount Number No

The default discount rate for the contact (read only)

Invoice.Overpayments[].Contact.MergedToContactID String No

ID for the destination of a merged contact. Only returned when using paging or when fetching a contact by ContactId or ContactNumber.

Invoice.Overpayments[].Contact.ValidationErrors[] Array No

Displays validation errors returned from the API

Invoice.Overpayments[].Contact.ValidationErrors[].Message String No

Validation error message

Invoice.Overpayments[].Contact.EmailAddress String No

Email address of contact person (umlauts not supported) (max length = 255)

Invoice.Overpayments[].Contact.HasAttachments Boolean No

A boolean to indicate if a contact has an attachment

Default value: false

Invoice.Overpayments[].Contact.PaymentTerms Object No
Invoice.Overpayments[].Contact.PaymentTerms.Bills Object No
Invoice.Overpayments[].Contact.PaymentTerms.Bills.Day Integer No

Day of Month (0-31)

Invoice.Overpayments[].Contact.PaymentTerms.Bills.Type String No

Possible values:

  • "DAYSAFTERBILLMONTH"
  • "OFCURRENTMONTH"
  • "DAYSAFTERBILLDATE"
  • "OFFOLLOWINGMONTH"
Invoice.Overpayments[].Contact.PaymentTerms.Sales Object No
Invoice.Overpayments[].Contact.PaymentTerms.Sales.Day Integer No

Day of Month (0-31)

Invoice.Overpayments[].Contact.PaymentTerms.Sales.Type String No

Possible values:

  • "DAYSAFTERBILLMONTH"
  • "OFCURRENTMONTH"
  • "DAYSAFTERBILLDATE"
  • "OFFOLLOWINGMONTH"
Invoice.Overpayments[].Contact.ContactGroups[] Array No

Displays which contact groups a contact is included in

Invoice.Overpayments[].Contact.ContactGroups[].Name String No

The Name of the contact group. Required when creating a new contact group

Invoice.Overpayments[].Contact.ContactGroups[].Status String No

The Status of a contact group. To delete a contact group update the status to DELETED. Only contact groups with a status of ACTIVE are returned on GETs.

Possible values:

  • "DELETED"
  • "ACTIVE"
Invoice.Overpayments[].Contact.ContactGroups[].ContactGroupID String No

The Xero identifier for an contact group – specified as a string following the endpoint name. e.g. /297c2dc5-cc47-4afd-8ec8-74990b8761e9

Invoice.Overpayments[].Contact.ContactGroups[].Contacts[] Array No

The ContactID and Name of Contacts in a contact group. Returned on GETs when the ContactGroupID is supplied in the URL.

Invoice.Overpayments[].Contact.ContactPersons[] Array No

See contact persons

Invoice.Overpayments[].Contact.ContactPersons[].IncludeInEmails Boolean No

boolean to indicate whether contact should be included on emails with invoices etc.

Invoice.Overpayments[].Contact.ContactPersons[].EmailAddress String No

Email address of person

Invoice.Overpayments[].Contact.ContactPersons[].LastName String No

Last name of person

Invoice.Overpayments[].Contact.ContactPersons[].FirstName String No

First name of person

Invoice.Overpayments[].HasAttachments Boolean No

boolean to indicate if a overpayment has an attachment

Default value: false

Invoice.Overpayments[].CurrencyCode String No

3 letter alpha code for the currency – see list of currency codes

Possible values:

  • "ISK"
  • "JMD"
  • "LTL"
  • "SVC"
  • "SAR"
  • "EEK"
  • "TTD"
  • "SBD"
  • "SHP"
  • "GBP"
  • "TRY"
  • "MOP"
  • "INR"
  • "MAD"
  • "CUP"
  • "CLF"
  • "SRD"
  • "SZL"
  • "IRR"
  • "CHF"
  • "EUR"
  • "KZT"
  • "ALL"
  • "MZN"
  • "CDF"
  • "BZD"
  • "KES"
  • "AOA"
  • "NGN"
  • "SEK"
  • "BND"
  • "UYU"
  • "BRL"
  • "YER"
  • "ANG"
  • "BYR"
  • "MRO"
  • "DJF"
  • "LSL"
  • "BBD"
  • "MGA"
  • "VND"
  • "DOP"
  • "TJS"
  • "FJD"
  • "BGN"
  • "TWD"
  • "QAR"
  • "VES"
  • "CNY"
  • "AUD"
  • "ZMW"
  • "WST"
  • "MDL"
  • "KHR"
  • "NZD"
  • "AMD"
  • "AZN"
  • "TZS"
  • "GIP"
  • "AED"
  • "AFN"
  • "DZD"
  • "PKR"
  • "KYD"
  • "AWG"
  • "BSD"
  • "PEN"
  • "XAF"
  • "NAD"
  • "ZWD"
  • "BTN"
  • "KRW"
  • "NPR"
  • "FKP"
  • "TND"
  • "LVL"
  • "MWK"
  • "JOD"
  • "LRD"
  • "RSD"
  • "SCR"
  • "HUF"
  • "IDR"
  • "LAK"
  • "UAH"
  • "ZAR"
  • "OMR"
  • "PGK"
  • "SLL"
  • "MVR"
  • "USD"
  • "MXV"
  • "MKD"
  • "COP"
  • "CAD"
  • "KMF"
  • "MXN"
  • "PYG"
  • "XCD"
  • "STD"
  • "IQD"
  • "TOP"
  • "VEF"
  • "VUV"
  • "SOS"
  • "CVE"
  • "CUC"
  • "KGS"
  • "TMT"
  • "THB"
  • "BOB"
  • "UZS"
  • "BYN"
  • "SKK"
  • "ILS"
  • "PLN"
  • "RON"
  • "BHD"
  • "BIF"
  • "SLE"
  • "XPF"
  • "ARS"
  • "GTQ"
  • "RUB"
  • "HKD"
  • "ZMK"
  • "RWF"
  • "BDT"
  • "ETB"
  • "LYD"
  • "JPY"
  • "SGD"
  • "STN"
  • "MNT"
  • "NIO"
  • "GEL"
  • "MUR"
  • "NOK"
  • "ERN"
  • "SYP"
  • "MYR"
  • "DKK"
  • "HRK"
  • "CLP"
  • "GNF"
  • "GMD"
  • "BAM"
  • "HTG"
  • "LBP"
  • "PHP"
  • "EGP"
  • "SDG"
  • "CRC"
  • "CZK"
  • "KWD"
  • "KPW"
  • "GHS"
  • "GYD"
  • "LKR"
  • "BMD"
  • "BWP"
  • "MRU"
  • "PAB"
  • "UGX"
  • "MMK"
  • "XOF"
  • "HNL"
Invoice.UpdatedDateUTC String No

Last modified date UTC format

Invoice.CurrencyRate Number No

The currency rate for a multicurrency invoice. If no rate is specified, the XE.com day rate is used. (max length = [18].[6])

Invoice.Attachments[] Array No

Displays array of attachments from the API

Invoice.Attachments[].ContentLength Integer No

Length of the file content

Invoice.Attachments[].IncludeOnline Boolean No

Include the file with the online invoice

Invoice.Attachments[].AttachmentID String No

Unique ID for the file

Invoice.Attachments[].MimeType String No

Type of file

Invoice.Attachments[].Url String No

URL to the file on xero.com

Invoice.Attachments[].FileName String No

Name of the file

Invoice.InvoiceID String No

Xero generated unique identifier for invoice

Invoice.Contact Object No
Invoice.Contact.BankAccountDetails String No

Bank account number of contact

Invoice.Contact.Website String No

Website address for contact (read only)

Invoice.Contact.Name String No

Full name of contact/organisation (max length = 255)

Invoice.Contact.SalesTrackingCategories[] Array No

The default sales tracking categories for contacts

Invoice.Contact.SalesTrackingCategories[].TrackingOptionName String No

The default purchase tracking category name for contacts

Invoice.Contact.SalesTrackingCategories[].TrackingCategoryName String No

The default sales tracking category name for contacts

Invoice.Contact.SalesDefaultLineAmountType String No

The default sales line amount type for a contact. Only available when summaryOnly parameter or paging is used, or when fetch by ContactId or ContactNumber.

Possible values:

  • "INCLUSIVE"
  • "NONE"
  • "EXCLUSIVE"
Invoice.Contact.TrackingCategoryOption String No

The name of the Tracking Option assigned to the contact under SalesTrackingCategories and PurchasesTrackingCategories

Invoice.Contact.TaxNumber String No

Tax 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 (max length = 50)

Invoice.Contact.TrackingCategoryName String No

The name of the Tracking Category assigned to the contact under SalesTrackingCategories and PurchasesTrackingCategories

Invoice.Contact.LastName String No

Last name of contact person (max length = 255)

Invoice.Contact.IsSupplier Boolean No

true or false – Boolean that describes if a contact that has any AP invoices entered against them. Cannot be set via PUT or POST – it is automatically set when an accounts payable invoice is generated against this contact.

Invoice.Contact.PurchasesTrackingCategories[] Array No

The default purchases tracking categories for contacts

Invoice.Contact.PurchasesTrackingCategories[].TrackingOptionName String No

The default purchase tracking category name for contacts

Invoice.Contact.PurchasesTrackingCategories[].TrackingCategoryName String No

The default sales tracking category name for contacts

Invoice.Contact.UpdatedDateUTC String No

UTC timestamp of last update to contact

Invoice.Contact.BrandingTheme Object No
Invoice.Contact.BrandingTheme.Name String No

Name of branding theme

Invoice.Contact.BrandingTheme.BrandingThemeID String No

Xero identifier

Invoice.Contact.BrandingTheme.Type String No

Always INVOICE

Possible values:

  • "INVOICE"
Invoice.Contact.BrandingTheme.LogoUrl String No

The location of the image file used as the logo on this branding theme

Invoice.Contact.BrandingTheme.SortOrder Integer No

Integer – ranked order of branding theme. The default branding theme has a value of 0

Invoice.Contact.BrandingTheme.CreatedDateUTC String No

UTC timestamp of creation date of branding theme

Invoice.Contact.IsCustomer Boolean No

true or false – Boolean that describes if a contact has any AR invoices entered against them. Cannot be set via PUT or POST – it is automatically set when an accounts receivable invoice is generated against this contact.

Invoice.Contact.PurchasesDefaultLineAmountType String No

The default purchases line amount type for a contact Only available when summaryOnly parameter or paging is used, or when fetch by ContactId or ContactNumber.

Possible values:

  • "INCLUSIVE"
  • "NONE"
  • "EXCLUSIVE"
Invoice.Contact.Attachments[] Array No

Displays array of attachments from the API

Invoice.Contact.Attachments[].ContentLength Integer No

Length of the file content

Invoice.Contact.Attachments[].IncludeOnline Boolean No

Include the file with the online invoice

Invoice.Contact.Attachments[].AttachmentID String No

Unique ID for the file

Invoice.Contact.Attachments[].MimeType String No

Type of file

Invoice.Contact.Attachments[].Url String No

URL to the file on xero.com

Invoice.Contact.Attachments[].FileName String No

Name of the file

Invoice.Contact.PurchasesDefaultAccountCode String No

The default purchases account code for contacts

Invoice.Contact.ContactID String No

Xero identifier

Invoice.Contact.AccountsPayableTaxType String No

The tax type from TaxRates

Invoice.Contact.ContactStatus String No

Current status of a contact – see contact status types

Possible values:

  • "ARCHIVED"
  • "ACTIVE"
  • "GDPRREQUEST"
Invoice.Contact.Addresses[] Array No

Store certain address types for a contact – see address types

Invoice.Contact.Addresses[].City String No

max length = 255

Invoice.Contact.Addresses[].AddressType String No

define the type of address

Possible values:

  • "STREET"
  • "POBOX"
Invoice.Contact.Addresses[].AttentionTo String No

max length = 255

Invoice.Contact.Addresses[].AddressLine2 String No

max length = 500

Invoice.Contact.Addresses[].Region String No

max length = 255

Invoice.Contact.Addresses[].Country String No

max length = 50, [A-Z], [a-z] only

Invoice.Contact.Addresses[].AddressLine1 String No

max length = 500

Invoice.Contact.Addresses[].AddressLine4 String No

max length = 500

Invoice.Contact.Addresses[].AddressLine3 String No

max length = 500

Invoice.Contact.Addresses[].PostalCode String No

max length = 50

Invoice.Contact.StatusAttributeString String No

Status of object

Invoice.Contact.CompanyNumber String No

Company registration number (max length = 50)

Invoice.Contact.Phones[] Array No

Store certain phone types for a contact – see phone types

Invoice.Contact.Phones[].PhoneType String No

Possible values:

  • "DEFAULT"
  • "OFFICE"
  • "DDI"
  • "MOBILE"
  • "FAX"
Invoice.Contact.Phones[].PhoneNumber String No

max length = 50

Invoice.Contact.Phones[].PhoneAreaCode String No

max length = 10

Invoice.Contact.Phones[].PhoneCountryCode String No

max length = 20

Invoice.Contact.BatchPayments No

Bank details for use on a batch payment stored with each contact

Invoice.Contact.FirstName String No

First name of contact person (max length = 255)

Invoice.Contact.SalesDefaultAccountCode String No

The default sales account code for contacts

Invoice.Contact.ContactNumber String No

This can be updated via the API only i.e. This field is read only on the Xero contact screen, used to identify contacts in external systems (max length = 50). If the Contact Number is used, this is displayed as Contact Code in the Contacts UI in Xero.

Invoice.Contact.AccountsReceivableTaxType String No

The tax type from TaxRates

Invoice.Contact.DefaultCurrency String No

3 letter alpha code for the currency – see list of currency codes

Possible values:

  • "ISK"
  • "JMD"
  • "LTL"
  • "SVC"
  • "SAR"
  • "EEK"
  • "TTD"
  • "SBD"
  • "SHP"
  • "GBP"
  • "TRY"
  • "MOP"
  • "INR"
  • "MAD"
  • "CUP"
  • "CLF"
  • "SRD"
  • "SZL"
  • "IRR"
  • "CHF"
  • "EUR"
  • "KZT"
  • "ALL"
  • "MZN"
  • "CDF"
  • "BZD"
  • "KES"
  • "AOA"
  • "NGN"
  • "SEK"
  • "BND"
  • "UYU"
  • "BRL"
  • "YER"
  • "ANG"
  • "BYR"
  • "MRO"
  • "DJF"
  • "LSL"
  • "BBD"
  • "MGA"
  • "VND"
  • "DOP"
  • "TJS"
  • "FJD"
  • "BGN"
  • "TWD"
  • "QAR"
  • "VES"
  • "CNY"
  • "AUD"
  • "ZMW"
  • "WST"
  • "MDL"
  • "KHR"
  • "NZD"
  • "AMD"
  • "AZN"
  • "TZS"
  • "GIP"
  • "AED"
  • "AFN"
  • "DZD"
  • "PKR"
  • "KYD"
  • "AWG"
  • "BSD"
  • "PEN"
  • "XAF"
  • "NAD"
  • "ZWD"
  • "BTN"
  • "KRW"
  • "NPR"
  • "FKP"
  • "TND"
  • "LVL"
  • "MWK"
  • "JOD"
  • "LRD"
  • "RSD"
  • "SCR"
  • "HUF"
  • "IDR"
  • "LAK"
  • "UAH"
  • "ZAR"
  • "OMR"
  • "PGK"
  • "SLL"
  • "MVR"
  • "USD"
  • "MXV"
  • "MKD"
  • "COP"
  • "CAD"
  • "KMF"
  • "MXN"
  • "PYG"
  • "XCD"
  • "STD"
  • "IQD"
  • "TOP"
  • "VEF"
  • "VUV"
  • "SOS"
  • "CVE"
  • "CUC"
  • "KGS"
  • "TMT"
  • "THB"
  • "BOB"
  • "UZS"
  • "BYN"
  • "SKK"
  • "ILS"
  • "PLN"
  • "RON"
  • "BHD"
  • "BIF"
  • "SLE"
  • "XPF"
  • "ARS"
  • "GTQ"
  • "RUB"
  • "HKD"
  • "ZMK"
  • "RWF"
  • "BDT"
  • "ETB"
  • "LYD"
  • "JPY"
  • "SGD"
  • "STN"
  • "MNT"
  • "NIO"
  • "GEL"
  • "MUR"
  • "NOK"
  • "ERN"
  • "SYP"
  • "MYR"
  • "DKK"
  • "HRK"
  • "CLP"
  • "GNF"
  • "GMD"
  • "BAM"
  • "HTG"
  • "LBP"
  • "PHP"
  • "EGP"
  • "SDG"
  • "CRC"
  • "CZK"
  • "KWD"
  • "KPW"
  • "GHS"
  • "GYD"
  • "LKR"
  • "BMD"
  • "BWP"
  • "MRU"
  • "PAB"
  • "UGX"
  • "MMK"
  • "XOF"
  • "HNL"
Invoice.Contact.HasValidationErrors Boolean No

A boolean to indicate if a contact has an validation errors

Default value: false

Invoice.Contact.AccountNumber String No

A user defined account number. This can be updated via the API and the Xero UI (max length = 50)

Invoice.Contact.Balances Object No

The raw AccountsReceivable(sales invoices) and AccountsPayable(bills) outstanding and overdue amounts, not converted to base currency (read only)

Invoice.Contact.Balances.AccountsReceivable Object No
Invoice.Contact.Balances.AccountsReceivable.Overdue Number No
Invoice.Contact.Balances.AccountsReceivable.Outstanding Number No
Invoice.Contact.Balances.AccountsPayable Object No
Invoice.Contact.Balances.AccountsPayable.Overdue Number No
Invoice.Contact.Balances.AccountsPayable.Outstanding Number No
Invoice.Contact.XeroNetworkKey String No

Store XeroNetworkKey for contacts.

Invoice.Contact.Discount Number No

The default discount rate for the contact (read only)

Invoice.Contact.MergedToContactID String No

ID for the destination of a merged contact. Only returned when using paging or when fetching a contact by ContactId or ContactNumber.

Invoice.Contact.ValidationErrors[] Array No

Displays validation errors returned from the API

Invoice.Contact.ValidationErrors[].Message String No

Validation error message

Invoice.Contact.EmailAddress String No

Email address of contact person (umlauts not supported) (max length = 255)

Invoice.Contact.HasAttachments Boolean No

A boolean to indicate if a contact has an attachment

Default value: false

Invoice.Contact.PaymentTerms Object No
Invoice.Contact.PaymentTerms.Bills Object No
Invoice.Contact.PaymentTerms.Bills.Day Integer No

Day of Month (0-31)

Invoice.Contact.PaymentTerms.Bills.Type String No

Possible values:

  • "DAYSAFTERBILLMONTH"
  • "OFCURRENTMONTH"
  • "DAYSAFTERBILLDATE"
  • "OFFOLLOWINGMONTH"
Invoice.Contact.PaymentTerms.Sales Object No
Invoice.Contact.PaymentTerms.Sales.Day Integer No

Day of Month (0-31)

Invoice.Contact.PaymentTerms.Sales.Type String No

Possible values:

  • "DAYSAFTERBILLMONTH"
  • "OFCURRENTMONTH"
  • "DAYSAFTERBILLDATE"
  • "OFFOLLOWINGMONTH"
Invoice.Contact.ContactGroups[] Array No

Displays which contact groups a contact is included in

Invoice.Contact.ContactGroups[].Name String No

The Name of the contact group. Required when creating a new contact group

Invoice.Contact.ContactGroups[].Status String No

The Status of a contact group. To delete a contact group update the status to DELETED. Only contact groups with a status of ACTIVE are returned on GETs.

Possible values:

  • "DELETED"
  • "ACTIVE"
Invoice.Contact.ContactGroups[].ContactGroupID String No

The Xero identifier for an contact group – specified as a string following the endpoint name. e.g. /297c2dc5-cc47-4afd-8ec8-74990b8761e9

Invoice.Contact.ContactGroups[].Contacts[] Array No

The ContactID and Name of Contacts in a contact group. Returned on GETs when the ContactGroupID is supplied in the URL.

Invoice.Contact.ContactPersons[] Array No

See contact persons

Invoice.Contact.ContactPersons[].IncludeInEmails Boolean No

boolean to indicate whether contact should be included on emails with invoices etc.

Invoice.Contact.ContactPersons[].EmailAddress String No

Email address of person

Invoice.Contact.ContactPersons[].LastName String No

Last name of person

Invoice.Contact.ContactPersons[].FirstName String No

First name of person

Invoice.CurrencyCode String No

3 letter alpha code for the currency – see list of currency codes

Possible values:

  • "ISK"
  • "JMD"
  • "LTL"
  • "SVC"
  • "SAR"
  • "EEK"
  • "TTD"
  • "SBD"
  • "SHP"
  • "GBP"
  • "TRY"
  • "MOP"
  • "INR"
  • "MAD"
  • "CUP"
  • "CLF"
  • "SRD"
  • "SZL"
  • "IRR"
  • "CHF"
  • "EUR"
  • "KZT"
  • "ALL"
  • "MZN"
  • "CDF"
  • "BZD"
  • "KES"
  • "AOA"
  • "NGN"
  • "SEK"
  • "BND"
  • "UYU"
  • "BRL"
  • "YER"
  • "ANG"
  • "BYR"
  • "MRO"
  • "DJF"
  • "LSL"
  • "BBD"
  • "MGA"
  • "VND"
  • "DOP"
  • "TJS"
  • "FJD"
  • "BGN"
  • "TWD"
  • "QAR"
  • "VES"
  • "CNY"
  • "AUD"
  • "ZMW"
  • "WST"
  • "MDL"
  • "KHR"
  • "NZD"
  • "AMD"
  • "AZN"
  • "TZS"
  • "GIP"
  • "AED"
  • "AFN"
  • "DZD"
  • "PKR"
  • "KYD"
  • "AWG"
  • "BSD"
  • "PEN"
  • "XAF"
  • "NAD"
  • "ZWD"
  • "BTN"
  • "KRW"
  • "NPR"
  • "FKP"
  • "TND"
  • "LVL"
  • "MWK"
  • "JOD"
  • "LRD"
  • "RSD"
  • "SCR"
  • "HUF"
  • "IDR"
  • "LAK"
  • "UAH"
  • "ZAR"
  • "OMR"
  • "PGK"
  • "SLL"
  • "MVR"
  • "USD"
  • "MXV"
  • "MKD"
  • "COP"
  • "CAD"
  • "KMF"
  • "MXN"
  • "PYG"
  • "XCD"
  • "STD"
  • "IQD"
  • "TOP"
  • "VEF"
  • "VUV"
  • "SOS"
  • "CVE"
  • "CUC"
  • "KGS"
  • "TMT"
  • "THB"
  • "BOB"
  • "UZS"
  • "BYN"
  • "SKK"
  • "ILS"
  • "PLN"
  • "RON"
  • "BHD"
  • "BIF"
  • "SLE"
  • "XPF"
  • "ARS"
  • "GTQ"
  • "RUB"
  • "HKD"
  • "ZMK"
  • "RWF"
  • "BDT"
  • "ETB"
  • "LYD"
  • "JPY"
  • "SGD"
  • "STN"
  • "MNT"
  • "NIO"
  • "GEL"
  • "MUR"
  • "NOK"
  • "ERN"
  • "SYP"
  • "MYR"
  • "DKK"
  • "HRK"
  • "CLP"
  • "GNF"
  • "GMD"
  • "BAM"
  • "HTG"
  • "LBP"
  • "PHP"
  • "EGP"
  • "SDG"
  • "CRC"
  • "CZK"
  • "KWD"
  • "KPW"
  • "GHS"
  • "GYD"
  • "LKR"
  • "BMD"
  • "BWP"
  • "MRU"
  • "PAB"
  • "UGX"
  • "MMK"
  • "XOF"
  • "HNL"
Invoice.AmountCredited Number No

Sum of all credit notes, over-payments and pre-payments applied to invoice

Invoice.LineAmountTypes String No

Line amounts are exclusive of tax by default if you don’t specify this element. See Line Amount Types

Possible values:

  • "Inclusive"
  • "Exclusive"
  • "NoTax"
Invoice.Date String No

Date invoice was issued – YYYY-MM-DD. If the Date element is not specified it will default to the current date based on the timezone setting of the organisation

Invoice.CISDeduction Number No

CIS deduction for UK contractors

Invoice.SentToContact Boolean No

Boolean to set whether the invoice in the Xero app should be marked as “sent”. This can be set only on invoices that have been approved

Invoice.Warnings[] Array No

Displays array of warning messages from the API

Invoice.Warnings[].Message String No

Validation error message

Invoice.Type String No

See Invoice Types

Possible values:

  • "APOVERPAYMENT"
  • "APPREPAYMENT"
  • "ACCPAYCREDIT"
  • "ACCREC"
  • "AROVERPAYMENT"
  • "ACCRECCREDIT"
  • "ARPREPAYMENT"
  • "ACCPAY"
Invoice.StatusAttributeString String No

A string to indicate if a invoice status

Invoice.DueDate String No

Date invoice is due – YYYY-MM-DD

Invoice.CISRate Number No

CIS Deduction rate for the organisation

Invoice.Reference String No

ACCREC only – additional reference number

Invoice.TotalTax Number No

Total tax on invoice

Invoice.LineItems[] Array No

See LineItems

Invoice.LineItems[].Quantity Number No

LineItem Quantity

Invoice.LineItems[].UnitAmount Number No

LineItem Unit Amount

Invoice.LineItems[].TaxAmount Number No

The tax amount is auto calculated as a percentage of the line amount (see below) based on the tax rate. This value can be overriden if the calculated is not correct.

Invoice.LineItems[].Item No
Invoice.LineItems[].AccountCode String No

See Accounts

Invoice.LineItems[].RepeatingInvoiceID String No

The Xero identifier for a Repeating Invoice

Invoice.LineItems[].LineItemID String No

LineItem unique ID

Invoice.LineItems[].Description String No

Description needs to be at least 1 char long. A line item with just a description (i.e no unit amount or quantity) can be created by specifying just a element that contains at least 1 character

Invoice.LineItems[].TaxType String No

The tax type from TaxRates

Invoice.LineItems[].Taxability String No

The type of taxability

Possible values:

  • "NOT_APPLICABLE"
  • "EXEMPT"
  • "PART_TAXABLE"
  • "TAXABLE"
  • "NON_TAXABLE"
Invoice.LineItems[].TaxBreakdown[] Array No

An array of tax components defined for this line item

Invoice.LineItems[].TaxBreakdown[].TaxComponentId String No

The unique ID number of this component

Invoice.LineItems[].TaxBreakdown[].Name String No

The name of the jurisdiction

Invoice.LineItems[].TaxBreakdown[].Type String No

The type of the jurisdiction

Possible values:

  • "SYSGST/USSPECIAL"
  • "SYSGST/USCOUNTRY"
  • "SYSGST/USCOUNTY"
  • "SYSGST/USSTATE"
  • "SYSGST/USCITY"
Invoice.LineItems[].TaxBreakdown[].TaxAmount Number No

The amount of the tax

Invoice.LineItems[].TaxBreakdown[].TaxableAmount Number No

The amount that is taxable

Invoice.LineItems[].TaxBreakdown[].NonTaxableAmount Number No

The amount that is not taxable

Invoice.LineItems[].TaxBreakdown[].TaxPercentage Number No

The percentage of the tax

Invoice.LineItems[].TaxBreakdown[].ExemptAmount Number No

The amount that is exempt

Invoice.LineItems[].TaxBreakdown[].StateAssignedNo String No

The state assigned number of the jurisdiction

Invoice.LineItems[].TaxBreakdown[].JurisdictionRegion String No

Name identifying the region within the country

Invoice.LineItems[].LineAmount Number No

If you wish to omit either the Quantity or UnitAmount you can provide a LineAmount and Xero will calculate the missing amount for you. The line amount reflects the discounted price if either a DiscountRate or DiscountAmount has been used i.e. LineAmount = Quantity * Unit Amount * ((100 - DiscountRate)/100) or LineAmount = (Quantity * UnitAmount) - DiscountAmount

Invoice.LineItems[].AccountID String No

The associated account ID related to this line item

Invoice.LineItems[].SalesTaxCodeId Number No

The ID of the sales tax code

Invoice.LineItems[].ItemCode String No

See Items

Invoice.LineItems[].Tracking[] Array No

Optional Tracking Category – see Tracking. Any LineItem can have a maximum of 2 elements.

Invoice.LineItems[].Tracking[].TrackingCategoryID String No

The Xero identifier for a tracking category

Invoice.LineItems[].Tracking[].Name String No

The name of the tracking category

Invoice.LineItems[].Tracking[].Option String No

See Tracking Options

Invoice.LineItems[].Tracking[].TrackingOptionID String No

The Xero identifier for a tracking category option

Invoice.LineItems[].DiscountAmount Number No

Discount amount being applied to a line item. Only supported on ACCREC invoices and quotes. ACCPAY invoices and credit notes in Xero do not support discounts.

Invoice.LineItems[].DiscountRate Number No

Percentage discount being applied to a line item (only supported on ACCREC invoices – ACC PAY invoices and credit notes in Xero do not support discounts

Invoice.AmountDue Number No

Amount remaining to be paid on invoice

Invoice.SubTotal Number No

Total of invoice excluding taxes

Invoice.Prepayments[] Array No

See Prepayments

Invoice.Prepayments[].LineAmountTypes String No

Line amounts are exclusive of tax by default if you don’t specify this element. See Line Amount Types

Possible values:

  • "Inclusive"
  • "Exclusive"
  • "NoTax"
Invoice.Prepayments[].Date String No

The date the prepayment is created YYYY-MM-DD

Invoice.Prepayments[].Payments[] Array No

See Payments

Invoice.Prepayments[].Type String No

See Prepayment Types

Possible values:

  • "APPREPAYMENT"
  • "RECEIVE-PREPAYMENT"
  • "SPEND-PREPAYMENT"
  • "ARPREPAYMENT"
Invoice.Prepayments[].Total Number No

The total of the prepayment(subtotal + total tax)

Invoice.Prepayments[].TotalTax Number No

The total tax on the prepayment

Invoice.Prepayments[].Reference String No

Returns Invoice number field. Reference field isn't available.

Invoice.Prepayments[].LineItems[] Array No

See Prepayment Line Items

Invoice.Prepayments[].LineItems[].Quantity Number No

LineItem Quantity

Invoice.Prepayments[].LineItems[].UnitAmount Number No

LineItem Unit Amount

Invoice.Prepayments[].LineItems[].TaxAmount Number No

The tax amount is auto calculated as a percentage of the line amount (see below) based on the tax rate. This value can be overriden if the calculated is not correct.

Invoice.Prepayments[].LineItems[].Item No
Invoice.Prepayments[].LineItems[].AccountCode String No

See Accounts

Invoice.Prepayments[].LineItems[].RepeatingInvoiceID String No

The Xero identifier for a Repeating Invoice

Invoice.Prepayments[].LineItems[].LineItemID String No

LineItem unique ID

Invoice.Prepayments[].LineItems[].Description String No

Description needs to be at least 1 char long. A line item with just a description (i.e no unit amount or quantity) can be created by specifying just a element that contains at least 1 character

Invoice.Prepayments[].LineItems[].TaxType String No

The tax type from TaxRates

Invoice.Prepayments[].LineItems[].Taxability String No

The type of taxability

Possible values:

  • "NOT_APPLICABLE"
  • "EXEMPT"
  • "PART_TAXABLE"
  • "TAXABLE"
  • "NON_TAXABLE"
Invoice.Prepayments[].LineItems[].TaxBreakdown[] Array No

An array of tax components defined for this line item

Invoice.Prepayments[].LineItems[].TaxBreakdown[].TaxComponentId String No

The unique ID number of this component

Invoice.Prepayments[].LineItems[].TaxBreakdown[].Name String No

The name of the jurisdiction

Invoice.Prepayments[].LineItems[].TaxBreakdown[].Type String No

The type of the jurisdiction

Possible values:

  • "SYSGST/USSPECIAL"
  • "SYSGST/USCOUNTRY"
  • "SYSGST/USCOUNTY"
  • "SYSGST/USSTATE"
  • "SYSGST/USCITY"
Invoice.Prepayments[].LineItems[].TaxBreakdown[].TaxAmount Number No

The amount of the tax

Invoice.Prepayments[].LineItems[].TaxBreakdown[].TaxableAmount Number No

The amount that is taxable

Invoice.Prepayments[].LineItems[].TaxBreakdown[].NonTaxableAmount Number No

The amount that is not taxable

Invoice.Prepayments[].LineItems[].TaxBreakdown[].TaxPercentage Number No

The percentage of the tax

Invoice.Prepayments[].LineItems[].TaxBreakdown[].ExemptAmount Number No

The amount that is exempt

Invoice.Prepayments[].LineItems[].TaxBreakdown[].StateAssignedNo String No

The state assigned number of the jurisdiction

Invoice.Prepayments[].LineItems[].TaxBreakdown[].JurisdictionRegion String No

Name identifying the region within the country

Invoice.Prepayments[].LineItems[].LineAmount Number No

If you wish to omit either the Quantity or UnitAmount you can provide a LineAmount and Xero will calculate the missing amount for you. The line amount reflects the discounted price if either a DiscountRate or DiscountAmount has been used i.e. LineAmount = Quantity * Unit Amount * ((100 - DiscountRate)/100) or LineAmount = (Quantity * UnitAmount) - DiscountAmount

Invoice.Prepayments[].LineItems[].AccountID String No

The associated account ID related to this line item

Invoice.Prepayments[].LineItems[].SalesTaxCodeId Number No

The ID of the sales tax code

Invoice.Prepayments[].LineItems[].ItemCode String No

See Items

Invoice.Prepayments[].LineItems[].Tracking[] Array No

Optional Tracking Category – see Tracking. Any LineItem can have a maximum of 2 elements.

Invoice.Prepayments[].LineItems[].Tracking[].TrackingCategoryID String No

The Xero identifier for a tracking category

Invoice.Prepayments[].LineItems[].Tracking[].Name String No

The name of the tracking category

Invoice.Prepayments[].LineItems[].Tracking[].Option String No

See Tracking Options

Invoice.Prepayments[].LineItems[].Tracking[].TrackingOptionID String No

The Xero identifier for a tracking category option

Invoice.Prepayments[].LineItems[].DiscountAmount Number No

Discount amount being applied to a line item. Only supported on ACCREC invoices and quotes. ACCPAY invoices and credit notes in Xero do not support discounts.

Invoice.Prepayments[].LineItems[].DiscountRate Number No

Percentage discount being applied to a line item (only supported on ACCREC invoices – ACC PAY invoices and credit notes in Xero do not support discounts

Invoice.Prepayments[].UpdatedDateUTC String No

UTC timestamp of last update to the prepayment

Invoice.Prepayments[].SubTotal Number No

The subtotal of the prepayment excluding taxes

Invoice.Prepayments[].CurrencyRate Number No

The currency rate for a multicurrency prepayment. If no rate is specified, the XE.com day rate is used

Invoice.Prepayments[].Status String No

See Prepayment Status Codes

Possible values:

  • "AUTHORISED"
  • "PAID"
  • "VOIDED"
Invoice.Prepayments[].AppliedAmount Number No

The amount of applied to an invoice

Invoice.Prepayments[].Attachments[] Array No

See Attachments

Invoice.Prepayments[].Attachments[].ContentLength Integer No

Length of the file content

Invoice.Prepayments[].Attachments[].IncludeOnline Boolean No

Include the file with the online invoice

Invoice.Prepayments[].Attachments[].AttachmentID String No

Unique ID for the file

Invoice.Prepayments[].Attachments[].MimeType String No

Type of file

Invoice.Prepayments[].Attachments[].Url String No

URL to the file on xero.com

Invoice.Prepayments[].Attachments[].FileName String No

Name of the file

Invoice.Prepayments[].RemainingCredit Number No

The remaining credit balance on the prepayment

Invoice.Prepayments[].Allocations[] Array No

See Allocations

Invoice.Prepayments[].Allocations[].Amount Number Yes

the amount being applied to the invoice

Invoice.Prepayments[].Allocations[].Date String Yes

the date the allocation is applied YYYY-MM-DD.

Invoice.Prepayments[].Allocations[].Prepayment No
Invoice.Prepayments[].Allocations[].Overpayment Object No
Invoice.Prepayments[].Allocations[].Overpayment.LineAmountTypes String No

Line amounts are exclusive of tax by default if you don’t specify this element. See Line Amount Types

Possible values:

  • "Inclusive"
  • "Exclusive"
  • "NoTax"
Invoice.Prepayments[].Allocations[].Overpayment.Date String No

The date the overpayment is created YYYY-MM-DD

Invoice.Prepayments[].Allocations[].Overpayment.Payments[] Array No

See Payments

Invoice.Prepayments[].Allocations[].Overpayment.Type String No

See Overpayment Types

Possible values:

  • "RECEIVE-OVERPAYMENT"
  • "AROVERPAYMENT"
  • "SPEND-OVERPAYMENT"
Invoice.Prepayments[].Allocations[].Overpayment.Total Number No

The total of the overpayment (subtotal + total tax)

Invoice.Prepayments[].Allocations[].Overpayment.TotalTax Number No

The total tax on the overpayment

Invoice.Prepayments[].Allocations[].Overpayment.LineItems[] Array No

See Overpayment Line Items

Invoice.Prepayments[].Allocations[].Overpayment.LineItems[].Quantity Number No

LineItem Quantity

Invoice.Prepayments[].Allocations[].Overpayment.LineItems[].UnitAmount Number No

LineItem Unit Amount

Invoice.Prepayments[].Allocations[].Overpayment.LineItems[].TaxAmount Number No

The tax amount is auto calculated as a percentage of the line amount (see below) based on the tax rate. This value can be overriden if the calculated is not correct.

Invoice.Prepayments[].Allocations[].Overpayment.LineItems[].Item No
Invoice.Prepayments[].Allocations[].Overpayment.LineItems[].AccountCode String No

See Accounts

Invoice.Prepayments[].Allocations[].Overpayment.LineItems[].RepeatingInvoiceID String No

The Xero identifier for a Repeating Invoice

Invoice.Prepayments[].Allocations[].Overpayment.LineItems[].LineItemID String No

LineItem unique ID

Invoice.Prepayments[].Allocations[].Overpayment.LineItems[].Description String No

Description needs to be at least 1 char long. A line item with just a description (i.e no unit amount or quantity) can be created by specifying just a element that contains at least 1 character

Invoice.Prepayments[].Allocations[].Overpayment.LineItems[].TaxType String No

The tax type from TaxRates

Invoice.Prepayments[].Allocations[].Overpayment.LineItems[].Taxability String No

The type of taxability

Possible values:

  • "NOT_APPLICABLE"
  • "EXEMPT"
  • "PART_TAXABLE"
  • "TAXABLE"
  • "NON_TAXABLE"
Invoice.Prepayments[].Allocations[].Overpayment.LineItems[].TaxBreakdown[] Array No

An array of tax components defined for this line item

Invoice.Prepayments[].Allocations[].Overpayment.LineItems[].TaxBreakdown[].TaxComponentId String No

The unique ID number of this component

Invoice.Prepayments[].Allocations[].Overpayment.LineItems[].TaxBreakdown[].Name String No

The name of the jurisdiction

Invoice.Prepayments[].Allocations[].Overpayment.LineItems[].TaxBreakdown[].Type String No

The type of the jurisdiction

Possible values:

  • "SYSGST/USSPECIAL"
  • "SYSGST/USCOUNTRY"
  • "SYSGST/USCOUNTY"
  • "SYSGST/USSTATE"
  • "SYSGST/USCITY"
Invoice.Prepayments[].Allocations[].Overpayment.LineItems[].TaxBreakdown[].TaxAmount Number No

The amount of the tax

Invoice.Prepayments[].Allocations[].Overpayment.LineItems[].TaxBreakdown[].TaxableAmount Number No

The amount that is taxable

Invoice.Prepayments[].Allocations[].Overpayment.LineItems[].TaxBreakdown[].NonTaxableAmount Number No

The amount that is not taxable

Invoice.Prepayments[].Allocations[].Overpayment.LineItems[].TaxBreakdown[].TaxPercentage Number No

The percentage of the tax

Invoice.Prepayments[].Allocations[].Overpayment.LineItems[].TaxBreakdown[].ExemptAmount Number No

The amount that is exempt

Invoice.Prepayments[].Allocations[].Overpayment.LineItems[].TaxBreakdown[].StateAssignedNo String No

The state assigned number of the jurisdiction

Invoice.Prepayments[].Allocations[].Overpayment.LineItems[].TaxBreakdown[].JurisdictionRegion String No

Name identifying the region within the country

Invoice.Prepayments[].Allocations[].Overpayment.LineItems[].LineAmount Number No

If you wish to omit either the Quantity or UnitAmount you can provide a LineAmount and Xero will calculate the missing amount for you. The line amount reflects the discounted price if either a DiscountRate or DiscountAmount has been used i.e. LineAmount = Quantity * Unit Amount * ((100 - DiscountRate)/100) or LineAmount = (Quantity * UnitAmount) - DiscountAmount

Invoice.Prepayments[].Allocations[].Overpayment.LineItems[].AccountID String No

The associated account ID related to this line item

Invoice.Prepayments[].Allocations[].Overpayment.LineItems[].SalesTaxCodeId Number No

The ID of the sales tax code

Invoice.Prepayments[].Allocations[].Overpayment.LineItems[].ItemCode String No

See Items

Invoice.Prepayments[].Allocations[].Overpayment.LineItems[].Tracking[] Array No

Optional Tracking Category – see Tracking. Any LineItem can have a maximum of 2 elements.

Invoice.Prepayments[].Allocations[].Overpayment.LineItems[].Tracking[].TrackingCategoryID String No

The Xero identifier for a tracking category

Invoice.Prepayments[].Allocations[].Overpayment.LineItems[].Tracking[].Name String No

The name of the tracking category

Invoice.Prepayments[].Allocations[].Overpayment.LineItems[].Tracking[].Option String No

See Tracking Options

Invoice.Prepayments[].Allocations[].Overpayment.LineItems[].Tracking[].TrackingOptionID String No

The Xero identifier for a tracking category option

Invoice.Prepayments[].Allocations[].Overpayment.LineItems[].DiscountAmount Number No

Discount amount being applied to a line item. Only supported on ACCREC invoices and quotes. ACCPAY invoices and credit notes in Xero do not support discounts.

Invoice.Prepayments[].Allocations[].Overpayment.LineItems[].DiscountRate Number No

Percentage discount being applied to a line item (only supported on ACCREC invoices – ACC PAY invoices and credit notes in Xero do not support discounts

Invoice.Prepayments[].Allocations[].Overpayment.UpdatedDateUTC String No

UTC timestamp of last update to the overpayment

Invoice.Prepayments[].Allocations[].Overpayment.SubTotal Number No

The subtotal of the overpayment excluding taxes

Invoice.Prepayments[].Allocations[].Overpayment.CurrencyRate Number No

The currency rate for a multicurrency overpayment. If no rate is specified, the XE.com day rate is used

Invoice.Prepayments[].Allocations[].Overpayment.Status String No

See Overpayment Status Codes

Possible values:

  • "AUTHORISED"
  • "PAID"
  • "VOIDED"
Invoice.Prepayments[].Allocations[].Overpayment.OverpaymentID String No

Xero generated unique identifier

Invoice.Prepayments[].Allocations[].Overpayment.AppliedAmount Number No

The amount of applied to an invoice

Invoice.Prepayments[].Allocations[].Overpayment.Attachments[] Array No

See Attachments

Invoice.Prepayments[].Allocations[].Overpayment.Attachments[].ContentLength Integer No

Length of the file content

Invoice.Prepayments[].Allocations[].Overpayment.Attachments[].IncludeOnline Boolean No

Include the file with the online invoice

Invoice.Prepayments[].Allocations[].Overpayment.Attachments[].AttachmentID String No

Unique ID for the file

Invoice.Prepayments[].Allocations[].Overpayment.Attachments[].MimeType String No

Type of file

Invoice.Prepayments[].Allocations[].Overpayment.Attachments[].Url String No

URL to the file on xero.com

Invoice.Prepayments[].Allocations[].Overpayment.Attachments[].FileName String No

Name of the file

Invoice.Prepayments[].Allocations[].Overpayment.RemainingCredit Number No

The remaining credit balance on the overpayment

Invoice.Prepayments[].Allocations[].Overpayment.Allocations[] Array No

See Allocations

Invoice.Prepayments[].Allocations[].Overpayment.Contact Object No
Invoice.Prepayments[].Allocations[].Overpayment.Contact.BankAccountDetails String No

Bank account number of contact

Invoice.Prepayments[].Allocations[].Overpayment.Contact.Website String No

Website address for contact (read only)

Invoice.Prepayments[].Allocations[].Overpayment.Contact.Name String No

Full name of contact/organisation (max length = 255)

Invoice.Prepayments[].Allocations[].Overpayment.Contact.SalesTrackingCategories[] Array No

The default sales tracking categories for contacts

Invoice.Prepayments[].Allocations[].Overpayment.Contact.SalesTrackingCategories[].TrackingOptionName String No

The default purchase tracking category name for contacts

Invoice.Prepayments[].Allocations[].Overpayment.Contact.SalesTrackingCategories[].TrackingCategoryName String No

The default sales tracking category name for contacts

Invoice.Prepayments[].Allocations[].Overpayment.Contact.SalesDefaultLineAmountType String No

The default sales line amount type for a contact. Only available when summaryOnly parameter or paging is used, or when fetch by ContactId or ContactNumber.

Possible values:

  • "INCLUSIVE"
  • "NONE"
  • "EXCLUSIVE"
Invoice.Prepayments[].Allocations[].Overpayment.Contact.TrackingCategoryOption String No

The name of the Tracking Option assigned to the contact under SalesTrackingCategories and PurchasesTrackingCategories

Invoice.Prepayments[].Allocations[].Overpayment.Contact.TaxNumber String No

Tax 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 (max length = 50)

Invoice.Prepayments[].Allocations[].Overpayment.Contact.TrackingCategoryName String No

The name of the Tracking Category assigned to the contact under SalesTrackingCategories and PurchasesTrackingCategories

Invoice.Prepayments[].Allocations[].Overpayment.Contact.LastName String No

Last name of contact person (max length = 255)

Invoice.Prepayments[].Allocations[].Overpayment.Contact.IsSupplier Boolean No

true or false – Boolean that describes if a contact that has any AP invoices entered against them. Cannot be set via PUT or POST – it is automatically set when an accounts payable invoice is generated against this contact.

Invoice.Prepayments[].Allocations[].Overpayment.Contact.PurchasesTrackingCategories[] Array No

The default purchases tracking categories for contacts

Invoice.Prepayments[].Allocations[].Overpayment.Contact.PurchasesTrackingCategories[].TrackingOptionName String No

The default purchase tracking category name for contacts

Invoice.Prepayments[].Allocations[].Overpayment.Contact.PurchasesTrackingCategories[].TrackingCategoryName String No

The default sales tracking category name for contacts

Invoice.Prepayments[].Allocations[].Overpayment.Contact.UpdatedDateUTC String No

UTC timestamp of last update to contact

Invoice.Prepayments[].Allocations[].Overpayment.Contact.BrandingTheme Object No
Invoice.Prepayments[].Allocations[].Overpayment.Contact.BrandingTheme.Name String No

Name of branding theme

Invoice.Prepayments[].Allocations[].Overpayment.Contact.BrandingTheme.BrandingThemeID String No

Xero identifier

Invoice.Prepayments[].Allocations[].Overpayment.Contact.BrandingTheme.Type String No

Always INVOICE

Possible values:

  • "INVOICE"
Invoice.Prepayments[].Allocations[].Overpayment.Contact.BrandingTheme.LogoUrl String No

The location of the image file used as the logo on this branding theme

Invoice.Prepayments[].Allocations[].Overpayment.Contact.BrandingTheme.SortOrder Integer No

Integer – ranked order of branding theme. The default branding theme has a value of 0

Invoice.Prepayments[].Allocations[].Overpayment.Contact.BrandingTheme.CreatedDateUTC String No

UTC timestamp of creation date of branding theme

Invoice.Prepayments[].Allocations[].Overpayment.Contact.IsCustomer Boolean No

true or false – Boolean that describes if a contact has any AR invoices entered against them. Cannot be set via PUT or POST – it is automatically set when an accounts receivable invoice is generated against this contact.

Invoice.Prepayments[].Allocations[].Overpayment.Contact.PurchasesDefaultLineAmountType String No

The default purchases line amount type for a contact Only available when summaryOnly parameter or paging is used, or when fetch by ContactId or ContactNumber.

Possible values:

  • "INCLUSIVE"
  • "NONE"
  • "EXCLUSIVE"
Invoice.Prepayments[].Allocations[].Overpayment.Contact.Attachments[] Array No

Displays array of attachments from the API

Invoice.Prepayments[].Allocations[].Overpayment.Contact.Attachments[].ContentLength Integer No

Length of the file content

Invoice.Prepayments[].Allocations[].Overpayment.Contact.Attachments[].IncludeOnline Boolean No

Include the file with the online invoice

Invoice.Prepayments[].Allocations[].Overpayment.Contact.Attachments[].AttachmentID String No

Unique ID for the file

Invoice.Prepayments[].Allocations[].Overpayment.Contact.Attachments[].MimeType String No

Type of file

Invoice.Prepayments[].Allocations[].Overpayment.Contact.Attachments[].Url String No

URL to the file on xero.com

Invoice.Prepayments[].Allocations[].Overpayment.Contact.Attachments[].FileName String No

Name of the file

Invoice.Prepayments[].Allocations[].Overpayment.Contact.PurchasesDefaultAccountCode String No

The default purchases account code for contacts

Invoice.Prepayments[].Allocations[].Overpayment.Contact.ContactID String No

Xero identifier

Invoice.Prepayments[].Allocations[].Overpayment.Contact.AccountsPayableTaxType String No

The tax type from TaxRates

Invoice.Prepayments[].Allocations[].Overpayment.Contact.ContactStatus String No

Current status of a contact – see contact status types

Possible values:

  • "ARCHIVED"
  • "ACTIVE"
  • "GDPRREQUEST"
Invoice.Prepayments[].Allocations[].Overpayment.Contact.Addresses[] Array No

Store certain address types for a contact – see address types

Invoice.Prepayments[].Allocations[].Overpayment.Contact.Addresses[].City String No

max length = 255

Invoice.Prepayments[].Allocations[].Overpayment.Contact.Addresses[].AddressType String No

define the type of address

Possible values:

  • "STREET"
  • "POBOX"
Invoice.Prepayments[].Allocations[].Overpayment.Contact.Addresses[].AttentionTo String No

max length = 255

Invoice.Prepayments[].Allocations[].Overpayment.Contact.Addresses[].AddressLine2 String No

max length = 500

Invoice.Prepayments[].Allocations[].Overpayment.Contact.Addresses[].Region String No

max length = 255

Invoice.Prepayments[].Allocations[].Overpayment.Contact.Addresses[].Country String No

max length = 50, [A-Z], [a-z] only

Invoice.Prepayments[].Allocations[].Overpayment.Contact.Addresses[].AddressLine1 String No

max length = 500

Invoice.Prepayments[].Allocations[].Overpayment.Contact.Addresses[].AddressLine4 String No

max length = 500

Invoice.Prepayments[].Allocations[].Overpayment.Contact.Addresses[].AddressLine3 String No

max length = 500

Invoice.Prepayments[].Allocations[].Overpayment.Contact.Addresses[].PostalCode String No

max length = 50

Invoice.Prepayments[].Allocations[].Overpayment.Contact.StatusAttributeString String No

Status of object

Invoice.Prepayments[].Allocations[].Overpayment.Contact.CompanyNumber String No

Company registration number (max length = 50)

Invoice.Prepayments[].Allocations[].Overpayment.Contact.Phones[] Array No

Store certain phone types for a contact – see phone types

Invoice.Prepayments[].Allocations[].Overpayment.Contact.Phones[].PhoneType String No

Possible values:

  • "DEFAULT"
  • "OFFICE"
  • "DDI"
  • "MOBILE"
  • "FAX"
Invoice.Prepayments[].Allocations[].Overpayment.Contact.Phones[].PhoneNumber String No

max length = 50

Invoice.Prepayments[].Allocations[].Overpayment.Contact.Phones[].PhoneAreaCode String No

max length = 10

Invoice.Prepayments[].Allocations[].Overpayment.Contact.Phones[].PhoneCountryCode String No

max length = 20

Invoice.Prepayments[].Allocations[].Overpayment.Contact.BatchPayments No

Bank details for use on a batch payment stored with each contact

Invoice.Prepayments[].Allocations[].Overpayment.Contact.FirstName String No

First name of contact person (max length = 255)

Invoice.Prepayments[].Allocations[].Overpayment.Contact.SalesDefaultAccountCode String No

The default sales account code for contacts

Invoice.Prepayments[].Allocations[].Overpayment.Contact.ContactNumber String No

This can be updated via the API only i.e. This field is read only on the Xero contact screen, used to identify contacts in external systems (max length = 50). If the Contact Number is used, this is displayed as Contact Code in the Contacts UI in Xero.

Invoice.Prepayments[].Allocations[].Overpayment.Contact.AccountsReceivableTaxType String No

The tax type from TaxRates

Invoice.Prepayments[].Allocations[].Overpayment.Contact.DefaultCurrency String No

3 letter alpha code for the currency – see list of currency codes

Possible values:

  • "ISK"
  • "JMD"
  • "LTL"
  • "SVC"
  • "SAR"
  • "EEK"
  • "TTD"
  • "SBD"
  • "SHP"
  • "GBP"
  • "TRY"
  • "MOP"
  • "INR"
  • "MAD"
  • "CUP"
  • "CLF"
  • "SRD"
  • "SZL"
  • "IRR"
  • "CHF"
  • "EUR"
  • "KZT"
  • "ALL"
  • "MZN"
  • "CDF"
  • "BZD"
  • "KES"
  • "AOA"
  • "NGN"
  • "SEK"
  • "BND"
  • "UYU"
  • "BRL"
  • "YER"
  • "ANG"
  • "BYR"
  • "MRO"
  • "DJF"
  • "LSL"
  • "BBD"
  • "MGA"
  • "VND"
  • "DOP"
  • "TJS"
  • "FJD"
  • "BGN"
  • "TWD"
  • "QAR"
  • "VES"
  • "CNY"
  • "AUD"
  • "ZMW"
  • "WST"
  • "MDL"
  • "KHR"
  • "NZD"
  • "AMD"
  • "AZN"
  • "TZS"
  • "GIP"
  • "AED"
  • "AFN"
  • "DZD"
  • "PKR"
  • "KYD"
  • "AWG"
  • "BSD"
  • "PEN"
  • "XAF"
  • "NAD"
  • "ZWD"
  • "BTN"
  • "KRW"
  • "NPR"
  • "FKP"
  • "TND"
  • "LVL"
  • "MWK"
  • "JOD"
  • "LRD"
  • "RSD"
  • "SCR"
  • "HUF"
  • "IDR"
  • "LAK"
  • "UAH"
  • "ZAR"
  • "OMR"
  • "PGK"
  • "SLL"
  • "MVR"
  • "USD"
  • "MXV"
  • "MKD"
  • "COP"
  • "CAD"
  • "KMF"
  • "MXN"
  • "PYG"
  • "XCD"
  • "STD"
  • "IQD"
  • "TOP"
  • "VEF"
  • "VUV"
  • "SOS"
  • "CVE"
  • "CUC"
  • "KGS"
  • "TMT"
  • "THB"
  • "BOB"
  • "UZS"
  • "BYN"
  • "SKK"
  • "ILS"
  • "PLN"
  • "RON"
  • "BHD"
  • "BIF"
  • "SLE"
  • "XPF"
  • "ARS"
  • "GTQ"
  • "RUB"
  • "HKD"
  • "ZMK"
  • "RWF"
  • "BDT"
  • "ETB"
  • "LYD"
  • "JPY"
  • "SGD"
  • "STN"
  • "MNT"
  • "NIO"
  • "GEL"
  • "MUR"
  • "NOK"
  • "ERN"
  • "SYP"
  • "MYR"
  • "DKK"
  • "HRK"
  • "CLP"
  • "GNF"
  • "GMD"
  • "BAM"
  • "HTG"
  • "LBP"
  • "PHP"
  • "EGP"
  • "SDG"
  • "CRC"
  • "CZK"
  • "KWD"
  • "KPW"
  • "GHS"
  • "GYD"
  • "LKR"
  • "BMD"
  • "BWP"
  • "MRU"
  • "PAB"
  • "UGX"
  • "MMK"
  • "XOF"
  • "HNL"
Invoice.Prepayments[].Allocations[].Overpayment.Contact.HasValidationErrors Boolean No

A boolean to indicate if a contact has an validation errors

Default value: false

Invoice.Prepayments[].Allocations[].Overpayment.Contact.AccountNumber String No

A user defined account number. This can be updated via the API and the Xero UI (max length = 50)

Invoice.Prepayments[].Allocations[].Overpayment.Contact.Balances Object No

The raw AccountsReceivable(sales invoices) and AccountsPayable(bills) outstanding and overdue amounts, not converted to base currency (read only)

Invoice.Prepayments[].Allocations[].Overpayment.Contact.Balances.AccountsReceivable Object No
Invoice.Prepayments[].Allocations[].Overpayment.Contact.Balances.AccountsReceivable.Overdue Number No
Invoice.Prepayments[].Allocations[].Overpayment.Contact.Balances.AccountsReceivable.Outstanding Number No
Invoice.Prepayments[].Allocations[].Overpayment.Contact.Balances.AccountsPayable Object No
Invoice.Prepayments[].Allocations[].Overpayment.Contact.Balances.AccountsPayable.Overdue Number No
Invoice.Prepayments[].Allocations[].Overpayment.Contact.Balances.AccountsPayable.Outstanding Number No
Invoice.Prepayments[].Allocations[].Overpayment.Contact.XeroNetworkKey String No

Store XeroNetworkKey for contacts.

Invoice.Prepayments[].Allocations[].Overpayment.Contact.Discount Number No

The default discount rate for the contact (read only)

Invoice.Prepayments[].Allocations[].Overpayment.Contact.MergedToContactID String No

ID for the destination of a merged contact. Only returned when using paging or when fetching a contact by ContactId or ContactNumber.

Invoice.Prepayments[].Allocations[].Overpayment.Contact.ValidationErrors[] Array No

Displays validation errors returned from the API

Invoice.Prepayments[].Allocations[].Overpayment.Contact.ValidationErrors[].Message String No

Validation error message

Invoice.Prepayments[].Allocations[].Overpayment.Contact.EmailAddress String No

Email address of contact person (umlauts not supported) (max length = 255)

Invoice.Prepayments[].Allocations[].Overpayment.Contact.HasAttachments Boolean No

A boolean to indicate if a contact has an attachment

Default value: false

Invoice.Prepayments[].Allocations[].Overpayment.Contact.PaymentTerms Object No
Invoice.Prepayments[].Allocations[].Overpayment.Contact.PaymentTerms.Bills Object No
Invoice.Prepayments[].Allocations[].Overpayment.Contact.PaymentTerms.Bills.Day Integer No

Day of Month (0-31)

Invoice.Prepayments[].Allocations[].Overpayment.Contact.PaymentTerms.Bills.Type String No

Possible values:

  • "DAYSAFTERBILLMONTH"
  • "OFCURRENTMONTH"
  • "DAYSAFTERBILLDATE"
  • "OFFOLLOWINGMONTH"
Invoice.Prepayments[].Allocations[].Overpayment.Contact.PaymentTerms.Sales Object No
Invoice.Prepayments[].Allocations[].Overpayment.Contact.PaymentTerms.Sales.Day Integer No

Day of Month (0-31)

Invoice.Prepayments[].Allocations[].Overpayment.Contact.PaymentTerms.Sales.Type String No

Possible values:

  • "DAYSAFTERBILLMONTH"
  • "OFCURRENTMONTH"
  • "DAYSAFTERBILLDATE"
  • "OFFOLLOWINGMONTH"
Invoice.Prepayments[].Allocations[].Overpayment.Contact.ContactGroups[] Array No

Displays which contact groups a contact is included in

Invoice.Prepayments[].Allocations[].Overpayment.Contact.ContactGroups[].Name String No

The Name of the contact group. Required when creating a new contact group

Invoice.Prepayments[].Allocations[].Overpayment.Contact.ContactGroups[].Status String No

The Status of a contact group. To delete a contact group update the status to DELETED. Only contact groups with a status of ACTIVE are returned on GETs.

Possible values:

  • "DELETED"
  • "ACTIVE"
Invoice.Prepayments[].Allocations[].Overpayment.Contact.ContactGroups[].ContactGroupID String No

The Xero identifier for an contact group – specified as a string following the endpoint name. e.g. /297c2dc5-cc47-4afd-8ec8-74990b8761e9

Invoice.Prepayments[].Allocations[].Overpayment.Contact.ContactGroups[].Contacts[] Array No

The ContactID and Name of Contacts in a contact group. Returned on GETs when the ContactGroupID is supplied in the URL.

Invoice.Prepayments[].Allocations[].Overpayment.Contact.ContactPersons[] Array No

See contact persons

Invoice.Prepayments[].Allocations[].Overpayment.Contact.ContactPersons[].IncludeInEmails Boolean No

boolean to indicate whether contact should be included on emails with invoices etc.

Invoice.Prepayments[].Allocations[].Overpayment.Contact.ContactPersons[].EmailAddress String No

Email address of person

Invoice.Prepayments[].Allocations[].Overpayment.Contact.ContactPersons[].LastName String No

Last name of person

Invoice.Prepayments[].Allocations[].Overpayment.Contact.ContactPersons[].FirstName String No

First name of person

Invoice.Prepayments[].Allocations[].Overpayment.HasAttachments Boolean No

boolean to indicate if a overpayment has an attachment

Default value: false

Invoice.Prepayments[].Allocations[].Overpayment.CurrencyCode String No

3 letter alpha code for the currency – see list of currency codes

Possible values:

  • "ISK"
  • "JMD"
  • "LTL"
  • "SVC"
  • "SAR"
  • "EEK"
  • "TTD"
  • "SBD"
  • "SHP"
  • "GBP"
  • "TRY"
  • "MOP"
  • "INR"
  • "MAD"
  • "CUP"
  • "CLF"
  • "SRD"
  • "SZL"
  • "IRR"
  • "CHF"
  • "EUR"
  • "KZT"
  • "ALL"
  • "MZN"
  • "CDF"
  • "BZD"
  • "KES"
  • "AOA"
  • "NGN"
  • "SEK"
  • "BND"
  • "UYU"
  • "BRL"
  • "YER"
  • "ANG"
  • "BYR"
  • "MRO"
  • "DJF"
  • "LSL"
  • "BBD"
  • "MGA"
  • "VND"
  • "DOP"
  • "TJS"
  • "FJD"
  • "BGN"
  • "TWD"
  • "QAR"
  • "VES"
  • "CNY"
  • "AUD"
  • "ZMW"
  • "WST"
  • "MDL"
  • "KHR"
  • "NZD"
  • "AMD"
  • "AZN"
  • "TZS"
  • "GIP"
  • "AED"
  • "AFN"
  • "DZD"
  • "PKR"
  • "KYD"
  • "AWG"
  • "BSD"
  • "PEN"
  • "XAF"
  • "NAD"
  • "ZWD"
  • "BTN"
  • "KRW"
  • "NPR"
  • "FKP"
  • "TND"
  • "LVL"
  • "MWK"
  • "JOD"
  • "LRD"
  • "RSD"
  • "SCR"
  • "HUF"
  • "IDR"
  • "LAK"
  • "UAH"
  • "ZAR"
  • "OMR"
  • "PGK"
  • "SLL"
  • "MVR"
  • "USD"
  • "MXV"
  • "MKD"
  • "COP"
  • "CAD"
  • "KMF"
  • "MXN"
  • "PYG"
  • "XCD"
  • "STD"
  • "IQD"
  • "TOP"
  • "VEF"
  • "VUV"
  • "SOS"
  • "CVE"
  • "CUC"
  • "KGS"
  • "TMT"
  • "THB"
  • "BOB"
  • "UZS"
  • "BYN"
  • "SKK"
  • "ILS"
  • "PLN"
  • "RON"
  • "BHD"
  • "BIF"
  • "SLE"
  • "XPF"
  • "ARS"
  • "GTQ"
  • "RUB"
  • "HKD"
  • "ZMK"
  • "RWF"
  • "BDT"
  • "ETB"
  • "LYD"
  • "JPY"
  • "SGD"
  • "STN"
  • "MNT"
  • "NIO"
  • "GEL"
  • "MUR"
  • "NOK"
  • "ERN"
  • "SYP"
  • "MYR"
  • "DKK"
  • "HRK"
  • "CLP"
  • "GNF"
  • "GMD"
  • "BAM"
  • "HTG"
  • "LBP"
  • "PHP"
  • "EGP"
  • "SDG"
  • "CRC"
  • "CZK"
  • "KWD"
  • "KPW"
  • "GHS"
  • "GYD"
  • "LKR"
  • "BMD"
  • "BWP"
  • "MRU"
  • "PAB"
  • "UGX"
  • "MMK"
  • "XOF"
  • "HNL"
Invoice.Prepayments[].Allocations[].StatusAttributeString String No

A string to indicate if a invoice status

Invoice.Prepayments[].Allocations[].ValidationErrors[] Array No

Displays array of validation error messages from the API

Invoice.Prepayments[].Allocations[].ValidationErrors[].Message String No

Validation error message

Invoice.Prepayments[].Allocations[].IsDeleted Boolean No

A flag that returns true when the allocation is succesfully deleted

Invoice.Prepayments[].Allocations[].AllocationID String No

Xero generated unique identifier

Invoice.Prepayments[].Allocations[].Invoice Yes
Invoice.Prepayments[].Allocations[].CreditNote Object No
Invoice.Prepayments[].Allocations[].CreditNote.HasErrors Boolean No

A boolean to indicate if a credit note has an validation errors

Default value: false

Invoice.Prepayments[].Allocations[].CreditNote.Payments[] Array No

See Payments

Invoice.Prepayments[].Allocations[].CreditNote.Total Number No

The total of the Credit Note(subtotal + total tax)

Invoice.Prepayments[].Allocations[].CreditNote.FullyPaidOnDate String No

Date when credit note was fully paid(UTC format)

Invoice.Prepayments[].Allocations[].CreditNote.InvoiceAddresses[] Array No

An array of addresses used to auto calculate sales tax

Invoice.Prepayments[].Allocations[].CreditNote.InvoiceAddresses[].City String No

City of a physical address

Invoice.Prepayments[].Allocations[].CreditNote.InvoiceAddresses[].AddressLine2 String No

Second line of a physical address

Invoice.Prepayments[].Allocations[].CreditNote.InvoiceAddresses[].Region String No

Region or state of a physical address

Invoice.Prepayments[].Allocations[].CreditNote.InvoiceAddresses[].Country String No

Country of a physical address

Invoice.Prepayments[].Allocations[].CreditNote.InvoiceAddresses[].AddressLine1 String No

First line of a physical address

Invoice.Prepayments[].Allocations[].CreditNote.InvoiceAddresses[].InvoiceAddressType String No

Indicates whether the address is defined as origin (FROM) or destination (TO)

Possible values:

  • "FROM"
  • "TO"
Invoice.Prepayments[].Allocations[].CreditNote.InvoiceAddresses[].AddressLine4 String No

Fourth line of a physical address

Invoice.Prepayments[].Allocations[].CreditNote.InvoiceAddresses[].AddressLine3 String No

Third line of a physical address

Invoice.Prepayments[].Allocations[].CreditNote.InvoiceAddresses[].PostalCode String No

Postal code of a physical address

Invoice.Prepayments[].Allocations[].CreditNote.UpdatedDateUTC String No

UTC timestamp of last update to the credit note

Invoice.Prepayments[].Allocations[].CreditNote.CurrencyRate Number No

The currency rate for a multicurrency invoice. If no rate is specified, the XE.com day rate is used

Invoice.Prepayments[].Allocations[].CreditNote.RemainingCredit Number No

The remaining credit balance on the Credit Note

Invoice.Prepayments[].Allocations[].CreditNote.Allocations[] Array No

See Allocations

Invoice.Prepayments[].Allocations[].CreditNote.Contact Object No
Invoice.Prepayments[].Allocations[].CreditNote.Contact.BankAccountDetails String No

Bank account number of contact

Invoice.Prepayments[].Allocations[].CreditNote.Contact.Website String No

Website address for contact (read only)

Invoice.Prepayments[].Allocations[].CreditNote.Contact.Name String No

Full name of contact/organisation (max length = 255)

Invoice.Prepayments[].Allocations[].CreditNote.Contact.SalesTrackingCategories[] Array No

The default sales tracking categories for contacts

Invoice.Prepayments[].Allocations[].CreditNote.Contact.SalesTrackingCategories[].TrackingOptionName String No

The default purchase tracking category name for contacts

Invoice.Prepayments[].Allocations[].CreditNote.Contact.SalesTrackingCategories[].TrackingCategoryName String No

The default sales tracking category name for contacts

Invoice.Prepayments[].Allocations[].CreditNote.Contact.SalesDefaultLineAmountType String No

The default sales line amount type for a contact. Only available when summaryOnly parameter or paging is used, or when fetch by ContactId or ContactNumber.

Possible values:

  • "INCLUSIVE"
  • "NONE"
  • "EXCLUSIVE"
Invoice.Prepayments[].Allocations[].CreditNote.Contact.TrackingCategoryOption String No

The name of the Tracking Option assigned to the contact under SalesTrackingCategories and PurchasesTrackingCategories

Invoice.Prepayments[].Allocations[].CreditNote.Contact.TaxNumber String No

Tax 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 (max length = 50)

Invoice.Prepayments[].Allocations[].CreditNote.Contact.TrackingCategoryName String No

The name of the Tracking Category assigned to the contact under SalesTrackingCategories and PurchasesTrackingCategories

Invoice.Prepayments[].Allocations[].CreditNote.Contact.LastName String No

Last name of contact person (max length = 255)

Invoice.Prepayments[].Allocations[].CreditNote.Contact.IsSupplier Boolean No

true or false – Boolean that describes if a contact that has any AP invoices entered against them. Cannot be set via PUT or POST – it is automatically set when an accounts payable invoice is generated against this contact.

Invoice.Prepayments[].Allocations[].CreditNote.Contact.PurchasesTrackingCategories[] Array No

The default purchases tracking categories for contacts

Invoice.Prepayments[].Allocations[].CreditNote.Contact.PurchasesTrackingCategories[].TrackingOptionName String No

The default purchase tracking category name for contacts

Invoice.Prepayments[].Allocations[].CreditNote.Contact.PurchasesTrackingCategories[].TrackingCategoryName String No

The default sales tracking category name for contacts

Invoice.Prepayments[].Allocations[].CreditNote.Contact.UpdatedDateUTC String No

UTC timestamp of last update to contact

Invoice.Prepayments[].Allocations[].CreditNote.Contact.BrandingTheme Object No
Invoice.Prepayments[].Allocations[].CreditNote.Contact.BrandingTheme.Name String No

Name of branding theme

Invoice.Prepayments[].Allocations[].CreditNote.Contact.BrandingTheme.BrandingThemeID String No

Xero identifier

Invoice.Prepayments[].Allocations[].CreditNote.Contact.BrandingTheme.Type String No

Always INVOICE

Possible values:

  • "INVOICE"
Invoice.Prepayments[].Allocations[].CreditNote.Contact.BrandingTheme.LogoUrl String No

The location of the image file used as the logo on this branding theme

Invoice.Prepayments[].Allocations[].CreditNote.Contact.BrandingTheme.SortOrder Integer No

Integer – ranked order of branding theme. The default branding theme has a value of 0

Invoice.Prepayments[].Allocations[].CreditNote.Contact.BrandingTheme.CreatedDateUTC String No

UTC timestamp of creation date of branding theme

Invoice.Prepayments[].Allocations[].CreditNote.Contact.IsCustomer Boolean No

true or false – Boolean that describes if a contact has any AR invoices entered against them. Cannot be set via PUT or POST – it is automatically set when an accounts receivable invoice is generated against this contact.

Invoice.Prepayments[].Allocations[].CreditNote.Contact.PurchasesDefaultLineAmountType String No

The default purchases line amount type for a contact Only available when summaryOnly parameter or paging is used, or when fetch by ContactId or ContactNumber.

Possible values:

  • "INCLUSIVE"
  • "NONE"
  • "EXCLUSIVE"
Invoice.Prepayments[].Allocations[].CreditNote.Contact.Attachments[] Array No

Displays array of attachments from the API

Invoice.Prepayments[].Allocations[].CreditNote.Contact.Attachments[].ContentLength Integer No

Length of the file content

Invoice.Prepayments[].Allocations[].CreditNote.Contact.Attachments[].IncludeOnline Boolean No

Include the file with the online invoice

Invoice.Prepayments[].Allocations[].CreditNote.Contact.Attachments[].AttachmentID String No

Unique ID for the file

Invoice.Prepayments[].Allocations[].CreditNote.Contact.Attachments[].MimeType String No

Type of file

Invoice.Prepayments[].Allocations[].CreditNote.Contact.Attachments[].Url String No

URL to the file on xero.com

Invoice.Prepayments[].Allocations[].CreditNote.Contact.Attachments[].FileName String No

Name of the file

Invoice.Prepayments[].Allocations[].CreditNote.Contact.PurchasesDefaultAccountCode String No

The default purchases account code for contacts

Invoice.Prepayments[].Allocations[].CreditNote.Contact.ContactID String No

Xero identifier

Invoice.Prepayments[].Allocations[].CreditNote.Contact.AccountsPayableTaxType String No

The tax type from TaxRates

Invoice.Prepayments[].Allocations[].CreditNote.Contact.ContactStatus String No

Current status of a contact – see contact status types

Possible values:

  • "ARCHIVED"
  • "ACTIVE"
  • "GDPRREQUEST"
Invoice.Prepayments[].Allocations[].CreditNote.Contact.Addresses[] Array No

Store certain address types for a contact – see address types

Invoice.Prepayments[].Allocations[].CreditNote.Contact.Addresses[].City String No

max length = 255

Invoice.Prepayments[].Allocations[].CreditNote.Contact.Addresses[].AddressType String No

define the type of address

Possible values:

  • "STREET"
  • "POBOX"
Invoice.Prepayments[].Allocations[].CreditNote.Contact.Addresses[].AttentionTo String No

max length = 255

Invoice.Prepayments[].Allocations[].CreditNote.Contact.Addresses[].AddressLine2 String No

max length = 500

Invoice.Prepayments[].Allocations[].CreditNote.Contact.Addresses[].Region String No

max length = 255

Invoice.Prepayments[].Allocations[].CreditNote.Contact.Addresses[].Country String No

max length = 50, [A-Z], [a-z] only

Invoice.Prepayments[].Allocations[].CreditNote.Contact.Addresses[].AddressLine1 String No

max length = 500

Invoice.Prepayments[].Allocations[].CreditNote.Contact.Addresses[].AddressLine4 String No

max length = 500

Invoice.Prepayments[].Allocations[].CreditNote.Contact.Addresses[].AddressLine3 String No

max length = 500

Invoice.Prepayments[].Allocations[].CreditNote.Contact.Addresses[].PostalCode String No

max length = 50

Invoice.Prepayments[].Allocations[].CreditNote.Contact.StatusAttributeString String No

Status of object

Invoice.Prepayments[].Allocations[].CreditNote.Contact.CompanyNumber String No

Company registration number (max length = 50)

Invoice.Prepayments[].Allocations[].CreditNote.Contact.Phones[] Array No

Store certain phone types for a contact – see phone types

Invoice.Prepayments[].Allocations[].CreditNote.Contact.Phones[].PhoneType String No

Possible values:

  • "DEFAULT"
  • "OFFICE"
  • "DDI"
  • "MOBILE"
  • "FAX"
Invoice.Prepayments[].Allocations[].CreditNote.Contact.Phones[].PhoneNumber String No

max length = 50

Invoice.Prepayments[].Allocations[].CreditNote.Contact.Phones[].PhoneAreaCode String No

max length = 10

Invoice.Prepayments[].Allocations[].CreditNote.Contact.Phones[].PhoneCountryCode String No

max length = 20

Invoice.Prepayments[].Allocations[].CreditNote.Contact.BatchPayments No

Bank details for use on a batch payment stored with each contact

Invoice.Prepayments[].Allocations[].CreditNote.Contact.FirstName String No

First name of contact person (max length = 255)

Invoice.Prepayments[].Allocations[].CreditNote.Contact.SalesDefaultAccountCode String No

The default sales account code for contacts

Invoice.Prepayments[].Allocations[].CreditNote.Contact.ContactNumber String No

This can be updated via the API only i.e. This field is read only on the Xero contact screen, used to identify contacts in external systems (max length = 50). If the Contact Number is used, this is displayed as Contact Code in the Contacts UI in Xero.

Invoice.Prepayments[].Allocations[].CreditNote.Contact.AccountsReceivableTaxType String No

The tax type from TaxRates

Invoice.Prepayments[].Allocations[].CreditNote.Contact.DefaultCurrency String No

3 letter alpha code for the currency – see list of currency codes

Possible values:

  • "ISK"
  • "JMD"
  • "LTL"
  • "SVC"
  • "SAR"
  • "EEK"
  • "TTD"
  • "SBD"
  • "SHP"
  • "GBP"
  • "TRY"
  • "MOP"
  • "INR"
  • "MAD"
  • "CUP"
  • "CLF"
  • "SRD"
  • "SZL"
  • "IRR"
  • "CHF"
  • "EUR"
  • "KZT"
  • "ALL"
  • "MZN"
  • "CDF"
  • "BZD"
  • "KES"
  • "AOA"
  • "NGN"
  • "SEK"
  • "BND"
  • "UYU"
  • "BRL"
  • "YER"
  • "ANG"
  • "BYR"
  • "MRO"
  • "DJF"
  • "LSL"
  • "BBD"
  • "MGA"
  • "VND"
  • "DOP"
  • "TJS"
  • "FJD"
  • "BGN"
  • "TWD"
  • "QAR"
  • "VES"
  • "CNY"
  • "AUD"
  • "ZMW"
  • "WST"
  • "MDL"
  • "KHR"
  • "NZD"
  • "AMD"
  • "AZN"
  • "TZS"
  • "GIP"
  • "AED"
  • "AFN"
  • "DZD"
  • "PKR"
  • "KYD"
  • "AWG"
  • "BSD"
  • "PEN"
  • "XAF"
  • "NAD"
  • "ZWD"
  • "BTN"
  • "KRW"
  • "NPR"
  • "FKP"
  • "TND"
  • "LVL"
  • "MWK"
  • "JOD"
  • "LRD"
  • "RSD"
  • "SCR"
  • "HUF"
  • "IDR"
  • "LAK"
  • "UAH"
  • "ZAR"
  • "OMR"
  • "PGK"
  • "SLL"
  • "MVR"
  • "USD"
  • "MXV"
  • "MKD"
  • "COP"
  • "CAD"
  • "KMF"
  • "MXN"
  • "PYG"
  • "XCD"
  • "STD"
  • "IQD"
  • "TOP"
  • "VEF"
  • "VUV"
  • "SOS"
  • "CVE"
  • "CUC"
  • "KGS"
  • "TMT"
  • "THB"
  • "BOB"
  • "UZS"
  • "BYN"
  • "SKK"
  • "ILS"
  • "PLN"
  • "RON"
  • "BHD"
  • "BIF"
  • "SLE"
  • "XPF"
  • "ARS"
  • "GTQ"
  • "RUB"
  • "HKD"
  • "ZMK"
  • "RWF"
  • "BDT"
  • "ETB"
  • "LYD"
  • "JPY"
  • "SGD"
  • "STN"
  • "MNT"
  • "NIO"
  • "GEL"
  • "MUR"
  • "NOK"
  • "ERN"
  • "SYP"
  • "MYR"
  • "DKK"
  • "HRK"
  • "CLP"
  • "GNF"
  • "GMD"
  • "BAM"
  • "HTG"
  • "LBP"
  • "PHP"
  • "EGP"
  • "SDG"
  • "CRC"
  • "CZK"
  • "KWD"
  • "KPW"
  • "GHS"
  • "GYD"
  • "LKR"
  • "BMD"
  • "BWP"
  • "MRU"
  • "PAB"
  • "UGX"
  • "MMK"
  • "XOF"
  • "HNL"
Invoice.Prepayments[].Allocations[].CreditNote.Contact.HasValidationErrors Boolean No

A boolean to indicate if a contact has an validation errors

Default value: false

Invoice.Prepayments[].Allocations[].CreditNote.Contact.AccountNumber String No

A user defined account number. This can be updated via the API and the Xero UI (max length = 50)

Invoice.Prepayments[].Allocations[].CreditNote.Contact.Balances Object No

The raw AccountsReceivable(sales invoices) and AccountsPayable(bills) outstanding and overdue amounts, not converted to base currency (read only)

Invoice.Prepayments[].Allocations[].CreditNote.Contact.Balances.AccountsReceivable Object No
Invoice.Prepayments[].Allocations[].CreditNote.Contact.Balances.AccountsReceivable.Overdue Number No
Invoice.Prepayments[].Allocations[].CreditNote.Contact.Balances.AccountsReceivable.Outstanding Number No
Invoice.Prepayments[].Allocations[].CreditNote.Contact.Balances.AccountsPayable Object No
Invoice.Prepayments[].Allocations[].CreditNote.Contact.Balances.AccountsPayable.Overdue Number No
Invoice.Prepayments[].Allocations[].CreditNote.Contact.Balances.AccountsPayable.Outstanding Number No
Invoice.Prepayments[].Allocations[].CreditNote.Contact.XeroNetworkKey String No

Store XeroNetworkKey for contacts.

Invoice.Prepayments[].Allocations[].CreditNote.Contact.Discount Number No

The default discount rate for the contact (read only)

Invoice.Prepayments[].Allocations[].CreditNote.Contact.MergedToContactID String No

ID for the destination of a merged contact. Only returned when using paging or when fetching a contact by ContactId or ContactNumber.

Invoice.Prepayments[].Allocations[].CreditNote.Contact.ValidationErrors[] Array No

Displays validation errors returned from the API

Invoice.Prepayments[].Allocations[].CreditNote.Contact.ValidationErrors[].Message String No

Validation error message

Invoice.Prepayments[].Allocations[].CreditNote.Contact.EmailAddress String No

Email address of contact person (umlauts not supported) (max length = 255)

Invoice.Prepayments[].Allocations[].CreditNote.Contact.HasAttachments Boolean No

A boolean to indicate if a contact has an attachment

Default value: false

Invoice.Prepayments[].Allocations[].CreditNote.Contact.PaymentTerms Object No
Invoice.Prepayments[].Allocations[].CreditNote.Contact.PaymentTerms.Bills Object No
Invoice.Prepayments[].Allocations[].CreditNote.Contact.PaymentTerms.Bills.Day Integer No

Day of Month (0-31)

Invoice.Prepayments[].Allocations[].CreditNote.Contact.PaymentTerms.Bills.Type String No

Possible values:

  • "DAYSAFTERBILLMONTH"
  • "OFCURRENTMONTH"
  • "DAYSAFTERBILLDATE"
  • "OFFOLLOWINGMONTH"
Invoice.Prepayments[].Allocations[].CreditNote.Contact.PaymentTerms.Sales Object No
Invoice.Prepayments[].Allocations[].CreditNote.Contact.PaymentTerms.Sales.Day Integer No

Day of Month (0-31)

Invoice.Prepayments[].Allocations[].CreditNote.Contact.PaymentTerms.Sales.Type String No

Possible values:

  • "DAYSAFTERBILLMONTH"
  • "OFCURRENTMONTH"
  • "DAYSAFTERBILLDATE"
  • "OFFOLLOWINGMONTH"
Invoice.Prepayments[].Allocations[].CreditNote.Contact.ContactGroups[] Array No

Displays which contact groups a contact is included in

Invoice.Prepayments[].Allocations[].CreditNote.Contact.ContactGroups[].Name String No

The Name of the contact group. Required when creating a new contact group

Invoice.Prepayments[].Allocations[].CreditNote.Contact.ContactGroups[].Status String No

The Status of a contact group. To delete a contact group update the status to DELETED. Only contact groups with a status of ACTIVE are returned on GETs.

Possible values:

  • "DELETED"
  • "ACTIVE"
Invoice.Prepayments[].Allocations[].CreditNote.Contact.ContactGroups[].ContactGroupID String No

The Xero identifier for an contact group – specified as a string following the endpoint name. e.g. /297c2dc5-cc47-4afd-8ec8-74990b8761e9

Invoice.Prepayments[].Allocations[].CreditNote.Contact.ContactGroups[].Contacts[] Array No

The ContactID and Name of Contacts in a contact group. Returned on GETs when the ContactGroupID is supplied in the URL.

Invoice.Prepayments[].Allocations[].CreditNote.Contact.ContactPersons[] Array No

See contact persons

Invoice.Prepayments[].Allocations[].CreditNote.Contact.ContactPersons[].IncludeInEmails Boolean No

boolean to indicate whether contact should be included on emails with invoices etc.

Invoice.Prepayments[].Allocations[].CreditNote.Contact.ContactPersons[].EmailAddress String No

Email address of person

Invoice.Prepayments[].Allocations[].CreditNote.Contact.ContactPersons[].LastName String No

Last name of person

Invoice.Prepayments[].Allocations[].CreditNote.Contact.ContactPersons[].FirstName String No

First name of person

Invoice.Prepayments[].Allocations[].CreditNote.CurrencyCode String No

3 letter alpha code for the currency – see list of currency codes

Possible values:

  • "ISK"
  • "JMD"
  • "LTL"
  • "SVC"
  • "SAR"
  • "EEK"
  • "TTD"
  • "SBD"
  • "SHP"
  • "GBP"
  • "TRY"
  • "MOP"
  • "INR"
  • "MAD"
  • "CUP"
  • "CLF"
  • "SRD"
  • "SZL"
  • "IRR"
  • "CHF"
  • "EUR"
  • "KZT"
  • "ALL"
  • "MZN"
  • "CDF"
  • "BZD"
  • "KES"
  • "AOA"
  • "NGN"
  • "SEK"
  • "BND"
  • "UYU"
  • "BRL"
  • "YER"
  • "ANG"
  • "BYR"
  • "MRO"
  • "DJF"
  • "LSL"
  • "BBD"
  • "MGA"
  • "VND"
  • "DOP"
  • "TJS"
  • "FJD"
  • "BGN"
  • "TWD"
  • "QAR"
  • "VES"
  • "CNY"
  • "AUD"
  • "ZMW"
  • "WST"
  • "MDL"
  • "KHR"
  • "NZD"
  • "AMD"
  • "AZN"
  • "TZS"
  • "GIP"
  • "AED"
  • "AFN"
  • "DZD"
  • "PKR"
  • "KYD"
  • "AWG"
  • "BSD"
  • "PEN"
  • "XAF"
  • "NAD"
  • "ZWD"
  • "BTN"
  • "KRW"
  • "NPR"
  • "FKP"
  • "TND"
  • "LVL"
  • "MWK"
  • "JOD"
  • "LRD"
  • "RSD"
  • "SCR"
  • "HUF"
  • "IDR"
  • "LAK"
  • "UAH"
  • "ZAR"
  • "OMR"
  • "PGK"
  • "SLL"
  • "MVR"
  • "USD"
  • "MXV"
  • "MKD"
  • "COP"
  • "CAD"
  • "KMF"
  • "MXN"
  • "PYG"
  • "XCD"
  • "STD"
  • "IQD"
  • "TOP"
  • "VEF"
  • "VUV"
  • "SOS"
  • "CVE"
  • "CUC"
  • "KGS"
  • "TMT"
  • "THB"
  • "BOB"
  • "UZS"
  • "BYN"
  • "SKK"
  • "ILS"
  • "PLN"
  • "RON"
  • "BHD"
  • "BIF"
  • "SLE"
  • "XPF"
  • "ARS"
  • "GTQ"
  • "RUB"
  • "HKD"
  • "ZMK"
  • "RWF"
  • "BDT"
  • "ETB"
  • "LYD"
  • "JPY"
  • "SGD"
  • "STN"
  • "MNT"
  • "NIO"
  • "GEL"
  • "MUR"
  • "NOK"
  • "ERN"
  • "SYP"
  • "MYR"
  • "DKK"
  • "HRK"
  • "CLP"
  • "GNF"
  • "GMD"
  • "BAM"
  • "HTG"
  • "LBP"
  • "PHP"
  • "EGP"
  • "SDG"
  • "CRC"
  • "CZK"
  • "KWD"
  • "KPW"
  • "GHS"
  • "GYD"
  • "LKR"
  • "BMD"
  • "BWP"
  • "MRU"
  • "PAB"
  • "UGX"
  • "MMK"
  • "XOF"
  • "HNL"
Invoice.Prepayments[].Allocations[].CreditNote.CreditNoteID String No

Xero generated unique identifier

Invoice.Prepayments[].Allocations[].CreditNote.LineAmountTypes String No

Line amounts are exclusive of tax by default if you don’t specify this element. See Line Amount Types

Possible values:

  • "Inclusive"
  • "Exclusive"
  • "NoTax"
Invoice.Prepayments[].Allocations[].CreditNote.Date String No

The date the credit note is issued YYYY-MM-DD. If the Date element is not specified then it will default to the current date based on the timezone setting of the organisation

Invoice.Prepayments[].Allocations[].CreditNote.CISDeduction Number No

CIS deduction for UK contractors

Invoice.Prepayments[].Allocations[].CreditNote.SentToContact Boolean No

Boolean to set whether the credit note in the Xero app should be marked as “sent”. This can be set only on credit notes that have been approved

Invoice.Prepayments[].Allocations[].CreditNote.Warnings[] Array No

Displays array of warning messages from the API

Invoice.Prepayments[].Allocations[].CreditNote.Warnings[].Message String No

Validation error message

Invoice.Prepayments[].Allocations[].CreditNote.Type String No

See Credit Note Types

Possible values:

  • "ACCPAYCREDIT"
  • "ACCRECCREDIT"
Invoice.Prepayments[].Allocations[].CreditNote.StatusAttributeString String No

A string to indicate if a invoice status

Invoice.Prepayments[].Allocations[].CreditNote.DueDate String No

Date invoice is due – YYYY-MM-DD

Invoice.Prepayments[].Allocations[].CreditNote.CISRate Number No

CIS Deduction rate for the organisation

Invoice.Prepayments[].Allocations[].CreditNote.TotalTax Number No

The total tax on the credit note

Invoice.Prepayments[].Allocations[].CreditNote.Reference String No

ACCRECCREDIT only – additional reference number

Invoice.Prepayments[].Allocations[].CreditNote.LineItems[] Array No

See Invoice Line Items

Invoice.Prepayments[].Allocations[].CreditNote.LineItems[].Quantity Number No

LineItem Quantity

Invoice.Prepayments[].Allocations[].CreditNote.LineItems[].UnitAmount Number No

LineItem Unit Amount

Invoice.Prepayments[].Allocations[].CreditNote.LineItems[].TaxAmount Number No

The tax amount is auto calculated as a percentage of the line amount (see below) based on the tax rate. This value can be overriden if the calculated is not correct.

Invoice.Prepayments[].Allocations[].CreditNote.LineItems[].Item No
Invoice.Prepayments[].Allocations[].CreditNote.LineItems[].AccountCode String No

See Accounts

Invoice.Prepayments[].Allocations[].CreditNote.LineItems[].RepeatingInvoiceID String No

The Xero identifier for a Repeating Invoice

Invoice.Prepayments[].Allocations[].CreditNote.LineItems[].LineItemID String No

LineItem unique ID

Invoice.Prepayments[].Allocations[].CreditNote.LineItems[].Description String No

Description needs to be at least 1 char long. A line item with just a description (i.e no unit amount or quantity) can be created by specifying just a element that contains at least 1 character

Invoice.Prepayments[].Allocations[].CreditNote.LineItems[].TaxType String No

The tax type from TaxRates

Invoice.Prepayments[].Allocations[].CreditNote.LineItems[].Taxability String No

The type of taxability

Possible values:

  • "NOT_APPLICABLE"
  • "EXEMPT"
  • "PART_TAXABLE"
  • "TAXABLE"
  • "NON_TAXABLE"
Invoice.Prepayments[].Allocations[].CreditNote.LineItems[].TaxBreakdown[] Array No

An array of tax components defined for this line item

Invoice.Prepayments[].Allocations[].CreditNote.LineItems[].TaxBreakdown[].TaxComponentId String No

The unique ID number of this component

Invoice.Prepayments[].Allocations[].CreditNote.LineItems[].TaxBreakdown[].Name String No

The name of the jurisdiction

Invoice.Prepayments[].Allocations[].CreditNote.LineItems[].TaxBreakdown[].Type String No

The type of the jurisdiction

Possible values:

  • "SYSGST/USSPECIAL"
  • "SYSGST/USCOUNTRY"
  • "SYSGST/USCOUNTY"
  • "SYSGST/USSTATE"
  • "SYSGST/USCITY"
Invoice.Prepayments[].Allocations[].CreditNote.LineItems[].TaxBreakdown[].TaxAmount Number No

The amount of the tax

Invoice.Prepayments[].Allocations[].CreditNote.LineItems[].TaxBreakdown[].TaxableAmount Number No

The amount that is taxable

Invoice.Prepayments[].Allocations[].CreditNote.LineItems[].TaxBreakdown[].NonTaxableAmount Number No

The amount that is not taxable

Invoice.Prepayments[].Allocations[].CreditNote.LineItems[].TaxBreakdown[].TaxPercentage Number No

The percentage of the tax

Invoice.Prepayments[].Allocations[].CreditNote.LineItems[].TaxBreakdown[].ExemptAmount Number No

The amount that is exempt

Invoice.Prepayments[].Allocations[].CreditNote.LineItems[].TaxBreakdown[].StateAssignedNo String No

The state assigned number of the jurisdiction

Invoice.Prepayments[].Allocations[].CreditNote.LineItems[].TaxBreakdown[].JurisdictionRegion String No

Name identifying the region within the country

Invoice.Prepayments[].Allocations[].CreditNote.LineItems[].LineAmount Number No

If you wish to omit either the Quantity or UnitAmount you can provide a LineAmount and Xero will calculate the missing amount for you. The line amount reflects the discounted price if either a DiscountRate or DiscountAmount has been used i.e. LineAmount = Quantity * Unit Amount * ((100 - DiscountRate)/100) or LineAmount = (Quantity * UnitAmount) - DiscountAmount

Invoice.Prepayments[].Allocations[].CreditNote.LineItems[].AccountID String No

The associated account ID related to this line item

Invoice.Prepayments[].Allocations[].CreditNote.LineItems[].SalesTaxCodeId Number No

The ID of the sales tax code

Invoice.Prepayments[].Allocations[].CreditNote.LineItems[].ItemCode String No

See Items

Invoice.Prepayments[].Allocations[].CreditNote.LineItems[].Tracking[] Array No

Optional Tracking Category – see Tracking. Any LineItem can have a maximum of 2 elements.

Invoice.Prepayments[].Allocations[].CreditNote.LineItems[].Tracking[].TrackingCategoryID String No

The Xero identifier for a tracking category

Invoice.Prepayments[].Allocations[].CreditNote.LineItems[].Tracking[].Name String No

The name of the tracking category

Invoice.Prepayments[].Allocations[].CreditNote.LineItems[].Tracking[].Option String No

See Tracking Options

Invoice.Prepayments[].Allocations[].CreditNote.LineItems[].Tracking[].TrackingOptionID String No

The Xero identifier for a tracking category option

Invoice.Prepayments[].Allocations[].CreditNote.LineItems[].DiscountAmount Number No

Discount amount being applied to a line item. Only supported on ACCREC invoices and quotes. ACCPAY invoices and credit notes in Xero do not support discounts.

Invoice.Prepayments[].Allocations[].CreditNote.LineItems[].DiscountRate Number No

Percentage discount being applied to a line item (only supported on ACCREC invoices – ACC PAY invoices and credit notes in Xero do not support discounts

Invoice.Prepayments[].Allocations[].CreditNote.SubTotal Number No

The subtotal of the credit note excluding taxes

Invoice.Prepayments[].Allocations[].CreditNote.Status String No

See Credit Note Status Codes

Possible values:

  • "DELETED"
  • "AUTHORISED"
  • "SUBMITTED"
  • "DRAFT"
  • "PAID"
  • "VOIDED"
Invoice.Prepayments[].Allocations[].CreditNote.BrandingThemeID String No

See BrandingThemes

Invoice.Prepayments[].Allocations[].CreditNote.AppliedAmount Number No

The amount of applied to an invoice

Invoice.Prepayments[].Allocations[].CreditNote.ValidationErrors[] Array No

Displays array of validation error messages from the API

Invoice.Prepayments[].Allocations[].CreditNote.ValidationErrors[].Message String No

Validation error message

Invoice.Prepayments[].Allocations[].CreditNote.HasAttachments Boolean No

boolean to indicate if a credit note has an attachment

Default value: false

Invoice.Prepayments[].Allocations[].CreditNote.CreditNoteNumber String No

ACCRECCREDIT – Unique alpha numeric code identifying credit note (when missing will auto-generate from your Organisation Invoice Settings)

Invoice.Prepayments[].Contact Object No
Invoice.Prepayments[].Contact.BankAccountDetails String No

Bank account number of contact

Invoice.Prepayments[].Contact.Website String No

Website address for contact (read only)

Invoice.Prepayments[].Contact.Name String No

Full name of contact/organisation (max length = 255)

Invoice.Prepayments[].Contact.SalesTrackingCategories[] Array No

The default sales tracking categories for contacts

Invoice.Prepayments[].Contact.SalesTrackingCategories[].TrackingOptionName String No

The default purchase tracking category name for contacts

Invoice.Prepayments[].Contact.SalesTrackingCategories[].TrackingCategoryName String No

The default sales tracking category name for contacts

Invoice.Prepayments[].Contact.SalesDefaultLineAmountType String No

The default sales line amount type for a contact. Only available when summaryOnly parameter or paging is used, or when fetch by ContactId or ContactNumber.

Possible values:

  • "INCLUSIVE"
  • "NONE"
  • "EXCLUSIVE"
Invoice.Prepayments[].Contact.TrackingCategoryOption String No

The name of the Tracking Option assigned to the contact under SalesTrackingCategories and PurchasesTrackingCategories

Invoice.Prepayments[].Contact.TaxNumber String No

Tax 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 (max length = 50)

Invoice.Prepayments[].Contact.TrackingCategoryName String No

The name of the Tracking Category assigned to the contact under SalesTrackingCategories and PurchasesTrackingCategories

Invoice.Prepayments[].Contact.LastName String No

Last name of contact person (max length = 255)

Invoice.Prepayments[].Contact.IsSupplier Boolean No

true or false – Boolean that describes if a contact that has any AP invoices entered against them. Cannot be set via PUT or POST – it is automatically set when an accounts payable invoice is generated against this contact.

Invoice.Prepayments[].Contact.PurchasesTrackingCategories[] Array No

The default purchases tracking categories for contacts

Invoice.Prepayments[].Contact.PurchasesTrackingCategories[].TrackingOptionName String No

The default purchase tracking category name for contacts

Invoice.Prepayments[].Contact.PurchasesTrackingCategories[].TrackingCategoryName String No

The default sales tracking category name for contacts

Invoice.Prepayments[].Contact.UpdatedDateUTC String No

UTC timestamp of last update to contact

Invoice.Prepayments[].Contact.BrandingTheme Object No
Invoice.Prepayments[].Contact.BrandingTheme.Name String No

Name of branding theme

Invoice.Prepayments[].Contact.BrandingTheme.BrandingThemeID String No

Xero identifier

Invoice.Prepayments[].Contact.BrandingTheme.Type String No

Always INVOICE

Possible values:

  • "INVOICE"
Invoice.Prepayments[].Contact.BrandingTheme.LogoUrl String No

The location of the image file used as the logo on this branding theme

Invoice.Prepayments[].Contact.BrandingTheme.SortOrder Integer No

Integer – ranked order of branding theme. The default branding theme has a value of 0

Invoice.Prepayments[].Contact.BrandingTheme.CreatedDateUTC String No

UTC timestamp of creation date of branding theme

Invoice.Prepayments[].Contact.IsCustomer Boolean No

true or false – Boolean that describes if a contact has any AR invoices entered against them. Cannot be set via PUT or POST – it is automatically set when an accounts receivable invoice is generated against this contact.

Invoice.Prepayments[].Contact.PurchasesDefaultLineAmountType String No

The default purchases line amount type for a contact Only available when summaryOnly parameter or paging is used, or when fetch by ContactId or ContactNumber.

Possible values:

  • "INCLUSIVE"
  • "NONE"
  • "EXCLUSIVE"
Invoice.Prepayments[].Contact.Attachments[] Array No

Displays array of attachments from the API

Invoice.Prepayments[].Contact.Attachments[].ContentLength Integer No

Length of the file content

Invoice.Prepayments[].Contact.Attachments[].IncludeOnline Boolean No

Include the file with the online invoice

Invoice.Prepayments[].Contact.Attachments[].AttachmentID String No

Unique ID for the file

Invoice.Prepayments[].Contact.Attachments[].MimeType String No

Type of file

Invoice.Prepayments[].Contact.Attachments[].Url String No

URL to the file on xero.com

Invoice.Prepayments[].Contact.Attachments[].FileName String No

Name of the file

Invoice.Prepayments[].Contact.PurchasesDefaultAccountCode String No

The default purchases account code for contacts

Invoice.Prepayments[].Contact.ContactID String No

Xero identifier

Invoice.Prepayments[].Contact.AccountsPayableTaxType String No

The tax type from TaxRates

Invoice.Prepayments[].Contact.ContactStatus String No

Current status of a contact – see contact status types

Possible values:

  • "ARCHIVED"
  • "ACTIVE"
  • "GDPRREQUEST"
Invoice.Prepayments[].Contact.Addresses[] Array No

Store certain address types for a contact – see address types

Invoice.Prepayments[].Contact.Addresses[].City String No

max length = 255

Invoice.Prepayments[].Contact.Addresses[].AddressType String No

define the type of address

Possible values:

  • "STREET"
  • "POBOX"
Invoice.Prepayments[].Contact.Addresses[].AttentionTo String No

max length = 255

Invoice.Prepayments[].Contact.Addresses[].AddressLine2 String No

max length = 500

Invoice.Prepayments[].Contact.Addresses[].Region String No

max length = 255

Invoice.Prepayments[].Contact.Addresses[].Country String No

max length = 50, [A-Z], [a-z] only

Invoice.Prepayments[].Contact.Addresses[].AddressLine1 String No

max length = 500

Invoice.Prepayments[].Contact.Addresses[].AddressLine4 String No

max length = 500

Invoice.Prepayments[].Contact.Addresses[].AddressLine3 String No

max length = 500

Invoice.Prepayments[].Contact.Addresses[].PostalCode String No

max length = 50

Invoice.Prepayments[].Contact.StatusAttributeString String No

Status of object

Invoice.Prepayments[].Contact.CompanyNumber String No

Company registration number (max length = 50)

Invoice.Prepayments[].Contact.Phones[] Array No

Store certain phone types for a contact – see phone types

Invoice.Prepayments[].Contact.Phones[].PhoneType String No

Possible values:

  • "DEFAULT"
  • "OFFICE"
  • "DDI"
  • "MOBILE"
  • "FAX"
Invoice.Prepayments[].Contact.Phones[].PhoneNumber String No

max length = 50

Invoice.Prepayments[].Contact.Phones[].PhoneAreaCode String No

max length = 10

Invoice.Prepayments[].Contact.Phones[].PhoneCountryCode String No

max length = 20

Invoice.Prepayments[].Contact.BatchPayments No

Bank details for use on a batch payment stored with each contact

Invoice.Prepayments[].Contact.FirstName String No

First name of contact person (max length = 255)

Invoice.Prepayments[].Contact.SalesDefaultAccountCode String No

The default sales account code for contacts

Invoice.Prepayments[].Contact.ContactNumber String No

This can be updated via the API only i.e. This field is read only on the Xero contact screen, used to identify contacts in external systems (max length = 50). If the Contact Number is used, this is displayed as Contact Code in the Contacts UI in Xero.

Invoice.Prepayments[].Contact.AccountsReceivableTaxType String No

The tax type from TaxRates

Invoice.Prepayments[].Contact.DefaultCurrency String No

3 letter alpha code for the currency – see list of currency codes

Possible values:

  • "ISK"
  • "JMD"
  • "LTL"
  • "SVC"
  • "SAR"
  • "EEK"
  • "TTD"
  • "SBD"
  • "SHP"
  • "GBP"
  • "TRY"
  • "MOP"
  • "INR"
  • "MAD"
  • "CUP"
  • "CLF"
  • "SRD"
  • "SZL"
  • "IRR"
  • "CHF"
  • "EUR"
  • "KZT"
  • "ALL"
  • "MZN"
  • "CDF"
  • "BZD"
  • "KES"
  • "AOA"
  • "NGN"
  • "SEK"
  • "BND"
  • "UYU"
  • "BRL"
  • "YER"
  • "ANG"
  • "BYR"
  • "MRO"
  • "DJF"
  • "LSL"
  • "BBD"
  • "MGA"
  • "VND"
  • "DOP"
  • "TJS"
  • "FJD"
  • "BGN"
  • "TWD"
  • "QAR"
  • "VES"
  • "CNY"
  • "AUD"
  • "ZMW"
  • "WST"
  • "MDL"
  • "KHR"
  • "NZD"
  • "AMD"
  • "AZN"
  • "TZS"
  • "GIP"
  • "AED"
  • "AFN"
  • "DZD"
  • "PKR"
  • "KYD"
  • "AWG"
  • "BSD"
  • "PEN"
  • "XAF"
  • "NAD"
  • "ZWD"
  • "BTN"
  • "KRW"
  • "NPR"
  • "FKP"
  • "TND"
  • "LVL"
  • "MWK"
  • "JOD"
  • "LRD"
  • "RSD"
  • "SCR"
  • "HUF"
  • "IDR"
  • "LAK"
  • "UAH"
  • "ZAR"
  • "OMR"
  • "PGK"
  • "SLL"
  • "MVR"
  • "USD"
  • "MXV"
  • "MKD"
  • "COP"
  • "CAD"
  • "KMF"
  • "MXN"
  • "PYG"
  • "XCD"
  • "STD"
  • "IQD"
  • "TOP"
  • "VEF"
  • "VUV"
  • "SOS"
  • "CVE"
  • "CUC"
  • "KGS"
  • "TMT"
  • "THB"
  • "BOB"
  • "UZS"
  • "BYN"
  • "SKK"
  • "ILS"
  • "PLN"
  • "RON"
  • "BHD"
  • "BIF"
  • "SLE"
  • "XPF"
  • "ARS"
  • "GTQ"
  • "RUB"
  • "HKD"
  • "ZMK"
  • "RWF"
  • "BDT"
  • "ETB"
  • "LYD"
  • "JPY"
  • "SGD"
  • "STN"
  • "MNT"
  • "NIO"
  • "GEL"
  • "MUR"
  • "NOK"
  • "ERN"
  • "SYP"
  • "MYR"
  • "DKK"
  • "HRK"
  • "CLP"
  • "GNF"
  • "GMD"
  • "BAM"
  • "HTG"
  • "LBP"
  • "PHP"
  • "EGP"
  • "SDG"
  • "CRC"
  • "CZK"
  • "KWD"
  • "KPW"
  • "GHS"
  • "GYD"
  • "LKR"
  • "BMD"
  • "BWP"
  • "MRU"
  • "PAB"
  • "UGX"
  • "MMK"
  • "XOF"
  • "HNL"
Invoice.Prepayments[].Contact.HasValidationErrors Boolean No

A boolean to indicate if a contact has an validation errors

Default value: false

Invoice.Prepayments[].Contact.AccountNumber String No

A user defined account number. This can be updated via the API and the Xero UI (max length = 50)

Invoice.Prepayments[].Contact.Balances Object No

The raw AccountsReceivable(sales invoices) and AccountsPayable(bills) outstanding and overdue amounts, not converted to base currency (read only)

Invoice.Prepayments[].Contact.Balances.AccountsReceivable Object No
Invoice.Prepayments[].Contact.Balances.AccountsReceivable.Overdue Number No
Invoice.Prepayments[].Contact.Balances.AccountsReceivable.Outstanding Number No
Invoice.Prepayments[].Contact.Balances.AccountsPayable Object No
Invoice.Prepayments[].Contact.Balances.AccountsPayable.Overdue Number No
Invoice.Prepayments[].Contact.Balances.AccountsPayable.Outstanding Number No
Invoice.Prepayments[].Contact.XeroNetworkKey String No

Store XeroNetworkKey for contacts.

Invoice.Prepayments[].Contact.Discount Number No

The default discount rate for the contact (read only)

Invoice.Prepayments[].Contact.MergedToContactID String No

ID for the destination of a merged contact. Only returned when using paging or when fetching a contact by ContactId or ContactNumber.

Invoice.Prepayments[].Contact.ValidationErrors[] Array No

Displays validation errors returned from the API

Invoice.Prepayments[].Contact.ValidationErrors[].Message String No

Validation error message

Invoice.Prepayments[].Contact.EmailAddress String No

Email address of contact person (umlauts not supported) (max length = 255)

Invoice.Prepayments[].Contact.HasAttachments Boolean No

A boolean to indicate if a contact has an attachment

Default value: false

Invoice.Prepayments[].Contact.PaymentTerms Object No
Invoice.Prepayments[].Contact.PaymentTerms.Bills Object No
Invoice.Prepayments[].Contact.PaymentTerms.Bills.Day Integer No

Day of Month (0-31)

Invoice.Prepayments[].Contact.PaymentTerms.Bills.Type String No

Possible values:

  • "DAYSAFTERBILLMONTH"
  • "OFCURRENTMONTH"
  • "DAYSAFTERBILLDATE"
  • "OFFOLLOWINGMONTH"
Invoice.Prepayments[].Contact.PaymentTerms.Sales Object No
Invoice.Prepayments[].Contact.PaymentTerms.Sales.Day Integer No

Day of Month (0-31)

Invoice.Prepayments[].Contact.PaymentTerms.Sales.Type String No

Possible values:

  • "DAYSAFTERBILLMONTH"
  • "OFCURRENTMONTH"
  • "DAYSAFTERBILLDATE"
  • "OFFOLLOWINGMONTH"
Invoice.Prepayments[].Contact.ContactGroups[] Array No

Displays which contact groups a contact is included in

Invoice.Prepayments[].Contact.ContactGroups[].Name String No

The Name of the contact group. Required when creating a new contact group

Invoice.Prepayments[].Contact.ContactGroups[].Status String No

The Status of a contact group. To delete a contact group update the status to DELETED. Only contact groups with a status of ACTIVE are returned on GETs.

Possible values:

  • "DELETED"
  • "ACTIVE"
Invoice.Prepayments[].Contact.ContactGroups[].ContactGroupID String No

The Xero identifier for an contact group – specified as a string following the endpoint name. e.g. /297c2dc5-cc47-4afd-8ec8-74990b8761e9

Invoice.Prepayments[].Contact.ContactGroups[].Contacts[] Array No

The ContactID and Name of Contacts in a contact group. Returned on GETs when the ContactGroupID is supplied in the URL.

Invoice.Prepayments[].Contact.ContactPersons[] Array No

See contact persons

Invoice.Prepayments[].Contact.ContactPersons[].IncludeInEmails Boolean No

boolean to indicate whether contact should be included on emails with invoices etc.

Invoice.Prepayments[].Contact.ContactPersons[].EmailAddress String No

Email address of person

Invoice.Prepayments[].Contact.ContactPersons[].LastName String No

Last name of person

Invoice.Prepayments[].Contact.ContactPersons[].FirstName String No

First name of person

Invoice.Prepayments[].HasAttachments Boolean No

boolean to indicate if a prepayment has an attachment

Default value: false

Invoice.Prepayments[].CurrencyCode String No

3 letter alpha code for the currency – see list of currency codes

Possible values:

  • "ISK"
  • "JMD"
  • "LTL"
  • "SVC"
  • "SAR"
  • "EEK"
  • "TTD"
  • "SBD"
  • "SHP"
  • "GBP"
  • "TRY"
  • "MOP"
  • "INR"
  • "MAD"
  • "CUP"
  • "CLF"
  • "SRD"
  • "SZL"
  • "IRR"
  • "CHF"
  • "EUR"
  • "KZT"
  • "ALL"
  • "MZN"
  • "CDF"
  • "BZD"
  • "KES"
  • "AOA"
  • "NGN"
  • "SEK"
  • "BND"
  • "UYU"
  • "BRL"
  • "YER"
  • "ANG"
  • "BYR"
  • "MRO"
  • "DJF"
  • "LSL"
  • "BBD"
  • "MGA"
  • "VND"
  • "DOP"
  • "TJS"
  • "FJD"
  • "BGN"
  • "TWD"
  • "QAR"
  • "VES"
  • "CNY"
  • "AUD"
  • "ZMW"
  • "WST"
  • "MDL"
  • "KHR"
  • "NZD"
  • "AMD"
  • "AZN"
  • "TZS"
  • "GIP"
  • "AED"
  • "AFN"
  • "DZD"
  • "PKR"
  • "KYD"
  • "AWG"
  • "BSD"
  • "PEN"
  • "XAF"
  • "NAD"
  • "ZWD"
  • "BTN"
  • "KRW"
  • "NPR"
  • "FKP"
  • "TND"
  • "LVL"
  • "MWK"
  • "JOD"
  • "LRD"
  • "RSD"
  • "SCR"
  • "HUF"
  • "IDR"
  • "LAK"
  • "UAH"
  • "ZAR"
  • "OMR"
  • "PGK"
  • "SLL"
  • "MVR"
  • "USD"
  • "MXV"
  • "MKD"
  • "COP"
  • "CAD"
  • "KMF"
  • "MXN"
  • "PYG"
  • "XCD"
  • "STD"
  • "IQD"
  • "TOP"
  • "VEF"
  • "VUV"
  • "SOS"
  • "CVE"
  • "CUC"
  • "KGS"
  • "TMT"
  • "THB"
  • "BOB"
  • "UZS"
  • "BYN"
  • "SKK"
  • "ILS"
  • "PLN"
  • "RON"
  • "BHD"
  • "BIF"
  • "SLE"
  • "XPF"
  • "ARS"
  • "GTQ"
  • "RUB"
  • "HKD"
  • "ZMK"
  • "RWF"
  • "BDT"
  • "ETB"
  • "LYD"
  • "JPY"
  • "SGD"
  • "STN"
  • "MNT"
  • "NIO"
  • "GEL"
  • "MUR"
  • "NOK"
  • "ERN"
  • "SYP"
  • "MYR"
  • "DKK"
  • "HRK"
  • "CLP"
  • "GNF"
  • "GMD"
  • "BAM"
  • "HTG"
  • "LBP"
  • "PHP"
  • "EGP"
  • "SDG"
  • "CRC"
  • "CZK"
  • "KWD"
  • "KPW"
  • "GHS"
  • "GYD"
  • "LKR"
  • "BMD"
  • "BWP"
  • "MRU"
  • "PAB"
  • "UGX"
  • "MMK"
  • "XOF"
  • "HNL"
Invoice.Prepayments[].PrepaymentID String No

Xero generated unique identifier

Invoice.BrandingThemeID String No

See BrandingThemes

Invoice.Status String No

See Invoice Status Codes

Possible values:

  • "DELETED"
  • "AUTHORISED"
  • "SUBMITTED"
  • "DRAFT"
  • "PAID"
  • "VOIDED"
Invoice.ValidationErrors[] Array No

Displays array of validation error messages from the API

Invoice.ValidationErrors[].Message String No

Validation error message

Invoice.CreditNotes[] Array No

Details of credit notes that have been applied to an invoice

Invoice.CreditNotes[].HasErrors Boolean No

A boolean to indicate if a credit note has an validation errors

Default value: false

Invoice.CreditNotes[].Payments[] Array No

See Payments

Invoice.CreditNotes[].Total Number No

The total of the Credit Note(subtotal + total tax)

Invoice.CreditNotes[].FullyPaidOnDate String No

Date when credit note was fully paid(UTC format)

Invoice.CreditNotes[].InvoiceAddresses[] Array No

An array of addresses used to auto calculate sales tax

Invoice.CreditNotes[].InvoiceAddresses[].City String No

City of a physical address

Invoice.CreditNotes[].InvoiceAddresses[].AddressLine2 String No

Second line of a physical address

Invoice.CreditNotes[].InvoiceAddresses[].Region String No

Region or state of a physical address

Invoice.CreditNotes[].InvoiceAddresses[].Country String No

Country of a physical address

Invoice.CreditNotes[].InvoiceAddresses[].AddressLine1 String No

First line of a physical address

Invoice.CreditNotes[].InvoiceAddresses[].InvoiceAddressType String No

Indicates whether the address is defined as origin (FROM) or destination (TO)

Possible values:

  • "FROM"
  • "TO"
Invoice.CreditNotes[].InvoiceAddresses[].AddressLine4 String No

Fourth line of a physical address

Invoice.CreditNotes[].InvoiceAddresses[].AddressLine3 String No

Third line of a physical address

Invoice.CreditNotes[].InvoiceAddresses[].PostalCode String No

Postal code of a physical address

Invoice.CreditNotes[].UpdatedDateUTC String No

UTC timestamp of last update to the credit note

Invoice.CreditNotes[].CurrencyRate Number No

The currency rate for a multicurrency invoice. If no rate is specified, the XE.com day rate is used

Invoice.CreditNotes[].RemainingCredit Number No

The remaining credit balance on the Credit Note

Invoice.CreditNotes[].Allocations[] Array No

See Allocations

Invoice.CreditNotes[].Contact Object No
Invoice.CreditNotes[].Contact.BankAccountDetails String No

Bank account number of contact

Invoice.CreditNotes[].Contact.Website String No

Website address for contact (read only)

Invoice.CreditNotes[].Contact.Name String No

Full name of contact/organisation (max length = 255)

Invoice.CreditNotes[].Contact.SalesTrackingCategories[] Array No

The default sales tracking categories for contacts

Invoice.CreditNotes[].Contact.SalesTrackingCategories[].TrackingOptionName String No

The default purchase tracking category name for contacts

Invoice.CreditNotes[].Contact.SalesTrackingCategories[].TrackingCategoryName String No

The default sales tracking category name for contacts

Invoice.CreditNotes[].Contact.SalesDefaultLineAmountType String No

The default sales line amount type for a contact. Only available when summaryOnly parameter or paging is used, or when fetch by ContactId or ContactNumber.

Possible values:

  • "INCLUSIVE"
  • "NONE"
  • "EXCLUSIVE"
Invoice.CreditNotes[].Contact.TrackingCategoryOption String No

The name of the Tracking Option assigned to the contact under SalesTrackingCategories and PurchasesTrackingCategories

Invoice.CreditNotes[].Contact.TaxNumber String No

Tax 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 (max length = 50)

Invoice.CreditNotes[].Contact.TrackingCategoryName String No

The name of the Tracking Category assigned to the contact under SalesTrackingCategories and PurchasesTrackingCategories

Invoice.CreditNotes[].Contact.LastName String No

Last name of contact person (max length = 255)

Invoice.CreditNotes[].Contact.IsSupplier Boolean No

true or false – Boolean that describes if a contact that has any AP invoices entered against them. Cannot be set via PUT or POST – it is automatically set when an accounts payable invoice is generated against this contact.

Invoice.CreditNotes[].Contact.PurchasesTrackingCategories[] Array No

The default purchases tracking categories for contacts

Invoice.CreditNotes[].Contact.PurchasesTrackingCategories[].TrackingOptionName String No

The default purchase tracking category name for contacts

Invoice.CreditNotes[].Contact.PurchasesTrackingCategories[].TrackingCategoryName String No

The default sales tracking category name for contacts

Invoice.CreditNotes[].Contact.UpdatedDateUTC String No

UTC timestamp of last update to contact

Invoice.CreditNotes[].Contact.BrandingTheme Object No
Invoice.CreditNotes[].Contact.BrandingTheme.Name String No

Name of branding theme

Invoice.CreditNotes[].Contact.BrandingTheme.BrandingThemeID String No

Xero identifier

Invoice.CreditNotes[].Contact.BrandingTheme.Type String No

Always INVOICE

Possible values:

  • "INVOICE"
Invoice.CreditNotes[].Contact.BrandingTheme.LogoUrl String No

The location of the image file used as the logo on this branding theme

Invoice.CreditNotes[].Contact.BrandingTheme.SortOrder Integer No

Integer – ranked order of branding theme. The default branding theme has a value of 0

Invoice.CreditNotes[].Contact.BrandingTheme.CreatedDateUTC String No

UTC timestamp of creation date of branding theme

Invoice.CreditNotes[].Contact.IsCustomer Boolean No

true or false – Boolean that describes if a contact has any AR invoices entered against them. Cannot be set via PUT or POST – it is automatically set when an accounts receivable invoice is generated against this contact.

Invoice.CreditNotes[].Contact.PurchasesDefaultLineAmountType String No

The default purchases line amount type for a contact Only available when summaryOnly parameter or paging is used, or when fetch by ContactId or ContactNumber.

Possible values:

  • "INCLUSIVE"
  • "NONE"
  • "EXCLUSIVE"
Invoice.CreditNotes[].Contact.Attachments[] Array No

Displays array of attachments from the API

Invoice.CreditNotes[].Contact.Attachments[].ContentLength Integer No

Length of the file content

Invoice.CreditNotes[].Contact.Attachments[].IncludeOnline Boolean No

Include the file with the online invoice

Invoice.CreditNotes[].Contact.Attachments[].AttachmentID String No

Unique ID for the file

Invoice.CreditNotes[].Contact.Attachments[].MimeType String No

Type of file

Invoice.CreditNotes[].Contact.Attachments[].Url String No

URL to the file on xero.com

Invoice.CreditNotes[].Contact.Attachments[].FileName String No

Name of the file

Invoice.CreditNotes[].Contact.PurchasesDefaultAccountCode String No

The default purchases account code for contacts

Invoice.CreditNotes[].Contact.ContactID String No

Xero identifier

Invoice.CreditNotes[].Contact.AccountsPayableTaxType String No

The tax type from TaxRates

Invoice.CreditNotes[].Contact.ContactStatus String No

Current status of a contact – see contact status types

Possible values:

  • "ARCHIVED"
  • "ACTIVE"
  • "GDPRREQUEST"
Invoice.CreditNotes[].Contact.Addresses[] Array No

Store certain address types for a contact – see address types

Invoice.CreditNotes[].Contact.Addresses[].City String No

max length = 255

Invoice.CreditNotes[].Contact.Addresses[].AddressType String No

define the type of address

Possible values:

  • "STREET"
  • "POBOX"
Invoice.CreditNotes[].Contact.Addresses[].AttentionTo String No

max length = 255

Invoice.CreditNotes[].Contact.Addresses[].AddressLine2 String No

max length = 500

Invoice.CreditNotes[].Contact.Addresses[].Region String No

max length = 255

Invoice.CreditNotes[].Contact.Addresses[].Country String No

max length = 50, [A-Z], [a-z] only

Invoice.CreditNotes[].Contact.Addresses[].AddressLine1 String No

max length = 500

Invoice.CreditNotes[].Contact.Addresses[].AddressLine4 String No

max length = 500

Invoice.CreditNotes[].Contact.Addresses[].AddressLine3 String No

max length = 500

Invoice.CreditNotes[].Contact.Addresses[].PostalCode String No

max length = 50

Invoice.CreditNotes[].Contact.StatusAttributeString String No

Status of object

Invoice.CreditNotes[].Contact.CompanyNumber String No

Company registration number (max length = 50)

Invoice.CreditNotes[].Contact.Phones[] Array No

Store certain phone types for a contact – see phone types

Invoice.CreditNotes[].Contact.Phones[].PhoneType String No

Possible values:

  • "DEFAULT"
  • "OFFICE"
  • "DDI"
  • "MOBILE"
  • "FAX"
Invoice.CreditNotes[].Contact.Phones[].PhoneNumber String No

max length = 50

Invoice.CreditNotes[].Contact.Phones[].PhoneAreaCode String No

max length = 10

Invoice.CreditNotes[].Contact.Phones[].PhoneCountryCode String No

max length = 20

Invoice.CreditNotes[].Contact.BatchPayments No

Bank details for use on a batch payment stored with each contact

Invoice.CreditNotes[].Contact.FirstName String No

First name of contact person (max length = 255)

Invoice.CreditNotes[].Contact.SalesDefaultAccountCode String No

The default sales account code for contacts

Invoice.CreditNotes[].Contact.ContactNumber String No

This can be updated via the API only i.e. This field is read only on the Xero contact screen, used to identify contacts in external systems (max length = 50). If the Contact Number is used, this is displayed as Contact Code in the Contacts UI in Xero.

Invoice.CreditNotes[].Contact.AccountsReceivableTaxType String No

The tax type from TaxRates

Invoice.CreditNotes[].Contact.DefaultCurrency String No

3 letter alpha code for the currency – see list of currency codes

Possible values:

  • "ISK"
  • "JMD"
  • "LTL"
  • "SVC"
  • "SAR"
  • "EEK"
  • "TTD"
  • "SBD"
  • "SHP"
  • "GBP"
  • "TRY"
  • "MOP"
  • "INR"
  • "MAD"
  • "CUP"
  • "CLF"
  • "SRD"
  • "SZL"
  • "IRR"
  • "CHF"
  • "EUR"
  • "KZT"
  • "ALL"
  • "MZN"
  • "CDF"
  • "BZD"
  • "KES"
  • "AOA"
  • "NGN"
  • "SEK"
  • "BND"
  • "UYU"
  • "BRL"
  • "YER"
  • "ANG"
  • "BYR"
  • "MRO"
  • "DJF"
  • "LSL"
  • "BBD"
  • "MGA"
  • "VND"
  • "DOP"
  • "TJS"
  • "FJD"
  • "BGN"
  • "TWD"
  • "QAR"
  • "VES"
  • "CNY"
  • "AUD"
  • "ZMW"
  • "WST"
  • "MDL"
  • "KHR"
  • "NZD"
  • "AMD"
  • "AZN"
  • "TZS"
  • "GIP"
  • "AED"
  • "AFN"
  • "DZD"
  • "PKR"
  • "KYD"
  • "AWG"
  • "BSD"
  • "PEN"
  • "XAF"
  • "NAD"
  • "ZWD"
  • "BTN"
  • "KRW"
  • "NPR"
  • "FKP"
  • "TND"
  • "LVL"
  • "MWK"
  • "JOD"
  • "LRD"
  • "RSD"
  • "SCR"
  • "HUF"
  • "IDR"
  • "LAK"
  • "UAH"
  • "ZAR"
  • "OMR"
  • "PGK"
  • "SLL"
  • "MVR"
  • "USD"
  • "MXV"
  • "MKD"
  • "COP"
  • "CAD"
  • "KMF"
  • "MXN"
  • "PYG"
  • "XCD"
  • "STD"
  • "IQD"
  • "TOP"
  • "VEF"
  • "VUV"
  • "SOS"
  • "CVE"
  • "CUC"
  • "KGS"
  • "TMT"
  • "THB"
  • "BOB"
  • "UZS"
  • "BYN"
  • "SKK"
  • "ILS"
  • "PLN"
  • "RON"
  • "BHD"
  • "BIF"
  • "SLE"
  • "XPF"
  • "ARS"
  • "GTQ"
  • "RUB"
  • "HKD"
  • "ZMK"
  • "RWF"
  • "BDT"
  • "ETB"
  • "LYD"
  • "JPY"
  • "SGD"
  • "STN"
  • "MNT"
  • "NIO"
  • "GEL"
  • "MUR"
  • "NOK"
  • "ERN"
  • "SYP"
  • "MYR"
  • "DKK"
  • "HRK"
  • "CLP"
  • "GNF"
  • "GMD"
  • "BAM"
  • "HTG"
  • "LBP"
  • "PHP"
  • "EGP"
  • "SDG"
  • "CRC"
  • "CZK"
  • "KWD"
  • "KPW"
  • "GHS"
  • "GYD"
  • "LKR"
  • "BMD"
  • "BWP"
  • "MRU"
  • "PAB"
  • "UGX"
  • "MMK"
  • "XOF"
  • "HNL"
Invoice.CreditNotes[].Contact.HasValidationErrors Boolean No

A boolean to indicate if a contact has an validation errors

Default value: false

Invoice.CreditNotes[].Contact.AccountNumber String No

A user defined account number. This can be updated via the API and the Xero UI (max length = 50)

Invoice.CreditNotes[].Contact.Balances Object No

The raw AccountsReceivable(sales invoices) and AccountsPayable(bills) outstanding and overdue amounts, not converted to base currency (read only)

Invoice.CreditNotes[].Contact.Balances.AccountsReceivable Object No
Invoice.CreditNotes[].Contact.Balances.AccountsReceivable.Overdue Number No
Invoice.CreditNotes[].Contact.Balances.AccountsReceivable.Outstanding Number No
Invoice.CreditNotes[].Contact.Balances.AccountsPayable Object No
Invoice.CreditNotes[].Contact.Balances.AccountsPayable.Overdue Number No
Invoice.CreditNotes[].Contact.Balances.AccountsPayable.Outstanding Number No
Invoice.CreditNotes[].Contact.XeroNetworkKey String No

Store XeroNetworkKey for contacts.

Invoice.CreditNotes[].Contact.Discount Number No

The default discount rate for the contact (read only)

Invoice.CreditNotes[].Contact.MergedToContactID String No

ID for the destination of a merged contact. Only returned when using paging or when fetching a contact by ContactId or ContactNumber.

Invoice.CreditNotes[].Contact.ValidationErrors[] Array No

Displays validation errors returned from the API

Invoice.CreditNotes[].Contact.ValidationErrors[].Message String No

Validation error message

Invoice.CreditNotes[].Contact.EmailAddress String No

Email address of contact person (umlauts not supported) (max length = 255)

Invoice.CreditNotes[].Contact.HasAttachments Boolean No

A boolean to indicate if a contact has an attachment

Default value: false

Invoice.CreditNotes[].Contact.PaymentTerms Object No
Invoice.CreditNotes[].Contact.PaymentTerms.Bills Object No
Invoice.CreditNotes[].Contact.PaymentTerms.Bills.Day Integer No

Day of Month (0-31)

Invoice.CreditNotes[].Contact.PaymentTerms.Bills.Type String No

Possible values:

  • "DAYSAFTERBILLMONTH"
  • "OFCURRENTMONTH"
  • "DAYSAFTERBILLDATE"
  • "OFFOLLOWINGMONTH"
Invoice.CreditNotes[].Contact.PaymentTerms.Sales Object No
Invoice.CreditNotes[].Contact.PaymentTerms.Sales.Day Integer No

Day of Month (0-31)

Invoice.CreditNotes[].Contact.PaymentTerms.Sales.Type String No

Possible values:

  • "DAYSAFTERBILLMONTH"
  • "OFCURRENTMONTH"
  • "DAYSAFTERBILLDATE"
  • "OFFOLLOWINGMONTH"
Invoice.CreditNotes[].Contact.ContactGroups[] Array No

Displays which contact groups a contact is included in

Invoice.CreditNotes[].Contact.ContactGroups[].Name String No

The Name of the contact group. Required when creating a new contact group

Invoice.CreditNotes[].Contact.ContactGroups[].Status String No

The Status of a contact group. To delete a contact group update the status to DELETED. Only contact groups with a status of ACTIVE are returned on GETs.

Possible values:

  • "DELETED"
  • "ACTIVE"
Invoice.CreditNotes[].Contact.ContactGroups[].ContactGroupID String No

The Xero identifier for an contact group – specified as a string following the endpoint name. e.g. /297c2dc5-cc47-4afd-8ec8-74990b8761e9

Invoice.CreditNotes[].Contact.ContactGroups[].Contacts[] Array No

The ContactID and Name of Contacts in a contact group. Returned on GETs when the ContactGroupID is supplied in the URL.

Invoice.CreditNotes[].Contact.ContactPersons[] Array No

See contact persons

Invoice.CreditNotes[].Contact.ContactPersons[].IncludeInEmails Boolean No

boolean to indicate whether contact should be included on emails with invoices etc.

Invoice.CreditNotes[].Contact.ContactPersons[].EmailAddress String No

Email address of person

Invoice.CreditNotes[].Contact.ContactPersons[].LastName String No

Last name of person

Invoice.CreditNotes[].Contact.ContactPersons[].FirstName String No

First name of person

Invoice.CreditNotes[].CurrencyCode String No

3 letter alpha code for the currency – see list of currency codes

Possible values:

  • "ISK"
  • "JMD"
  • "LTL"
  • "SVC"
  • "SAR"
  • "EEK"
  • "TTD"
  • "SBD"
  • "SHP"
  • "GBP"
  • "TRY"
  • "MOP"
  • "INR"
  • "MAD"
  • "CUP"
  • "CLF"
  • "SRD"
  • "SZL"
  • "IRR"
  • "CHF"
  • "EUR"
  • "KZT"
  • "ALL"
  • "MZN"
  • "CDF"
  • "BZD"
  • "KES"
  • "AOA"
  • "NGN"
  • "SEK"
  • "BND"
  • "UYU"
  • "BRL"
  • "YER"
  • "ANG"
  • "BYR"
  • "MRO"
  • "DJF"
  • "LSL"
  • "BBD"
  • "MGA"
  • "VND"
  • "DOP"
  • "TJS"
  • "FJD"
  • "BGN"
  • "TWD"
  • "QAR"
  • "VES"
  • "CNY"
  • "AUD"
  • "ZMW"
  • "WST"
  • "MDL"
  • "KHR"
  • "NZD"
  • "AMD"
  • "AZN"
  • "TZS"
  • "GIP"
  • "AED"
  • "AFN"
  • "DZD"
  • "PKR"
  • "KYD"
  • "AWG"
  • "BSD"
  • "PEN"
  • "XAF"
  • "NAD"
  • "ZWD"
  • "BTN"
  • "KRW"
  • "NPR"
  • "FKP"
  • "TND"
  • "LVL"
  • "MWK"
  • "JOD"
  • "LRD"
  • "RSD"
  • "SCR"
  • "HUF"
  • "IDR"
  • "LAK"
  • "UAH"
  • "ZAR"
  • "OMR"
  • "PGK"
  • "SLL"
  • "MVR"
  • "USD"
  • "MXV"
  • "MKD"
  • "COP"
  • "CAD"
  • "KMF"
  • "MXN"
  • "PYG"
  • "XCD"
  • "STD"
  • "IQD"
  • "TOP"
  • "VEF"
  • "VUV"
  • "SOS"
  • "CVE"
  • "CUC"
  • "KGS"
  • "TMT"
  • "THB"
  • "BOB"
  • "UZS"
  • "BYN"
  • "SKK"
  • "ILS"
  • "PLN"
  • "RON"
  • "BHD"
  • "BIF"
  • "SLE"
  • "XPF"
  • "ARS"
  • "GTQ"
  • "RUB"
  • "HKD"
  • "ZMK"
  • "RWF"
  • "BDT"
  • "ETB"
  • "LYD"
  • "JPY"
  • "SGD"
  • "STN"
  • "MNT"
  • "NIO"
  • "GEL"
  • "MUR"
  • "NOK"
  • "ERN"
  • "SYP"
  • "MYR"
  • "DKK"
  • "HRK"
  • "CLP"
  • "GNF"
  • "GMD"
  • "BAM"
  • "HTG"
  • "LBP"
  • "PHP"
  • "EGP"
  • "SDG"
  • "CRC"
  • "CZK"
  • "KWD"
  • "KPW"
  • "GHS"
  • "GYD"
  • "LKR"
  • "BMD"
  • "BWP"
  • "MRU"
  • "PAB"
  • "UGX"
  • "MMK"
  • "XOF"
  • "HNL"
Invoice.CreditNotes[].CreditNoteID String No

Xero generated unique identifier

Invoice.CreditNotes[].LineAmountTypes String No

Line amounts are exclusive of tax by default if you don’t specify this element. See Line Amount Types

Possible values:

  • "Inclusive"
  • "Exclusive"
  • "NoTax"
Invoice.CreditNotes[].Date String No

The date the credit note is issued YYYY-MM-DD. If the Date element is not specified then it will default to the current date based on the timezone setting of the organisation

Invoice.CreditNotes[].CISDeduction Number No

CIS deduction for UK contractors

Invoice.CreditNotes[].SentToContact Boolean No

Boolean to set whether the credit note in the Xero app should be marked as “sent”. This can be set only on credit notes that have been approved

Invoice.CreditNotes[].Warnings[] Array No

Displays array of warning messages from the API

Invoice.CreditNotes[].Warnings[].Message String No

Validation error message

Invoice.CreditNotes[].Type String No

See Credit Note Types

Possible values:

  • "ACCPAYCREDIT"
  • "ACCRECCREDIT"
Invoice.CreditNotes[].StatusAttributeString String No

A string to indicate if a invoice status

Invoice.CreditNotes[].DueDate String No

Date invoice is due – YYYY-MM-DD

Invoice.CreditNotes[].CISRate Number No

CIS Deduction rate for the organisation

Invoice.CreditNotes[].TotalTax Number No

The total tax on the credit note

Invoice.CreditNotes[].Reference String No

ACCRECCREDIT only – additional reference number

Invoice.CreditNotes[].LineItems[] Array No

See Invoice Line Items

Invoice.CreditNotes[].LineItems[].Quantity Number No

LineItem Quantity

Invoice.CreditNotes[].LineItems[].UnitAmount Number No

LineItem Unit Amount

Invoice.CreditNotes[].LineItems[].TaxAmount Number No

The tax amount is auto calculated as a percentage of the line amount (see below) based on the tax rate. This value can be overriden if the calculated is not correct.

Invoice.CreditNotes[].LineItems[].Item No
Invoice.CreditNotes[].LineItems[].AccountCode String No

See Accounts

Invoice.CreditNotes[].LineItems[].RepeatingInvoiceID String No

The Xero identifier for a Repeating Invoice

Invoice.CreditNotes[].LineItems[].LineItemID String No

LineItem unique ID

Invoice.CreditNotes[].LineItems[].Description String No

Description needs to be at least 1 char long. A line item with just a description (i.e no unit amount or quantity) can be created by specifying just a element that contains at least 1 character

Invoice.CreditNotes[].LineItems[].TaxType String No

The tax type from TaxRates

Invoice.CreditNotes[].LineItems[].Taxability String No

The type of taxability

Possible values:

  • "NOT_APPLICABLE"
  • "EXEMPT"
  • "PART_TAXABLE"
  • "TAXABLE"
  • "NON_TAXABLE"
Invoice.CreditNotes[].LineItems[].TaxBreakdown[] Array No

An array of tax components defined for this line item

Invoice.CreditNotes[].LineItems[].TaxBreakdown[].TaxComponentId String No

The unique ID number of this component

Invoice.CreditNotes[].LineItems[].TaxBreakdown[].Name String No

The name of the jurisdiction

Invoice.CreditNotes[].LineItems[].TaxBreakdown[].Type String No

The type of the jurisdiction

Possible values:

  • "SYSGST/USSPECIAL"
  • "SYSGST/USCOUNTRY"
  • "SYSGST/USCOUNTY"
  • "SYSGST/USSTATE"
  • "SYSGST/USCITY"
Invoice.CreditNotes[].LineItems[].TaxBreakdown[].TaxAmount Number No

The amount of the tax

Invoice.CreditNotes[].LineItems[].TaxBreakdown[].TaxableAmount Number No

The amount that is taxable

Invoice.CreditNotes[].LineItems[].TaxBreakdown[].NonTaxableAmount Number No

The amount that is not taxable

Invoice.CreditNotes[].LineItems[].TaxBreakdown[].TaxPercentage Number No

The percentage of the tax

Invoice.CreditNotes[].LineItems[].TaxBreakdown[].ExemptAmount Number No

The amount that is exempt

Invoice.CreditNotes[].LineItems[].TaxBreakdown[].StateAssignedNo String No

The state assigned number of the jurisdiction

Invoice.CreditNotes[].LineItems[].TaxBreakdown[].JurisdictionRegion String No

Name identifying the region within the country

Invoice.CreditNotes[].LineItems[].LineAmount Number No

If you wish to omit either the Quantity or UnitAmount you can provide a LineAmount and Xero will calculate the missing amount for you. The line amount reflects the discounted price if either a DiscountRate or DiscountAmount has been used i.e. LineAmount = Quantity * Unit Amount * ((100 - DiscountRate)/100) or LineAmount = (Quantity * UnitAmount) - DiscountAmount

Invoice.CreditNotes[].LineItems[].AccountID String No

The associated account ID related to this line item

Invoice.CreditNotes[].LineItems[].SalesTaxCodeId Number No

The ID of the sales tax code

Invoice.CreditNotes[].LineItems[].ItemCode String No

See Items

Invoice.CreditNotes[].LineItems[].Tracking[] Array No

Optional Tracking Category – see Tracking. Any LineItem can have a maximum of 2 elements.

Invoice.CreditNotes[].LineItems[].Tracking[].TrackingCategoryID String No

The Xero identifier for a tracking category

Invoice.CreditNotes[].LineItems[].Tracking[].Name String No

The name of the tracking category

Invoice.CreditNotes[].LineItems[].Tracking[].Option String No

See Tracking Options

Invoice.CreditNotes[].LineItems[].Tracking[].TrackingOptionID String No

The Xero identifier for a tracking category option

Invoice.CreditNotes[].LineItems[].DiscountAmount Number No

Discount amount being applied to a line item. Only supported on ACCREC invoices and quotes. ACCPAY invoices and credit notes in Xero do not support discounts.

Invoice.CreditNotes[].LineItems[].DiscountRate Number No

Percentage discount being applied to a line item (only supported on ACCREC invoices – ACC PAY invoices and credit notes in Xero do not support discounts

Invoice.CreditNotes[].SubTotal Number No

The subtotal of the credit note excluding taxes

Invoice.CreditNotes[].Status String No

See Credit Note Status Codes

Possible values:

  • "DELETED"
  • "AUTHORISED"
  • "SUBMITTED"
  • "DRAFT"
  • "PAID"
  • "VOIDED"
Invoice.CreditNotes[].BrandingThemeID String No

See BrandingThemes

Invoice.CreditNotes[].AppliedAmount Number No

The amount of applied to an invoice

Invoice.CreditNotes[].ValidationErrors[] Array No

Displays array of validation error messages from the API

Invoice.CreditNotes[].ValidationErrors[].Message String No

Validation error message

Invoice.CreditNotes[].HasAttachments Boolean No

boolean to indicate if a credit note has an attachment

Default value: false

Invoice.CreditNotes[].CreditNoteNumber String No

ACCRECCREDIT – Unique alpha numeric code identifying credit note (when missing will auto-generate from your Organisation Invoice Settings)

Invoice.HasAttachments Boolean No

boolean to indicate if an invoice has an attachment

Default value: false

Invoice.AmountPaid Number No

Sum of payments received for invoice

Invoice.ExpectedPaymentDate String No

Shown on sales invoices (Accounts Receivable) when this has been set

CreditNote Object No
CreditNote.HasErrors Boolean No

A boolean to indicate if a credit note has an validation errors

Default value: false

CreditNote.Payments[] Array No

See Payments

CreditNote.Total Number No

The total of the Credit Note(subtotal + total tax)

CreditNote.FullyPaidOnDate String No

Date when credit note was fully paid(UTC format)

CreditNote.InvoiceAddresses[] Array No

An array of addresses used to auto calculate sales tax

CreditNote.InvoiceAddresses[].City String No

City of a physical address

CreditNote.InvoiceAddresses[].AddressLine2 String No

Second line of a physical address

CreditNote.InvoiceAddresses[].Region String No

Region or state of a physical address

CreditNote.InvoiceAddresses[].Country String No

Country of a physical address

CreditNote.InvoiceAddresses[].AddressLine1 String No

First line of a physical address

CreditNote.InvoiceAddresses[].InvoiceAddressType String No

Indicates whether the address is defined as origin (FROM) or destination (TO)

Possible values:

  • "FROM"
  • "TO"
CreditNote.InvoiceAddresses[].AddressLine4 String No

Fourth line of a physical address

CreditNote.InvoiceAddresses[].AddressLine3 String No

Third line of a physical address

CreditNote.InvoiceAddresses[].PostalCode String No

Postal code of a physical address

CreditNote.UpdatedDateUTC String No

UTC timestamp of last update to the credit note

CreditNote.CurrencyRate Number No

The currency rate for a multicurrency invoice. If no rate is specified, the XE.com day rate is used

CreditNote.RemainingCredit Number No

The remaining credit balance on the Credit Note

CreditNote.Allocations[] Array No

See Allocations

CreditNote.Contact Object No
CreditNote.Contact.BankAccountDetails String No

Bank account number of contact

CreditNote.Contact.Website String No

Website address for contact (read only)

CreditNote.Contact.Name String No

Full name of contact/organisation (max length = 255)

CreditNote.Contact.SalesTrackingCategories[] Array No

The default sales tracking categories for contacts

CreditNote.Contact.SalesTrackingCategories[].TrackingOptionName String No

The default purchase tracking category name for contacts

CreditNote.Contact.SalesTrackingCategories[].TrackingCategoryName String No

The default sales tracking category name for contacts

CreditNote.Contact.SalesDefaultLineAmountType String No

The default sales line amount type for a contact. Only available when summaryOnly parameter or paging is used, or when fetch by ContactId or ContactNumber.

Possible values:

  • "INCLUSIVE"
  • "NONE"
  • "EXCLUSIVE"
CreditNote.Contact.TrackingCategoryOption String No

The name of the Tracking Option assigned to the contact under SalesTrackingCategories and PurchasesTrackingCategories

CreditNote.Contact.TaxNumber String No

Tax 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 (max length = 50)

CreditNote.Contact.TrackingCategoryName String No

The name of the Tracking Category assigned to the contact under SalesTrackingCategories and PurchasesTrackingCategories

CreditNote.Contact.LastName String No

Last name of contact person (max length = 255)

CreditNote.Contact.IsSupplier Boolean No

true or false – Boolean that describes if a contact that has any AP invoices entered against them. Cannot be set via PUT or POST – it is automatically set when an accounts payable invoice is generated against this contact.

CreditNote.Contact.PurchasesTrackingCategories[] Array No

The default purchases tracking categories for contacts

CreditNote.Contact.PurchasesTrackingCategories[].TrackingOptionName String No

The default purchase tracking category name for contacts

CreditNote.Contact.PurchasesTrackingCategories[].TrackingCategoryName String No

The default sales tracking category name for contacts

CreditNote.Contact.UpdatedDateUTC String No

UTC timestamp of last update to contact

CreditNote.Contact.BrandingTheme Object No
CreditNote.Contact.BrandingTheme.Name String No

Name of branding theme

CreditNote.Contact.BrandingTheme.BrandingThemeID String No

Xero identifier

CreditNote.Contact.BrandingTheme.Type String No

Always INVOICE

Possible values:

  • "INVOICE"
CreditNote.Contact.BrandingTheme.LogoUrl String No

The location of the image file used as the logo on this branding theme

CreditNote.Contact.BrandingTheme.SortOrder Integer No

Integer – ranked order of branding theme. The default branding theme has a value of 0

CreditNote.Contact.BrandingTheme.CreatedDateUTC String No

UTC timestamp of creation date of branding theme

CreditNote.Contact.IsCustomer Boolean No

true or false – Boolean that describes if a contact has any AR invoices entered against them. Cannot be set via PUT or POST – it is automatically set when an accounts receivable invoice is generated against this contact.

CreditNote.Contact.PurchasesDefaultLineAmountType String No

The default purchases line amount type for a contact Only available when summaryOnly parameter or paging is used, or when fetch by ContactId or ContactNumber.

Possible values:

  • "INCLUSIVE"
  • "NONE"
  • "EXCLUSIVE"
CreditNote.Contact.Attachments[] Array No

Displays array of attachments from the API

CreditNote.Contact.Attachments[].ContentLength Integer No

Length of the file content

CreditNote.Contact.Attachments[].IncludeOnline Boolean No

Include the file with the online invoice

CreditNote.Contact.Attachments[].AttachmentID String No

Unique ID for the file

CreditNote.Contact.Attachments[].MimeType String No

Type of file

CreditNote.Contact.Attachments[].Url String No

URL to the file on xero.com

CreditNote.Contact.Attachments[].FileName String No

Name of the file

CreditNote.Contact.PurchasesDefaultAccountCode String No

The default purchases account code for contacts

CreditNote.Contact.ContactID String No

Xero identifier

CreditNote.Contact.AccountsPayableTaxType String No

The tax type from TaxRates

CreditNote.Contact.ContactStatus String No

Current status of a contact – see contact status types

Possible values:

  • "ARCHIVED"
  • "ACTIVE"
  • "GDPRREQUEST"
CreditNote.Contact.Addresses[] Array No

Store certain address types for a contact – see address types

CreditNote.Contact.Addresses[].City String No

max length = 255

CreditNote.Contact.Addresses[].AddressType String No

define the type of address

Possible values:

  • "STREET"
  • "POBOX"
CreditNote.Contact.Addresses[].AttentionTo String No

max length = 255

CreditNote.Contact.Addresses[].AddressLine2 String No

max length = 500

CreditNote.Contact.Addresses[].Region String No

max length = 255

CreditNote.Contact.Addresses[].Country String No

max length = 50, [A-Z], [a-z] only

CreditNote.Contact.Addresses[].AddressLine1 String No

max length = 500

CreditNote.Contact.Addresses[].AddressLine4 String No

max length = 500

CreditNote.Contact.Addresses[].AddressLine3 String No

max length = 500

CreditNote.Contact.Addresses[].PostalCode String No

max length = 50

CreditNote.Contact.StatusAttributeString String No

Status of object

CreditNote.Contact.CompanyNumber String No

Company registration number (max length = 50)

CreditNote.Contact.Phones[] Array No

Store certain phone types for a contact – see phone types

CreditNote.Contact.Phones[].PhoneType String No

Possible values:

  • "DEFAULT"
  • "OFFICE"
  • "DDI"
  • "MOBILE"
  • "FAX"
CreditNote.Contact.Phones[].PhoneNumber String No

max length = 50

CreditNote.Contact.Phones[].PhoneAreaCode String No

max length = 10

CreditNote.Contact.Phones[].PhoneCountryCode String No

max length = 20

CreditNote.Contact.BatchPayments No

Bank details for use on a batch payment stored with each contact

CreditNote.Contact.FirstName String No

First name of contact person (max length = 255)

CreditNote.Contact.SalesDefaultAccountCode String No

The default sales account code for contacts

CreditNote.Contact.ContactNumber String No

This can be updated via the API only i.e. This field is read only on the Xero contact screen, used to identify contacts in external systems (max length = 50). If the Contact Number is used, this is displayed as Contact Code in the Contacts UI in Xero.

CreditNote.Contact.AccountsReceivableTaxType String No

The tax type from TaxRates

CreditNote.Contact.DefaultCurrency String No

3 letter alpha code for the currency – see list of currency codes

Possible values:

  • "ISK"
  • "JMD"
  • "LTL"
  • "SVC"
  • "SAR"
  • "EEK"
  • "TTD"
  • "SBD"
  • "SHP"
  • "GBP"
  • "TRY"
  • "MOP"
  • "INR"
  • "MAD"
  • "CUP"
  • "CLF"
  • "SRD"
  • "SZL"
  • "IRR"
  • "CHF"
  • "EUR"
  • "KZT"
  • "ALL"
  • "MZN"
  • "CDF"
  • "BZD"
  • "KES"
  • "AOA"
  • "NGN"
  • "SEK"
  • "BND"
  • "UYU"
  • "BRL"
  • "YER"
  • "ANG"
  • "BYR"
  • "MRO"
  • "DJF"
  • "LSL"
  • "BBD"
  • "MGA"
  • "VND"
  • "DOP"
  • "TJS"
  • "FJD"
  • "BGN"
  • "TWD"
  • "QAR"
  • "VES"
  • "CNY"
  • "AUD"
  • "ZMW"
  • "WST"
  • "MDL"
  • "KHR"
  • "NZD"
  • "AMD"
  • "AZN"
  • "TZS"
  • "GIP"
  • "AED"
  • "AFN"
  • "DZD"
  • "PKR"
  • "KYD"
  • "AWG"
  • "BSD"
  • "PEN"
  • "XAF"
  • "NAD"
  • "ZWD"
  • "BTN"
  • "KRW"
  • "NPR"
  • "FKP"
  • "TND"
  • "LVL"
  • "MWK"
  • "JOD"
  • "LRD"
  • "RSD"
  • "SCR"
  • "HUF"
  • "IDR"
  • "LAK"
  • "UAH"
  • "ZAR"
  • "OMR"
  • "PGK"
  • "SLL"
  • "MVR"
  • "USD"
  • "MXV"
  • "MKD"
  • "COP"
  • "CAD"
  • "KMF"
  • "MXN"
  • "PYG"
  • "XCD"
  • "STD"
  • "IQD"
  • "TOP"
  • "VEF"
  • "VUV"
  • "SOS"
  • "CVE"
  • "CUC"
  • "KGS"
  • "TMT"
  • "THB"
  • "BOB"
  • "UZS"
  • "BYN"
  • "SKK"
  • "ILS"
  • "PLN"
  • "RON"
  • "BHD"
  • "BIF"
  • "SLE"
  • "XPF"
  • "ARS"
  • "GTQ"
  • "RUB"
  • "HKD"
  • "ZMK"
  • "RWF"
  • "BDT"
  • "ETB"
  • "LYD"
  • "JPY"
  • "SGD"
  • "STN"
  • "MNT"
  • "NIO"
  • "GEL"
  • "MUR"
  • "NOK"
  • "ERN"
  • "SYP"
  • "MYR"
  • "DKK"
  • "HRK"
  • "CLP"
  • "GNF"
  • "GMD"
  • "BAM"
  • "HTG"
  • "LBP"
  • "PHP"
  • "EGP"
  • "SDG"
  • "CRC"
  • "CZK"
  • "KWD"
  • "KPW"
  • "GHS"
  • "GYD"
  • "LKR"
  • "BMD"
  • "BWP"
  • "MRU"
  • "PAB"
  • "UGX"
  • "MMK"
  • "XOF"
  • "HNL"
CreditNote.Contact.HasValidationErrors Boolean No

A boolean to indicate if a contact has an validation errors

Default value: false

CreditNote.Contact.AccountNumber String No

A user defined account number. This can be updated via the API and the Xero UI (max length = 50)

CreditNote.Contact.Balances Object No

The raw AccountsReceivable(sales invoices) and AccountsPayable(bills) outstanding and overdue amounts, not converted to base currency (read only)

CreditNote.Contact.Balances.AccountsReceivable Object No
CreditNote.Contact.Balances.AccountsReceivable.Overdue Number No
CreditNote.Contact.Balances.AccountsReceivable.Outstanding Number No
CreditNote.Contact.Balances.AccountsPayable Object No
CreditNote.Contact.Balances.AccountsPayable.Overdue Number No
CreditNote.Contact.Balances.AccountsPayable.Outstanding Number No
CreditNote.Contact.XeroNetworkKey String No

Store XeroNetworkKey for contacts.

CreditNote.Contact.Discount Number No

The default discount rate for the contact (read only)

CreditNote.Contact.MergedToContactID String No

ID for the destination of a merged contact. Only returned when using paging or when fetching a contact by ContactId or ContactNumber.

CreditNote.Contact.ValidationErrors[] Array No

Displays validation errors returned from the API

CreditNote.Contact.ValidationErrors[].Message String No

Validation error message

CreditNote.Contact.EmailAddress String No

Email address of contact person (umlauts not supported) (max length = 255)

CreditNote.Contact.HasAttachments Boolean No

A boolean to indicate if a contact has an attachment

Default value: false

CreditNote.Contact.PaymentTerms Object No
CreditNote.Contact.PaymentTerms.Bills Object No
CreditNote.Contact.PaymentTerms.Bills.Day Integer No

Day of Month (0-31)

CreditNote.Contact.PaymentTerms.Bills.Type String No

Possible values:

  • "DAYSAFTERBILLMONTH"
  • "OFCURRENTMONTH"
  • "DAYSAFTERBILLDATE"
  • "OFFOLLOWINGMONTH"
CreditNote.Contact.PaymentTerms.Sales Object No
CreditNote.Contact.PaymentTerms.Sales.Day Integer No

Day of Month (0-31)

CreditNote.Contact.PaymentTerms.Sales.Type String No

Possible values:

  • "DAYSAFTERBILLMONTH"
  • "OFCURRENTMONTH"
  • "DAYSAFTERBILLDATE"
  • "OFFOLLOWINGMONTH"
CreditNote.Contact.ContactGroups[] Array No

Displays which contact groups a contact is included in

CreditNote.Contact.ContactGroups[].Name String No

The Name of the contact group. Required when creating a new contact group

CreditNote.Contact.ContactGroups[].Status String No

The Status of a contact group. To delete a contact group update the status to DELETED. Only contact groups with a status of ACTIVE are returned on GETs.

Possible values:

  • "DELETED"
  • "ACTIVE"
CreditNote.Contact.ContactGroups[].ContactGroupID String No

The Xero identifier for an contact group – specified as a string following the endpoint name. e.g. /297c2dc5-cc47-4afd-8ec8-74990b8761e9

CreditNote.Contact.ContactGroups[].Contacts[] Array No

The ContactID and Name of Contacts in a contact group. Returned on GETs when the ContactGroupID is supplied in the URL.

CreditNote.Contact.ContactPersons[] Array No

See contact persons

CreditNote.Contact.ContactPersons[].IncludeInEmails Boolean No

boolean to indicate whether contact should be included on emails with invoices etc.

CreditNote.Contact.ContactPersons[].EmailAddress String No

Email address of person

CreditNote.Contact.ContactPersons[].LastName String No

Last name of person

CreditNote.Contact.ContactPersons[].FirstName String No

First name of person

CreditNote.CurrencyCode String No

3 letter alpha code for the currency – see list of currency codes

Possible values:

  • "ISK"
  • "JMD"
  • "LTL"
  • "SVC"
  • "SAR"
  • "EEK"
  • "TTD"
  • "SBD"
  • "SHP"
  • "GBP"
  • "TRY"
  • "MOP"
  • "INR"
  • "MAD"
  • "CUP"
  • "CLF"
  • "SRD"
  • "SZL"
  • "IRR"
  • "CHF"
  • "EUR"
  • "KZT"
  • "ALL"
  • "MZN"
  • "CDF"
  • "BZD"
  • "KES"
  • "AOA"
  • "NGN"
  • "SEK"
  • "BND"
  • "UYU"
  • "BRL"
  • "YER"
  • "ANG"
  • "BYR"
  • "MRO"
  • "DJF"
  • "LSL"
  • "BBD"
  • "MGA"
  • "VND"
  • "DOP"
  • "TJS"
  • "FJD"
  • "BGN"
  • "TWD"
  • "QAR"
  • "VES"
  • "CNY"
  • "AUD"
  • "ZMW"
  • "WST"
  • "MDL"
  • "KHR"
  • "NZD"
  • "AMD"
  • "AZN"
  • "TZS"
  • "GIP"
  • "AED"
  • "AFN"
  • "DZD"
  • "PKR"
  • "KYD"
  • "AWG"
  • "BSD"
  • "PEN"
  • "XAF"
  • "NAD"
  • "ZWD"
  • "BTN"
  • "KRW"
  • "NPR"
  • "FKP"
  • "TND"
  • "LVL"
  • "MWK"
  • "JOD"
  • "LRD"
  • "RSD"
  • "SCR"
  • "HUF"
  • "IDR"
  • "LAK"
  • "UAH"
  • "ZAR"
  • "OMR"
  • "PGK"
  • "SLL"
  • "MVR"
  • "USD"
  • "MXV"
  • "MKD"
  • "COP"
  • "CAD"
  • "KMF"
  • "MXN"
  • "PYG"
  • "XCD"
  • "STD"
  • "IQD"
  • "TOP"
  • "VEF"
  • "VUV"
  • "SOS"
  • "CVE"
  • "CUC"
  • "KGS"
  • "TMT"
  • "THB"
  • "BOB"
  • "UZS"
  • "BYN"
  • "SKK"
  • "ILS"
  • "PLN"
  • "RON"
  • "BHD"
  • "BIF"
  • "SLE"
  • "XPF"
  • "ARS"
  • "GTQ"
  • "RUB"
  • "HKD"
  • "ZMK"
  • "RWF"
  • "BDT"
  • "ETB"
  • "LYD"
  • "JPY"
  • "SGD"
  • "STN"
  • "MNT"
  • "NIO"
  • "GEL"
  • "MUR"
  • "NOK"
  • "ERN"
  • "SYP"
  • "MYR"
  • "DKK"
  • "HRK"
  • "CLP"
  • "GNF"
  • "GMD"
  • "BAM"
  • "HTG"
  • "LBP"
  • "PHP"
  • "EGP"
  • "SDG"
  • "CRC"
  • "CZK"
  • "KWD"
  • "KPW"
  • "GHS"
  • "GYD"
  • "LKR"
  • "BMD"
  • "BWP"
  • "MRU"
  • "PAB"
  • "UGX"
  • "MMK"
  • "XOF"
  • "HNL"
CreditNote.CreditNoteID String No

Xero generated unique identifier

CreditNote.LineAmountTypes String No

Line amounts are exclusive of tax by default if you don’t specify this element. See Line Amount Types

Possible values:

  • "Inclusive"
  • "Exclusive"
  • "NoTax"
CreditNote.Date String No

The date the credit note is issued YYYY-MM-DD. If the Date element is not specified then it will default to the current date based on the timezone setting of the organisation

CreditNote.CISDeduction Number No

CIS deduction for UK contractors

CreditNote.SentToContact Boolean No

Boolean to set whether the credit note in the Xero app should be marked as “sent”. This can be set only on credit notes that have been approved

CreditNote.Warnings[] Array No

Displays array of warning messages from the API

CreditNote.Warnings[].Message String No

Validation error message

CreditNote.Type String No

See Credit Note Types

Possible values:

  • "ACCPAYCREDIT"
  • "ACCRECCREDIT"
CreditNote.StatusAttributeString String No

A string to indicate if a invoice status

CreditNote.DueDate String No

Date invoice is due – YYYY-MM-DD

CreditNote.CISRate Number No

CIS Deduction rate for the organisation

CreditNote.TotalTax Number No

The total tax on the credit note

CreditNote.Reference String No

ACCRECCREDIT only – additional reference number

CreditNote.LineItems[] Array No

See Invoice Line Items

CreditNote.LineItems[].Quantity Number No

LineItem Quantity

CreditNote.LineItems[].UnitAmount Number No

LineItem Unit Amount

CreditNote.LineItems[].TaxAmount Number No

The tax amount is auto calculated as a percentage of the line amount (see below) based on the tax rate. This value can be overriden if the calculated is not correct.

CreditNote.LineItems[].Item No
CreditNote.LineItems[].AccountCode String No

See Accounts

CreditNote.LineItems[].RepeatingInvoiceID String No

The Xero identifier for a Repeating Invoice

CreditNote.LineItems[].LineItemID String No

LineItem unique ID

CreditNote.LineItems[].Description String No

Description needs to be at least 1 char long. A line item with just a description (i.e no unit amount or quantity) can be created by specifying just a element that contains at least 1 character

CreditNote.LineItems[].TaxType String No

The tax type from TaxRates

CreditNote.LineItems[].Taxability String No

The type of taxability

Possible values:

  • "NOT_APPLICABLE"
  • "EXEMPT"
  • "PART_TAXABLE"
  • "TAXABLE"
  • "NON_TAXABLE"
CreditNote.LineItems[].TaxBreakdown[] Array No

An array of tax components defined for this line item

CreditNote.LineItems[].TaxBreakdown[].TaxComponentId String No

The unique ID number of this component

CreditNote.LineItems[].TaxBreakdown[].Name String No

The name of the jurisdiction

CreditNote.LineItems[].TaxBreakdown[].Type String No

The type of the jurisdiction

Possible values:

  • "SYSGST/USSPECIAL"
  • "SYSGST/USCOUNTRY"
  • "SYSGST/USCOUNTY"
  • "SYSGST/USSTATE"
  • "SYSGST/USCITY"
CreditNote.LineItems[].TaxBreakdown[].TaxAmount Number No

The amount of the tax

CreditNote.LineItems[].TaxBreakdown[].TaxableAmount Number No

The amount that is taxable

CreditNote.LineItems[].TaxBreakdown[].NonTaxableAmount Number No

The amount that is not taxable

CreditNote.LineItems[].TaxBreakdown[].TaxPercentage Number No

The percentage of the tax

CreditNote.LineItems[].TaxBreakdown[].ExemptAmount Number No

The amount that is exempt

CreditNote.LineItems[].TaxBreakdown[].StateAssignedNo String No

The state assigned number of the jurisdiction

CreditNote.LineItems[].TaxBreakdown[].JurisdictionRegion String No

Name identifying the region within the country

CreditNote.LineItems[].LineAmount Number No

If you wish to omit either the Quantity or UnitAmount you can provide a LineAmount and Xero will calculate the missing amount for you. The line amount reflects the discounted price if either a DiscountRate or DiscountAmount has been used i.e. LineAmount = Quantity * Unit Amount * ((100 - DiscountRate)/100) or LineAmount = (Quantity * UnitAmount) - DiscountAmount

CreditNote.LineItems[].AccountID String No

The associated account ID related to this line item

CreditNote.LineItems[].SalesTaxCodeId Number No

The ID of the sales tax code

CreditNote.LineItems[].ItemCode String No

See Items

CreditNote.LineItems[].Tracking[] Array No

Optional Tracking Category – see Tracking. Any LineItem can have a maximum of 2 elements.

CreditNote.LineItems[].Tracking[].TrackingCategoryID String No

The Xero identifier for a tracking category

CreditNote.LineItems[].Tracking[].Name String No

The name of the tracking category

CreditNote.LineItems[].Tracking[].Option String No

See Tracking Options

CreditNote.LineItems[].Tracking[].TrackingOptionID String No

The Xero identifier for a tracking category option

CreditNote.LineItems[].DiscountAmount Number No

Discount amount being applied to a line item. Only supported on ACCREC invoices and quotes. ACCPAY invoices and credit notes in Xero do not support discounts.

CreditNote.LineItems[].DiscountRate Number No

Percentage discount being applied to a line item (only supported on ACCREC invoices – ACC PAY invoices and credit notes in Xero do not support discounts

CreditNote.SubTotal Number No

The subtotal of the credit note excluding taxes

CreditNote.Status String No

See Credit Note Status Codes

Possible values:

  • "DELETED"
  • "AUTHORISED"
  • "SUBMITTED"
  • "DRAFT"
  • "PAID"
  • "VOIDED"
CreditNote.BrandingThemeID String No

See BrandingThemes

CreditNote.AppliedAmount Number No

The amount of applied to an invoice

CreditNote.ValidationErrors[] Array No

Displays array of validation error messages from the API

CreditNote.ValidationErrors[].Message String No

Validation error message

CreditNote.HasAttachments Boolean No

boolean to indicate if a credit note has an attachment

Default value: false

CreditNote.CreditNoteNumber String No

ACCRECCREDIT – Unique alpha numeric code identifying credit note (when missing will auto-generate from your Organisation Invoice Settings)

Account Object No
Account.Code String No

Customer defined alpha numeric account code e.g 200 or SALES (max length = 10)

Account.EnablePaymentsToAccount Boolean No

Boolean – describes whether account can have payments applied to it

Account.Name String No

Name of account (max length = 150)

Account.Type String No

See Account Types

Possible values:

  • "BANK"
  • "DEPRECIATN"
  • "CURRENT"
  • "FIXED"
  • "EQUITY"
  • "NONCURRENT"
  • "PREPAYMENT"
  • "PAYG"
  • "EXPENSE"
  • "LIABILITY"
  • "TERMLIAB"
  • "DIRECTCOSTS"
  • "INVENTORY"
  • "SALES"
  • "OTHERINCOME"
  • "CURRLIAB"
  • "OVERHEADS"
  • "REVENUE"
Account.ShowInExpenseClaims Boolean No

Boolean – describes whether account code is available for use with expense claims

Account.BankAccountNumber String No

For bank accounts only (Account Type BANK)

Account.ReportingCodeName String No

Shown if set

Account.Description String No

Description of the Account. Valid for all types of accounts except bank accounts (max length = 4000)

Account.TaxType String No

The tax type from taxRates

Account.AddToWatchlist Boolean No

Boolean – describes whether the account is shown in the watchlist widget on the dashboard

Account.Class String No

See Account Class Types

Possible values:

  • "ASSET"
  • "EQUITY"
  • "EXPENSE"
  • "LIABILITY"
  • "REVENUE"
Account.UpdatedDateUTC String No

Last modified date UTC format

Account.BankAccountType String No

For bank accounts only. See Bank Account types

Possible values:

  • "CREDITCARD"
  • ""
  • "BANK"
  • "PAYPAL"
  • "NONE"
Account.SystemAccount String No

If this is a system account then this element is returned. See System Account types. Note that non-system accounts may have this element set as either “” or null.

Possible values:

  • ""
  • "TRACKINGTRANSFERS"
  • "CISMATERIALS"
  • "CISLABOURINCOME"
  • "CISLIABILITY"
  • "CISLABOUR"
  • "CISLABOUREXPENSE"
  • "GSTONIMPORTS"
  • "UNPAIDEXPCLM"
  • "CISASSETS"
  • "CISASSET"
  • "REALISEDCURRENCYGAIN"
  • "UNREALISEDCURRENCYGAIN"
  • "BANKCURRENCYGAIN"
  • "ROUNDING"
  • "HISTORICAL"
  • "GST"
  • "WAGEPAYABLES"
  • "DEBTORS"
  • "CREDITORS"
  • "RETAINEDEARNINGS"
Account.Status String No

Accounts with a status of ACTIVE can be updated to ARCHIVED. See Account Status Codes

Possible values:

  • "ARCHIVED"
  • "DELETED"
  • "ACTIVE"
Account.ReportingCode String No

Shown if set

Account.AccountID String No

The Xero identifier for an account – specified as a string following the endpoint name e.g. /297c2dc5-cc47-4afd-8ec8-74990b8761e9

Account.ValidationErrors[] Array No

Displays array of validation error messages from the API

Account.ValidationErrors[].Message String No

Validation error message

Account.HasAttachments Boolean No

boolean to indicate if an account has an attachment (read only)

Default value: false

Account.CurrencyCode String No

3 letter alpha code for the currency – see list of currency codes

Possible values:

  • "ISK"
  • "JMD"
  • "LTL"
  • "SVC"
  • "SAR"
  • "EEK"
  • "TTD"
  • "SBD"
  • "SHP"
  • "GBP"
  • "TRY"
  • "MOP"
  • "INR"
  • "MAD"
  • "CUP"
  • "CLF"
  • "SRD"
  • "SZL"
  • "IRR"
  • "CHF"
  • "EUR"
  • "KZT"
  • "ALL"
  • "MZN"
  • "CDF"
  • "BZD"
  • "KES"
  • "AOA"
  • "NGN"
  • "SEK"
  • "BND"
  • "UYU"
  • "BRL"
  • "YER"
  • "ANG"
  • "BYR"
  • "MRO"
  • "DJF"
  • "LSL"
  • "BBD"
  • "MGA"
  • "VND"
  • "DOP"
  • "TJS"
  • "FJD"
  • "BGN"
  • "TWD"
  • "QAR"
  • "VES"
  • "CNY"
  • "AUD"
  • "ZMW"
  • "WST"
  • "MDL"
  • "KHR"
  • "NZD"
  • "AMD"
  • "AZN"
  • "TZS"
  • "GIP"
  • "AED"
  • "AFN"
  • "DZD"
  • "PKR"
  • "KYD"
  • "AWG"
  • "BSD"
  • "PEN"
  • "XAF"
  • "NAD"
  • "ZWD"
  • "BTN"
  • "KRW"
  • "NPR"
  • "FKP"
  • "TND"
  • "LVL"
  • "MWK"
  • "JOD"
  • "LRD"
  • "RSD"
  • "SCR"
  • "HUF"
  • "IDR"
  • "LAK"
  • "UAH"
  • "ZAR"
  • "OMR"
  • "PGK"
  • "SLL"
  • "MVR"
  • "USD"
  • "MXV"
  • "MKD"
  • "COP"
  • "CAD"
  • "KMF"
  • "MXN"
  • "PYG"
  • "XCD"
  • "STD"
  • "IQD"
  • "TOP"
  • "VEF"
  • "VUV"
  • "SOS"
  • "CVE"
  • "CUC"
  • "KGS"
  • "TMT"
  • "THB"
  • "BOB"
  • "UZS"
  • "BYN"
  • "SKK"
  • "ILS"
  • "PLN"
  • "RON"
  • "BHD"
  • "BIF"
  • "SLE"
  • "XPF"
  • "ARS"
  • "GTQ"
  • "RUB"
  • "HKD"
  • "ZMK"
  • "RWF"
  • "BDT"
  • "ETB"
  • "LYD"
  • "JPY"
  • "SGD"
  • "STN"
  • "MNT"
  • "NIO"
  • "GEL"
  • "MUR"
  • "NOK"
  • "ERN"
  • "SYP"
  • "MYR"
  • "DKK"
  • "HRK"
  • "CLP"
  • "GNF"
  • "GMD"
  • "BAM"
  • "HTG"
  • "LBP"
  • "PHP"
  • "EGP"
  • "SDG"
  • "CRC"
  • "CZK"
  • "KWD"
  • "KPW"
  • "GHS"
  • "GYD"
  • "LKR"
  • "BMD"
  • "BWP"
  • "MRU"
  • "PAB"
  • "UGX"
  • "MMK"
  • "XOF"
  • "HNL"
UpdatedDateUTC String No

UTC timestamp of last update to the payment

CurrencyRate Number No

Exchange rate when payment is received. Only used for non base currency invoices and credit notes e.g. 0.7500

IsReconciled Boolean No

An optional parameter for the payment. A boolean indicating whether you would like the payment to be created as reconciled when using PUT, or whether a payment has been reconciled when using GET

Particulars String No

The suppliers bank account number the payment is being made to

Code String No

Code of account you are using to make the payment e.g. 001 (note- not all accounts have a code value)

Date String No

Date the payment is being made (YYYY-MM-DD) e.g. 2009-09-06

Warnings[] Array No

Displays array of warning messages from the API

Warnings[].Message String No

Validation error message

StatusAttributeString String No

A string to indicate if a invoice status

BankAccountNumber String No

The suppliers bank account number the payment is being made to

PaymentType String No

See Payment Types.

Possible values:

  • "ACCPAYPAYMENT"
  • "ARPREPAYMENTPAYMENT"
  • "APCREDITPAYMENT"
  • "ARCREDITPAYMENT"
  • "AROVERPAYMENTPAYMENT"
  • "APOVERPAYMENTPAYMENT"
  • "APPREPAYMENTPAYMENT"
  • "ACCRECPAYMENT"
Reference String No

An optional description for the payment e.g. Direct Debit

BankAmount Number No

The amount of the payment in the currency of the bank account.

HasValidationErrors Boolean No

A boolean to indicate if a contact has an validation errors

Default value: false

Amount Number No

The amount of the payment. Must be less than or equal to the outstanding amount owing on the invoice e.g. 200.00

Status String No

The status of the payment.

Possible values:

  • "DELETED"
  • "AUTHORISED"
ValidationErrors[] Array No

Displays array of validation error messages from the API

ValidationErrors[].Message String No

Validation error message

CreditNoteNumber String No

Number of invoice or credit note you are applying payment to e.g. INV-4003

PaymentID String No

The Xero identifier for an Payment e.g. 297c2dc5-cc47-4afd-8ec8-74990b8761e9

BatchPaymentID String No

Present if the payment was created as part of a batch.

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.