PUT /BatchPayments

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.

Query parameters

Name Type Required Description
summarizeErrors Boolean No

If false return 200 OK and mix of successfully created objects and any with validation errors

Default value: false

Request body fields

Name Type Required Description
BatchPayments[] Array No
BatchPayments[].Narrative String No

(UK Only) Only shows on the statement line in Xero. Max length =18

BatchPayments[].Code String No

(NZ Only) Optional references for the batch payment transaction. It will also show with the batch payment transaction in the bank reconciliation Find & Match screen. Depending on your individual bank, the detail may also show on the bank statement you import into Xero.

BatchPayments[].Date String No

Date the payment is being made (YYYY-MM-DD) e.g. 2009-09-06

BatchPayments[].Details String No

(Non-NZ Only) These details are sent to the org’s bank as a reference for the batch payment transaction. They will also show with the batch payment transaction in the bank reconciliation Find & Match screen. Depending on your individual bank, the detail may also show on the bank statement imported into Xero. Maximum field length = 18

BatchPayments[].Payments[] Array No

An array of payments

BatchPayments[].Payments[].BatchPayment No
BatchPayments[].Payments[].HasAccount Boolean No

A boolean to indicate if a contact has an validation errors

Default value: false

BatchPayments[].Payments[].InvoiceNumber String No

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

BatchPayments[].Payments[].Details String No

The information to appear on the supplier's bank account

BatchPayments[].Payments[].Prepayment Object No
BatchPayments[].Payments[].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"
BatchPayments[].Payments[].Prepayment.Date String No

The date the prepayment is created YYYY-MM-DD

BatchPayments[].Payments[].Prepayment.Payments[] Array No

See Payments

BatchPayments[].Payments[].Prepayment.Type String No

See Prepayment Types

Possible values:

  • "APPREPAYMENT"
  • "RECEIVE-PREPAYMENT"
  • "SPEND-PREPAYMENT"
  • "ARPREPAYMENT"
BatchPayments[].Payments[].Prepayment.Total Number No

The total of the prepayment(subtotal + total tax)

BatchPayments[].Payments[].Prepayment.TotalTax Number No

The total tax on the prepayment

BatchPayments[].Payments[].Prepayment.Reference String No

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

BatchPayments[].Payments[].Prepayment.LineItems[] Array No

See Prepayment Line Items

BatchPayments[].Payments[].Prepayment.LineItems[].Quantity Number No

LineItem Quantity

BatchPayments[].Payments[].Prepayment.LineItems[].UnitAmount Number No

LineItem Unit Amount

BatchPayments[].Payments[].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.

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

See Accounts

BatchPayments[].Payments[].Prepayment.LineItems[].RepeatingInvoiceID String No

The Xero identifier for a Repeating Invoice

BatchPayments[].Payments[].Prepayment.LineItems[].LineItemID String No

LineItem unique ID

BatchPayments[].Payments[].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

BatchPayments[].Payments[].Prepayment.LineItems[].TaxType String No

The tax type from TaxRates

BatchPayments[].Payments[].Prepayment.LineItems[].Taxability String No

The type of taxability

Possible values:

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

An array of tax components defined for this line item

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

The unique ID number of this component

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

The name of the jurisdiction

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

The type of the jurisdiction

Possible values:

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

The amount of the tax

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

The amount that is taxable

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

The amount that is not taxable

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

The percentage of the tax

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

The amount that is exempt

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

The state assigned number of the jurisdiction

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

Name identifying the region within the country

BatchPayments[].Payments[].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

BatchPayments[].Payments[].Prepayment.LineItems[].AccountID String No

The associated account ID related to this line item

BatchPayments[].Payments[].Prepayment.LineItems[].SalesTaxCodeId Number No

The ID of the sales tax code

BatchPayments[].Payments[].Prepayment.LineItems[].ItemCode String No

See Items

BatchPayments[].Payments[].Prepayment.LineItems[].Tracking[] Array No

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

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

The Xero identifier for a tracking category

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

The name of the tracking category

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

See Tracking Options

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

The Xero identifier for a tracking category option

BatchPayments[].Payments[].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.

BatchPayments[].Payments[].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

BatchPayments[].Payments[].Prepayment.UpdatedDateUTC String No

UTC timestamp of last update to the prepayment

BatchPayments[].Payments[].Prepayment.SubTotal Number No

The subtotal of the prepayment excluding taxes

BatchPayments[].Payments[].Prepayment.CurrencyRate Number No

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

BatchPayments[].Payments[].Prepayment.Status String No

See Prepayment Status Codes

Possible values:

  • "AUTHORISED"
  • "PAID"
  • "VOIDED"
BatchPayments[].Payments[].Prepayment.AppliedAmount Number No

The amount of applied to an invoice

BatchPayments[].Payments[].Prepayment.Attachments[] Array No

See Attachments

BatchPayments[].Payments[].Prepayment.Attachments[].ContentLength Integer No

Length of the file content

BatchPayments[].Payments[].Prepayment.Attachments[].IncludeOnline Boolean No

Include the file with the online invoice

BatchPayments[].Payments[].Prepayment.Attachments[].AttachmentID String No

Unique ID for the file

BatchPayments[].Payments[].Prepayment.Attachments[].MimeType String No

Type of file

BatchPayments[].Payments[].Prepayment.Attachments[].Url String No

URL to the file on xero.com

BatchPayments[].Payments[].Prepayment.Attachments[].FileName String No

Name of the file

BatchPayments[].Payments[].Prepayment.RemainingCredit Number No

The remaining credit balance on the prepayment

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

See Allocations

BatchPayments[].Payments[].Prepayment.Allocations[].Amount Number Yes

the amount being applied to the invoice

BatchPayments[].Payments[].Prepayment.Allocations[].Date String Yes

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

BatchPayments[].Payments[].Prepayment.Allocations[].Prepayment No
BatchPayments[].Payments[].Prepayment.Allocations[].Overpayment Object No
BatchPayments[].Payments[].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"
BatchPayments[].Payments[].Prepayment.Allocations[].Overpayment.Date String No

The date the overpayment is created YYYY-MM-DD

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

See Payments

BatchPayments[].Payments[].Prepayment.Allocations[].Overpayment.Type String No

See Overpayment Types

Possible values:

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

The total of the overpayment (subtotal + total tax)

BatchPayments[].Payments[].Prepayment.Allocations[].Overpayment.TotalTax Number No

The total tax on the overpayment

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

See Overpayment Line Items

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

LineItem Quantity

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

LineItem Unit Amount

BatchPayments[].Payments[].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.

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

See Accounts

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

The Xero identifier for a Repeating Invoice

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

LineItem unique ID

BatchPayments[].Payments[].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

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

The tax type from TaxRates

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

The type of taxability

Possible values:

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

An array of tax components defined for this line item

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

The unique ID number of this component

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

The name of the jurisdiction

BatchPayments[].Payments[].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"
BatchPayments[].Payments[].Prepayment.Allocations[].Overpayment.LineItems[].TaxBreakdown[].TaxAmount Number No

The amount of the tax

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

The amount that is taxable

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

The amount that is not taxable

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

The percentage of the tax

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

The amount that is exempt

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

The state assigned number of the jurisdiction

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

Name identifying the region within the country

BatchPayments[].Payments[].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

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

The associated account ID related to this line item

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

The ID of the sales tax code

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

See Items

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

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

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

The Xero identifier for a tracking category

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

The name of the tracking category

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

See Tracking Options

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

The Xero identifier for a tracking category option

BatchPayments[].Payments[].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.

BatchPayments[].Payments[].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

BatchPayments[].Payments[].Prepayment.Allocations[].Overpayment.UpdatedDateUTC String No

UTC timestamp of last update to the overpayment

BatchPayments[].Payments[].Prepayment.Allocations[].Overpayment.SubTotal Number No

The subtotal of the overpayment excluding taxes

BatchPayments[].Payments[].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

BatchPayments[].Payments[].Prepayment.Allocations[].Overpayment.Status String No

See Overpayment Status Codes

Possible values:

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

Xero generated unique identifier

BatchPayments[].Payments[].Prepayment.Allocations[].Overpayment.AppliedAmount Number No

The amount of applied to an invoice

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

See Attachments

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

Length of the file content

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

Include the file with the online invoice

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

Unique ID for the file

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

Type of file

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

URL to the file on xero.com

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

Name of the file

BatchPayments[].Payments[].Prepayment.Allocations[].Overpayment.RemainingCredit Number No

The remaining credit balance on the overpayment

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

See Allocations

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

Bank account number of contact

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

Website address for contact (read only)

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

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

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

The default sales tracking categories for contacts

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

The default purchase tracking category name for contacts

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

The default sales tracking category name for contacts

BatchPayments[].Payments[].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"
BatchPayments[].Payments[].Prepayment.Allocations[].Overpayment.Contact.TrackingCategoryOption String No

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

BatchPayments[].Payments[].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)

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

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

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

Last name of contact person (max length = 255)

BatchPayments[].Payments[].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.

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

The default purchases tracking categories for contacts

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

The default purchase tracking category name for contacts

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

The default sales tracking category name for contacts

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

UTC timestamp of last update to contact

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

Name of branding theme

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

Xero identifier

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

Always INVOICE

Possible values:

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

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

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

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

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

UTC timestamp of creation date of branding theme

BatchPayments[].Payments[].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.

BatchPayments[].Payments[].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"
BatchPayments[].Payments[].Prepayment.Allocations[].Overpayment.Contact.Attachments[] Array No

Displays array of attachments from the API

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

Length of the file content

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

Include the file with the online invoice

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

Unique ID for the file

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

Type of file

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

URL to the file on xero.com

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

Name of the file

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

The default purchases account code for contacts

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

Xero identifier

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

The tax type from TaxRates

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

Current status of a contact – see contact status types

Possible values:

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

Store certain address types for a contact – see address types

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

max length = 255

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

define the type of address

Possible values:

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

max length = 255

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

max length = 500

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

max length = 255

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

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

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

max length = 500

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

max length = 500

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

max length = 500

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

max length = 50

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

Status of object

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

Company registration number (max length = 50)

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

Store certain phone types for a contact – see phone types

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

Possible values:

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

max length = 50

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

max length = 10

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

max length = 20

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

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

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

First name of contact person (max length = 255)

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

The default sales account code for contacts

BatchPayments[].Payments[].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.

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

The tax type from TaxRates

BatchPayments[].Payments[].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"
BatchPayments[].Payments[].Prepayment.Allocations[].Overpayment.Contact.HasValidationErrors Boolean No

A boolean to indicate if a contact has an validation errors

Default value: false

BatchPayments[].Payments[].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)

BatchPayments[].Payments[].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)

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

Store XeroNetworkKey for contacts.

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

The default discount rate for the contact (read only)

BatchPayments[].Payments[].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.

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

Displays validation errors returned from the API

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

Validation error message

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

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

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

A boolean to indicate if a contact has an attachment

Default value: false

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

Day of Month (0-31)

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

Possible values:

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

Day of Month (0-31)

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

Possible values:

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

Displays which contact groups a contact is included in

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

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

BatchPayments[].Payments[].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"
BatchPayments[].Payments[].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

BatchPayments[].Payments[].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.

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

See contact persons

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

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

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

Email address of person

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

Last name of person

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

First name of person

BatchPayments[].Payments[].Prepayment.Allocations[].Overpayment.HasAttachments Boolean No

boolean to indicate if a overpayment has an attachment

Default value: false

BatchPayments[].Payments[].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"
BatchPayments[].Payments[].Prepayment.Allocations[].StatusAttributeString String No

A string to indicate if a invoice status

BatchPayments[].Payments[].Prepayment.Allocations[].ValidationErrors[] Array No

Displays array of validation error messages from the API

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

Validation error message

BatchPayments[].Payments[].Prepayment.Allocations[].IsDeleted Boolean No

A flag that returns true when the allocation is succesfully deleted

BatchPayments[].Payments[].Prepayment.Allocations[].AllocationID String No

Xero generated unique identifier

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

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

Default value: false

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

See Payments

BatchPayments[].Payments[].Prepayment.Allocations[].CreditNote.Total Number No

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

BatchPayments[].Payments[].Prepayment.Allocations[].CreditNote.FullyPaidOnDate String No

Date when credit note was fully paid(UTC format)

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

An array of addresses used to auto calculate sales tax

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

City of a physical address

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

Second line of a physical address

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

Region or state of a physical address

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

Country of a physical address

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

First line of a physical address

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

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

Possible values:

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

Fourth line of a physical address

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

Third line of a physical address

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

Postal code of a physical address

BatchPayments[].Payments[].Prepayment.Allocations[].CreditNote.UpdatedDateUTC String No

UTC timestamp of last update to the credit note

BatchPayments[].Payments[].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

BatchPayments[].Payments[].Prepayment.Allocations[].CreditNote.RemainingCredit Number No

The remaining credit balance on the Credit Note

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

See Allocations

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

Bank account number of contact

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

Website address for contact (read only)

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

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

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

The default sales tracking categories for contacts

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

The default purchase tracking category name for contacts

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

The default sales tracking category name for contacts

BatchPayments[].Payments[].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"
BatchPayments[].Payments[].Prepayment.Allocations[].CreditNote.Contact.TrackingCategoryOption String No

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

BatchPayments[].Payments[].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)

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

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

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

Last name of contact person (max length = 255)

BatchPayments[].Payments[].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.

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

The default purchases tracking categories for contacts

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

The default purchase tracking category name for contacts

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

The default sales tracking category name for contacts

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

UTC timestamp of last update to contact

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

Name of branding theme

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

Xero identifier

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

Always INVOICE

Possible values:

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

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

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

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

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

UTC timestamp of creation date of branding theme

BatchPayments[].Payments[].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.

BatchPayments[].Payments[].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"
BatchPayments[].Payments[].Prepayment.Allocations[].CreditNote.Contact.Attachments[] Array No

Displays array of attachments from the API

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

Length of the file content

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

Include the file with the online invoice

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

Unique ID for the file

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

Type of file

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

URL to the file on xero.com

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

Name of the file

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

The default purchases account code for contacts

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

Xero identifier

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

The tax type from TaxRates

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

Current status of a contact – see contact status types

Possible values:

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

Store certain address types for a contact – see address types

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

max length = 255

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

define the type of address

Possible values:

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

max length = 255

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

max length = 500

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

max length = 255

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

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

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

max length = 500

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

max length = 500

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

max length = 500

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

max length = 50

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

Status of object

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

Company registration number (max length = 50)

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

Store certain phone types for a contact – see phone types

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

Possible values:

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

max length = 50

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

max length = 10

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

max length = 20

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

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

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

First name of contact person (max length = 255)

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

The default sales account code for contacts

BatchPayments[].Payments[].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.

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

The tax type from TaxRates

BatchPayments[].Payments[].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"
BatchPayments[].Payments[].Prepayment.Allocations[].CreditNote.Contact.HasValidationErrors Boolean No

A boolean to indicate if a contact has an validation errors

Default value: false

BatchPayments[].Payments[].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)

BatchPayments[].Payments[].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)

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

Store XeroNetworkKey for contacts.

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

The default discount rate for the contact (read only)

BatchPayments[].Payments[].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.

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

Displays validation errors returned from the API

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

Validation error message

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

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

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

A boolean to indicate if a contact has an attachment

Default value: false

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

Day of Month (0-31)

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

Possible values:

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

Day of Month (0-31)

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

Possible values:

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

Displays which contact groups a contact is included in

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

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

BatchPayments[].Payments[].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"
BatchPayments[].Payments[].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

BatchPayments[].Payments[].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.

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

See contact persons

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

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

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

Email address of person

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

Last name of person

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

First name of person

BatchPayments[].Payments[].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"
BatchPayments[].Payments[].Prepayment.Allocations[].CreditNote.CreditNoteID String No

Xero generated unique identifier

BatchPayments[].Payments[].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"
BatchPayments[].Payments[].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

BatchPayments[].Payments[].Prepayment.Allocations[].CreditNote.CISDeduction Number No

CIS deduction for UK contractors

BatchPayments[].Payments[].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

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

Displays array of warning messages from the API

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

Validation error message

BatchPayments[].Payments[].Prepayment.Allocations[].CreditNote.Type String No

See Credit Note Types

Possible values:

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

A string to indicate if a invoice status

BatchPayments[].Payments[].Prepayment.Allocations[].CreditNote.DueDate String No

Date invoice is due – YYYY-MM-DD

BatchPayments[].Payments[].Prepayment.Allocations[].CreditNote.CISRate Number No

CIS Deduction rate for the organisation

BatchPayments[].Payments[].Prepayment.Allocations[].CreditNote.TotalTax Number No

The total tax on the credit note

BatchPayments[].Payments[].Prepayment.Allocations[].CreditNote.Reference String No

ACCRECCREDIT only – additional reference number

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

See Invoice Line Items

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

LineItem Quantity

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

LineItem Unit Amount

BatchPayments[].Payments[].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.

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

See Accounts

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

The Xero identifier for a Repeating Invoice

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

LineItem unique ID

BatchPayments[].Payments[].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

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

The tax type from TaxRates

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

The type of taxability

Possible values:

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

An array of tax components defined for this line item

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

The unique ID number of this component

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

The name of the jurisdiction

BatchPayments[].Payments[].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"
BatchPayments[].Payments[].Prepayment.Allocations[].CreditNote.LineItems[].TaxBreakdown[].TaxAmount Number No

The amount of the tax

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

The amount that is taxable

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

The amount that is not taxable

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

The percentage of the tax

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

The amount that is exempt

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

The state assigned number of the jurisdiction

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

Name identifying the region within the country

BatchPayments[].Payments[].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

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

The associated account ID related to this line item

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

The ID of the sales tax code

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

See Items

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

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

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

The Xero identifier for a tracking category

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

The name of the tracking category

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

See Tracking Options

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

The Xero identifier for a tracking category option

BatchPayments[].Payments[].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.

BatchPayments[].Payments[].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

BatchPayments[].Payments[].Prepayment.Allocations[].CreditNote.SubTotal Number No

The subtotal of the credit note excluding taxes

BatchPayments[].Payments[].Prepayment.Allocations[].CreditNote.Status String No

See Credit Note Status Codes

Possible values:

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

See BrandingThemes

BatchPayments[].Payments[].Prepayment.Allocations[].CreditNote.AppliedAmount Number No

The amount of applied to an invoice

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

Displays array of validation error messages from the API

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

Validation error message

BatchPayments[].Payments[].Prepayment.Allocations[].CreditNote.HasAttachments Boolean No

boolean to indicate if a credit note has an attachment

Default value: false

BatchPayments[].Payments[].Prepayment.Allocations[].CreditNote.CreditNoteNumber String No

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

BatchPayments[].Payments[].Prepayment.Contact Object No
BatchPayments[].Payments[].Prepayment.Contact.BankAccountDetails String No

Bank account number of contact

BatchPayments[].Payments[].Prepayment.Contact.Website String No

Website address for contact (read only)

BatchPayments[].Payments[].Prepayment.Contact.Name String No

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

BatchPayments[].Payments[].Prepayment.Contact.SalesTrackingCategories[] Array No

The default sales tracking categories for contacts

BatchPayments[].Payments[].Prepayment.Contact.SalesTrackingCategories[].TrackingOptionName String No

The default purchase tracking category name for contacts

BatchPayments[].Payments[].Prepayment.Contact.SalesTrackingCategories[].TrackingCategoryName String No

The default sales tracking category name for contacts

BatchPayments[].Payments[].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"
BatchPayments[].Payments[].Prepayment.Contact.TrackingCategoryOption String No

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

BatchPayments[].Payments[].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)

BatchPayments[].Payments[].Prepayment.Contact.TrackingCategoryName String No

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

BatchPayments[].Payments[].Prepayment.Contact.LastName String No

Last name of contact person (max length = 255)

BatchPayments[].Payments[].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.

BatchPayments[].Payments[].Prepayment.Contact.PurchasesTrackingCategories[] Array No

The default purchases tracking categories for contacts

BatchPayments[].Payments[].Prepayment.Contact.PurchasesTrackingCategories[].TrackingOptionName String No

The default purchase tracking category name for contacts

BatchPayments[].Payments[].Prepayment.Contact.PurchasesTrackingCategories[].TrackingCategoryName String No

The default sales tracking category name for contacts

BatchPayments[].Payments[].Prepayment.Contact.UpdatedDateUTC String No

UTC timestamp of last update to contact

BatchPayments[].Payments[].Prepayment.Contact.BrandingTheme Object No
BatchPayments[].Payments[].Prepayment.Contact.BrandingTheme.Name String No

Name of branding theme

BatchPayments[].Payments[].Prepayment.Contact.BrandingTheme.BrandingThemeID String No

Xero identifier

BatchPayments[].Payments[].Prepayment.Contact.BrandingTheme.Type String No

Always INVOICE

Possible values:

  • "INVOICE"
BatchPayments[].Payments[].Prepayment.Contact.BrandingTheme.LogoUrl String No

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

BatchPayments[].Payments[].Prepayment.Contact.BrandingTheme.SortOrder Integer No

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

BatchPayments[].Payments[].Prepayment.Contact.BrandingTheme.CreatedDateUTC String No

UTC timestamp of creation date of branding theme

BatchPayments[].Payments[].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.

BatchPayments[].Payments[].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"
BatchPayments[].Payments[].Prepayment.Contact.Attachments[] Array No

Displays array of attachments from the API

BatchPayments[].Payments[].Prepayment.Contact.Attachments[].ContentLength Integer No

Length of the file content

BatchPayments[].Payments[].Prepayment.Contact.Attachments[].IncludeOnline Boolean No

Include the file with the online invoice

BatchPayments[].Payments[].Prepayment.Contact.Attachments[].AttachmentID String No

Unique ID for the file

BatchPayments[].Payments[].Prepayment.Contact.Attachments[].MimeType String No

Type of file

BatchPayments[].Payments[].Prepayment.Contact.Attachments[].Url String No

URL to the file on xero.com

BatchPayments[].Payments[].Prepayment.Contact.Attachments[].FileName String No

Name of the file

BatchPayments[].Payments[].Prepayment.Contact.PurchasesDefaultAccountCode String No

The default purchases account code for contacts

BatchPayments[].Payments[].Prepayment.Contact.ContactID String No

Xero identifier

BatchPayments[].Payments[].Prepayment.Contact.AccountsPayableTaxType String No

The tax type from TaxRates

BatchPayments[].Payments[].Prepayment.Contact.ContactStatus String No

Current status of a contact – see contact status types

Possible values:

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

Store certain address types for a contact – see address types

BatchPayments[].Payments[].Prepayment.Contact.Addresses[].City String No

max length = 255

BatchPayments[].Payments[].Prepayment.Contact.Addresses[].AddressType String No

define the type of address

Possible values:

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

max length = 255

BatchPayments[].Payments[].Prepayment.Contact.Addresses[].AddressLine2 String No

max length = 500

BatchPayments[].Payments[].Prepayment.Contact.Addresses[].Region String No

max length = 255

BatchPayments[].Payments[].Prepayment.Contact.Addresses[].Country String No

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

BatchPayments[].Payments[].Prepayment.Contact.Addresses[].AddressLine1 String No

max length = 500

BatchPayments[].Payments[].Prepayment.Contact.Addresses[].AddressLine4 String No

max length = 500

BatchPayments[].Payments[].Prepayment.Contact.Addresses[].AddressLine3 String No

max length = 500

BatchPayments[].Payments[].Prepayment.Contact.Addresses[].PostalCode String No

max length = 50

BatchPayments[].Payments[].Prepayment.Contact.StatusAttributeString String No

Status of object

BatchPayments[].Payments[].Prepayment.Contact.CompanyNumber String No

Company registration number (max length = 50)

BatchPayments[].Payments[].Prepayment.Contact.Phones[] Array No

Store certain phone types for a contact – see phone types

BatchPayments[].Payments[].Prepayment.Contact.Phones[].PhoneType String No

Possible values:

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

max length = 50

BatchPayments[].Payments[].Prepayment.Contact.Phones[].PhoneAreaCode String No

max length = 10

BatchPayments[].Payments[].Prepayment.Contact.Phones[].PhoneCountryCode String No

max length = 20

BatchPayments[].Payments[].Prepayment.Contact.BatchPayments No

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

BatchPayments[].Payments[].Prepayment.Contact.FirstName String No

First name of contact person (max length = 255)

BatchPayments[].Payments[].Prepayment.Contact.SalesDefaultAccountCode String No

The default sales account code for contacts

BatchPayments[].Payments[].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.

BatchPayments[].Payments[].Prepayment.Contact.AccountsReceivableTaxType String No

The tax type from TaxRates

BatchPayments[].Payments[].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"
BatchPayments[].Payments[].Prepayment.Contact.HasValidationErrors Boolean No

A boolean to indicate if a contact has an validation errors

Default value: false

BatchPayments[].Payments[].Prepayment.Contact.AccountNumber String No

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

BatchPayments[].Payments[].Prepayment.Contact.Balances Object No

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

BatchPayments[].Payments[].Prepayment.Contact.Balances.AccountsReceivable Object No
BatchPayments[].Payments[].Prepayment.Contact.Balances.AccountsReceivable.Overdue Number No
BatchPayments[].Payments[].Prepayment.Contact.Balances.AccountsReceivable.Outstanding Number No
BatchPayments[].Payments[].Prepayment.Contact.Balances.AccountsPayable Object No
BatchPayments[].Payments[].Prepayment.Contact.Balances.AccountsPayable.Overdue Number No
BatchPayments[].Payments[].Prepayment.Contact.Balances.AccountsPayable.Outstanding Number No
BatchPayments[].Payments[].Prepayment.Contact.XeroNetworkKey String No

Store XeroNetworkKey for contacts.

BatchPayments[].Payments[].Prepayment.Contact.Discount Number No

The default discount rate for the contact (read only)

BatchPayments[].Payments[].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.

BatchPayments[].Payments[].Prepayment.Contact.ValidationErrors[] Array No

Displays validation errors returned from the API

BatchPayments[].Payments[].Prepayment.Contact.ValidationErrors[].Message String No

Validation error message

BatchPayments[].Payments[].Prepayment.Contact.EmailAddress String No

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

BatchPayments[].Payments[].Prepayment.Contact.HasAttachments Boolean No

A boolean to indicate if a contact has an attachment

Default value: false

BatchPayments[].Payments[].Prepayment.Contact.PaymentTerms Object No
BatchPayments[].Payments[].Prepayment.Contact.PaymentTerms.Bills Object No
BatchPayments[].Payments[].Prepayment.Contact.PaymentTerms.Bills.Day Integer No

Day of Month (0-31)

BatchPayments[].Payments[].Prepayment.Contact.PaymentTerms.Bills.Type String No

Possible values:

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

Day of Month (0-31)

BatchPayments[].Payments[].Prepayment.Contact.PaymentTerms.Sales.Type String No

Possible values:

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

Displays which contact groups a contact is included in

BatchPayments[].Payments[].Prepayment.Contact.ContactGroups[].Name String No

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

BatchPayments[].Payments[].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"
BatchPayments[].Payments[].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

BatchPayments[].Payments[].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.

BatchPayments[].Payments[].Prepayment.Contact.ContactPersons[] Array No

See contact persons

BatchPayments[].Payments[].Prepayment.Contact.ContactPersons[].IncludeInEmails Boolean No

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

BatchPayments[].Payments[].Prepayment.Contact.ContactPersons[].EmailAddress String No

Email address of person

BatchPayments[].Payments[].Prepayment.Contact.ContactPersons[].LastName String No

Last name of person

BatchPayments[].Payments[].Prepayment.Contact.ContactPersons[].FirstName String No

First name of person

BatchPayments[].Payments[].Prepayment.HasAttachments Boolean No

boolean to indicate if a prepayment has an attachment

Default value: false

BatchPayments[].Payments[].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"
BatchPayments[].Payments[].Prepayment.PrepaymentID String No

Xero generated unique identifier

BatchPayments[].Payments[].Overpayment Object No
BatchPayments[].Payments[].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"
BatchPayments[].Payments[].Overpayment.Date String No

The date the overpayment is created YYYY-MM-DD

BatchPayments[].Payments[].Overpayment.Payments[] Array No

See Payments

BatchPayments[].Payments[].Overpayment.Type String No

See Overpayment Types

Possible values:

  • "RECEIVE-OVERPAYMENT"
  • "AROVERPAYMENT"
  • "SPEND-OVERPAYMENT"
BatchPayments[].Payments[].Overpayment.Total Number No

The total of the overpayment (subtotal + total tax)

BatchPayments[].Payments[].Overpayment.TotalTax Number No

The total tax on the overpayment

BatchPayments[].Payments[].Overpayment.LineItems[] Array No

See Overpayment Line Items

BatchPayments[].Payments[].Overpayment.LineItems[].Quantity Number No

LineItem Quantity

BatchPayments[].Payments[].Overpayment.LineItems[].UnitAmount Number No

LineItem Unit Amount

BatchPayments[].Payments[].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.

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

See Accounts

BatchPayments[].Payments[].Overpayment.LineItems[].RepeatingInvoiceID String No

The Xero identifier for a Repeating Invoice

BatchPayments[].Payments[].Overpayment.LineItems[].LineItemID String No

LineItem unique ID

BatchPayments[].Payments[].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

BatchPayments[].Payments[].Overpayment.LineItems[].TaxType String No

The tax type from TaxRates

BatchPayments[].Payments[].Overpayment.LineItems[].Taxability String No

The type of taxability

Possible values:

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

An array of tax components defined for this line item

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

The unique ID number of this component

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

The name of the jurisdiction

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

The type of the jurisdiction

Possible values:

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

The amount of the tax

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

The amount that is taxable

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

The amount that is not taxable

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

The percentage of the tax

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

The amount that is exempt

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

The state assigned number of the jurisdiction

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

Name identifying the region within the country

BatchPayments[].Payments[].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

BatchPayments[].Payments[].Overpayment.LineItems[].AccountID String No

The associated account ID related to this line item

BatchPayments[].Payments[].Overpayment.LineItems[].SalesTaxCodeId Number No

The ID of the sales tax code

BatchPayments[].Payments[].Overpayment.LineItems[].ItemCode String No

See Items

BatchPayments[].Payments[].Overpayment.LineItems[].Tracking[] Array No

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

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

The Xero identifier for a tracking category

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

The name of the tracking category

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

See Tracking Options

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

The Xero identifier for a tracking category option

BatchPayments[].Payments[].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.

BatchPayments[].Payments[].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

BatchPayments[].Payments[].Overpayment.UpdatedDateUTC String No

UTC timestamp of last update to the overpayment

BatchPayments[].Payments[].Overpayment.SubTotal Number No

The subtotal of the overpayment excluding taxes

BatchPayments[].Payments[].Overpayment.CurrencyRate Number No

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

BatchPayments[].Payments[].Overpayment.Status String No

See Overpayment Status Codes

Possible values:

  • "AUTHORISED"
  • "PAID"
  • "VOIDED"
BatchPayments[].Payments[].Overpayment.OverpaymentID String No

Xero generated unique identifier

BatchPayments[].Payments[].Overpayment.AppliedAmount Number No

The amount of applied to an invoice

BatchPayments[].Payments[].Overpayment.Attachments[] Array No

See Attachments

BatchPayments[].Payments[].Overpayment.Attachments[].ContentLength Integer No

Length of the file content

BatchPayments[].Payments[].Overpayment.Attachments[].IncludeOnline Boolean No

Include the file with the online invoice

BatchPayments[].Payments[].Overpayment.Attachments[].AttachmentID String No

Unique ID for the file

BatchPayments[].Payments[].Overpayment.Attachments[].MimeType String No

Type of file

BatchPayments[].Payments[].Overpayment.Attachments[].Url String No

URL to the file on xero.com

BatchPayments[].Payments[].Overpayment.Attachments[].FileName String No

Name of the file

BatchPayments[].Payments[].Overpayment.RemainingCredit Number No

The remaining credit balance on the overpayment

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

See Allocations

BatchPayments[].Payments[].Overpayment.Contact Object No
BatchPayments[].Payments[].Overpayment.Contact.BankAccountDetails String No

Bank account number of contact

BatchPayments[].Payments[].Overpayment.Contact.Website String No

Website address for contact (read only)

BatchPayments[].Payments[].Overpayment.Contact.Name String No

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

BatchPayments[].Payments[].Overpayment.Contact.SalesTrackingCategories[] Array No

The default sales tracking categories for contacts

BatchPayments[].Payments[].Overpayment.Contact.SalesTrackingCategories[].TrackingOptionName String No

The default purchase tracking category name for contacts

BatchPayments[].Payments[].Overpayment.Contact.SalesTrackingCategories[].TrackingCategoryName String No

The default sales tracking category name for contacts

BatchPayments[].Payments[].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"
BatchPayments[].Payments[].Overpayment.Contact.TrackingCategoryOption String No

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

BatchPayments[].Payments[].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)

BatchPayments[].Payments[].Overpayment.Contact.TrackingCategoryName String No

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

BatchPayments[].Payments[].Overpayment.Contact.LastName String No

Last name of contact person (max length = 255)

BatchPayments[].Payments[].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.

BatchPayments[].Payments[].Overpayment.Contact.PurchasesTrackingCategories[] Array No

The default purchases tracking categories for contacts

BatchPayments[].Payments[].Overpayment.Contact.PurchasesTrackingCategories[].TrackingOptionName String No

The default purchase tracking category name for contacts

BatchPayments[].Payments[].Overpayment.Contact.PurchasesTrackingCategories[].TrackingCategoryName String No

The default sales tracking category name for contacts

BatchPayments[].Payments[].Overpayment.Contact.UpdatedDateUTC String No

UTC timestamp of last update to contact

BatchPayments[].Payments[].Overpayment.Contact.BrandingTheme Object No
BatchPayments[].Payments[].Overpayment.Contact.BrandingTheme.Name String No

Name of branding theme

BatchPayments[].Payments[].Overpayment.Contact.BrandingTheme.BrandingThemeID String No

Xero identifier

BatchPayments[].Payments[].Overpayment.Contact.BrandingTheme.Type String No

Always INVOICE

Possible values:

  • "INVOICE"
BatchPayments[].Payments[].Overpayment.Contact.BrandingTheme.LogoUrl String No

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

BatchPayments[].Payments[].Overpayment.Contact.BrandingTheme.SortOrder Integer No

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

BatchPayments[].Payments[].Overpayment.Contact.BrandingTheme.CreatedDateUTC String No

UTC timestamp of creation date of branding theme

BatchPayments[].Payments[].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.

BatchPayments[].Payments[].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"
BatchPayments[].Payments[].Overpayment.Contact.Attachments[] Array No

Displays array of attachments from the API

BatchPayments[].Payments[].Overpayment.Contact.Attachments[].ContentLength Integer No

Length of the file content

BatchPayments[].Payments[].Overpayment.Contact.Attachments[].IncludeOnline Boolean No

Include the file with the online invoice

BatchPayments[].Payments[].Overpayment.Contact.Attachments[].AttachmentID String No

Unique ID for the file

BatchPayments[].Payments[].Overpayment.Contact.Attachments[].MimeType String No

Type of file

BatchPayments[].Payments[].Overpayment.Contact.Attachments[].Url String No

URL to the file on xero.com

BatchPayments[].Payments[].Overpayment.Contact.Attachments[].FileName String No

Name of the file

BatchPayments[].Payments[].Overpayment.Contact.PurchasesDefaultAccountCode String No

The default purchases account code for contacts

BatchPayments[].Payments[].Overpayment.Contact.ContactID String No

Xero identifier

BatchPayments[].Payments[].Overpayment.Contact.AccountsPayableTaxType String No

The tax type from TaxRates

BatchPayments[].Payments[].Overpayment.Contact.ContactStatus String No

Current status of a contact – see contact status types

Possible values:

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

Store certain address types for a contact – see address types

BatchPayments[].Payments[].Overpayment.Contact.Addresses[].City String No

max length = 255

BatchPayments[].Payments[].Overpayment.Contact.Addresses[].AddressType String No

define the type of address

Possible values:

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

max length = 255

BatchPayments[].Payments[].Overpayment.Contact.Addresses[].AddressLine2 String No

max length = 500

BatchPayments[].Payments[].Overpayment.Contact.Addresses[].Region String No

max length = 255

BatchPayments[].Payments[].Overpayment.Contact.Addresses[].Country String No

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

BatchPayments[].Payments[].Overpayment.Contact.Addresses[].AddressLine1 String No

max length = 500

BatchPayments[].Payments[].Overpayment.Contact.Addresses[].AddressLine4 String No

max length = 500

BatchPayments[].Payments[].Overpayment.Contact.Addresses[].AddressLine3 String No

max length = 500

BatchPayments[].Payments[].Overpayment.Contact.Addresses[].PostalCode String No

max length = 50

BatchPayments[].Payments[].Overpayment.Contact.StatusAttributeString String No

Status of object

BatchPayments[].Payments[].Overpayment.Contact.CompanyNumber String No

Company registration number (max length = 50)

BatchPayments[].Payments[].Overpayment.Contact.Phones[] Array No

Store certain phone types for a contact – see phone types

BatchPayments[].Payments[].Overpayment.Contact.Phones[].PhoneType String No

Possible values:

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

max length = 50

BatchPayments[].Payments[].Overpayment.Contact.Phones[].PhoneAreaCode String No

max length = 10

BatchPayments[].Payments[].Overpayment.Contact.Phones[].PhoneCountryCode String No

max length = 20

BatchPayments[].Payments[].Overpayment.Contact.BatchPayments No

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

BatchPayments[].Payments[].Overpayment.Contact.FirstName String No

First name of contact person (max length = 255)

BatchPayments[].Payments[].Overpayment.Contact.SalesDefaultAccountCode String No

The default sales account code for contacts

BatchPayments[].Payments[].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.

BatchPayments[].Payments[].Overpayment.Contact.AccountsReceivableTaxType String No

The tax type from TaxRates

BatchPayments[].Payments[].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"
BatchPayments[].Payments[].Overpayment.Contact.HasValidationErrors Boolean No

A boolean to indicate if a contact has an validation errors

Default value: false

BatchPayments[].Payments[].Overpayment.Contact.AccountNumber String No

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

BatchPayments[].Payments[].Overpayment.Contact.Balances Object No

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

BatchPayments[].Payments[].Overpayment.Contact.Balances.AccountsReceivable Object No
BatchPayments[].Payments[].Overpayment.Contact.Balances.AccountsReceivable.Overdue Number No
BatchPayments[].Payments[].Overpayment.Contact.Balances.AccountsReceivable.Outstanding Number No
BatchPayments[].Payments[].Overpayment.Contact.Balances.AccountsPayable Object No
BatchPayments[].Payments[].Overpayment.Contact.Balances.AccountsPayable.Overdue Number No
BatchPayments[].Payments[].Overpayment.Contact.Balances.AccountsPayable.Outstanding Number No
BatchPayments[].Payments[].Overpayment.Contact.XeroNetworkKey String No

Store XeroNetworkKey for contacts.

BatchPayments[].Payments[].Overpayment.Contact.Discount Number No

The default discount rate for the contact (read only)

BatchPayments[].Payments[].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.

BatchPayments[].Payments[].Overpayment.Contact.ValidationErrors[] Array No

Displays validation errors returned from the API

BatchPayments[].Payments[].Overpayment.Contact.ValidationErrors[].Message String No

Validation error message

BatchPayments[].Payments[].Overpayment.Contact.EmailAddress String No

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

BatchPayments[].Payments[].Overpayment.Contact.HasAttachments Boolean No

A boolean to indicate if a contact has an attachment

Default value: false

BatchPayments[].Payments[].Overpayment.Contact.PaymentTerms Object No
BatchPayments[].Payments[].Overpayment.Contact.PaymentTerms.Bills Object No
BatchPayments[].Payments[].Overpayment.Contact.PaymentTerms.Bills.Day Integer No

Day of Month (0-31)

BatchPayments[].Payments[].Overpayment.Contact.PaymentTerms.Bills.Type String No

Possible values:

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

Day of Month (0-31)

BatchPayments[].Payments[].Overpayment.Contact.PaymentTerms.Sales.Type String No

Possible values:

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

Displays which contact groups a contact is included in

BatchPayments[].Payments[].Overpayment.Contact.ContactGroups[].Name String No

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

BatchPayments[].Payments[].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"
BatchPayments[].Payments[].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

BatchPayments[].Payments[].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.

BatchPayments[].Payments[].Overpayment.Contact.ContactPersons[] Array No

See contact persons

BatchPayments[].Payments[].Overpayment.Contact.ContactPersons[].IncludeInEmails Boolean No

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

BatchPayments[].Payments[].Overpayment.Contact.ContactPersons[].EmailAddress String No

Email address of person

BatchPayments[].Payments[].Overpayment.Contact.ContactPersons[].LastName String No

Last name of person

BatchPayments[].Payments[].Overpayment.Contact.ContactPersons[].FirstName String No

First name of person

BatchPayments[].Payments[].Overpayment.HasAttachments Boolean No

boolean to indicate if a overpayment has an attachment

Default value: false

BatchPayments[].Payments[].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"
BatchPayments[].Payments[].Invoice Object No
BatchPayments[].Payments[].Invoice.TotalDiscount Number No

Total of discounts applied on the invoice line items

BatchPayments[].Payments[].Invoice.HasErrors Boolean No

A boolean to indicate if a invoice has an validation errors

Default value: false

BatchPayments[].Payments[].Invoice.PlannedPaymentDate String No

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

BatchPayments[].Payments[].Invoice.Url String No

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

BatchPayments[].Payments[].Invoice.InvoiceNumber String No

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

BatchPayments[].Payments[].Invoice.Payments[] Array No

See Payments

BatchPayments[].Payments[].Invoice.IsDiscounted Boolean No

boolean to indicate if an invoice has a discount

BatchPayments[].Payments[].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

BatchPayments[].Payments[].Invoice.RepeatingInvoiceID String No

Xero generated unique identifier for repeating invoices

BatchPayments[].Payments[].Invoice.FullyPaidOnDate String No

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

BatchPayments[].Payments[].Invoice.InvoiceAddresses[] Array No

An array of addresses used to auto calculate sales tax

BatchPayments[].Payments[].Invoice.InvoiceAddresses[].City String No

City of a physical address

BatchPayments[].Payments[].Invoice.InvoiceAddresses[].AddressLine2 String No

Second line of a physical address

BatchPayments[].Payments[].Invoice.InvoiceAddresses[].Region String No

Region or state of a physical address

BatchPayments[].Payments[].Invoice.InvoiceAddresses[].Country String No

Country of a physical address

BatchPayments[].Payments[].Invoice.InvoiceAddresses[].AddressLine1 String No

First line of a physical address

BatchPayments[].Payments[].Invoice.InvoiceAddresses[].InvoiceAddressType String No

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

Possible values:

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

Fourth line of a physical address

BatchPayments[].Payments[].Invoice.InvoiceAddresses[].AddressLine3 String No

Third line of a physical address

BatchPayments[].Payments[].Invoice.InvoiceAddresses[].PostalCode String No

Postal code of a physical address

BatchPayments[].Payments[].Invoice.Overpayments[] Array No

See Overpayments

BatchPayments[].Payments[].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"
BatchPayments[].Payments[].Invoice.Overpayments[].Date String No

The date the overpayment is created YYYY-MM-DD

BatchPayments[].Payments[].Invoice.Overpayments[].Payments[] Array No

See Payments

BatchPayments[].Payments[].Invoice.Overpayments[].Type String No

See Overpayment Types

Possible values:

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

The total of the overpayment (subtotal + total tax)

BatchPayments[].Payments[].Invoice.Overpayments[].TotalTax Number No

The total tax on the overpayment

BatchPayments[].Payments[].Invoice.Overpayments[].LineItems[] Array No

See Overpayment Line Items

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

LineItem Quantity

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

LineItem Unit Amount

BatchPayments[].Payments[].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.

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

See Accounts

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

The Xero identifier for a Repeating Invoice

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

LineItem unique ID

BatchPayments[].Payments[].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

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

The tax type from TaxRates

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

The type of taxability

Possible values:

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

An array of tax components defined for this line item

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

The unique ID number of this component

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

The name of the jurisdiction

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

The type of the jurisdiction

Possible values:

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

The amount of the tax

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

The amount that is taxable

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

The amount that is not taxable

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

The percentage of the tax

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

The amount that is exempt

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

The state assigned number of the jurisdiction

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

Name identifying the region within the country

BatchPayments[].Payments[].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

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

The associated account ID related to this line item

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

The ID of the sales tax code

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

See Items

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

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

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

The Xero identifier for a tracking category

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

The name of the tracking category

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

See Tracking Options

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

The Xero identifier for a tracking category option

BatchPayments[].Payments[].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.

BatchPayments[].Payments[].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

BatchPayments[].Payments[].Invoice.Overpayments[].UpdatedDateUTC String No

UTC timestamp of last update to the overpayment

BatchPayments[].Payments[].Invoice.Overpayments[].SubTotal Number No

The subtotal of the overpayment excluding taxes

BatchPayments[].Payments[].Invoice.Overpayments[].CurrencyRate Number No

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

BatchPayments[].Payments[].Invoice.Overpayments[].Status String No

See Overpayment Status Codes

Possible values:

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

Xero generated unique identifier

BatchPayments[].Payments[].Invoice.Overpayments[].AppliedAmount Number No

The amount of applied to an invoice

BatchPayments[].Payments[].Invoice.Overpayments[].Attachments[] Array No

See Attachments

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

Length of the file content

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

Include the file with the online invoice

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

Unique ID for the file

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

Type of file

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

URL to the file on xero.com

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

Name of the file

BatchPayments[].Payments[].Invoice.Overpayments[].RemainingCredit Number No

The remaining credit balance on the overpayment

BatchPayments[].Payments[].Invoice.Overpayments[].Allocations[] Array No

See Allocations

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

Bank account number of contact

BatchPayments[].Payments[].Invoice.Overpayments[].Contact.Website String No

Website address for contact (read only)

BatchPayments[].Payments[].Invoice.Overpayments[].Contact.Name String No

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

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

The default sales tracking categories for contacts

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

The default purchase tracking category name for contacts

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

The default sales tracking category name for contacts

BatchPayments[].Payments[].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"
BatchPayments[].Payments[].Invoice.Overpayments[].Contact.TrackingCategoryOption String No

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

BatchPayments[].Payments[].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)

BatchPayments[].Payments[].Invoice.Overpayments[].Contact.TrackingCategoryName String No

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

BatchPayments[].Payments[].Invoice.Overpayments[].Contact.LastName String No

Last name of contact person (max length = 255)

BatchPayments[].Payments[].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.

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

The default purchases tracking categories for contacts

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

The default purchase tracking category name for contacts

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

The default sales tracking category name for contacts

BatchPayments[].Payments[].Invoice.Overpayments[].Contact.UpdatedDateUTC String No

UTC timestamp of last update to contact

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

Name of branding theme

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

Xero identifier

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

Always INVOICE

Possible values:

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

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

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

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

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

UTC timestamp of creation date of branding theme

BatchPayments[].Payments[].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.

BatchPayments[].Payments[].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"
BatchPayments[].Payments[].Invoice.Overpayments[].Contact.Attachments[] Array No

Displays array of attachments from the API

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

Length of the file content

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

Include the file with the online invoice

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

Unique ID for the file

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

Type of file

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

URL to the file on xero.com

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

Name of the file

BatchPayments[].Payments[].Invoice.Overpayments[].Contact.PurchasesDefaultAccountCode String No

The default purchases account code for contacts

BatchPayments[].Payments[].Invoice.Overpayments[].Contact.ContactID String No

Xero identifier

BatchPayments[].Payments[].Invoice.Overpayments[].Contact.AccountsPayableTaxType String No

The tax type from TaxRates

BatchPayments[].Payments[].Invoice.Overpayments[].Contact.ContactStatus String No

Current status of a contact – see contact status types

Possible values:

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

Store certain address types for a contact – see address types

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

max length = 255

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

define the type of address

Possible values:

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

max length = 255

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

max length = 500

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

max length = 255

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

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

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

max length = 500

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

max length = 500

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

max length = 500

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

max length = 50

BatchPayments[].Payments[].Invoice.Overpayments[].Contact.StatusAttributeString String No

Status of object

BatchPayments[].Payments[].Invoice.Overpayments[].Contact.CompanyNumber String No

Company registration number (max length = 50)

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

Store certain phone types for a contact – see phone types

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

Possible values:

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

max length = 50

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

max length = 10

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

max length = 20

BatchPayments[].Payments[].Invoice.Overpayments[].Contact.BatchPayments No

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

BatchPayments[].Payments[].Invoice.Overpayments[].Contact.FirstName String No

First name of contact person (max length = 255)

BatchPayments[].Payments[].Invoice.Overpayments[].Contact.SalesDefaultAccountCode String No

The default sales account code for contacts

BatchPayments[].Payments[].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.

BatchPayments[].Payments[].Invoice.Overpayments[].Contact.AccountsReceivableTaxType String No

The tax type from TaxRates

BatchPayments[].Payments[].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"
BatchPayments[].Payments[].Invoice.Overpayments[].Contact.HasValidationErrors Boolean No

A boolean to indicate if a contact has an validation errors

Default value: false

BatchPayments[].Payments[].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)

BatchPayments[].Payments[].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)

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

Store XeroNetworkKey for contacts.

BatchPayments[].Payments[].Invoice.Overpayments[].Contact.Discount Number No

The default discount rate for the contact (read only)

BatchPayments[].Payments[].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.

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

Displays validation errors returned from the API

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

Validation error message

BatchPayments[].Payments[].Invoice.Overpayments[].Contact.EmailAddress String No

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

BatchPayments[].Payments[].Invoice.Overpayments[].Contact.HasAttachments Boolean No

A boolean to indicate if a contact has an attachment

Default value: false

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

Day of Month (0-31)

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

Possible values:

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

Day of Month (0-31)

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

Possible values:

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

Displays which contact groups a contact is included in

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

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

BatchPayments[].Payments[].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"
BatchPayments[].Payments[].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

BatchPayments[].Payments[].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.

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

See contact persons

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

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

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

Email address of person

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

Last name of person

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

First name of person

BatchPayments[].Payments[].Invoice.Overpayments[].HasAttachments Boolean No

boolean to indicate if a overpayment has an attachment

Default value: false

BatchPayments[].Payments[].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"
BatchPayments[].Payments[].Invoice.UpdatedDateUTC String No

Last modified date UTC format

BatchPayments[].Payments[].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])

BatchPayments[].Payments[].Invoice.Attachments[] Array No

Displays array of attachments from the API

BatchPayments[].Payments[].Invoice.Attachments[].ContentLength Integer No

Length of the file content

BatchPayments[].Payments[].Invoice.Attachments[].IncludeOnline Boolean No

Include the file with the online invoice

BatchPayments[].Payments[].Invoice.Attachments[].AttachmentID String No

Unique ID for the file

BatchPayments[].Payments[].Invoice.Attachments[].MimeType String No

Type of file

BatchPayments[].Payments[].Invoice.Attachments[].Url String No

URL to the file on xero.com

BatchPayments[].Payments[].Invoice.Attachments[].FileName String No

Name of the file

BatchPayments[].Payments[].Invoice.InvoiceID String No

Xero generated unique identifier for invoice

BatchPayments[].Payments[].Invoice.Contact Object No
BatchPayments[].Payments[].Invoice.Contact.BankAccountDetails String No

Bank account number of contact

BatchPayments[].Payments[].Invoice.Contact.Website String No

Website address for contact (read only)

BatchPayments[].Payments[].Invoice.Contact.Name String No

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

BatchPayments[].Payments[].Invoice.Contact.SalesTrackingCategories[] Array No

The default sales tracking categories for contacts

BatchPayments[].Payments[].Invoice.Contact.SalesTrackingCategories[].TrackingOptionName String No

The default purchase tracking category name for contacts

BatchPayments[].Payments[].Invoice.Contact.SalesTrackingCategories[].TrackingCategoryName String No

The default sales tracking category name for contacts

BatchPayments[].Payments[].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"
BatchPayments[].Payments[].Invoice.Contact.TrackingCategoryOption String No

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

BatchPayments[].Payments[].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)

BatchPayments[].Payments[].Invoice.Contact.TrackingCategoryName String No

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

BatchPayments[].Payments[].Invoice.Contact.LastName String No

Last name of contact person (max length = 255)

BatchPayments[].Payments[].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.

BatchPayments[].Payments[].Invoice.Contact.PurchasesTrackingCategories[] Array No

The default purchases tracking categories for contacts

BatchPayments[].Payments[].Invoice.Contact.PurchasesTrackingCategories[].TrackingOptionName String No

The default purchase tracking category name for contacts

BatchPayments[].Payments[].Invoice.Contact.PurchasesTrackingCategories[].TrackingCategoryName String No

The default sales tracking category name for contacts

BatchPayments[].Payments[].Invoice.Contact.UpdatedDateUTC String No

UTC timestamp of last update to contact

BatchPayments[].Payments[].Invoice.Contact.BrandingTheme Object No
BatchPayments[].Payments[].Invoice.Contact.BrandingTheme.Name String No

Name of branding theme

BatchPayments[].Payments[].Invoice.Contact.BrandingTheme.BrandingThemeID String No

Xero identifier

BatchPayments[].Payments[].Invoice.Contact.BrandingTheme.Type String No

Always INVOICE

Possible values:

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

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

BatchPayments[].Payments[].Invoice.Contact.BrandingTheme.SortOrder Integer No

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

BatchPayments[].Payments[].Invoice.Contact.BrandingTheme.CreatedDateUTC String No

UTC timestamp of creation date of branding theme

BatchPayments[].Payments[].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.

BatchPayments[].Payments[].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"
BatchPayments[].Payments[].Invoice.Contact.Attachments[] Array No

Displays array of attachments from the API

BatchPayments[].Payments[].Invoice.Contact.Attachments[].ContentLength Integer No

Length of the file content

BatchPayments[].Payments[].Invoice.Contact.Attachments[].IncludeOnline Boolean No

Include the file with the online invoice

BatchPayments[].Payments[].Invoice.Contact.Attachments[].AttachmentID String No

Unique ID for the file

BatchPayments[].Payments[].Invoice.Contact.Attachments[].MimeType String No

Type of file

BatchPayments[].Payments[].Invoice.Contact.Attachments[].Url String No

URL to the file on xero.com

BatchPayments[].Payments[].Invoice.Contact.Attachments[].FileName String No

Name of the file

BatchPayments[].Payments[].Invoice.Contact.PurchasesDefaultAccountCode String No

The default purchases account code for contacts

BatchPayments[].Payments[].Invoice.Contact.ContactID String No

Xero identifier

BatchPayments[].Payments[].Invoice.Contact.AccountsPayableTaxType String No

The tax type from TaxRates

BatchPayments[].Payments[].Invoice.Contact.ContactStatus String No

Current status of a contact – see contact status types

Possible values:

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

Store certain address types for a contact – see address types

BatchPayments[].Payments[].Invoice.Contact.Addresses[].City String No

max length = 255

BatchPayments[].Payments[].Invoice.Contact.Addresses[].AddressType String No

define the type of address

Possible values:

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

max length = 255

BatchPayments[].Payments[].Invoice.Contact.Addresses[].AddressLine2 String No

max length = 500

BatchPayments[].Payments[].Invoice.Contact.Addresses[].Region String No

max length = 255

BatchPayments[].Payments[].Invoice.Contact.Addresses[].Country String No

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

BatchPayments[].Payments[].Invoice.Contact.Addresses[].AddressLine1 String No

max length = 500

BatchPayments[].Payments[].Invoice.Contact.Addresses[].AddressLine4 String No

max length = 500

BatchPayments[].Payments[].Invoice.Contact.Addresses[].AddressLine3 String No

max length = 500

BatchPayments[].Payments[].Invoice.Contact.Addresses[].PostalCode String No

max length = 50

BatchPayments[].Payments[].Invoice.Contact.StatusAttributeString String No

Status of object

BatchPayments[].Payments[].Invoice.Contact.CompanyNumber String No

Company registration number (max length = 50)

BatchPayments[].Payments[].Invoice.Contact.Phones[] Array No

Store certain phone types for a contact – see phone types

BatchPayments[].Payments[].Invoice.Contact.Phones[].PhoneType String No

Possible values:

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

max length = 50

BatchPayments[].Payments[].Invoice.Contact.Phones[].PhoneAreaCode String No

max length = 10

BatchPayments[].Payments[].Invoice.Contact.Phones[].PhoneCountryCode String No

max length = 20

BatchPayments[].Payments[].Invoice.Contact.BatchPayments No

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

BatchPayments[].Payments[].Invoice.Contact.FirstName String No

First name of contact person (max length = 255)

BatchPayments[].Payments[].Invoice.Contact.SalesDefaultAccountCode String No

The default sales account code for contacts

BatchPayments[].Payments[].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.

BatchPayments[].Payments[].Invoice.Contact.AccountsReceivableTaxType String No

The tax type from TaxRates

BatchPayments[].Payments[].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"
BatchPayments[].Payments[].Invoice.Contact.HasValidationErrors Boolean No

A boolean to indicate if a contact has an validation errors

Default value: false

BatchPayments[].Payments[].Invoice.Contact.AccountNumber String No

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

BatchPayments[].Payments[].Invoice.Contact.Balances Object No

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

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

Store XeroNetworkKey for contacts.

BatchPayments[].Payments[].Invoice.Contact.Discount Number No

The default discount rate for the contact (read only)

BatchPayments[].Payments[].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.

BatchPayments[].Payments[].Invoice.Contact.ValidationErrors[] Array No

Displays validation errors returned from the API

BatchPayments[].Payments[].Invoice.Contact.ValidationErrors[].Message String No

Validation error message

BatchPayments[].Payments[].Invoice.Contact.EmailAddress String No

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

BatchPayments[].Payments[].Invoice.Contact.HasAttachments Boolean No

A boolean to indicate if a contact has an attachment

Default value: false

BatchPayments[].Payments[].Invoice.Contact.PaymentTerms Object No
BatchPayments[].Payments[].Invoice.Contact.PaymentTerms.Bills Object No
BatchPayments[].Payments[].Invoice.Contact.PaymentTerms.Bills.Day Integer No

Day of Month (0-31)

BatchPayments[].Payments[].Invoice.Contact.PaymentTerms.Bills.Type String No

Possible values:

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

Day of Month (0-31)

BatchPayments[].Payments[].Invoice.Contact.PaymentTerms.Sales.Type String No

Possible values:

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

Displays which contact groups a contact is included in

BatchPayments[].Payments[].Invoice.Contact.ContactGroups[].Name String No

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

BatchPayments[].Payments[].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"
BatchPayments[].Payments[].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

BatchPayments[].Payments[].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.

BatchPayments[].Payments[].Invoice.Contact.ContactPersons[] Array No

See contact persons

BatchPayments[].Payments[].Invoice.Contact.ContactPersons[].IncludeInEmails Boolean No

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

BatchPayments[].Payments[].Invoice.Contact.ContactPersons[].EmailAddress String No

Email address of person

BatchPayments[].Payments[].Invoice.Contact.ContactPersons[].LastName String No

Last name of person

BatchPayments[].Payments[].Invoice.Contact.ContactPersons[].FirstName String No

First name of person

BatchPayments[].Payments[].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"
BatchPayments[].Payments[].Invoice.AmountCredited Number No

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

BatchPayments[].Payments[].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"
BatchPayments[].Payments[].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

BatchPayments[].Payments[].Invoice.CISDeduction Number No

CIS deduction for UK contractors

BatchPayments[].Payments[].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

BatchPayments[].Payments[].Invoice.Warnings[] Array No

Displays array of warning messages from the API

BatchPayments[].Payments[].Invoice.Warnings[].Message String No

Validation error message

BatchPayments[].Payments[].Invoice.Type String No

See Invoice Types

Possible values:

  • "APOVERPAYMENT"
  • "APPREPAYMENT"
  • "ACCPAYCREDIT"
  • "ACCREC"
  • "AROVERPAYMENT"
  • "ACCRECCREDIT"
  • "ARPREPAYMENT"
  • "ACCPAY"
BatchPayments[].Payments[].Invoice.StatusAttributeString String No

A string to indicate if a invoice status

BatchPayments[].Payments[].Invoice.DueDate String No

Date invoice is due – YYYY-MM-DD

BatchPayments[].Payments[].Invoice.CISRate Number No

CIS Deduction rate for the organisation

BatchPayments[].Payments[].Invoice.Reference String No

ACCREC only – additional reference number

BatchPayments[].Payments[].Invoice.TotalTax Number No

Total tax on invoice

BatchPayments[].Payments[].Invoice.LineItems[] Array No

See LineItems

BatchPayments[].Payments[].Invoice.LineItems[].Quantity Number No

LineItem Quantity

BatchPayments[].Payments[].Invoice.LineItems[].UnitAmount Number No

LineItem Unit Amount

BatchPayments[].Payments[].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.

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

See Accounts

BatchPayments[].Payments[].Invoice.LineItems[].RepeatingInvoiceID String No

The Xero identifier for a Repeating Invoice

BatchPayments[].Payments[].Invoice.LineItems[].LineItemID String No

LineItem unique ID

BatchPayments[].Payments[].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

BatchPayments[].Payments[].Invoice.LineItems[].TaxType String No

The tax type from TaxRates

BatchPayments[].Payments[].Invoice.LineItems[].Taxability String No

The type of taxability

Possible values:

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

An array of tax components defined for this line item

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

The unique ID number of this component

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

The name of the jurisdiction

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

The type of the jurisdiction

Possible values:

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

The amount of the tax

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

The amount that is taxable

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

The amount that is not taxable

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

The percentage of the tax

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

The amount that is exempt

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

The state assigned number of the jurisdiction

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

Name identifying the region within the country

BatchPayments[].Payments[].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

BatchPayments[].Payments[].Invoice.LineItems[].AccountID String No

The associated account ID related to this line item

BatchPayments[].Payments[].Invoice.LineItems[].SalesTaxCodeId Number No

The ID of the sales tax code

BatchPayments[].Payments[].Invoice.LineItems[].ItemCode String No

See Items

BatchPayments[].Payments[].Invoice.LineItems[].Tracking[] Array No

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

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

The Xero identifier for a tracking category

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

The name of the tracking category

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

See Tracking Options

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

The Xero identifier for a tracking category option

BatchPayments[].Payments[].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.

BatchPayments[].Payments[].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

BatchPayments[].Payments[].Invoice.AmountDue Number No

Amount remaining to be paid on invoice

BatchPayments[].Payments[].Invoice.SubTotal Number No

Total of invoice excluding taxes

BatchPayments[].Payments[].Invoice.Prepayments[] Array No

See Prepayments

BatchPayments[].Payments[].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"
BatchPayments[].Payments[].Invoice.Prepayments[].Date String No

The date the prepayment is created YYYY-MM-DD

BatchPayments[].Payments[].Invoice.Prepayments[].Payments[] Array No

See Payments

BatchPayments[].Payments[].Invoice.Prepayments[].Type String No

See Prepayment Types

Possible values:

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

The total of the prepayment(subtotal + total tax)

BatchPayments[].Payments[].Invoice.Prepayments[].TotalTax Number No

The total tax on the prepayment

BatchPayments[].Payments[].Invoice.Prepayments[].Reference String No

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

BatchPayments[].Payments[].Invoice.Prepayments[].LineItems[] Array No

See Prepayment Line Items

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

LineItem Quantity

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

LineItem Unit Amount

BatchPayments[].Payments[].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.

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

See Accounts

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

The Xero identifier for a Repeating Invoice

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

LineItem unique ID

BatchPayments[].Payments[].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

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

The tax type from TaxRates

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

The type of taxability

Possible values:

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

An array of tax components defined for this line item

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

The unique ID number of this component

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

The name of the jurisdiction

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

The type of the jurisdiction

Possible values:

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

The amount of the tax

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

The amount that is taxable

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

The amount that is not taxable

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

The percentage of the tax

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

The amount that is exempt

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

The state assigned number of the jurisdiction

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

Name identifying the region within the country

BatchPayments[].Payments[].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

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

The associated account ID related to this line item

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

The ID of the sales tax code

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

See Items

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

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

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

The Xero identifier for a tracking category

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

The name of the tracking category

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

See Tracking Options

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

The Xero identifier for a tracking category option

BatchPayments[].Payments[].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.

BatchPayments[].Payments[].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

BatchPayments[].Payments[].Invoice.Prepayments[].UpdatedDateUTC String No

UTC timestamp of last update to the prepayment

BatchPayments[].Payments[].Invoice.Prepayments[].SubTotal Number No

The subtotal of the prepayment excluding taxes

BatchPayments[].Payments[].Invoice.Prepayments[].CurrencyRate Number No

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

BatchPayments[].Payments[].Invoice.Prepayments[].Status String No

See Prepayment Status Codes

Possible values:

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

The amount of applied to an invoice

BatchPayments[].Payments[].Invoice.Prepayments[].Attachments[] Array No

See Attachments

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

Length of the file content

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

Include the file with the online invoice

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

Unique ID for the file

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

Type of file

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

URL to the file on xero.com

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

Name of the file

BatchPayments[].Payments[].Invoice.Prepayments[].RemainingCredit Number No

The remaining credit balance on the prepayment

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

See Allocations

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

the amount being applied to the invoice

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

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

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].Prepayment No
BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment Object No
BatchPayments[].Payments[].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"
BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Date String No

The date the overpayment is created YYYY-MM-DD

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

See Payments

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

See Overpayment Types

Possible values:

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

The total of the overpayment (subtotal + total tax)

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

The total tax on the overpayment

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

See Overpayment Line Items

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

LineItem Quantity

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

LineItem Unit Amount

BatchPayments[].Payments[].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.

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

See Accounts

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

The Xero identifier for a Repeating Invoice

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

LineItem unique ID

BatchPayments[].Payments[].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

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

The tax type from TaxRates

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

The type of taxability

Possible values:

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

An array of tax components defined for this line item

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

The unique ID number of this component

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

The name of the jurisdiction

BatchPayments[].Payments[].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"
BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.LineItems[].TaxBreakdown[].TaxAmount Number No

The amount of the tax

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

The amount that is taxable

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

The amount that is not taxable

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

The percentage of the tax

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

The amount that is exempt

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

The state assigned number of the jurisdiction

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

Name identifying the region within the country

BatchPayments[].Payments[].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

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

The associated account ID related to this line item

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

The ID of the sales tax code

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

See Items

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

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

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

The Xero identifier for a tracking category

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

The name of the tracking category

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

See Tracking Options

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

The Xero identifier for a tracking category option

BatchPayments[].Payments[].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.

BatchPayments[].Payments[].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

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

UTC timestamp of last update to the overpayment

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

The subtotal of the overpayment excluding taxes

BatchPayments[].Payments[].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

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

See Overpayment Status Codes

Possible values:

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

Xero generated unique identifier

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

The amount of applied to an invoice

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

See Attachments

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

Length of the file content

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

Include the file with the online invoice

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

Unique ID for the file

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

Type of file

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

URL to the file on xero.com

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

Name of the file

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

The remaining credit balance on the overpayment

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

See Allocations

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

Bank account number of contact

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

Website address for contact (read only)

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

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

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

The default sales tracking categories for contacts

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

The default purchase tracking category name for contacts

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

The default sales tracking category name for contacts

BatchPayments[].Payments[].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"
BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.TrackingCategoryOption String No

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

BatchPayments[].Payments[].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)

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.TrackingCategoryName String No

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

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.LastName String No

Last name of contact person (max length = 255)

BatchPayments[].Payments[].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.

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.PurchasesTrackingCategories[] Array No

The default purchases tracking categories for contacts

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.PurchasesTrackingCategories[].TrackingOptionName String No

The default purchase tracking category name for contacts

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.PurchasesTrackingCategories[].TrackingCategoryName String No

The default sales tracking category name for contacts

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.UpdatedDateUTC String No

UTC timestamp of last update to contact

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.BrandingTheme Object No
BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.BrandingTheme.Name String No

Name of branding theme

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.BrandingTheme.BrandingThemeID String No

Xero identifier

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.BrandingTheme.Type String No

Always INVOICE

Possible values:

  • "INVOICE"
BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.BrandingTheme.LogoUrl String No

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

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.BrandingTheme.SortOrder Integer No

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

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.BrandingTheme.CreatedDateUTC String No

UTC timestamp of creation date of branding theme

BatchPayments[].Payments[].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.

BatchPayments[].Payments[].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"
BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.Attachments[] Array No

Displays array of attachments from the API

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.Attachments[].ContentLength Integer No

Length of the file content

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.Attachments[].IncludeOnline Boolean No

Include the file with the online invoice

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.Attachments[].AttachmentID String No

Unique ID for the file

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.Attachments[].MimeType String No

Type of file

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.Attachments[].Url String No

URL to the file on xero.com

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.Attachments[].FileName String No

Name of the file

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.PurchasesDefaultAccountCode String No

The default purchases account code for contacts

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.ContactID String No

Xero identifier

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.AccountsPayableTaxType String No

The tax type from TaxRates

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.ContactStatus String No

Current status of a contact – see contact status types

Possible values:

  • "ARCHIVED"
  • "ACTIVE"
  • "GDPRREQUEST"
BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.Addresses[] Array No

Store certain address types for a contact – see address types

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.Addresses[].City String No

max length = 255

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.Addresses[].AddressType String No

define the type of address

Possible values:

  • "STREET"
  • "POBOX"
BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.Addresses[].AttentionTo String No

max length = 255

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.Addresses[].AddressLine2 String No

max length = 500

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.Addresses[].Region String No

max length = 255

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.Addresses[].Country String No

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

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.Addresses[].AddressLine1 String No

max length = 500

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.Addresses[].AddressLine4 String No

max length = 500

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.Addresses[].AddressLine3 String No

max length = 500

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.Addresses[].PostalCode String No

max length = 50

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.StatusAttributeString String No

Status of object

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.CompanyNumber String No

Company registration number (max length = 50)

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.Phones[] Array No

Store certain phone types for a contact – see phone types

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.Phones[].PhoneType String No

Possible values:

  • "DEFAULT"
  • "OFFICE"
  • "DDI"
  • "MOBILE"
  • "FAX"
BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.Phones[].PhoneNumber String No

max length = 50

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.Phones[].PhoneAreaCode String No

max length = 10

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.Phones[].PhoneCountryCode String No

max length = 20

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.BatchPayments No

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

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.FirstName String No

First name of contact person (max length = 255)

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.SalesDefaultAccountCode String No

The default sales account code for contacts

BatchPayments[].Payments[].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.

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.AccountsReceivableTaxType String No

The tax type from TaxRates

BatchPayments[].Payments[].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"
BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.HasValidationErrors Boolean No

A boolean to indicate if a contact has an validation errors

Default value: false

BatchPayments[].Payments[].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)

BatchPayments[].Payments[].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)

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.Balances.AccountsReceivable Object No
BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.Balances.AccountsReceivable.Overdue Number No
BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.Balances.AccountsReceivable.Outstanding Number No
BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.Balances.AccountsPayable Object No
BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.Balances.AccountsPayable.Overdue Number No
BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.Balances.AccountsPayable.Outstanding Number No
BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.XeroNetworkKey String No

Store XeroNetworkKey for contacts.

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.Discount Number No

The default discount rate for the contact (read only)

BatchPayments[].Payments[].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.

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.ValidationErrors[] Array No

Displays validation errors returned from the API

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.ValidationErrors[].Message String No

Validation error message

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.EmailAddress String No

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

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.HasAttachments Boolean No

A boolean to indicate if a contact has an attachment

Default value: false

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.PaymentTerms Object No
BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.PaymentTerms.Bills Object No
BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.PaymentTerms.Bills.Day Integer No

Day of Month (0-31)

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.PaymentTerms.Bills.Type String No

Possible values:

  • "DAYSAFTERBILLMONTH"
  • "OFCURRENTMONTH"
  • "DAYSAFTERBILLDATE"
  • "OFFOLLOWINGMONTH"
BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.PaymentTerms.Sales Object No
BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.PaymentTerms.Sales.Day Integer No

Day of Month (0-31)

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.PaymentTerms.Sales.Type String No

Possible values:

  • "DAYSAFTERBILLMONTH"
  • "OFCURRENTMONTH"
  • "DAYSAFTERBILLDATE"
  • "OFFOLLOWINGMONTH"
BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.ContactGroups[] Array No

Displays which contact groups a contact is included in

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.ContactGroups[].Name String No

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

BatchPayments[].Payments[].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"
BatchPayments[].Payments[].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

BatchPayments[].Payments[].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.

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.ContactPersons[] Array No

See contact persons

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.ContactPersons[].IncludeInEmails Boolean No

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

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.ContactPersons[].EmailAddress String No

Email address of person

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.ContactPersons[].LastName String No

Last name of person

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.ContactPersons[].FirstName String No

First name of person

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.HasAttachments Boolean No

boolean to indicate if a overpayment has an attachment

Default value: false

BatchPayments[].Payments[].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"
BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].StatusAttributeString String No

A string to indicate if a invoice status

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].ValidationErrors[] Array No

Displays array of validation error messages from the API

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].ValidationErrors[].Message String No

Validation error message

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].IsDeleted Boolean No

A flag that returns true when the allocation is succesfully deleted

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].AllocationID String No

Xero generated unique identifier

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].Invoice Yes
BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote Object No
BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.HasErrors Boolean No

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

Default value: false

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Payments[] Array No

See Payments

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Total Number No

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

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.FullyPaidOnDate String No

Date when credit note was fully paid(UTC format)

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.InvoiceAddresses[] Array No

An array of addresses used to auto calculate sales tax

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.InvoiceAddresses[].City String No

City of a physical address

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.InvoiceAddresses[].AddressLine2 String No

Second line of a physical address

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.InvoiceAddresses[].Region String No

Region or state of a physical address

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.InvoiceAddresses[].Country String No

Country of a physical address

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.InvoiceAddresses[].AddressLine1 String No

First line of a physical address

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.InvoiceAddresses[].InvoiceAddressType String No

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

Possible values:

  • "FROM"
  • "TO"
BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.InvoiceAddresses[].AddressLine4 String No

Fourth line of a physical address

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.InvoiceAddresses[].AddressLine3 String No

Third line of a physical address

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.InvoiceAddresses[].PostalCode String No

Postal code of a physical address

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.UpdatedDateUTC String No

UTC timestamp of last update to the credit note

BatchPayments[].Payments[].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

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.RemainingCredit Number No

The remaining credit balance on the Credit Note

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Allocations[] Array No

See Allocations

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact Object No
BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.BankAccountDetails String No

Bank account number of contact

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.Website String No

Website address for contact (read only)

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.Name String No

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

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.SalesTrackingCategories[] Array No

The default sales tracking categories for contacts

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.SalesTrackingCategories[].TrackingOptionName String No

The default purchase tracking category name for contacts

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.SalesTrackingCategories[].TrackingCategoryName String No

The default sales tracking category name for contacts

BatchPayments[].Payments[].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"
BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.TrackingCategoryOption String No

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

BatchPayments[].Payments[].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)

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.TrackingCategoryName String No

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

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.LastName String No

Last name of contact person (max length = 255)

BatchPayments[].Payments[].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.

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.PurchasesTrackingCategories[] Array No

The default purchases tracking categories for contacts

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.PurchasesTrackingCategories[].TrackingOptionName String No

The default purchase tracking category name for contacts

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.PurchasesTrackingCategories[].TrackingCategoryName String No

The default sales tracking category name for contacts

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.UpdatedDateUTC String No

UTC timestamp of last update to contact

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.BrandingTheme Object No
BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.BrandingTheme.Name String No

Name of branding theme

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.BrandingTheme.BrandingThemeID String No

Xero identifier

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.BrandingTheme.Type String No

Always INVOICE

Possible values:

  • "INVOICE"
BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.BrandingTheme.LogoUrl String No

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

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.BrandingTheme.SortOrder Integer No

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

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.BrandingTheme.CreatedDateUTC String No

UTC timestamp of creation date of branding theme

BatchPayments[].Payments[].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.

BatchPayments[].Payments[].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"
BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.Attachments[] Array No

Displays array of attachments from the API

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.Attachments[].ContentLength Integer No

Length of the file content

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.Attachments[].IncludeOnline Boolean No

Include the file with the online invoice

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.Attachments[].AttachmentID String No

Unique ID for the file

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.Attachments[].MimeType String No

Type of file

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.Attachments[].Url String No

URL to the file on xero.com

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.Attachments[].FileName String No

Name of the file

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.PurchasesDefaultAccountCode String No

The default purchases account code for contacts

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.ContactID String No

Xero identifier

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.AccountsPayableTaxType String No

The tax type from TaxRates

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.ContactStatus String No

Current status of a contact – see contact status types

Possible values:

  • "ARCHIVED"
  • "ACTIVE"
  • "GDPRREQUEST"
BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.Addresses[] Array No

Store certain address types for a contact – see address types

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.Addresses[].City String No

max length = 255

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.Addresses[].AddressType String No

define the type of address

Possible values:

  • "STREET"
  • "POBOX"
BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.Addresses[].AttentionTo String No

max length = 255

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.Addresses[].AddressLine2 String No

max length = 500

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.Addresses[].Region String No

max length = 255

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.Addresses[].Country String No

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

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.Addresses[].AddressLine1 String No

max length = 500

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.Addresses[].AddressLine4 String No

max length = 500

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.Addresses[].AddressLine3 String No

max length = 500

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.Addresses[].PostalCode String No

max length = 50

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.StatusAttributeString String No

Status of object

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.CompanyNumber String No

Company registration number (max length = 50)

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.Phones[] Array No

Store certain phone types for a contact – see phone types

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.Phones[].PhoneType String No

Possible values:

  • "DEFAULT"
  • "OFFICE"
  • "DDI"
  • "MOBILE"
  • "FAX"
BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.Phones[].PhoneNumber String No

max length = 50

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.Phones[].PhoneAreaCode String No

max length = 10

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.Phones[].PhoneCountryCode String No

max length = 20

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.BatchPayments No

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

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.FirstName String No

First name of contact person (max length = 255)

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.SalesDefaultAccountCode String No

The default sales account code for contacts

BatchPayments[].Payments[].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.

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.AccountsReceivableTaxType String No

The tax type from TaxRates

BatchPayments[].Payments[].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"
BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.HasValidationErrors Boolean No

A boolean to indicate if a contact has an validation errors

Default value: false

BatchPayments[].Payments[].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)

BatchPayments[].Payments[].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)

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.Balances.AccountsReceivable Object No
BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.Balances.AccountsReceivable.Overdue Number No
BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.Balances.AccountsReceivable.Outstanding Number No
BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.Balances.AccountsPayable Object No
BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.Balances.AccountsPayable.Overdue Number No
BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.Balances.AccountsPayable.Outstanding Number No
BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.XeroNetworkKey String No

Store XeroNetworkKey for contacts.

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.Discount Number No

The default discount rate for the contact (read only)

BatchPayments[].Payments[].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.

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.ValidationErrors[] Array No

Displays validation errors returned from the API

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.ValidationErrors[].Message String No

Validation error message

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.EmailAddress String No

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

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.HasAttachments Boolean No

A boolean to indicate if a contact has an attachment

Default value: false

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.PaymentTerms Object No
BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.PaymentTerms.Bills Object No
BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.PaymentTerms.Bills.Day Integer No

Day of Month (0-31)

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.PaymentTerms.Bills.Type String No

Possible values:

  • "DAYSAFTERBILLMONTH"
  • "OFCURRENTMONTH"
  • "DAYSAFTERBILLDATE"
  • "OFFOLLOWINGMONTH"
BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.PaymentTerms.Sales Object No
BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.PaymentTerms.Sales.Day Integer No

Day of Month (0-31)

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.PaymentTerms.Sales.Type String No

Possible values:

  • "DAYSAFTERBILLMONTH"
  • "OFCURRENTMONTH"
  • "DAYSAFTERBILLDATE"
  • "OFFOLLOWINGMONTH"
BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.ContactGroups[] Array No

Displays which contact groups a contact is included in

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.ContactGroups[].Name String No

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

BatchPayments[].Payments[].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"
BatchPayments[].Payments[].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

BatchPayments[].Payments[].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.

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.ContactPersons[] Array No

See contact persons

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.ContactPersons[].IncludeInEmails Boolean No

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

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.ContactPersons[].EmailAddress String No

Email address of person

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.ContactPersons[].LastName String No

Last name of person

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.ContactPersons[].FirstName String No

First name of person

BatchPayments[].Payments[].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"
BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.CreditNoteID String No

Xero generated unique identifier

BatchPayments[].Payments[].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"
BatchPayments[].Payments[].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

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.CISDeduction Number No

CIS deduction for UK contractors

BatchPayments[].Payments[].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

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Warnings[] Array No

Displays array of warning messages from the API

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Warnings[].Message String No

Validation error message

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Type String No

See Credit Note Types

Possible values:

  • "ACCPAYCREDIT"
  • "ACCRECCREDIT"
BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.StatusAttributeString String No

A string to indicate if a invoice status

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.DueDate String No

Date invoice is due – YYYY-MM-DD

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.CISRate Number No

CIS Deduction rate for the organisation

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.TotalTax Number No

The total tax on the credit note

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Reference String No

ACCRECCREDIT only – additional reference number

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.LineItems[] Array No

See Invoice Line Items

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.LineItems[].Quantity Number No

LineItem Quantity

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.LineItems[].UnitAmount Number No

LineItem Unit Amount

BatchPayments[].Payments[].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.

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.LineItems[].Item No
BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.LineItems[].AccountCode String No

See Accounts

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.LineItems[].RepeatingInvoiceID String No

The Xero identifier for a Repeating Invoice

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.LineItems[].LineItemID String No

LineItem unique ID

BatchPayments[].Payments[].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

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.LineItems[].TaxType String No

The tax type from TaxRates

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.LineItems[].Taxability String No

The type of taxability

Possible values:

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

An array of tax components defined for this line item

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.LineItems[].TaxBreakdown[].TaxComponentId String No

The unique ID number of this component

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.LineItems[].TaxBreakdown[].Name String No

The name of the jurisdiction

BatchPayments[].Payments[].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"
BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.LineItems[].TaxBreakdown[].TaxAmount Number No

The amount of the tax

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.LineItems[].TaxBreakdown[].TaxableAmount Number No

The amount that is taxable

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.LineItems[].TaxBreakdown[].NonTaxableAmount Number No

The amount that is not taxable

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.LineItems[].TaxBreakdown[].TaxPercentage Number No

The percentage of the tax

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.LineItems[].TaxBreakdown[].ExemptAmount Number No

The amount that is exempt

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.LineItems[].TaxBreakdown[].StateAssignedNo String No

The state assigned number of the jurisdiction

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.LineItems[].TaxBreakdown[].JurisdictionRegion String No

Name identifying the region within the country

BatchPayments[].Payments[].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

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.LineItems[].AccountID String No

The associated account ID related to this line item

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.LineItems[].SalesTaxCodeId Number No

The ID of the sales tax code

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.LineItems[].ItemCode String No

See Items

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.LineItems[].Tracking[] Array No

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

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.LineItems[].Tracking[].TrackingCategoryID String No

The Xero identifier for a tracking category

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.LineItems[].Tracking[].Name String No

The name of the tracking category

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.LineItems[].Tracking[].Option String No

See Tracking Options

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.LineItems[].Tracking[].TrackingOptionID String No

The Xero identifier for a tracking category option

BatchPayments[].Payments[].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.

BatchPayments[].Payments[].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

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.SubTotal Number No

The subtotal of the credit note excluding taxes

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Status String No

See Credit Note Status Codes

Possible values:

  • "DELETED"
  • "AUTHORISED"
  • "SUBMITTED"
  • "DRAFT"
  • "PAID"
  • "VOIDED"
BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.BrandingThemeID String No

See BrandingThemes

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.AppliedAmount Number No

The amount of applied to an invoice

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.ValidationErrors[] Array No

Displays array of validation error messages from the API

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.ValidationErrors[].Message String No

Validation error message

BatchPayments[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.HasAttachments Boolean No

boolean to indicate if a credit note has an attachment

Default value: false

BatchPayments[].Payments[].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)

BatchPayments[].Payments[].Invoice.Prepayments[].Contact Object No
BatchPayments[].Payments[].Invoice.Prepayments[].Contact.BankAccountDetails String No

Bank account number of contact

BatchPayments[].Payments[].Invoice.Prepayments[].Contact.Website String No

Website address for contact (read only)

BatchPayments[].Payments[].Invoice.Prepayments[].Contact.Name String No

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

BatchPayments[].Payments[].Invoice.Prepayments[].Contact.SalesTrackingCategories[] Array No

The default sales tracking categories for contacts

BatchPayments[].Payments[].Invoice.Prepayments[].Contact.SalesTrackingCategories[].TrackingOptionName String No

The default purchase tracking category name for contacts

BatchPayments[].Payments[].Invoice.Prepayments[].Contact.SalesTrackingCategories[].TrackingCategoryName String No

The default sales tracking category name for contacts

BatchPayments[].Payments[].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"
BatchPayments[].Payments[].Invoice.Prepayments[].Contact.TrackingCategoryOption String No

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

BatchPayments[].Payments[].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)

BatchPayments[].Payments[].Invoice.Prepayments[].Contact.TrackingCategoryName String No

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

BatchPayments[].Payments[].Invoice.Prepayments[].Contact.LastName String No

Last name of contact person (max length = 255)

BatchPayments[].Payments[].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.

BatchPayments[].Payments[].Invoice.Prepayments[].Contact.PurchasesTrackingCategories[] Array No

The default purchases tracking categories for contacts

BatchPayments[].Payments[].Invoice.Prepayments[].Contact.PurchasesTrackingCategories[].TrackingOptionName String No

The default purchase tracking category name for contacts

BatchPayments[].Payments[].Invoice.Prepayments[].Contact.PurchasesTrackingCategories[].TrackingCategoryName String No

The default sales tracking category name for contacts

BatchPayments[].Payments[].Invoice.Prepayments[].Contact.UpdatedDateUTC String No

UTC timestamp of last update to contact

BatchPayments[].Payments[].Invoice.Prepayments[].Contact.BrandingTheme Object No
BatchPayments[].Payments[].Invoice.Prepayments[].Contact.BrandingTheme.Name String No

Name of branding theme

BatchPayments[].Payments[].Invoice.Prepayments[].Contact.BrandingTheme.BrandingThemeID String No

Xero identifier

BatchPayments[].Payments[].Invoice.Prepayments[].Contact.BrandingTheme.Type String No

Always INVOICE

Possible values:

  • "INVOICE"
BatchPayments[].Payments[].Invoice.Prepayments[].Contact.BrandingTheme.LogoUrl String No

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

BatchPayments[].Payments[].Invoice.Prepayments[].Contact.BrandingTheme.SortOrder Integer No

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

BatchPayments[].Payments[].Invoice.Prepayments[].Contact.BrandingTheme.CreatedDateUTC String No

UTC timestamp of creation date of branding theme

BatchPayments[].Payments[].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.

BatchPayments[].Payments[].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"
BatchPayments[].Payments[].Invoice.Prepayments[].Contact.Attachments[] Array No

Displays array of attachments from the API

BatchPayments[].Payments[].Invoice.Prepayments[].Contact.Attachments[].ContentLength Integer No

Length of the file content

BatchPayments[].Payments[].Invoice.Prepayments[].Contact.Attachments[].IncludeOnline Boolean No

Include the file with the online invoice

BatchPayments[].Payments[].Invoice.Prepayments[].Contact.Attachments[].AttachmentID String No

Unique ID for the file

BatchPayments[].Payments[].Invoice.Prepayments[].Contact.Attachments[].MimeType String No

Type of file

BatchPayments[].Payments[].Invoice.Prepayments[].Contact.Attachments[].Url String No

URL to the file on xero.com

BatchPayments[].Payments[].Invoice.Prepayments[].Contact.Attachments[].FileName String No

Name of the file

BatchPayments[].Payments[].Invoice.Prepayments[].Contact.PurchasesDefaultAccountCode String No

The default purchases account code for contacts

BatchPayments[].Payments[].Invoice.Prepayments[].Contact.ContactID String No

Xero identifier

BatchPayments[].Payments[].Invoice.Prepayments[].Contact.AccountsPayableTaxType String No

The tax type from TaxRates

BatchPayments[].Payments[].Invoice.Prepayments[].Contact.ContactStatus String No

Current status of a contact – see contact status types

Possible values:

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

Store certain address types for a contact – see address types

BatchPayments[].Payments[].Invoice.Prepayments[].Contact.Addresses[].City String No

max length = 255

BatchPayments[].Payments[].Invoice.Prepayments[].Contact.Addresses[].AddressType String No

define the type of address

Possible values:

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

max length = 255

BatchPayments[].Payments[].Invoice.Prepayments[].Contact.Addresses[].AddressLine2 String No

max length = 500

BatchPayments[].Payments[].Invoice.Prepayments[].Contact.Addresses[].Region String No

max length = 255

BatchPayments[].Payments[].Invoice.Prepayments[].Contact.Addresses[].Country String No

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

BatchPayments[].Payments[].Invoice.Prepayments[].Contact.Addresses[].AddressLine1 String No

max length = 500

BatchPayments[].Payments[].Invoice.Prepayments[].Contact.Addresses[].AddressLine4 String No

max length = 500

BatchPayments[].Payments[].Invoice.Prepayments[].Contact.Addresses[].AddressLine3 String No

max length = 500

BatchPayments[].Payments[].Invoice.Prepayments[].Contact.Addresses[].PostalCode String No

max length = 50

BatchPayments[].Payments[].Invoice.Prepayments[].Contact.StatusAttributeString String No

Status of object

BatchPayments[].Payments[].Invoice.Prepayments[].Contact.CompanyNumber String No

Company registration number (max length = 50)

BatchPayments[].Payments[].Invoice.Prepayments[].Contact.Phones[] Array No

Store certain phone types for a contact – see phone types

BatchPayments[].Payments[].Invoice.Prepayments[].Contact.Phones[].PhoneType String No

Possible values:

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

max length = 50

BatchPayments[].Payments[].Invoice.Prepayments[].Contact.Phones[].PhoneAreaCode String No

max length = 10

BatchPayments[].Payments[].Invoice.Prepayments[].Contact.Phones[].PhoneCountryCode String No

max length = 20

BatchPayments[].Payments[].Invoice.Prepayments[].Contact.BatchPayments No

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

BatchPayments[].Payments[].Invoice.Prepayments[].Contact.FirstName String No

First name of contact person (max length = 255)

BatchPayments[].Payments[].Invoice.Prepayments[].Contact.SalesDefaultAccountCode String No

The default sales account code for contacts

BatchPayments[].Payments[].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.

BatchPayments[].Payments[].Invoice.Prepayments[].Contact.AccountsReceivableTaxType String No

The tax type from TaxRates

BatchPayments[].Payments[].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"
BatchPayments[].Payments[].Invoice.Prepayments[].Contact.HasValidationErrors Boolean No

A boolean to indicate if a contact has an validation errors

Default value: false

BatchPayments[].Payments[].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)

BatchPayments[].Payments[].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)

BatchPayments[].Payments[].Invoice.Prepayments[].Contact.Balances.AccountsReceivable Object No
BatchPayments[].Payments[].Invoice.Prepayments[].Contact.Balances.AccountsReceivable.Overdue Number No
BatchPayments[].Payments[].Invoice.Prepayments[].Contact.Balances.AccountsReceivable.Outstanding Number No
BatchPayments[].Payments[].Invoice.Prepayments[].Contact.Balances.AccountsPayable Object No
BatchPayments[].Payments[].Invoice.Prepayments[].Contact.Balances.AccountsPayable.Overdue Number No
BatchPayments[].Payments[].Invoice.Prepayments[].Contact.Balances.AccountsPayable.Outstanding Number No
BatchPayments[].Payments[].Invoice.Prepayments[].Contact.XeroNetworkKey String No

Store XeroNetworkKey for contacts.

BatchPayments[].Payments[].Invoice.Prepayments[].Contact.Discount Number No

The default discount rate for the contact (read only)

BatchPayments[].Payments[].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.

BatchPayments[].Payments[].Invoice.Prepayments[].Contact.ValidationErrors[] Array No

Displays validation errors returned from the API

BatchPayments[].Payments[].Invoice.Prepayments[].Contact.ValidationErrors[].Message String No

Validation error message

BatchPayments[].Payments[].Invoice.Prepayments[].Contact.EmailAddress String No

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

BatchPayments[].Payments[].Invoice.Prepayments[].Contact.HasAttachments Boolean No

A boolean to indicate if a contact has an attachment

Default value: false

BatchPayments[].Payments[].Invoice.Prepayments[].Contact.PaymentTerms Object No
BatchPayments[].Payments[].Invoice.Prepayments[].Contact.PaymentTerms.Bills Object No
BatchPayments[].Payments[].Invoice.Prepayments[].Contact.PaymentTerms.Bills.Day Integer No

Day of Month (0-31)

BatchPayments[].Payments[].Invoice.Prepayments[].Contact.PaymentTerms.Bills.Type String No

Possible values:

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

Day of Month (0-31)

BatchPayments[].Payments[].Invoice.Prepayments[].Contact.PaymentTerms.Sales.Type String No

Possible values:

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

Displays which contact groups a contact is included in

BatchPayments[].Payments[].Invoice.Prepayments[].Contact.ContactGroups[].Name String No

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

BatchPayments[].Payments[].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"
BatchPayments[].Payments[].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

BatchPayments[].Payments[].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.

BatchPayments[].Payments[].Invoice.Prepayments[].Contact.ContactPersons[] Array No

See contact persons

BatchPayments[].Payments[].Invoice.Prepayments[].Contact.ContactPersons[].IncludeInEmails Boolean No

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

BatchPayments[].Payments[].Invoice.Prepayments[].Contact.ContactPersons[].EmailAddress String No

Email address of person

BatchPayments[].Payments[].Invoice.Prepayments[].Contact.ContactPersons[].LastName String No

Last name of person

BatchPayments[].Payments[].Invoice.Prepayments[].Contact.ContactPersons[].FirstName String No

First name of person

BatchPayments[].Payments[].Invoice.Prepayments[].HasAttachments Boolean No

boolean to indicate if a prepayment has an attachment

Default value: false

BatchPayments[].Payments[].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"
BatchPayments[].Payments[].Invoice.Prepayments[].PrepaymentID String No

Xero generated unique identifier

BatchPayments[].Payments[].Invoice.BrandingThemeID String No

See BrandingThemes

BatchPayments[].Payments[].Invoice.Status String No

See Invoice Status Codes

Possible values:

  • "DELETED"
  • "AUTHORISED"
  • "SUBMITTED"
  • "DRAFT"
  • "PAID"
  • "VOIDED"
BatchPayments[].Payments[].Invoice.ValidationErrors[] Array No

Displays array of validation error messages from the API

BatchPayments[].Payments[].Invoice.ValidationErrors[].Message String No

Validation error message

BatchPayments[].Payments[].Invoice.CreditNotes[] Array No

Details of credit notes that have been applied to an invoice

BatchPayments[].Payments[].Invoice.CreditNotes[].HasErrors Boolean No

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

Default value: false

BatchPayments[].Payments[].Invoice.CreditNotes[].Payments[] Array No

See Payments

BatchPayments[].Payments[].Invoice.CreditNotes[].Total Number No

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

BatchPayments[].Payments[].Invoice.CreditNotes[].FullyPaidOnDate String No

Date when credit note was fully paid(UTC format)

BatchPayments[].Payments[].Invoice.CreditNotes[].InvoiceAddresses[] Array No

An array of addresses used to auto calculate sales tax

BatchPayments[].Payments[].Invoice.CreditNotes[].InvoiceAddresses[].City String No

City of a physical address

BatchPayments[].Payments[].Invoice.CreditNotes[].InvoiceAddresses[].AddressLine2 String No

Second line of a physical address

BatchPayments[].Payments[].Invoice.CreditNotes[].InvoiceAddresses[].Region String No

Region or state of a physical address

BatchPayments[].Payments[].Invoice.CreditNotes[].InvoiceAddresses[].Country String No

Country of a physical address

BatchPayments[].Payments[].Invoice.CreditNotes[].InvoiceAddresses[].AddressLine1 String No

First line of a physical address

BatchPayments[].Payments[].Invoice.CreditNotes[].InvoiceAddresses[].InvoiceAddressType String No

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

Possible values:

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

Fourth line of a physical address

BatchPayments[].Payments[].Invoice.CreditNotes[].InvoiceAddresses[].AddressLine3 String No

Third line of a physical address

BatchPayments[].Payments[].Invoice.CreditNotes[].InvoiceAddresses[].PostalCode String No

Postal code of a physical address

BatchPayments[].Payments[].Invoice.CreditNotes[].UpdatedDateUTC String No

UTC timestamp of last update to the credit note

BatchPayments[].Payments[].Invoice.CreditNotes[].CurrencyRate Number No

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

BatchPayments[].Payments[].Invoice.CreditNotes[].RemainingCredit Number No

The remaining credit balance on the Credit Note

BatchPayments[].Payments[].Invoice.CreditNotes[].Allocations[] Array No

See Allocations

BatchPayments[].Payments[].Invoice.CreditNotes[].Contact Object No
BatchPayments[].Payments[].Invoice.CreditNotes[].Contact.BankAccountDetails String No

Bank account number of contact

BatchPayments[].Payments[].Invoice.CreditNotes[].Contact.Website String No

Website address for contact (read only)

BatchPayments[].Payments[].Invoice.CreditNotes[].Contact.Name String No

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

BatchPayments[].Payments[].Invoice.CreditNotes[].Contact.SalesTrackingCategories[] Array No

The default sales tracking categories for contacts

BatchPayments[].Payments[].Invoice.CreditNotes[].Contact.SalesTrackingCategories[].TrackingOptionName String No

The default purchase tracking category name for contacts

BatchPayments[].Payments[].Invoice.CreditNotes[].Contact.SalesTrackingCategories[].TrackingCategoryName String No

The default sales tracking category name for contacts

BatchPayments[].Payments[].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"
BatchPayments[].Payments[].Invoice.CreditNotes[].Contact.TrackingCategoryOption String No

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

BatchPayments[].Payments[].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)

BatchPayments[].Payments[].Invoice.CreditNotes[].Contact.TrackingCategoryName String No

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

BatchPayments[].Payments[].Invoice.CreditNotes[].Contact.LastName String No

Last name of contact person (max length = 255)

BatchPayments[].Payments[].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.

BatchPayments[].Payments[].Invoice.CreditNotes[].Contact.PurchasesTrackingCategories[] Array No

The default purchases tracking categories for contacts

BatchPayments[].Payments[].Invoice.CreditNotes[].Contact.PurchasesTrackingCategories[].TrackingOptionName String No

The default purchase tracking category name for contacts

BatchPayments[].Payments[].Invoice.CreditNotes[].Contact.PurchasesTrackingCategories[].TrackingCategoryName String No

The default sales tracking category name for contacts

BatchPayments[].Payments[].Invoice.CreditNotes[].Contact.UpdatedDateUTC String No

UTC timestamp of last update to contact

BatchPayments[].Payments[].Invoice.CreditNotes[].Contact.BrandingTheme Object No
BatchPayments[].Payments[].Invoice.CreditNotes[].Contact.BrandingTheme.Name String No

Name of branding theme

BatchPayments[].Payments[].Invoice.CreditNotes[].Contact.BrandingTheme.BrandingThemeID String No

Xero identifier

BatchPayments[].Payments[].Invoice.CreditNotes[].Contact.BrandingTheme.Type String No

Always INVOICE

Possible values:

  • "INVOICE"
BatchPayments[].Payments[].Invoice.CreditNotes[].Contact.BrandingTheme.LogoUrl String No

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

BatchPayments[].Payments[].Invoice.CreditNotes[].Contact.BrandingTheme.SortOrder Integer No

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

BatchPayments[].Payments[].Invoice.CreditNotes[].Contact.BrandingTheme.CreatedDateUTC String No

UTC timestamp of creation date of branding theme

BatchPayments[].Payments[].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.

BatchPayments[].Payments[].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"
BatchPayments[].Payments[].Invoice.CreditNotes[].Contact.Attachments[] Array No

Displays array of attachments from the API

BatchPayments[].Payments[].Invoice.CreditNotes[].Contact.Attachments[].ContentLength Integer No

Length of the file content

BatchPayments[].Payments[].Invoice.CreditNotes[].Contact.Attachments[].IncludeOnline Boolean No

Include the file with the online invoice

BatchPayments[].Payments[].Invoice.CreditNotes[].Contact.Attachments[].AttachmentID String No

Unique ID for the file

BatchPayments[].Payments[].Invoice.CreditNotes[].Contact.Attachments[].MimeType String No

Type of file

BatchPayments[].Payments[].Invoice.CreditNotes[].Contact.Attachments[].Url String No

URL to the file on xero.com

BatchPayments[].Payments[].Invoice.CreditNotes[].Contact.Attachments[].FileName String No

Name of the file

BatchPayments[].Payments[].Invoice.CreditNotes[].Contact.PurchasesDefaultAccountCode String No

The default purchases account code for contacts

BatchPayments[].Payments[].Invoice.CreditNotes[].Contact.ContactID String No

Xero identifier

BatchPayments[].Payments[].Invoice.CreditNotes[].Contact.AccountsPayableTaxType String No

The tax type from TaxRates

BatchPayments[].Payments[].Invoice.CreditNotes[].Contact.ContactStatus String No

Current status of a contact – see contact status types

Possible values:

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

Store certain address types for a contact – see address types

BatchPayments[].Payments[].Invoice.CreditNotes[].Contact.Addresses[].City String No

max length = 255

BatchPayments[].Payments[].Invoice.CreditNotes[].Contact.Addresses[].AddressType String No

define the type of address

Possible values:

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

max length = 255

BatchPayments[].Payments[].Invoice.CreditNotes[].Contact.Addresses[].AddressLine2 String No

max length = 500

BatchPayments[].Payments[].Invoice.CreditNotes[].Contact.Addresses[].Region String No

max length = 255

BatchPayments[].Payments[].Invoice.CreditNotes[].Contact.Addresses[].Country String No

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

BatchPayments[].Payments[].Invoice.CreditNotes[].Contact.Addresses[].AddressLine1 String No

max length = 500

BatchPayments[].Payments[].Invoice.CreditNotes[].Contact.Addresses[].AddressLine4 String No

max length = 500

BatchPayments[].Payments[].Invoice.CreditNotes[].Contact.Addresses[].AddressLine3 String No

max length = 500

BatchPayments[].Payments[].Invoice.CreditNotes[].Contact.Addresses[].PostalCode String No

max length = 50

BatchPayments[].Payments[].Invoice.CreditNotes[].Contact.StatusAttributeString String No

Status of object

BatchPayments[].Payments[].Invoice.CreditNotes[].Contact.CompanyNumber String No

Company registration number (max length = 50)

BatchPayments[].Payments[].Invoice.CreditNotes[].Contact.Phones[] Array No

Store certain phone types for a contact – see phone types

BatchPayments[].Payments[].Invoice.CreditNotes[].Contact.Phones[].PhoneType String No

Possible values:

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

max length = 50

BatchPayments[].Payments[].Invoice.CreditNotes[].Contact.Phones[].PhoneAreaCode String No

max length = 10

BatchPayments[].Payments[].Invoice.CreditNotes[].Contact.Phones[].PhoneCountryCode String No

max length = 20

BatchPayments[].Payments[].Invoice.CreditNotes[].Contact.BatchPayments No

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

BatchPayments[].Payments[].Invoice.CreditNotes[].Contact.FirstName String No

First name of contact person (max length = 255)

BatchPayments[].Payments[].Invoice.CreditNotes[].Contact.SalesDefaultAccountCode String No

The default sales account code for contacts

BatchPayments[].Payments[].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.

BatchPayments[].Payments[].Invoice.CreditNotes[].Contact.AccountsReceivableTaxType String No

The tax type from TaxRates

BatchPayments[].Payments[].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"
BatchPayments[].Payments[].Invoice.CreditNotes[].Contact.HasValidationErrors Boolean No

A boolean to indicate if a contact has an validation errors

Default value: false

BatchPayments[].Payments[].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)

BatchPayments[].Payments[].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)

BatchPayments[].Payments[].Invoice.CreditNotes[].Contact.Balances.AccountsReceivable Object No
BatchPayments[].Payments[].Invoice.CreditNotes[].Contact.Balances.AccountsReceivable.Overdue Number No
BatchPayments[].Payments[].Invoice.CreditNotes[].Contact.Balances.AccountsReceivable.Outstanding Number No
BatchPayments[].Payments[].Invoice.CreditNotes[].Contact.Balances.AccountsPayable Object No
BatchPayments[].Payments[].Invoice.CreditNotes[].Contact.Balances.AccountsPayable.Overdue Number No
BatchPayments[].Payments[].Invoice.CreditNotes[].Contact.Balances.AccountsPayable.Outstanding Number No
BatchPayments[].Payments[].Invoice.CreditNotes[].Contact.XeroNetworkKey String No

Store XeroNetworkKey for contacts.

BatchPayments[].Payments[].Invoice.CreditNotes[].Contact.Discount Number No

The default discount rate for the contact (read only)

BatchPayments[].Payments[].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.

BatchPayments[].Payments[].Invoice.CreditNotes[].Contact.ValidationErrors[] Array No

Displays validation errors returned from the API

BatchPayments[].Payments[].Invoice.CreditNotes[].Contact.ValidationErrors[].Message String No

Validation error message

BatchPayments[].Payments[].Invoice.CreditNotes[].Contact.EmailAddress String No

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

BatchPayments[].Payments[].Invoice.CreditNotes[].Contact.HasAttachments Boolean No

A boolean to indicate if a contact has an attachment

Default value: false

BatchPayments[].Payments[].Invoice.CreditNotes[].Contact.PaymentTerms Object No
BatchPayments[].Payments[].Invoice.CreditNotes[].Contact.PaymentTerms.Bills Object No
BatchPayments[].Payments[].Invoice.CreditNotes[].Contact.PaymentTerms.Bills.Day Integer No

Day of Month (0-31)

BatchPayments[].Payments[].Invoice.CreditNotes[].Contact.PaymentTerms.Bills.Type String No

Possible values:

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

Day of Month (0-31)

BatchPayments[].Payments[].Invoice.CreditNotes[].Contact.PaymentTerms.Sales.Type String No

Possible values:

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

Displays which contact groups a contact is included in

BatchPayments[].Payments[].Invoice.CreditNotes[].Contact.ContactGroups[].Name String No

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

BatchPayments[].Payments[].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"
BatchPayments[].Payments[].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

BatchPayments[].Payments[].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.

BatchPayments[].Payments[].Invoice.CreditNotes[].Contact.ContactPersons[] Array No

See contact persons

BatchPayments[].Payments[].Invoice.CreditNotes[].Contact.ContactPersons[].IncludeInEmails Boolean No

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

BatchPayments[].Payments[].Invoice.CreditNotes[].Contact.ContactPersons[].EmailAddress String No

Email address of person

BatchPayments[].Payments[].Invoice.CreditNotes[].Contact.ContactPersons[].LastName String No

Last name of person

BatchPayments[].Payments[].Invoice.CreditNotes[].Contact.ContactPersons[].FirstName String No

First name of person

BatchPayments[].Payments[].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"
BatchPayments[].Payments[].Invoice.CreditNotes[].CreditNoteID String No

Xero generated unique identifier

BatchPayments[].Payments[].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"
BatchPayments[].Payments[].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

BatchPayments[].Payments[].Invoice.CreditNotes[].CISDeduction Number No

CIS deduction for UK contractors

BatchPayments[].Payments[].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

BatchPayments[].Payments[].Invoice.CreditNotes[].Warnings[] Array No

Displays array of warning messages from the API

BatchPayments[].Payments[].Invoice.CreditNotes[].Warnings[].Message String No

Validation error message

BatchPayments[].Payments[].Invoice.CreditNotes[].Type String No

See Credit Note Types

Possible values:

  • "ACCPAYCREDIT"
  • "ACCRECCREDIT"
BatchPayments[].Payments[].Invoice.CreditNotes[].StatusAttributeString String No

A string to indicate if a invoice status

BatchPayments[].Payments[].Invoice.CreditNotes[].DueDate String No

Date invoice is due – YYYY-MM-DD

BatchPayments[].Payments[].Invoice.CreditNotes[].CISRate Number No

CIS Deduction rate for the organisation

BatchPayments[].Payments[].Invoice.CreditNotes[].TotalTax Number No

The total tax on the credit note

BatchPayments[].Payments[].Invoice.CreditNotes[].Reference String No

ACCRECCREDIT only – additional reference number

BatchPayments[].Payments[].Invoice.CreditNotes[].LineItems[] Array No

See Invoice Line Items

BatchPayments[].Payments[].Invoice.CreditNotes[].LineItems[].Quantity Number No

LineItem Quantity

BatchPayments[].Payments[].Invoice.CreditNotes[].LineItems[].UnitAmount Number No

LineItem Unit Amount

BatchPayments[].Payments[].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.

BatchPayments[].Payments[].Invoice.CreditNotes[].LineItems[].Item No
BatchPayments[].Payments[].Invoice.CreditNotes[].LineItems[].AccountCode String No

See Accounts

BatchPayments[].Payments[].Invoice.CreditNotes[].LineItems[].RepeatingInvoiceID String No

The Xero identifier for a Repeating Invoice

BatchPayments[].Payments[].Invoice.CreditNotes[].LineItems[].LineItemID String No

LineItem unique ID

BatchPayments[].Payments[].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

BatchPayments[].Payments[].Invoice.CreditNotes[].LineItems[].TaxType String No

The tax type from TaxRates

BatchPayments[].Payments[].Invoice.CreditNotes[].LineItems[].Taxability String No

The type of taxability

Possible values:

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

An array of tax components defined for this line item

BatchPayments[].Payments[].Invoice.CreditNotes[].LineItems[].TaxBreakdown[].TaxComponentId String No

The unique ID number of this component

BatchPayments[].Payments[].Invoice.CreditNotes[].LineItems[].TaxBreakdown[].Name String No

The name of the jurisdiction

BatchPayments[].Payments[].Invoice.CreditNotes[].LineItems[].TaxBreakdown[].Type String No

The type of the jurisdiction

Possible values:

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

The amount of the tax

BatchPayments[].Payments[].Invoice.CreditNotes[].LineItems[].TaxBreakdown[].TaxableAmount Number No

The amount that is taxable

BatchPayments[].Payments[].Invoice.CreditNotes[].LineItems[].TaxBreakdown[].NonTaxableAmount Number No

The amount that is not taxable

BatchPayments[].Payments[].Invoice.CreditNotes[].LineItems[].TaxBreakdown[].TaxPercentage Number No

The percentage of the tax

BatchPayments[].Payments[].Invoice.CreditNotes[].LineItems[].TaxBreakdown[].ExemptAmount Number No

The amount that is exempt

BatchPayments[].Payments[].Invoice.CreditNotes[].LineItems[].TaxBreakdown[].StateAssignedNo String No

The state assigned number of the jurisdiction

BatchPayments[].Payments[].Invoice.CreditNotes[].LineItems[].TaxBreakdown[].JurisdictionRegion String No

Name identifying the region within the country

BatchPayments[].Payments[].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

BatchPayments[].Payments[].Invoice.CreditNotes[].LineItems[].AccountID String No

The associated account ID related to this line item

BatchPayments[].Payments[].Invoice.CreditNotes[].LineItems[].SalesTaxCodeId Number No

The ID of the sales tax code

BatchPayments[].Payments[].Invoice.CreditNotes[].LineItems[].ItemCode String No

See Items

BatchPayments[].Payments[].Invoice.CreditNotes[].LineItems[].Tracking[] Array No

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

BatchPayments[].Payments[].Invoice.CreditNotes[].LineItems[].Tracking[].TrackingCategoryID String No

The Xero identifier for a tracking category

BatchPayments[].Payments[].Invoice.CreditNotes[].LineItems[].Tracking[].Name String No

The name of the tracking category

BatchPayments[].Payments[].Invoice.CreditNotes[].LineItems[].Tracking[].Option String No

See Tracking Options

BatchPayments[].Payments[].Invoice.CreditNotes[].LineItems[].Tracking[].TrackingOptionID String No

The Xero identifier for a tracking category option

BatchPayments[].Payments[].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.

BatchPayments[].Payments[].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

BatchPayments[].Payments[].Invoice.CreditNotes[].SubTotal Number No

The subtotal of the credit note excluding taxes

BatchPayments[].Payments[].Invoice.CreditNotes[].Status String No

See Credit Note Status Codes

Possible values:

  • "DELETED"
  • "AUTHORISED"
  • "SUBMITTED"
  • "DRAFT"
  • "PAID"
  • "VOIDED"
BatchPayments[].Payments[].Invoice.CreditNotes[].BrandingThemeID String No

See BrandingThemes

BatchPayments[].Payments[].Invoice.CreditNotes[].AppliedAmount Number No

The amount of applied to an invoice

BatchPayments[].Payments[].Invoice.CreditNotes[].ValidationErrors[] Array No

Displays array of validation error messages from the API

BatchPayments[].Payments[].Invoice.CreditNotes[].ValidationErrors[].Message String No

Validation error message

BatchPayments[].Payments[].Invoice.CreditNotes[].HasAttachments Boolean No

boolean to indicate if a credit note has an attachment

Default value: false

BatchPayments[].Payments[].Invoice.CreditNotes[].CreditNoteNumber String No

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

BatchPayments[].Payments[].Invoice.HasAttachments Boolean No

boolean to indicate if an invoice has an attachment

Default value: false

BatchPayments[].Payments[].Invoice.AmountPaid Number No

Sum of payments received for invoice

BatchPayments[].Payments[].Invoice.ExpectedPaymentDate String No

Shown on sales invoices (Accounts Receivable) when this has been set

BatchPayments[].Payments[].CreditNote Object No
BatchPayments[].Payments[].CreditNote.HasErrors Boolean No

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

Default value: false

BatchPayments[].Payments[].CreditNote.Payments[] Array No

See Payments

BatchPayments[].Payments[].CreditNote.Total Number No

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

BatchPayments[].Payments[].CreditNote.FullyPaidOnDate String No

Date when credit note was fully paid(UTC format)

BatchPayments[].Payments[].CreditNote.InvoiceAddresses[] Array No

An array of addresses used to auto calculate sales tax

BatchPayments[].Payments[].CreditNote.InvoiceAddresses[].City String No

City of a physical address

BatchPayments[].Payments[].CreditNote.InvoiceAddresses[].AddressLine2 String No

Second line of a physical address

BatchPayments[].Payments[].CreditNote.InvoiceAddresses[].Region String No

Region or state of a physical address

BatchPayments[].Payments[].CreditNote.InvoiceAddresses[].Country String No

Country of a physical address

BatchPayments[].Payments[].CreditNote.InvoiceAddresses[].AddressLine1 String No

First line of a physical address

BatchPayments[].Payments[].CreditNote.InvoiceAddresses[].InvoiceAddressType String No

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

Possible values:

  • "FROM"
  • "TO"
BatchPayments[].Payments[].CreditNote.InvoiceAddresses[].AddressLine4 String No

Fourth line of a physical address

BatchPayments[].Payments[].CreditNote.InvoiceAddresses[].AddressLine3 String No

Third line of a physical address

BatchPayments[].Payments[].CreditNote.InvoiceAddresses[].PostalCode String No

Postal code of a physical address

BatchPayments[].Payments[].CreditNote.UpdatedDateUTC String No

UTC timestamp of last update to the credit note

BatchPayments[].Payments[].CreditNote.CurrencyRate Number No

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

BatchPayments[].Payments[].CreditNote.RemainingCredit Number No

The remaining credit balance on the Credit Note

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

See Allocations

BatchPayments[].Payments[].CreditNote.Contact Object No
BatchPayments[].Payments[].CreditNote.Contact.BankAccountDetails String No

Bank account number of contact

BatchPayments[].Payments[].CreditNote.Contact.Website String No

Website address for contact (read only)

BatchPayments[].Payments[].CreditNote.Contact.Name String No

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

BatchPayments[].Payments[].CreditNote.Contact.SalesTrackingCategories[] Array No

The default sales tracking categories for contacts

BatchPayments[].Payments[].CreditNote.Contact.SalesTrackingCategories[].TrackingOptionName String No

The default purchase tracking category name for contacts

BatchPayments[].Payments[].CreditNote.Contact.SalesTrackingCategories[].TrackingCategoryName String No

The default sales tracking category name for contacts

BatchPayments[].Payments[].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"
BatchPayments[].Payments[].CreditNote.Contact.TrackingCategoryOption String No

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

BatchPayments[].Payments[].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)

BatchPayments[].Payments[].CreditNote.Contact.TrackingCategoryName String No

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

BatchPayments[].Payments[].CreditNote.Contact.LastName String No

Last name of contact person (max length = 255)

BatchPayments[].Payments[].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.

BatchPayments[].Payments[].CreditNote.Contact.PurchasesTrackingCategories[] Array No

The default purchases tracking categories for contacts

BatchPayments[].Payments[].CreditNote.Contact.PurchasesTrackingCategories[].TrackingOptionName String No

The default purchase tracking category name for contacts

BatchPayments[].Payments[].CreditNote.Contact.PurchasesTrackingCategories[].TrackingCategoryName String No

The default sales tracking category name for contacts

BatchPayments[].Payments[].CreditNote.Contact.UpdatedDateUTC String No

UTC timestamp of last update to contact

BatchPayments[].Payments[].CreditNote.Contact.BrandingTheme Object No
BatchPayments[].Payments[].CreditNote.Contact.BrandingTheme.Name String No

Name of branding theme

BatchPayments[].Payments[].CreditNote.Contact.BrandingTheme.BrandingThemeID String No

Xero identifier

BatchPayments[].Payments[].CreditNote.Contact.BrandingTheme.Type String No

Always INVOICE

Possible values:

  • "INVOICE"
BatchPayments[].Payments[].CreditNote.Contact.BrandingTheme.LogoUrl String No

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

BatchPayments[].Payments[].CreditNote.Contact.BrandingTheme.SortOrder Integer No

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

BatchPayments[].Payments[].CreditNote.Contact.BrandingTheme.CreatedDateUTC String No

UTC timestamp of creation date of branding theme

BatchPayments[].Payments[].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.

BatchPayments[].Payments[].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"
BatchPayments[].Payments[].CreditNote.Contact.Attachments[] Array No

Displays array of attachments from the API

BatchPayments[].Payments[].CreditNote.Contact.Attachments[].ContentLength Integer No

Length of the file content

BatchPayments[].Payments[].CreditNote.Contact.Attachments[].IncludeOnline Boolean No

Include the file with the online invoice

BatchPayments[].Payments[].CreditNote.Contact.Attachments[].AttachmentID String No

Unique ID for the file

BatchPayments[].Payments[].CreditNote.Contact.Attachments[].MimeType String No

Type of file

BatchPayments[].Payments[].CreditNote.Contact.Attachments[].Url String No

URL to the file on xero.com

BatchPayments[].Payments[].CreditNote.Contact.Attachments[].FileName String No

Name of the file

BatchPayments[].Payments[].CreditNote.Contact.PurchasesDefaultAccountCode String No

The default purchases account code for contacts

BatchPayments[].Payments[].CreditNote.Contact.ContactID String No

Xero identifier

BatchPayments[].Payments[].CreditNote.Contact.AccountsPayableTaxType String No

The tax type from TaxRates

BatchPayments[].Payments[].CreditNote.Contact.ContactStatus String No

Current status of a contact – see contact status types

Possible values:

  • "ARCHIVED"
  • "ACTIVE"
  • "GDPRREQUEST"
BatchPayments[].Payments[].CreditNote.Contact.Addresses[] Array No

Store certain address types for a contact – see address types

BatchPayments[].Payments[].CreditNote.Contact.Addresses[].City String No

max length = 255

BatchPayments[].Payments[].CreditNote.Contact.Addresses[].AddressType String No

define the type of address

Possible values:

  • "STREET"
  • "POBOX"
BatchPayments[].Payments[].CreditNote.Contact.Addresses[].AttentionTo String No

max length = 255

BatchPayments[].Payments[].CreditNote.Contact.Addresses[].AddressLine2 String No

max length = 500

BatchPayments[].Payments[].CreditNote.Contact.Addresses[].Region String No

max length = 255

BatchPayments[].Payments[].CreditNote.Contact.Addresses[].Country String No

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

BatchPayments[].Payments[].CreditNote.Contact.Addresses[].AddressLine1 String No

max length = 500

BatchPayments[].Payments[].CreditNote.Contact.Addresses[].AddressLine4 String No

max length = 500

BatchPayments[].Payments[].CreditNote.Contact.Addresses[].AddressLine3 String No

max length = 500

BatchPayments[].Payments[].CreditNote.Contact.Addresses[].PostalCode String No

max length = 50

BatchPayments[].Payments[].CreditNote.Contact.StatusAttributeString String No

Status of object

BatchPayments[].Payments[].CreditNote.Contact.CompanyNumber String No

Company registration number (max length = 50)

BatchPayments[].Payments[].CreditNote.Contact.Phones[] Array No

Store certain phone types for a contact – see phone types

BatchPayments[].Payments[].CreditNote.Contact.Phones[].PhoneType String No

Possible values:

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

max length = 50

BatchPayments[].Payments[].CreditNote.Contact.Phones[].PhoneAreaCode String No

max length = 10

BatchPayments[].Payments[].CreditNote.Contact.Phones[].PhoneCountryCode String No

max length = 20

BatchPayments[].Payments[].CreditNote.Contact.BatchPayments No

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

BatchPayments[].Payments[].CreditNote.Contact.FirstName String No

First name of contact person (max length = 255)

BatchPayments[].Payments[].CreditNote.Contact.SalesDefaultAccountCode String No

The default sales account code for contacts

BatchPayments[].Payments[].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.

BatchPayments[].Payments[].CreditNote.Contact.AccountsReceivableTaxType String No

The tax type from TaxRates

BatchPayments[].Payments[].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"
BatchPayments[].Payments[].CreditNote.Contact.HasValidationErrors Boolean No

A boolean to indicate if a contact has an validation errors

Default value: false

BatchPayments[].Payments[].CreditNote.Contact.AccountNumber String No

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

BatchPayments[].Payments[].CreditNote.Contact.Balances Object No

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

BatchPayments[].Payments[].CreditNote.Contact.Balances.AccountsReceivable Object No
BatchPayments[].Payments[].CreditNote.Contact.Balances.AccountsReceivable.Overdue Number No
BatchPayments[].Payments[].CreditNote.Contact.Balances.AccountsReceivable.Outstanding Number No
BatchPayments[].Payments[].CreditNote.Contact.Balances.AccountsPayable Object No
BatchPayments[].Payments[].CreditNote.Contact.Balances.AccountsPayable.Overdue Number No
BatchPayments[].Payments[].CreditNote.Contact.Balances.AccountsPayable.Outstanding Number No
BatchPayments[].Payments[].CreditNote.Contact.XeroNetworkKey String No

Store XeroNetworkKey for contacts.

BatchPayments[].Payments[].CreditNote.Contact.Discount Number No

The default discount rate for the contact (read only)

BatchPayments[].Payments[].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.

BatchPayments[].Payments[].CreditNote.Contact.ValidationErrors[] Array No

Displays validation errors returned from the API

BatchPayments[].Payments[].CreditNote.Contact.ValidationErrors[].Message String No

Validation error message

BatchPayments[].Payments[].CreditNote.Contact.EmailAddress String No

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

BatchPayments[].Payments[].CreditNote.Contact.HasAttachments Boolean No

A boolean to indicate if a contact has an attachment

Default value: false

BatchPayments[].Payments[].CreditNote.Contact.PaymentTerms Object No
BatchPayments[].Payments[].CreditNote.Contact.PaymentTerms.Bills Object No
BatchPayments[].Payments[].CreditNote.Contact.PaymentTerms.Bills.Day Integer No

Day of Month (0-31)

BatchPayments[].Payments[].CreditNote.Contact.PaymentTerms.Bills.Type String No

Possible values:

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

Day of Month (0-31)

BatchPayments[].Payments[].CreditNote.Contact.PaymentTerms.Sales.Type String No

Possible values:

  • "DAYSAFTERBILLMONTH"
  • "OFCURRENTMONTH"
  • "DAYSAFTERBILLDATE"
  • "OFFOLLOWINGMONTH"
BatchPayments[].Payments[].CreditNote.Contact.ContactGroups[] Array No

Displays which contact groups a contact is included in

BatchPayments[].Payments[].CreditNote.Contact.ContactGroups[].Name String No

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

BatchPayments[].Payments[].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"
BatchPayments[].Payments[].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

BatchPayments[].Payments[].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.

BatchPayments[].Payments[].CreditNote.Contact.ContactPersons[] Array No

See contact persons

BatchPayments[].Payments[].CreditNote.Contact.ContactPersons[].IncludeInEmails Boolean No

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

BatchPayments[].Payments[].CreditNote.Contact.ContactPersons[].EmailAddress String No

Email address of person

BatchPayments[].Payments[].CreditNote.Contact.ContactPersons[].LastName String No

Last name of person

BatchPayments[].Payments[].CreditNote.Contact.ContactPersons[].FirstName String No

First name of person

BatchPayments[].Payments[].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"
BatchPayments[].Payments[].CreditNote.CreditNoteID String No

Xero generated unique identifier

BatchPayments[].Payments[].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"
BatchPayments[].Payments[].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

BatchPayments[].Payments[].CreditNote.CISDeduction Number No

CIS deduction for UK contractors

BatchPayments[].Payments[].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

BatchPayments[].Payments[].CreditNote.Warnings[] Array No

Displays array of warning messages from the API

BatchPayments[].Payments[].CreditNote.Warnings[].Message String No

Validation error message

BatchPayments[].Payments[].CreditNote.Type String No

See Credit Note Types

Possible values:

  • "ACCPAYCREDIT"
  • "ACCRECCREDIT"
BatchPayments[].Payments[].CreditNote.StatusAttributeString String No

A string to indicate if a invoice status

BatchPayments[].Payments[].CreditNote.DueDate String No

Date invoice is due – YYYY-MM-DD

BatchPayments[].Payments[].CreditNote.CISRate Number No

CIS Deduction rate for the organisation

BatchPayments[].Payments[].CreditNote.TotalTax Number No

The total tax on the credit note

BatchPayments[].Payments[].CreditNote.Reference String No

ACCRECCREDIT only – additional reference number

BatchPayments[].Payments[].CreditNote.LineItems[] Array No

See Invoice Line Items

BatchPayments[].Payments[].CreditNote.LineItems[].Quantity Number No

LineItem Quantity

BatchPayments[].Payments[].CreditNote.LineItems[].UnitAmount Number No

LineItem Unit Amount

BatchPayments[].Payments[].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.

BatchPayments[].Payments[].CreditNote.LineItems[].Item No
BatchPayments[].Payments[].CreditNote.LineItems[].AccountCode String No

See Accounts

BatchPayments[].Payments[].CreditNote.LineItems[].RepeatingInvoiceID String No

The Xero identifier for a Repeating Invoice

BatchPayments[].Payments[].CreditNote.LineItems[].LineItemID String No

LineItem unique ID

BatchPayments[].Payments[].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

BatchPayments[].Payments[].CreditNote.LineItems[].TaxType String No

The tax type from TaxRates

BatchPayments[].Payments[].CreditNote.LineItems[].Taxability String No

The type of taxability

Possible values:

  • "NOT_APPLICABLE"
  • "EXEMPT"
  • "PART_TAXABLE"
  • "TAXABLE"
  • "NON_TAXABLE"
BatchPayments[].Payments[].CreditNote.LineItems[].TaxBreakdown[] Array No

An array of tax components defined for this line item

BatchPayments[].Payments[].CreditNote.LineItems[].TaxBreakdown[].TaxComponentId String No

The unique ID number of this component

BatchPayments[].Payments[].CreditNote.LineItems[].TaxBreakdown[].Name String No

The name of the jurisdiction

BatchPayments[].Payments[].CreditNote.LineItems[].TaxBreakdown[].Type String No

The type of the jurisdiction

Possible values:

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

The amount of the tax

BatchPayments[].Payments[].CreditNote.LineItems[].TaxBreakdown[].TaxableAmount Number No

The amount that is taxable

BatchPayments[].Payments[].CreditNote.LineItems[].TaxBreakdown[].NonTaxableAmount Number No

The amount that is not taxable

BatchPayments[].Payments[].CreditNote.LineItems[].TaxBreakdown[].TaxPercentage Number No

The percentage of the tax

BatchPayments[].Payments[].CreditNote.LineItems[].TaxBreakdown[].ExemptAmount Number No

The amount that is exempt

BatchPayments[].Payments[].CreditNote.LineItems[].TaxBreakdown[].StateAssignedNo String No

The state assigned number of the jurisdiction

BatchPayments[].Payments[].CreditNote.LineItems[].TaxBreakdown[].JurisdictionRegion String No

Name identifying the region within the country

BatchPayments[].Payments[].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

BatchPayments[].Payments[].CreditNote.LineItems[].AccountID String No

The associated account ID related to this line item

BatchPayments[].Payments[].CreditNote.LineItems[].SalesTaxCodeId Number No

The ID of the sales tax code

BatchPayments[].Payments[].CreditNote.LineItems[].ItemCode String No

See Items

BatchPayments[].Payments[].CreditNote.LineItems[].Tracking[] Array No

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

BatchPayments[].Payments[].CreditNote.LineItems[].Tracking[].TrackingCategoryID String No

The Xero identifier for a tracking category

BatchPayments[].Payments[].CreditNote.LineItems[].Tracking[].Name String No

The name of the tracking category

BatchPayments[].Payments[].CreditNote.LineItems[].Tracking[].Option String No

See Tracking Options

BatchPayments[].Payments[].CreditNote.LineItems[].Tracking[].TrackingOptionID String No

The Xero identifier for a tracking category option

BatchPayments[].Payments[].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.

BatchPayments[].Payments[].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

BatchPayments[].Payments[].CreditNote.SubTotal Number No

The subtotal of the credit note excluding taxes

BatchPayments[].Payments[].CreditNote.Status String No

See Credit Note Status Codes

Possible values:

  • "DELETED"
  • "AUTHORISED"
  • "SUBMITTED"
  • "DRAFT"
  • "PAID"
  • "VOIDED"
BatchPayments[].Payments[].CreditNote.BrandingThemeID String No

See BrandingThemes

BatchPayments[].Payments[].CreditNote.AppliedAmount Number No

The amount of applied to an invoice

BatchPayments[].Payments[].CreditNote.ValidationErrors[] Array No

Displays array of validation error messages from the API

BatchPayments[].Payments[].CreditNote.ValidationErrors[].Message String No

Validation error message

BatchPayments[].Payments[].CreditNote.HasAttachments Boolean No

boolean to indicate if a credit note has an attachment

Default value: false

BatchPayments[].Payments[].CreditNote.CreditNoteNumber String No

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

BatchPayments[].Payments[].Account Object No
BatchPayments[].Payments[].Account.Code String No

Customer defined alpha numeric account code e.g 200 or SALES (max length = 10)

BatchPayments[].Payments[].Account.EnablePaymentsToAccount Boolean No

Boolean – describes whether account can have payments applied to it

BatchPayments[].Payments[].Account.Name String No

Name of account (max length = 150)

BatchPayments[].Payments[].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"
BatchPayments[].Payments[].Account.ShowInExpenseClaims Boolean No

Boolean – describes whether account code is available for use with expense claims

BatchPayments[].Payments[].Account.BankAccountNumber String No

For bank accounts only (Account Type BANK)

BatchPayments[].Payments[].Account.ReportingCodeName String No

Shown if set

BatchPayments[].Payments[].Account.Description String No

Description of the Account. Valid for all types of accounts except bank accounts (max length = 4000)

BatchPayments[].Payments[].Account.TaxType String No

The tax type from taxRates

BatchPayments[].Payments[].Account.AddToWatchlist Boolean No

Boolean – describes whether the account is shown in the watchlist widget on the dashboard

BatchPayments[].Payments[].Account.Class String No

See Account Class Types

Possible values:

  • "ASSET"
  • "EQUITY"
  • "EXPENSE"
  • "LIABILITY"
  • "REVENUE"
BatchPayments[].Payments[].Account.UpdatedDateUTC String No

Last modified date UTC format

BatchPayments[].Payments[].Account.BankAccountType String No

For bank accounts only. See Bank Account types

Possible values:

  • "CREDITCARD"
  • ""
  • "BANK"
  • "PAYPAL"
  • "NONE"
BatchPayments[].Payments[].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"
BatchPayments[].Payments[].Account.Status String No

Accounts with a status of ACTIVE can be updated to ARCHIVED. See Account Status Codes

Possible values:

  • "ARCHIVED"
  • "DELETED"
  • "ACTIVE"
BatchPayments[].Payments[].Account.ReportingCode String No

Shown if set

BatchPayments[].Payments[].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

BatchPayments[].Payments[].Account.ValidationErrors[] Array No

Displays array of validation error messages from the API

BatchPayments[].Payments[].Account.ValidationErrors[].Message String No

Validation error message

BatchPayments[].Payments[].Account.HasAttachments Boolean No

boolean to indicate if an account has an attachment (read only)

Default value: false

BatchPayments[].Payments[].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"
BatchPayments[].Payments[].UpdatedDateUTC String No

UTC timestamp of last update to the payment

BatchPayments[].Payments[].CurrencyRate Number No

Exchange rate when payment is received. Only used for non base currency invoices and credit notes e.g. 0.7500

BatchPayments[].Payments[].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

BatchPayments[].Payments[].Particulars String No

The suppliers bank account number the payment is being made to

BatchPayments[].Payments[].Code String No

Code of account you are using to make the payment e.g. 001 (note- not all accounts have a code value)

BatchPayments[].Payments[].Date String No

Date the payment is being made (YYYY-MM-DD) e.g. 2009-09-06

BatchPayments[].Payments[].Warnings[] Array No

Displays array of warning messages from the API

BatchPayments[].Payments[].Warnings[].Message String No

Validation error message

BatchPayments[].Payments[].StatusAttributeString String No

A string to indicate if a invoice status

BatchPayments[].Payments[].BankAccountNumber String No

The suppliers bank account number the payment is being made to

BatchPayments[].Payments[].PaymentType String No

See Payment Types.

Possible values:

  • "ACCPAYPAYMENT"
  • "ARPREPAYMENTPAYMENT"
  • "APCREDITPAYMENT"
  • "ARCREDITPAYMENT"
  • "AROVERPAYMENTPAYMENT"
  • "APOVERPAYMENTPAYMENT"
  • "APPREPAYMENTPAYMENT"
  • "ACCRECPAYMENT"
BatchPayments[].Payments[].Reference String No

An optional description for the payment e.g. Direct Debit

BatchPayments[].Payments[].BankAmount Number No

The amount of the payment in the currency of the bank account.

BatchPayments[].Payments[].HasValidationErrors Boolean No

A boolean to indicate if a contact has an validation errors

Default value: false

BatchPayments[].Payments[].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

BatchPayments[].Payments[].Status String No

The status of the payment.

Possible values:

  • "DELETED"
  • "AUTHORISED"
BatchPayments[].Payments[].ValidationErrors[] Array No

Displays array of validation error messages from the API

BatchPayments[].Payments[].ValidationErrors[].Message String No

Validation error message

BatchPayments[].Payments[].CreditNoteNumber String No

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

BatchPayments[].Payments[].PaymentID String No

The Xero identifier for an Payment e.g. 297c2dc5-cc47-4afd-8ec8-74990b8761e9

BatchPayments[].Payments[].BatchPaymentID String No

Present if the payment was created as part of a batch.

BatchPayments[].TotalAmount Number No

The total of the payments that make up the batch (read-only)

BatchPayments[].Type String No

PAYBATCH for bill payments or RECBATCH for sales invoice payments (read-only)

Possible values:

  • "PAYBATCH"
  • "RECBATCH"
BatchPayments[].Reference String No

(NZ Only) Optional references for the batch payment transaction. It will also show with the batch payment transaction in the bank reconciliation Find & Match screen. Depending on your individual bank, the detail may also show on the bank statement you import into Xero.

BatchPayments[].Account Object No
BatchPayments[].Account.Code String No

Customer defined alpha numeric account code e.g 200 or SALES (max length = 10)

BatchPayments[].Account.EnablePaymentsToAccount Boolean No

Boolean – describes whether account can have payments applied to it

BatchPayments[].Account.Name String No

Name of account (max length = 150)

BatchPayments[].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"
BatchPayments[].Account.ShowInExpenseClaims Boolean No

Boolean – describes whether account code is available for use with expense claims

BatchPayments[].Account.BankAccountNumber String No

For bank accounts only (Account Type BANK)

BatchPayments[].Account.ReportingCodeName String No

Shown if set

BatchPayments[].Account.Description String No

Description of the Account. Valid for all types of accounts except bank accounts (max length = 4000)

BatchPayments[].Account.TaxType String No

The tax type from taxRates

BatchPayments[].Account.AddToWatchlist Boolean No

Boolean – describes whether the account is shown in the watchlist widget on the dashboard

BatchPayments[].Account.Class String No

See Account Class Types

Possible values:

  • "ASSET"
  • "EQUITY"
  • "EXPENSE"
  • "LIABILITY"
  • "REVENUE"
BatchPayments[].Account.UpdatedDateUTC String No

Last modified date UTC format

BatchPayments[].Account.BankAccountType String No

For bank accounts only. See Bank Account types

Possible values:

  • "CREDITCARD"
  • ""
  • "BANK"
  • "PAYPAL"
  • "NONE"
BatchPayments[].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"
BatchPayments[].Account.Status String No

Accounts with a status of ACTIVE can be updated to ARCHIVED. See Account Status Codes

Possible values:

  • "ARCHIVED"
  • "DELETED"
  • "ACTIVE"
BatchPayments[].Account.ReportingCode String No

Shown if set

BatchPayments[].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

BatchPayments[].Account.ValidationErrors[] Array No

Displays array of validation error messages from the API

BatchPayments[].Account.ValidationErrors[].Message String No

Validation error message

BatchPayments[].Account.HasAttachments Boolean No

boolean to indicate if an account has an attachment (read only)

Default value: false

BatchPayments[].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"
BatchPayments[].UpdatedDateUTC String No

UTC timestamp of last update to the payment

BatchPayments[].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

BatchPayments[].Status String No

AUTHORISED or DELETED (read-only). New batch payments will have a status of AUTHORISED. It is not possible to delete batch payments via the API.

Possible values:

  • "DELETED"
  • "AUTHORISED"
BatchPayments[].ValidationErrors[] Array No

Displays array of validation error messages from the API

BatchPayments[].ValidationErrors[].Message String No

Validation error message

BatchPayments[].IsReconciled Boolean No

Booelan that tells you if the batch payment has been reconciled (read-only)

BatchPayments[].DateString String No

Date the payment is being made (YYYY-MM-DD) e.g. 2009-09-06

BatchPayments[].Particulars String No

(NZ Only) Optional references for the batch payment transaction. It will also show with the batch payment transaction in the bank reconciliation Find & Match screen. Depending on your individual bank, the detail may also show on the bank statement you import into Xero.

BatchPayments[].BatchPaymentID String No

The Xero generated unique identifier for the bank transaction (read-only)

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.