Skip to content

Xero: Accounting schemas (part 2)

72 Xero schemas with complete fields and constraints.

← Accounting operations · All schemas

Deletes an Allocation from a Prepayment — response body

FieldTypePresenceDescription and constraints
$objectRoot
AllocationIDstringOptionalXero generated unique identifier
Format: uuid
AmountJSONRequired within parent
Amount (anyOf 1)numberAlternativethe amount being applied to the invoice
Format: double
Amount (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
CreditNoteModelOptionalExpand Deletes an Allocation from a Prepayment — response body — Credit Note
DatestringRequired within parentthe date the allocation is applied YYYY-MM-DD.
InvoiceModelRequired within parentExpand Deletes an Allocation from a Prepayment — response body — Invoice
IsDeletedbooleanOptionalA flag that returns true when the allocation is succesfully deleted
Read only: true
OverpaymentModelOptionalExpand Deletes an Allocation from a Prepayment — response body — Overpayment
PrepaymentModelOptionalExpand Deletes an Allocation from a Prepayment — response body — Prepayment
StatusAttributeStringstringOptionalA string to indicate if a invoice status
ValidationErrorsarrayOptionalDisplays array of validation error messages from the API
ValidationErrors[]ModelEach itemExpand Retrieves journals — response body — Warnings item

Referenced models: Deletes an Allocation from a Prepayment — response body — Credit Note, Deletes an Allocation from a Prepayment — response body — Invoice, Deletes an Allocation from a Prepayment — response body — Overpayment, Deletes an Allocation from a Prepayment — response body — Prepayment, Retrieves journals — response body — Warnings item

Deletes an Allocation from a Prepayment — response body — Credit Note

FieldTypePresenceDescription and constraints
$objectRoot
AllocationsarrayOptionalSee Allocations
Allocations[]ModelEach itemExpand Deletes an Allocation from a Prepayment — response body
AppliedAmountJSONOptional
AppliedAmount (anyOf 1)numberAlternativeThe amount of applied to an invoice
Format: double
AppliedAmount (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
BrandingThemeIDstringOptionalSee BrandingThemes
Format: uuid
CISDeductionJSONOptional
CISDeduction (anyOf 1)numberAlternativeCIS deduction for UK contractors
Format: double
Read only: true
CISDeduction (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
CISRateJSONOptional
CISRate (anyOf 1)numberAlternativeCIS Deduction rate for the organisation
Format: double
Read only: true
CISRate (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
ContactModelOptionalExpand Creates contacts to a specific contact group — response body — Contacts item
CreditNoteIDstringOptionalXero generated unique identifier
Format: uuid
CreditNoteNumberstringOptionalACCRECCREDIT – Unique alpha numeric code identifying credit note (when missing will auto-generate from your Organisation Invoice Settings)
CurrencyCodeModelOptionalExpand Deletes an Allocation from a Prepayment — response body — Invoice Currency Code
The specified currency code
CurrencyRateJSONOptional
CurrencyRate (anyOf 1)numberAlternativeThe currency rate for a multicurrency invoice. If no rate is specified, the XE.com day rate is used
Format: double
CurrencyRate (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
DatestringOptionalThe 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
DueDatestringOptionalDate invoice is due – YYYY-MM-DD
FullyPaidOnDatestringOptionalDate when credit note was fully paid(UTC format)
HasAttachmentsbooleanOptionalboolean to indicate if a credit note has an attachment
Default: false
HasErrorsbooleanOptionalA boolean to indicate if a credit note has an validation errors
Default: false
InvoiceAddressesarrayOptionalAn array of addresses used to auto calculate sales tax
InvoiceAddresses[]ModelEach itemExpand Deletes an Allocation from a Prepayment — response body — Invoice Invoice Addresses item
LineAmountTypesstringOptionalLine amounts are exclusive of tax by default if you don’t specify this element. See Line Amount Types
Known values: Exclusive, Inclusive, NoTax
LineItemsarrayOptionalSee Invoice Line Items
LineItems[]ModelEach itemExpand Deletes an Allocation from a Prepayment — response body — Invoice Line Items item
PaymentsarrayOptionalSee Payments
Payments[]ModelEach itemExpand Retrieves payments for invoices and credit notes — response body — Payments item
ReferencestringOptionalACCRECCREDIT only – additional reference number
RemainingCreditJSONOptional
RemainingCredit (anyOf 1)numberAlternativeThe remaining credit balance on the Credit Note
Format: double
RemainingCredit (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
SentToContactbooleanOptionalBoolean 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
StatusstringOptionalSee Credit Note Status Codes
Known values: DRAFT, SUBMITTED, DELETED, AUTHORISED, PAID, VOIDED
StatusAttributeStringstringOptionalA string to indicate if a invoice status
SubTotalJSONOptional
SubTotal (anyOf 1)numberAlternativeThe subtotal of the credit note excluding taxes
Format: double
SubTotal (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
TotalJSONOptional
Total (anyOf 1)numberAlternativeThe total of the Credit Note(subtotal + total tax)
Format: double
Total (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
TotalTaxJSONOptional
TotalTax (anyOf 1)numberAlternativeThe total tax on the credit note
Format: double
TotalTax (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
TypestringOptionalSee Credit Note Types
Known values: ACCPAYCREDIT, ACCRECCREDIT
UpdatedDateUTCstringOptionalUTC timestamp of last update to the credit note
Read only: true
UpdatedDateUTCStringstringOptionalUTC ISO-8601 formatted timestamp of last update to the credit note
Read only: true
ValidationErrorsarrayOptionalDisplays array of validation error messages from the API
ValidationErrors[]ModelEach itemExpand Retrieves journals — response body — Warnings item
WarningsarrayOptionalDisplays array of warning messages from the API
Warnings[]ModelEach itemExpand Retrieves journals — response body — Warnings item

Referenced models: Deletes an Allocation from a Prepayment — response body — Invoice Currency Code, Deletes an Allocation from a Prepayment — response body, Creates contacts to a specific contact group — response body — Contacts item, Deletes an Allocation from a Prepayment — response body — Invoice Invoice Addresses item, Deletes an Allocation from a Prepayment — response body — Invoice Line Items item, Retrieves payments for invoices and credit notes — response body — Payments item, Retrieves journals — response body — Warnings item

Deletes an Allocation from a Prepayment — response body — Invoice

FieldTypePresenceDescription and constraints
$objectRoot
AmountCreditedJSONOptional
AmountCredited (anyOf 1)numberAlternativeSum of all credit notes, over-payments and pre-payments applied to invoice
Format: double
Read only: true
AmountCredited (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
AmountDueJSONOptional
AmountDue (anyOf 1)numberAlternativeAmount remaining to be paid on invoice
Format: double
Read only: true
AmountDue (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
AmountPaidJSONOptional
AmountPaid (anyOf 1)numberAlternativeSum of payments received for invoice
Format: double
Read only: true
AmountPaid (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
AttachmentsarrayOptionalDisplays array of attachments from the API
Attachments[]ModelEach itemExpand create Contact Attachment By File Name — response body — Attachments item
BrandingThemeIDstringOptionalSee BrandingThemes
Format: uuid
CISDeductionJSONOptional
CISDeduction (anyOf 1)numberAlternativeCIS deduction for UK contractors
Format: double
Read only: true
CISDeduction (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
CISRateJSONOptional
CISRate (anyOf 1)numberAlternativeCIS Deduction rate for the organisation
Format: double
Read only: true
CISRate (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
ContactModelOptionalExpand Creates contacts to a specific contact group — response body — Contacts item
CreditNotesarrayOptionalDetails of credit notes that have been applied to an invoice
Read only: true
CreditNotes[]ModelEach itemExpand Deletes an Allocation from a Prepayment — response body — Credit Note
CurrencyCodeModelOptionalExpand Deletes an Allocation from a Prepayment — response body — Invoice Currency Code
CurrencyRateJSONOptional
CurrencyRate (anyOf 1)numberAlternativeThe currency rate for a multicurrency invoice. If no rate is specified, the XE.com day rate is used. (max length = [18].[6])
Format: double
CurrencyRate (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
DatestringOptionalDate 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
DueDatestringOptionalDate invoice is due – YYYY-MM-DD
EnteredTotalJSONOptional
EnteredTotal (anyOf 1)numberAlternativeThe total amount as originally entered for the invoice, before any RoundingAmount adjustment is applied. Only applies to ACCPAY and ACCREC invoices, and only if this opt-in capability has been enabled for your organisation. Can only be set while the invoice is DRAFT; once the invoice is no longer DRAFT this reflects Total. This field is only settable and only returned via the Create and Update endpoints (POST/PUT) and when retrieving a single invoice by ID (GET by ID) – it is not returned when listing invoices (GET)

Format: double
EnteredTotal (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
ExpectedPaymentDatestringOptionalShown on sales invoices (Accounts Receivable) when this has been set
FullyPaidOnDatestringOptionalThe date the invoice was fully paid. Only returned on fully paid invoices
Read only: true
HasAttachmentsbooleanOptionalboolean to indicate if an invoice has an attachment
Default: false
Read only: true
HasErrorsbooleanOptionalA boolean to indicate if a invoice has an validation errors
Default: false
InvoiceAddressesarrayOptionalAn array of addresses used to auto calculate sales tax
InvoiceAddresses[]ModelEach itemExpand Deletes an Allocation from a Prepayment — response body — Invoice Invoice Addresses item
InvoiceIDstringOptionalXero generated unique identifier for invoice
Format: uuid
InvoiceNumberstringOptionalACCREC – Unique alpha numeric code identifying invoice (when missing will auto-generate from your Organisation Invoice Settings) (max length = 255)
Maximum length: 255
IsDiscountedbooleanOptionalboolean to indicate if an invoice has a discount
Read only: true
LineAmountTypesstringOptionalLine amounts are exclusive of tax by default if you don’t specify this element. See Line Amount Types
Known values: Exclusive, Inclusive, NoTax
LineItemsarrayOptionalSee LineItems
LineItems[]ModelEach itemExpand Deletes an Allocation from a Prepayment — response body — Invoice Line Items item
OverpaymentsarrayOptionalSee Overpayments
Read only: true
Overpayments[]ModelEach itemExpand Deletes an Allocation from a Prepayment — response body — Overpayment
PaymentsarrayOptionalSee Payments
Read only: true
Payments[]ModelEach itemExpand Retrieves payments for invoices and credit notes — response body — Payments item
PlannedPaymentDatestringOptionalShown on bills (Accounts Payable) when this has been set
PrepaymentsarrayOptionalSee Prepayments
Read only: true
Prepayments[]ModelEach itemExpand Deletes an Allocation from a Prepayment — response body — Prepayment
ReferencestringOptionalACCREC only – additional reference number
RepeatingInvoiceIDstringOptionalXero generated unique identifier for repeating invoices
Format: uuid
RoundingAmountJSONOptional
RoundingAmount (anyOf 1)numberAlternativeAn optional rounding adjustment added to SubTotal + TotalTax to give Total (i.e. Total = SubTotal + TotalTax + RoundingAmount). Only applies to ACCPAY and ACCREC invoices, and only if this opt-in capability has been enabled for your organisation. Not validated while the invoice is DRAFT. For SUBMITTED and AUTHORISED invoices, RoundingAmount is only applied when SubTotal, TotalTax and Total are all supplied together, and must be between -0.10 and 0.10 – values outside this range are rejected with a validation error (on DRAFT invoices, an out-of-range value is ignored instead). This field is only settable and only returned via the Create and Update endpoints (POST/PUT) and when retrieving a single invoice by ID (GET by ID) – it is not returned when listing invoices (GET)

Format: double
RoundingAmount (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
SentToContactbooleanOptionalBoolean 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
StatusstringOptionalSee Invoice Status Codes
Known values: DRAFT, SUBMITTED, DELETED, AUTHORISED, PAID, VOIDED
StatusAttributeStringstringOptionalA string to indicate if a invoice status
SubTotalJSONOptional
SubTotal (anyOf 1)numberAlternativeTotal of invoice excluding taxes. Calculated automatically by Xero from the invoice's line items. Only for ACCPAY and ACCREC invoices, where this opt-in capability is enabled for your organisation, can SubTotal be supplied on write – on a SUBMITTED or AUTHORISED invoice supplied together with TotalTax and Total, it is validated against the calculated line item totals (see RoundingAmount); it is ignored in all other cases. This write behaviour, and the returned value reflecting it, only applies to the Create and Update endpoints (POST/PUT) and to retrieving a single invoice by ID (GET by ID) – it does not apply when listing invoices (GET)

Format: double
SubTotal (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
TotalJSONOptional
Total (anyOf 1)numberAlternativeTotal of Invoice tax inclusive (i.e. SubTotal + TotalTax + RoundingAmount). Calculated automatically by Xero from the invoice's line items. Only for ACCPAY and ACCREC invoices, where this opt-in capability is enabled for your organisation, can Total be supplied on write – on a SUBMITTED or AUTHORISED invoice supplied together with SubTotal and TotalTax, it is validated against the calculated line item totals plus RoundingAmount; in all other cases this will be ignored if it does not equal the sum of the LineAmounts. This write behaviour, and the returned value reflecting it, only applies to the Create and Update endpoints (POST/PUT) and to retrieving a single invoice by ID (GET by ID) – it does not apply when listing invoices (GET)

Format: double
Total (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
TotalDiscountJSONOptional
TotalDiscount (anyOf 1)numberAlternativeTotal of discounts applied on the invoice line items
Format: double
Read only: true
TotalDiscount (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
TotalTaxJSONOptional
TotalTax (anyOf 1)numberAlternativeTotal tax on invoice. Calculated automatically by Xero from the invoice's line items. Only for ACCPAY and ACCREC invoices, where this opt-in capability is enabled for your organisation, can TotalTax be supplied on write – on a SUBMITTED or AUTHORISED invoice supplied together with SubTotal and Total, it is validated against the calculated line item totals (see RoundingAmount); it is ignored in all other cases. This write behaviour, and the returned value reflecting it, only applies to the Create and Update endpoints (POST/PUT) and to retrieving a single invoice by ID (GET by ID) – it does not apply when listing invoices (GET)

Format: double
TotalTax (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
TypestringOptionalSee Invoice Types
Known values: ACCPAY, ACCPAYCREDIT, APOVERPAYMENT, APPREPAYMENT, ACCREC, ACCRECCREDIT, AROVERPAYMENT, ARPREPAYMENT
UpdatedDateUTCstringOptionalUTC timestamp of last update to the invoice
Read only: true
UpdatedDateUTCStringstringOptionalUTC ISO-8601 formatted timestamp of last update to the invoice
Read only: true
UrlstringOptionalURL link to a source document – shown as “Go to [appName]” in the Xero app
ValidationErrorsarrayOptionalDisplays array of validation error messages from the API
ValidationErrors[]ModelEach itemExpand Retrieves journals — response body — Warnings item
WarningsarrayOptionalDisplays array of warning messages from the API
Warnings[]ModelEach itemExpand Retrieves journals — response body — Warnings item

Referenced models: Deletes an Allocation from a Prepayment — response body — Invoice Currency Code, create Contact Attachment By File Name — response body — Attachments item, Creates contacts to a specific contact group — response body — Contacts item, Deletes an Allocation from a Prepayment — response body — Credit Note, Deletes an Allocation from a Prepayment — response body — Invoice Invoice Addresses item, Deletes an Allocation from a Prepayment — response body — Invoice Line Items item, Deletes an Allocation from a Prepayment — response body — Overpayment, Retrieves payments for invoices and credit notes — response body — Payments item, Deletes an Allocation from a Prepayment — response body — Prepayment, Retrieves journals — response body — Warnings item

Deletes an Allocation from a Prepayment — response body — Invoice Currency Code

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

Deletes an Allocation from a Prepayment — response body — Invoice Invoice Addresses item

FieldTypePresenceDescription and constraints
$objectRoot
AddressLine1stringOptionalFirst line of a physical address
AddressLine2stringOptionalSecond line of a physical address
AddressLine3stringOptionalThird line of a physical address
AddressLine4stringOptionalFourth line of a physical address
CitystringOptionalCity of a physical address
CountrystringOptionalCountry of a physical address
InvoiceAddressTypestringOptionalIndicates whether the address is defined as origin (FROM) or destination (TO)
Known values: FROM, TO
PostalCodestringOptionalPostal code of a physical address
RegionstringOptionalRegion or state of a physical address

Deletes an Allocation from a Prepayment — response body — Invoice Line Items item

FieldTypePresenceDescription and constraints
$objectRoot
AccountCodestringOptionalSee Accounts
AccountIDstringOptionalThe associated account ID related to this line item
Format: uuid
DescriptionstringOptionalDescription 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 <Description> element that contains at least 1 character
DiscountAmountJSONOptional
DiscountAmount (anyOf 1)numberAlternativeDiscount 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.
Format: double
DiscountAmount (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
DiscountRateJSONOptional
DiscountRate (anyOf 1)numberAlternativePercentage discount being applied to a line item (only supported on ACCREC invoices – ACC PAY invoices and credit notes in Xero do not support discounts
Format: double
DiscountRate (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
ItemModelOptionalExpand Deletes an Allocation from a Prepayment — response body — Invoice Line Items item Item
ItemCodestringOptionalSee Items
LineAmountJSONOptional
LineAmount (anyOf 1)numberAlternativeIf 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
Format: double
LineAmount (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
LineItemIDstringOptionalLineItem unique ID
Format: uuid
QuantityJSONOptional
Quantity (anyOf 1)numberAlternativeLineItem Quantity
Format: double
Quantity (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
RepeatingInvoiceIDstringOptionalThe Xero identifier for a Repeating Invoice
Format: uuid
SalesTaxCodeIdJSONOptional
SalesTaxCodeId (anyOf 1)numberAlternativeThe ID of the sales tax code
SalesTaxCodeId (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
TaxAmountJSONOptional
TaxAmount (anyOf 1)numberAlternativeThe 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 <TaxAmount> is not correct.
Format: double
TaxAmount (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
TaxBreakdownarrayOptionalAn array of tax components defined for this line item
TaxBreakdown[]ModelEach itemExpand Deletes an Allocation from a Prepayment — response body — Invoice Line Items item Tax Breakdown item
TaxTypestringOptionalThe tax type from TaxRates
TaxabilitystringOptionalThe type of taxability
Known values: TAXABLE, NON_TAXABLE, EXEMPT, PART_TAXABLE, NOT_APPLICABLE
TrackingarrayOptionalOptional Tracking Category – see Tracking. Any LineItem can have a maximum of 2 <TrackingCategory> elements.
Tracking[]ModelEach itemExpand Deletes an Allocation from a Prepayment — response body — Invoice Line Items item Tracking item
UnitAmountJSONOptional
UnitAmount (anyOf 1)numberAlternativeLineItem Unit Amount
Format: double
UnitAmount (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$

Referenced models: Deletes an Allocation from a Prepayment — response body — Invoice Line Items item Item, Deletes an Allocation from a Prepayment — response body — Invoice Line Items item Tracking item, Deletes an Allocation from a Prepayment — response body — Invoice Line Items item Tax Breakdown item

Deletes an Allocation from a Prepayment — response body — Invoice Line Items item Item

FieldTypePresenceDescription and constraints
$JSONRoot
CodestringOptionalUser defined item code (max length = 30)
Maximum length: 30
ItemIDstringOptionalThe Xero identifier for an Item
Format: uuid
NamestringOptionalThe name of the item (max length = 50)
Maximum length: 50

Deletes an Allocation from a Prepayment — response body — Invoice Line Items item Tax Breakdown item

FieldTypePresenceDescription and constraints
$objectRoot
ExemptAmountJSONOptional
ExemptAmount (anyOf 1)numberAlternativeThe amount that is exempt
ExemptAmount (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
JurisdictionRegionstringOptionalName identifying the region within the country
NamestringOptionalThe name of the jurisdiction
NonTaxableAmountJSONOptional
NonTaxableAmount (anyOf 1)numberAlternativeThe amount that is not taxable
NonTaxableAmount (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
StateAssignedNostringOptionalThe state assigned number of the jurisdiction
TaxAmountJSONOptional
TaxAmount (anyOf 1)numberAlternativeThe amount of the tax
TaxAmount (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
TaxComponentIdstringOptionalThe unique ID number of this component
Format: uuid
TaxPercentageJSONOptional
TaxPercentage (anyOf 1)numberAlternativeThe percentage of the tax
TaxPercentage (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
TaxableAmountJSONOptional
TaxableAmount (anyOf 1)numberAlternativeThe amount that is taxable
TaxableAmount (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
TypestringOptionalThe type of the jurisdiction
Known values: SYSGST/USCOUNTRY, SYSGST/USSTATE, SYSGST/USCOUNTY, SYSGST/USCITY, SYSGST/USSPECIAL

Deletes an Allocation from a Prepayment — response body — Invoice Line Items item Tracking item

FieldTypePresenceDescription and constraints
$objectRoot
NamestringOptionalThe name of the tracking category
Maximum length: 100
OptionstringOptionalSee Tracking Options
TrackingCategoryIDstringOptionalThe Xero identifier for a tracking category
Format: uuid
TrackingOptionIDstringOptionalThe Xero identifier for a tracking category option
Format: uuid

Deletes an Allocation from a Prepayment — response body — Overpayment

FieldTypePresenceDescription and constraints
$objectRoot
AllocationsarrayOptionalSee Allocations
Allocations[]ModelEach itemExpand Deletes an Allocation from a Prepayment — response body
AppliedAmountJSONOptional
AppliedAmount (anyOf 1)numberAlternativeThe amount of applied to an invoice
Format: double
AppliedAmount (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
AttachmentsarrayOptionalSee Attachments
Attachments[]ModelEach itemExpand create Contact Attachment By File Name — response body — Attachments item
ContactModelOptionalExpand Creates contacts to a specific contact group — response body — Contacts item
CurrencyCodeModelOptionalExpand Deletes an Allocation from a Prepayment — response body — Invoice Currency Code
CurrencyRateJSONOptional
CurrencyRate (anyOf 1)numberAlternativeThe currency rate for a multicurrency overpayment. If no rate is specified, the XE.com day rate is used
Format: double
CurrencyRate (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
DatestringOptionalThe date the overpayment is created YYYY-MM-DD
HasAttachmentsbooleanOptionalboolean to indicate if a overpayment has an attachment
Default: false
Read only: true
LineAmountTypesstringOptionalLine amounts are exclusive of tax by default if you don’t specify this element. See Line Amount Types
Known values: Exclusive, Inclusive, NoTax
LineItemsarrayOptionalSee Overpayment Line Items
LineItems[]ModelEach itemExpand Deletes an Allocation from a Prepayment — response body — Invoice Line Items item
OverpaymentIDstringOptionalXero generated unique identifier
Format: uuid
PaymentsarrayOptionalSee Payments
Payments[]ModelEach itemExpand Retrieves payments for invoices and credit notes — response body — Payments item
ReferencestringOptionalAn optional description for Overpayment
RemainingCreditJSONOptional
RemainingCredit (anyOf 1)numberAlternativeThe remaining credit balance on the overpayment
Format: double
RemainingCredit (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
StatusstringOptionalSee Overpayment Status Codes
Known values: AUTHORISED, PAID, VOIDED
SubTotalJSONOptional
SubTotal (anyOf 1)numberAlternativeThe subtotal of the overpayment excluding taxes
Format: double
SubTotal (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
TotalJSONOptional
Total (anyOf 1)numberAlternativeThe total of the overpayment (subtotal + total tax)
Format: double
Total (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
TotalTaxJSONOptional
TotalTax (anyOf 1)numberAlternativeThe total tax on the overpayment
Format: double
TotalTax (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
TypestringOptionalSee Overpayment Types
Known values: RECEIVE-OVERPAYMENT, SPEND-OVERPAYMENT, AROVERPAYMENT
UpdatedDateUTCstringOptionalUTC timestamp of last update to the overpayment
Read only: true
UpdatedDateUTCStringstringOptionalUTC ISO-8601 formatted timestamp of last update to the overpayment
Read only: true

Referenced models: Deletes an Allocation from a Prepayment — response body — Invoice Currency Code, Deletes an Allocation from a Prepayment — response body, create Contact Attachment By File Name — response body — Attachments item, Creates contacts to a specific contact group — response body — Contacts item, Deletes an Allocation from a Prepayment — response body — Invoice Line Items item, Retrieves payments for invoices and credit notes — response body — Payments item

Deletes an Allocation from a Prepayment — response body — Prepayment

FieldTypePresenceDescription and constraints
$objectRoot
AllocationsarrayOptionalSee Allocations
Allocations[]ModelEach itemExpand Deletes an Allocation from a Prepayment — response body
AppliedAmountJSONOptional
AppliedAmount (anyOf 1)numberAlternativeThe amount of applied to an invoice
Format: double
AppliedAmount (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
AttachmentsarrayOptionalSee Attachments
Attachments[]ModelEach itemExpand create Contact Attachment By File Name — response body — Attachments item
BrandingThemeIDstringOptionalThe unique identifier of the branding template applied to a receive prepayment
Format: uuid
Read only: true
ContactModelOptionalExpand Creates contacts to a specific contact group — response body — Contacts item
CurrencyCodeModelOptionalExpand Deletes an Allocation from a Prepayment — response body — Invoice Currency Code
CurrencyRateJSONOptional
CurrencyRate (anyOf 1)numberAlternativeThe currency rate for a multicurrency prepayment. If no rate is specified, the XE.com day rate is used
Format: double
CurrencyRate (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
DatestringOptionalThe date the prepayment is created YYYY-MM-DD
HasAttachmentsbooleanOptionalboolean to indicate if a prepayment has an attachment
Default: false
Read only: true
InvoiceNumberstringOptionalReturns Invoice number for prepayment receive document only.
Read only: true
LineAmountTypesstringOptionalLine amounts are exclusive of tax by default if you don’t specify this element. See Line Amount Types
Known values: Exclusive, Inclusive, NoTax
LineItemsarrayOptionalSee Prepayment Line Items
LineItems[]ModelEach itemExpand Deletes an Allocation from a Prepayment — response body — Invoice Line Items item
PaymentsarrayOptionalSee Payments
Payments[]ModelEach itemExpand Retrieves payments for invoices and credit notes — response body — Payments item
PrepaymentIDstringOptionalXero generated unique identifier
Format: uuid
ReferencestringOptionalReturns Invoice number field. Reference field isn't available.
Read only: true
RemainingCreditJSONOptional
RemainingCredit (anyOf 1)numberAlternativeThe remaining credit balance on the prepayment
Format: double
RemainingCredit (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
StatusstringOptionalSee Prepayment Status Codes
Known values: AUTHORISED, PAID, VOIDED
SubTotalJSONOptional
SubTotal (anyOf 1)numberAlternativeThe subtotal of the prepayment excluding taxes
Format: double
SubTotal (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
TotalJSONOptional
Total (anyOf 1)numberAlternativeThe total of the prepayment(subtotal + total tax)
Format: double
Total (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
TotalTaxJSONOptional
TotalTax (anyOf 1)numberAlternativeThe total tax on the prepayment
Format: double
TotalTax (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
TypestringOptionalSee Prepayment Types
Known values: RECEIVE-PREPAYMENT, SPEND-PREPAYMENT, ARPREPAYMENT, APPREPAYMENT
UpdatedDateUTCstringOptionalUTC timestamp of last update to the prepayment
Read only: true
UpdatedDateUTCStringstringOptionalUTC ISO-8601 formatted timestamp of last update to the prepayment
Read only: true

Referenced models: Deletes an Allocation from a Prepayment — response body — Invoice Currency Code, Deletes an Allocation from a Prepayment — response body, create Contact Attachment By File Name — response body — Attachments item, Creates contacts to a specific contact group — response body — Contacts item, Deletes an Allocation from a Prepayment — response body — Invoice Line Items item, Retrieves payments for invoices and credit notes — response body — Payments item

Deletes one or more bank transfers — request body — body

FieldTypePresenceDescription and constraints
$objectRoot
BankTransfersarrayOptional
BankTransfers[]ModelEach itemExpand Deletes one or more bank transfers — request body — body Bank Transfers item

Referenced models: Deletes one or more bank transfers — request body — body Bank Transfers item

Deletes one or more bank transfers — request body — body Bank Transfers item

FieldTypePresenceDescription and constraints
$objectRoot
BankTransferIDstringRequired within parentThe Xero identifier for a bank transfer
Format: uuid
StatusstringRequired within parentThe status of the bank transfer.
Default: DELETED

Retrieve a list of budgets — response body

FieldTypePresenceDescription and constraints
$objectRoot
BudgetsarrayOptional
Budgets[]ModelEach itemExpand Retrieve a list of budgets — response body — Budgets item

Referenced models: Retrieve a list of budgets — response body — Budgets item

Retrieve a list of budgets — response body — Budgets item

FieldTypePresenceDescription and constraints
$objectRoot
BudgetIDstringOptionalXero identifier
Format: uuid
BudgetLinesarrayOptional
BudgetLines[]ModelEach itemExpand Retrieve a list of budgets — response body — Budgets item Budget Lines item
DescriptionstringOptionalThe Budget description
Maximum length: 255
TrackingarrayOptional
Tracking[]ModelEach itemExpand Create tracking categories — response body — Tracking Categories item
TypestringOptionalType of Budget. OVERALL or TRACKING
Known values: OVERALL, TRACKING
UpdatedDateUTCstringOptionalUTC timestamp of last update to budget
Read only: true

Referenced models: Retrieve a list of budgets — response body — Budgets item Budget Lines item, Create tracking categories — response body — Tracking Categories item

Retrieve a list of budgets — response body — Budgets item Budget Lines item

FieldTypePresenceDescription and constraints
$objectRoot
AccountCodestringOptionalSee Accounts
AccountIDstringOptionalSee Accounts
Format: uuid
BudgetBalancesarrayOptional
BudgetBalances[]ModelEach itemExpand Retrieve a list of budgets — response body — Budgets item Budget Lines item Budget Balances item

Referenced models: Retrieve a list of budgets — response body — Budgets item Budget Lines item Budget Balances item

Retrieve a list of budgets — response body — Budgets item Budget Lines item Budget Balances item

FieldTypePresenceDescription and constraints
$objectRoot
AmountJSONOptional
Amount (anyOf 1)numberAlternativeLineItem Quantity
Format: double
Amount (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
NotesstringOptionalAny footnotes associated with this balance
Maximum length: 255
PeriodstringOptionalPeriod the amount applies to (e.g. “2019-08”)
UnitAmountJSONOptional
UnitAmount (anyOf 1)numberAlternativeBudgeted amount
Format: double
UnitAmount (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$

Retrieve reports for 1099 — response body

FieldTypePresenceDescription and constraints
$objectRoot
ReportsarrayOptional
Reports[]ModelEach itemExpand Retrieve reports for 1099 — response body — Reports item

Referenced models: Retrieve reports for 1099 — response body — Reports item

Retrieve reports for 1099 — response body — Reports item

FieldTypePresenceDescription and constraints
$JSONRoot
ContactsarrayOptional
Contacts[]ModelEach itemExpand Retrieve reports for 1099 — response body — Reports item Contacts item
ReportDatestringOptionalDate of report
ReportNamestringOptionalSee Prepayment Types
ReportTitlestringOptionalSee Prepayment Types
ReportTypestringOptionalSee Prepayment Types
Known values: AgedPayablesByContact
UpdatedDateUTCstringOptionalUpdated Date
Read only: true

Referenced models: Retrieve reports for 1099 — response body — Reports item Contacts item

Retrieve reports for 1099 — response body — Reports item Contacts item

FieldTypePresenceDescription and constraints
$JSONRoot
Box1JSONOptional
Box1 (anyOf 1)numberAlternativeBox 1 on 1099 Form
Format: double
Box1 (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
Box10JSONOptional
Box10 (anyOf 1)numberAlternativeBox 10 on 1099 Form
Format: double
Box10 (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
Box11JSONOptional
Box11 (anyOf 1)numberAlternativeBox 11 on 1099 Form
Format: double
Box11 (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
Box13JSONOptional
Box13 (anyOf 1)numberAlternativeBox 13 on 1099 Form
Format: double
Box13 (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
Box14JSONOptional
Box14 (anyOf 1)numberAlternativeBox 14 on 1099 Form
Format: double
Box14 (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
Box2JSONOptional
Box2 (anyOf 1)numberAlternativeBox 2 on 1099 Form
Format: double
Box2 (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
Box3JSONOptional
Box3 (anyOf 1)numberAlternativeBox 3 on 1099 Form
Format: double
Box3 (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
Box4JSONOptional
Box4 (anyOf 1)numberAlternativeBox 4 on 1099 Form
Format: double
Box4 (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
Box5JSONOptional
Box5 (anyOf 1)numberAlternativeBox 5 on 1099 Form
Format: double
Box5 (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
Box6JSONOptional
Box6 (anyOf 1)numberAlternativeBox 6 on 1099 Form
Format: double
Box6 (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
Box7JSONOptional
Box7 (anyOf 1)numberAlternativeBox 7 on 1099 Form
Format: double
Box7 (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
Box8JSONOptional
Box8 (anyOf 1)numberAlternativeBox 8 on 1099 Form
Format: double
Box8 (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
Box9JSONOptional
Box9 (anyOf 1)numberAlternativeBox 9 on 1099 Form
Format: double
Box9 (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
BusinessNamestringOptionalContact business name
CitystringOptionalContact city on 1099 Form
ContactIdstringOptionalContact contact id
Format: uuid
EmailstringOptionalContact email on 1099 Form
FederalTaxClassificationstringOptionalContact federal tax classification
Known values: SOLE_PROPRIETOR, PARTNERSHIP, TRUST_OR_ESTATE, NONPROFIT, C_CORP, S_CORP, OTHER
FederalTaxIDTypestringOptionalContact Fed Tax ID type
LegalNamestringOptionalContact legal name
NamestringOptionalContact name on 1099 Form
StatestringOptionalContact State on 1099 Form
StreetAddressstringOptionalContact address on 1099 Form
TaxIDstringOptionalContact tax id on 1099 Form
ZipstringOptionalContact zip on 1099 Form

Retrieves CIS settings for a specific contact in a Xero organisation — response body

FieldTypePresenceDescription and constraints
$objectRoot
CISSettingsarrayOptional
CISSettings[]ModelEach itemExpand Retrieves CIS settings for a specific contact in a Xero organisation — response body — CIS Settings item

Referenced models: Retrieves CIS settings for a specific contact in a Xero organisation — response body — CIS Settings item

Retrieves CIS settings for a specific contact in a Xero organisation — response body — CIS Settings item

FieldTypePresenceDescription and constraints
$JSONRoot
CISEnabledbooleanOptionalBoolean that describes if the contact is a CIS Subcontractor
RateJSONOptional
Rate (anyOf 1)numberAlternativeCIS Deduction rate for the contact if he is a subcontractor. If the contact is not CISEnabled, then the rate is not returned
Format: double
Read only: true
Rate (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$

Retrieves Xero organisation details — response body

FieldTypePresenceDescription and constraints
$objectRoot
OrganisationsarrayOptional
Organisations[]ModelEach itemExpand Retrieves Xero organisation details — response body — Organisations item

Referenced models: Retrieves Xero organisation details — response body — Organisations item

Retrieves Xero organisation details — response body — Organisations item

FieldTypePresenceDescription and constraints
$objectRoot
APIKeystringOptionalDisplay a unique key used for Xero-to-Xero transactions
AddressesarrayOptionalAddress details for organisation – see Addresses
Addresses[]ModelEach itemExpand Retrieves Xero organisation details — response body — Organisations item Addresses item
BaseCurrencyModelOptionalExpand Deletes an Allocation from a Prepayment — response body — Invoice Currency Code
ClassstringOptionalOrganisation Classes describe which plan the Xero organisation is on (e.g. DEMO, TRIAL, PREMIUM)
Known values: DEMO, TRIAL, STARTER, STANDARD, PREMIUM, PREMIUM_20, PREMIUM_50, PREMIUM_100, LEDGER, GST_CASHBOOK, NON_GST_CASHBOOK, ULTIMATE, LITE, ULTIMATE_10, ULTIMATE_20, ULTIMATE_50, ULTIMATE_100, IGNITE, GROW, COMPREHENSIVE, SIMPLE, BASICLITE, ULTRA
CountryCodeModelOptionalExpand Retrieves Xero organisation details — response body — Organisations item Country Code
CreatedDateUTCstringOptionalTimestamp when the organisation was created in Xero
Read only: true
DefaultPurchasesTaxstringOptionalThe default for LineAmountTypes on purchase transactions
DefaultSalesTaxstringOptionalThe default for LineAmountTypes on sales transactions
EditionstringOptionalBUSINESS or PARTNER. Partner edition organisations are sold exclusively through accounting partners and have restricted functionality (e.g. no access to invoicing)
Known values: BUSINESS, PARTNER
EmployerIdentificationNumberstringOptionalShown if set. US Only.
EndOfYearLockDatestringOptionalShown if set. See lock dates
ExternalLinksarrayOptionalOrganisation profile links for popular services such as Facebook,Twitter, GooglePlus and LinkedIn. You can also add link to your website here. Shown if Organisation settings is updated in Xero. See ExternalLinks below
ExternalLinks[]ModelEach itemExpand Retrieves Xero organisation details — response body — Organisations item External Links item
FinancialYearEndDayJSONOptional
FinancialYearEndDay (anyOf 1)integerAlternativeCalendar day e.g. 0-31
FinancialYearEndDay (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
FinancialYearEndMonthJSONOptional
FinancialYearEndMonth (anyOf 1)integerAlternativeCalendar Month e.g. 1-12
FinancialYearEndMonth (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
IsDemoCompanybooleanOptionalBoolean to describe if organisation is a demo company.
LegalNamestringOptionalOrganisation name shown on Reports
LineOfBusinessstringOptionalDescription of business type as defined in Organisation settings
NamestringOptionalDisplay name of organisation shown in Xero
OrganisationEntityTypestringOptionalOrganisation Entity Type
Known values: ACCOUNTING_PRACTICE, COMPANY, CHARITY, CLUB_OR_SOCIETY, INDIVIDUAL, LOOK_THROUGH_COMPANY, NOT_FOR_PROFIT, PARTNERSHIP, S_CORPORATION, SELF_MANAGED_SUPERANNUATION_FUND, SOLE_TRADER, SUPERANNUATION_FUND, TRUST, PERSONAL, SINGLEMEMBERLLC, CCORPORATIONLLC, PARTNERSHIPLLC, SCORPORATIONLLC, LLC, NOTLLC, UNSPECIFIED
OrganisationIDstringOptionalUnique Xero identifier
Format: uuid
OrganisationStatusstringOptionalWill be set to ACTIVE if you can connect to organisation via the Xero API
OrganisationTypestringOptionalOrganisation Type
Known values: ACCOUNTING_PRACTICE, COMPANY, CHARITY, CLUB_OR_SOCIETY, INDIVIDUAL, LOOK_THROUGH_COMPANY, NOT_FOR_PROFIT, PARTNERSHIP, S_CORPORATION, SELF_MANAGED_SUPERANNUATION_FUND, SOLE_TRADER, SUPERANNUATION_FUND, TRUST, PERSONAL, SINGLEMEMBERLLC, CCORPORATIONLLC, PARTNERSHIPLLC, SCORPORATIONLLC, LLC, NOTLLC, UNSPECIFIED
PaymentTermsModelOptionalExpand Creates contacts to a specific contact group — response body — Contacts item Payment Terms
PaysTaxbooleanOptionalBoolean to describe if organisation is registered with a local tax authority i.e. true, false
PeriodLockDatestringOptionalShown if set. See lock dates
PhonesarrayOptionalPhones details for organisation – see Phones
Phones[]ModelEach itemExpand Creates contacts to a specific contact group — response body — Contacts item Phones item
RegistrationNumberstringOptionalShows for New Zealand, Australian and UK organisations
SalesTaxBasisstringOptionalThe accounting basis used for tax returns. See Sales Tax Basis
Known values: PAYMENTS, INVOICE, NONE, CASH, ACCRUAL, FLATRATECASH, FLATRATEACCRUAL, ACCRUALS
SalesTaxPeriodstringOptionalThe frequency with which tax returns are processed. See Sales Tax Period
Known values: MONTHLY, QUARTERLY1, QUARTERLY2, QUARTERLY3, ANNUALLY, ONEMONTHS, TWOMONTHS, SIXMONTHS, 1MONTHLY, 2MONTHLY, 3MONTHLY, 6MONTHLY, QUARTERLY, YEARLY, NONE
ShortCodestringOptionalA unique identifier for the organisation. Potential uses.
TaxNumberstringOptionalShown if set. Displays in the Xero UI as Tax File Number (AU), GST Number (NZ), VAT Number (UK) and Tax ID Number (US & Global).
TimezoneModelOptionalExpand Retrieves Xero organisation details — response body — Organisations item Timezone
VersionstringOptionalSee Version Types
Known values: AU, NZ, GLOBAL, UK, US, AUONRAMP, NZONRAMP, GLOBALONRAMP, UKONRAMP, USONRAMP

Referenced models: Deletes an Allocation from a Prepayment — response body — Invoice Currency Code, Retrieves Xero organisation details — response body — Organisations item Addresses item, Retrieves Xero organisation details — response body — Organisations item Country Code, Retrieves Xero organisation details — response body — Organisations item External Links item, Creates contacts to a specific contact group — response body — Contacts item Payment Terms, Creates contacts to a specific contact group — response body — Contacts item Phones item, Retrieves Xero organisation details — response body — Organisations item Timezone

Retrieves Xero organisation details — response body — Organisations item Addresses item

FieldTypePresenceDescription and constraints
$objectRoot
AddressLine1stringOptionalmax length = 500
Maximum length: 500
AddressLine2stringOptionalmax length = 500
Maximum length: 500
AddressLine3stringOptionalmax length = 500
Maximum length: 500
AddressLine4stringOptionalmax length = 500
Maximum length: 500
AddressTypestringOptionaldefine the type of address
Known values: POBOX, STREET, DELIVERY
AttentionTostringOptionalmax length = 255
Maximum length: 255
CitystringOptionalmax length = 255
Maximum length: 255
CountrystringOptionalmax length = 50, [A-Z], [a-z] only
Maximum length: 50
PostalCodestringOptionalmax length = 50
Maximum length: 50
RegionstringOptionalmax length = 255
Maximum length: 255

Retrieves Xero organisation details — response body — Organisations item Country Code

FieldTypePresenceDescription and constraints
$stringRootKnown values: AD, AE, AF, AG, AI, AL, AM, AN, AO, AQ, AR, AS, AT, AU, AW, AZ, BA, BB, BD, BE, BF, BG, BH, BI, BJ, BL, BM, BN, BO, BR, BS, BT, BW, BY, BZ, CA, CC, CD, CF, CG, CH, CI, CK, CL, CM, CN, CO, CR, CU, CV, CW, CX, CY, CZ, DE, DJ, DK, DM, DO, DZ, EC, EE, EG, EH, ER, ES, ET, FI, FJ, FK, FM, FO, FR, GA, GB, GD, GE, GG, GH, GI, GL, GM, GN, GQ, GR, GT, GU, GW, GY, HK, HN, HR, HT, HU, ID, IE, IL, IM, IN, IO, IQ, IR, IS, IT, JE, JM, JO, JP, KE, KG, KH, KI, KM, KN, KP, KR, KW, KY, KZ, LA, LB, LC, LI, LK, LR, LS, LT, LU, LV, LY, MA, MC, MD, ME, MF, MG, MH, MK, ML, MM, MN, MO, MP, MR, MS, MT, MU, MV, MW, MX, MY, MZ, NA, NC, NE, NG, NI, NL, NO, NP, NR, NU, NZ, OM, PA, PE, PF, PG, PH, PK, PL, PM, PN, PR, PS, PT, PW, PY, QA, RE, RO, RS, RU, RW, SA, SB, SC, SD, SE, SG, SH, SI, SJ, SK, SL, SM, SN, SO, SR, SS, ST, SV, SX, SY, SZ, TC, TD, TG, TH, TJ, TK, TL, TM, TN, TO, TR, TT, TV, TW, TZ, UA, UG, US, UY, UZ, VA, VC, VE, VG, VI, VN, VU, WF, WS, XK, YE, YT, ZA, ZM, ZW

Retrieves Xero organisation details — response body — Organisations item External Links item

FieldTypePresenceDescription and constraints
$objectRoot
DescriptionstringOptional
LinkTypestringOptionalSee External link types
Known values: Facebook, GooglePlus, LinkedIn, Twitter, Website
UrlstringOptionalURL for service e.g. http://twitter.com/xeroapi

Retrieves Xero organisation details — response body — Organisations item Timezone

FieldTypePresenceDescription and constraints
$stringRootTimezone specifications
Known values: AFGHANISTANSTANDARDTIME, ALASKANSTANDARDTIME, ALEUTIANSTANDARDTIME, ALTAISTANDARDTIME, ARABIANSTANDARDTIME, ARABICSTANDARDTIME, ARABSTANDARDTIME, ARGENTINASTANDARDTIME, ASTRAKHANSTANDARDTIME, ATLANTICSTANDARDTIME, AUSCENTRALSTANDARDTIME, AUSCENTRALWSTANDARDTIME, AUSEASTERNSTANDARDTIME, AZERBAIJANSTANDARDTIME, AZORESSTANDARDTIME, BAHIASTANDARDTIME, BANGLADESHSTANDARDTIME, BELARUSSTANDARDTIME, BOUGAINVILLESTANDARDTIME, CANADACENTRALSTANDARDTIME, CAPEVERDESTANDARDTIME, CAUCASUSSTANDARDTIME, CENAUSTRALIASTANDARDTIME, CENTRALAMERICASTANDARDTIME, CENTRALASIASTANDARDTIME, CENTRALBRAZILIANSTANDARDTIME, CENTRALEUROPEANSTANDARDTIME, CENTRALEUROPESTANDARDTIME, CENTRALPACIFICSTANDARDTIME, CENTRALSTANDARDTIME, CENTRALSTANDARDTIME(MEXICO), CHATHAMISLANDSSTANDARDTIME, CHINASTANDARDTIME, CUBASTANDARDTIME, DATELINESTANDARDTIME, EAFRICASTANDARDTIME, EASTERISLANDSTANDARDTIME, EASTERNSTANDARDTIME, EASTERNSTANDARDTIME(MEXICO), EAUSTRALIASTANDARDTIME, EEUROPESTANDARDTIME, EGYPTSTANDARDTIME, EKATERINBURGSTANDARDTIME, ESOUTHAMERICASTANDARDTIME, FIJISTANDARDTIME, FLESTANDARDTIME, GEORGIANSTANDARDTIME, GMTSTANDARDTIME, GREENLANDSTANDARDTIME, GREENWICHSTANDARDTIME, GTBSTANDARDTIME, HAITISTANDARDTIME, HAWAIIANSTANDARDTIME, INDIASTANDARDTIME, IRANSTANDARDTIME, ISRAELSTANDARDTIME, JORDANSTANDARDTIME, KALININGRADSTANDARDTIME, KAMCHATKASTANDARDTIME, KOREASTANDARDTIME, LIBYASTANDARDTIME, LINEISLANDSSTANDARDTIME, LORDHOWESTANDARDTIME, MAGADANSTANDARDTIME, MAGALLANESSTANDARDTIME, MARQUESASSTANDARDTIME, MAURITIUSSTANDARDTIME, MIDATLANTICSTANDARDTIME, MIDDLEEASTSTANDARDTIME, MONTEVIDEOSTANDARDTIME, MOROCCOSTANDARDTIME, MOUNTAINSTANDARDTIME, MOUNTAINSTANDARDTIME(MEXICO), MYANMARSTANDARDTIME, NAMIBIASTANDARDTIME, NCENTRALASIASTANDARDTIME, NEPALSTANDARDTIME, NEWFOUNDLANDSTANDARDTIME, NEWZEALANDSTANDARDTIME, NORFOLKSTANDARDTIME, NORTHASIAEASTSTANDARDTIME, NORTHASIASTANDARDTIME, NORTHKOREASTANDARDTIME, OMSKSTANDARDTIME, PACIFICSASTANDARDTIME, PACIFICSTANDARDTIME, PACIFICSTANDARDTIME(MEXICO), PAKISTANSTANDARDTIME, PARAGUAYSTANDARDTIME, QYZYLORDASTANDARDTIME, ROMANCESTANDARDTIME, RUSSIANSTANDARDTIME, RUSSIATIMEZONE10, RUSSIATIMEZONE11, RUSSIATIMEZONE3, SAEASTERNSTANDARDTIME, SAINTPIERRESTANDARDTIME, SAKHALINSTANDARDTIME, SAMOASTANDARDTIME, SAOTOMESTANDARDTIME, SAPACIFICSTANDARDTIME, SARATOVSTANDARDTIME, SAWESTERNSTANDARDTIME, SEASIASTANDARDTIME, SINGAPORESTANDARDTIME, SOUTHAFRICASTANDARDTIME, SOUTHSUDANSTANDARDTIME, SRILANKASTANDARDTIME, SUDANSTANDARDTIME, SYRIASTANDARDTIME, TAIPEISTANDARDTIME, TASMANIASTANDARDTIME, TOCANTINSSTANDARDTIME, TOKYOSTANDARDTIME, TOMSKSTANDARDTIME, TONGASTANDARDTIME, TRANSBAIKALSTANDARDTIME, TURKEYSTANDARDTIME, TURKSANDCAICOSSTANDARDTIME, ULAANBAATARSTANDARDTIME, USEASTERNSTANDARDTIME, USMOUNTAINSTANDARDTIME, UTC, UTC+12, UTC+13, UTC02, UTC08, UTC09, UTC11, VENEZUELASTANDARDTIME, VLADIVOSTOKSTANDARDTIME, VOLGOGRADSTANDARDTIME, WAUSTRALIASTANDARDTIME, WCENTRALAFRICASTANDARDTIME, WESTASIASTANDARDTIME, WESTBANKSTANDARDTIME, WESTPACIFICSTANDARDTIME, WEUROPESTANDARDTIME, WMONGOLIASTANDARDTIME, YAKUTSKSTANDARDTIME, YUKONSTANDARDTIME

Retrieves a URL to an online invoice — response body

FieldTypePresenceDescription and constraints
$objectRoot
OnlineInvoicesarrayOptional
OnlineInvoices[]ModelEach itemExpand Retrieves a URL to an online invoice — response body — Online Invoices item

Referenced models: Retrieves a URL to an online invoice — response body — Online Invoices item

Retrieves a URL to an online invoice — response body — Online Invoices item

FieldTypePresenceDescription and constraints
$objectRoot
OnlineInvoiceUrlstringOptionalthe URL to an online invoice

Retrieves a list of the key actions your app has permission to perform in the connected Xero organisation — response body

FieldTypePresenceDescription and constraints
$objectRoot
ActionsarrayOptional
Actions[]ModelEach itemExpand Retrieves a list of the key actions your app has permission to perform in the connected Xero organisation — response body — Actions item

Referenced models: Retrieves a list of the key actions your app has permission to perform in the connected Xero organisation — response body — Actions item

Retrieves a list of the key actions your app has permission to perform in the connected Xero organisation — response body — Actions item

FieldTypePresenceDescription and constraints
$JSONRoot
NamestringOptionalName of the actions for this organisation
StatusstringOptionalStatus of the action for this organisation
Known values: ALLOWED, NOT-ALLOWED

Retrieves all the branding themes — response body

FieldTypePresenceDescription and constraints
$objectRoot
BrandingThemesarrayOptional
BrandingThemes[]ModelEach itemExpand Retrieves all the branding themes — response body — Branding Themes item

Referenced models: Retrieves all the branding themes — response body — Branding Themes item

Retrieves all the branding themes — response body — Branding Themes item

FieldTypePresenceDescription and constraints
$objectRoot
BrandingThemeIDstringOptionalXero identifier
Format: uuid
CreatedDateUTCstringOptionalUTC timestamp of creation date of branding theme
Read only: true
LogoUrlstringOptionalThe location of the image file used as the logo on this branding theme
NamestringOptionalName of branding theme
SortOrderJSONOptional
SortOrder (anyOf 1)integerAlternativeInteger – ranked order of branding theme. The default branding theme has a value of 0
SortOrder (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
TypestringOptionalAlways INVOICE
Known values: INVOICE

Retrieves any spent or received money transactions — response body

FieldTypePresenceDescription and constraints
$objectRoot
BankTransactionsarrayOptional
BankTransactions[]ModelEach itemExpand Retrieves any spent or received money transactions — response body — Bank Transactions item
WarningsarrayOptionalDisplays array of warning messages from the API
Warnings[]ModelEach itemExpand Retrieves journals — response body — Warnings item
paginationModelOptionalExpand Retrieves prepayments — response body — pagination

Referenced models: Retrieves prepayments — response body — pagination, Retrieves any spent or received money transactions — response body — Bank Transactions item, Retrieves journals — response body — Warnings item

Retrieves any spent or received money transactions — response body — Bank Transactions item

FieldTypePresenceDescription and constraints
$objectRoot
BankAccountModelRequired within parentExpand Deletes a chart of accounts — response body — Accounts item
BankTransactionIDstringOptionalXero generated unique identifier for bank transaction
Format: uuid
ContactModelOptionalExpand Creates contacts to a specific contact group — response body — Contacts item
CurrencyCodeModelOptionalExpand Deletes an Allocation from a Prepayment — response body — Invoice Currency Code
CurrencyRateJSONOptional
CurrencyRate (anyOf 1)numberAlternativeExchange rate to base currency when money is spent or received. e.g.0.7500 Only used for bank transactions in non base currency. If this isn’t specified for non base currency accounts then either the user-defined rate (preference) or the XE.com day rate will be used. Setting currency is only supported on overpayments.
Format: double
CurrencyRate (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
DatestringOptionalDate of transaction – YYYY-MM-DD
HasAttachmentsbooleanOptionalBoolean to indicate if a bank transaction has an attachment
Default: false
Read only: true
IsReconciledbooleanOptionalBoolean to show if transaction is reconciled
LineAmountTypesstringOptionalLine amounts are exclusive of tax by default if you don’t specify this element. See Line Amount Types
Known values: Exclusive, Inclusive, NoTax
LineItemsarrayRequired within parentSee LineItems
LineItems[]ModelEach itemExpand Deletes an Allocation from a Prepayment — response body — Invoice Line Items item
OverpaymentIDstringOptionalXero generated unique identifier for an Overpayment. This will be returned on BankTransactions with a Type of SPEND-OVERPAYMENT or RECEIVE-OVERPAYMENT
Format: uuid
Read only: true
PrepaymentIDstringOptionalXero generated unique identifier for a Prepayment. This will be returned on BankTransactions with a Type of SPEND-PREPAYMENT or RECEIVE-PREPAYMENT
Format: uuid
Read only: true
ReferencestringOptionalReference for the transaction. Only supported for SPEND and RECEIVE transactions.
StatusstringOptionalSee Bank Transaction Status Codes
Known values: AUTHORISED, DELETED, VOIDED
StatusAttributeStringstringOptionalA string to indicate if a invoice status
SubTotalJSONOptional
SubTotal (anyOf 1)numberAlternativeTotal of bank transaction excluding taxes
Format: double
SubTotal (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
TotalJSONOptional
Total (anyOf 1)numberAlternativeTotal of bank transaction tax inclusive
Format: double
Total (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
TotalTaxJSONOptional
TotalTax (anyOf 1)numberAlternativeTotal tax on bank transaction
Format: double
TotalTax (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
TypestringRequired within parentSee Bank Transaction Types
Known values: RECEIVE, RECEIVE-OVERPAYMENT, RECEIVE-PREPAYMENT, SPEND, SPEND-OVERPAYMENT, SPEND-PREPAYMENT, RECEIVE-TRANSFER, SPEND-TRANSFER
UpdatedDateUTCstringOptionalLast modified date UTC format
Read only: true
UrlstringOptionalURL link to a source document – shown as “Go to App Name”
ValidationErrorsarrayOptionalDisplays array of validation error messages from the API
ValidationErrors[]ModelEach itemExpand Retrieves journals — response body — Warnings item

Referenced models: Deletes a chart of accounts — response body — Accounts item, Deletes an Allocation from a Prepayment — response body — Invoice Currency Code, Creates contacts to a specific contact group — response body — Contacts item, Deletes an Allocation from a Prepayment — response body — Invoice Line Items item, Retrieves journals — response body — Warnings item

Retrieves history for a specific item — response body

FieldTypePresenceDescription and constraints
$objectRoot
HistoryRecordsarrayOptional
HistoryRecords[]ModelEach itemExpand Retrieves history for a specific item — response body — History Records item

Referenced models: Retrieves history for a specific item — response body — History Records item

Retrieves history for a specific item — response body — History Records item

FieldTypePresenceDescription and constraints
$objectRoot
ChangesstringOptionalName of branding theme
DateUTCstringOptionalUTC timestamp of creation date of branding theme
Read only: true
DetailsstringOptionaldetails
UserstringOptionalhas a value of 0

Retrieves invoice reminder settings — response body

FieldTypePresenceDescription and constraints
$objectRoot
InvoiceRemindersarrayOptional
InvoiceReminders[]ModelEach itemExpand Retrieves invoice reminder settings — response body — Invoice Reminders item

Referenced models: Retrieves invoice reminder settings — response body — Invoice Reminders item

Retrieves invoice reminder settings — response body — Invoice Reminders item

FieldTypePresenceDescription and constraints
$objectRoot
EnabledbooleanOptionalsetting for on or off

Retrieves items — response body

FieldTypePresenceDescription and constraints
$objectRoot
ItemsarrayOptional
Items[]ModelEach itemExpand Retrieves items — response body — Items item

Referenced models: Retrieves items — response body — Items item

Retrieves items — response body — Items item

FieldTypePresenceDescription and constraints
$objectRoot
CodestringRequired within parentUser defined item code (max length = 30)
Maximum length: 30
DescriptionstringOptionalThe sales description of the item (max length = 4000)
Maximum length: 4000
InventoryAssetAccountCodestringOptionalThe inventory asset account for the item. The account must be of type INVENTORY. The COGSAccountCode in PurchaseDetails is also required to create a tracked item
IsPurchasedbooleanOptionalBoolean value, defaults to true. When IsPurchased is true the item is available for purchase transactions in the Xero UI. If IsPurchased is updated to false then PurchaseDescription and PurchaseDetails values will be nulled.
IsSoldbooleanOptionalBoolean value, defaults to true. When IsSold is true the item will be available on sales transactions in the Xero UI. If IsSold is updated to false then Description and SalesDetails values will be nulled.
IsTrackedAsInventorybooleanOptionalTrue for items that are tracked as inventory. An item will be tracked as inventory if the InventoryAssetAccountCode and COGSAccountCode are set.
ItemIDstringOptionalThe Xero identifier for an Item
Format: uuid
NamestringOptionalThe name of the item (max length = 50)
Maximum length: 50
PurchaseDescriptionstringOptionalThe purchase description of the item (max length = 4000)
Maximum length: 4000
PurchaseDetailsModelOptionalExpand Retrieves items — response body — Items item Sales Details
QuantityAvailableJSONOptional
QuantityAvailable (anyOf 1)numberAlternativeThe quantity of the item available. This is equal to `QuantityOnHand` - `QuantityOnBackOrder`. This value will be negative if `QuantityOnBackOrder` is greater than 0.
Format: double
Read only: true
QuantityAvailable (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
QuantityOnBackOrderJSONOptional
QuantityOnBackOrder (anyOf 1)numberAlternativeThe quantity of the item on backorder. This will be 0 if `QuantityOnHand` is greater than 0.
Format: double
Read only: true
QuantityOnBackOrder (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
QuantityOnHandJSONOptional
QuantityOnHand (anyOf 1)numberAlternativeThe quantity of the item on hand. This will be 0 if `QuantityOnBackOrder` is greater than 0.
Format: double
QuantityOnHand (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
SalesDetailsModelOptionalExpand Retrieves items — response body — Items item Sales Details
StatusAttributeStringstringOptionalStatus of object
TotalCostPoolJSONOptional
TotalCostPool (anyOf 1)numberAlternativeThe value of the item on hand. Calculated using average cost accounting.
Format: double
TotalCostPool (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
UpdatedDateUTCstringOptionalLast modified date in UTC format
Read only: true
ValidationErrorsarrayOptionalDisplays array of validation error messages from the API
ValidationErrors[]ModelEach itemExpand Retrieves journals — response body — Warnings item

Referenced models: Retrieves items — response body — Items item Sales Details, Retrieves journals — response body — Warnings item

Retrieves items — response body — Items item Sales Details

FieldTypePresenceDescription and constraints
$objectRoot
AccountCodestringOptionalDefault account code to be used for purchased/sale. Not applicable to the purchase details of tracked items
COGSAccountCodestringOptionalCost of goods sold account. Only applicable to the purchase details of tracked items.
TaxTypestringOptionalThe tax type from TaxRates
UnitPriceJSONOptional
UnitPrice (anyOf 1)numberAlternativeUnit Price of the item. By default UnitPrice is rounded to two decimal places. You can use 4 decimal places by adding the unitdp=4 querystring parameter to your request.
Format: double
UnitPrice (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$

Retrieves journals — response body

FieldTypePresenceDescription and constraints
$objectRoot
JournalsarrayOptional
Journals[]ModelEach itemExpand Retrieves journals — response body — Journals item
WarningsarrayOptionalDisplays array of warning messages from the API
Warnings[]ModelEach itemExpand Retrieves journals — response body — Warnings item

Referenced models: Retrieves journals — response body — Journals item, Retrieves journals — response body — Warnings item

Retrieves journals — response body — Journals item

FieldTypePresenceDescription and constraints
$objectRoot
CreatedDateUTCstringOptionalCreated date UTC format
Read only: true
JournalDatestringOptionalDate the journal was posted
JournalIDstringOptionalXero identifier
Format: uuid
JournalLinesarrayOptionalSee JournalLines
JournalLines[]ModelEach itemExpand Retrieves journals — response body — Journals item Journal Lines item
JournalNumberJSONOptional
JournalNumber (anyOf 1)integerAlternativeXero generated journal number
JournalNumber (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
ReferencestringOptionalreference field for additional indetifying information
SourceIDstringOptionalThe identifier for the source transaction (e.g. InvoiceID)
Format: uuid
SourceTypestringOptionalThe journal source type. The type of transaction that created the journal
Known values: ACCREC, ACCPAY, ACCRECCREDIT, ACCPAYCREDIT, ACCRECPAYMENT, ACCPAYPAYMENT, ARCREDITPAYMENT, APCREDITPAYMENT, CASHREC, CASHPAID, TRANSFER, ARPREPAYMENT, APPREPAYMENT, AROVERPAYMENT, APOVERPAYMENT, EXPCLAIM, EXPPAYMENT, MANJOURNAL, PAYSLIP, WAGEPAYABLE, INTEGRATEDPAYROLLPE, INTEGRATEDPAYROLLPT, EXTERNALSPENDMONEY, INTEGRATEDPAYROLLPTPAYMENT, INTEGRATEDPAYROLLCN

Referenced models: Retrieves journals — response body — Journals item Journal Lines item

Retrieves journals — response body — Journals item Journal Lines item

FieldTypePresenceDescription and constraints
$objectRoot
AccountCodestringOptionalSee Accounts
AccountIDstringOptionalSee Accounts
Format: uuid
AccountNamestringOptionalSee AccountCodes
AccountTypestringOptionalSee Account Types
Known values: BANK, CURRENT, CURRLIAB, DEPRECIATN, DIRECTCOSTS, EQUITY, EXPENSE, FIXED, INVENTORY, LIABILITY, NONCURRENT, OTHERINCOME, OVERHEADS, PREPAYMENT, REVENUE, SALES, TERMLIAB, PAYG
DescriptionstringOptionalThe description from the source transaction line item. Only returned if populated.
GrossAmountJSONOptional
GrossAmount (anyOf 1)numberAlternativeGross amount of journal line (NetAmount + TaxAmount).
Format: double
GrossAmount (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
JournalLineIDstringOptionalXero identifier for Journal
Format: uuid
NetAmountJSONOptional
NetAmount (anyOf 1)numberAlternativeNet amount of journal line. This will be a positive value for a debit and negative for a credit
Format: double
NetAmount (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
TaxAmountJSONOptional
TaxAmount (anyOf 1)numberAlternativeTotal tax on a journal line
Format: double
Read only: true
TaxAmount (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
TaxNamestringOptionalsee TaxRates
TaxTypestringOptionalThe tax type from taxRates
TrackingCategoriesarrayOptionalOptional Tracking Category – see Tracking. Any JournalLine can have a maximum of 2 <TrackingCategory> elements.
TrackingCategories[]ModelEach itemExpand Create tracking categories — response body — Tracking Categories item

Referenced models: Create tracking categories — response body — Tracking Categories item

Retrieves journals — response body — Warnings item

FieldTypePresenceDescription and constraints
$objectRoot
MessagestringOptionalValidation error message

Retrieves manual journals — response body

FieldTypePresenceDescription and constraints
$objectRoot
ManualJournalsarrayOptional
ManualJournals[]ModelEach itemExpand Retrieves manual journals — response body — Manual Journals item
WarningsarrayOptionalDisplays array of warning messages from the API
Warnings[]ModelEach itemExpand Retrieves journals — response body — Warnings item
paginationModelOptionalExpand Retrieves prepayments — response body — pagination

Referenced models: Retrieves prepayments — response body — pagination, Retrieves manual journals — response body — Manual Journals item, Retrieves journals — response body — Warnings item

Retrieves manual journals — response body — Manual Journals item

FieldTypePresenceDescription and constraints
$objectRoot
AttachmentsarrayOptionalDisplays array of attachments from the API
Attachments[]ModelEach itemExpand create Contact Attachment By File Name — response body — Attachments item
DatestringOptionalDate journal was posted – YYYY-MM-DD
HasAttachmentsbooleanOptionalBoolean to indicate if a manual journal has an attachment
Default: false
Read only: true
JournalLinesarrayOptionalSee JournalLines
JournalLines[]ModelEach itemExpand Retrieves manual journals — response body — Manual Journals item Journal Lines item
LineAmountTypesstringOptionalLine amounts are exclusive of tax by default if you don’t specify this element. See Line Amount Types
Known values: Exclusive, Inclusive, NoTax
ManualJournalIDstringOptionalThe Xero identifier for a Manual Journal
Format: uuid
NarrationstringRequired within parentDescription of journal being posted
ShowOnCashBasisReportsbooleanOptionalBoolean – default is true if not specified
StatusstringOptionalSee Manual Journal Status Codes
Known values: DRAFT, POSTED, DELETED, VOIDED, ARCHIVED
StatusAttributeStringstringOptionalA string to indicate if a invoice status
UpdatedDateUTCstringOptionalLast modified date UTC format
Read only: true
UrlstringOptionalUrl link to a source document – shown as “Go to [appName]” in the Xero app
ValidationErrorsarrayOptionalDisplays array of validation error messages from the API
ValidationErrors[]ModelEach itemExpand Retrieves journals — response body — Warnings item
WarningsarrayOptionalDisplays array of warning messages from the API
Warnings[]ModelEach itemExpand Retrieves journals — response body — Warnings item

Referenced models: create Contact Attachment By File Name — response body — Attachments item, Retrieves manual journals — response body — Manual Journals item Journal Lines item, Retrieves journals — response body — Warnings item

Retrieves manual journals — response body — Manual Journals item Journal Lines item

FieldTypePresenceDescription and constraints
$objectRoot
AccountCodestringOptionalSee Accounts
AccountIDstringOptionalSee Accounts
Format: uuid
DescriptionstringOptionalDescription for journal line
IsBlankbooleanOptionalis the line blank
LineAmountJSONOptional
LineAmount (anyOf 1)numberAlternativetotal for line. Debits are positive, credits are negative value
Format: double
LineAmount (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
TaxAmountJSONOptional
TaxAmount (anyOf 1)numberAlternativeThe calculated tax amount based on the TaxType and LineAmount
Format: double
TaxAmount (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
TaxTypestringOptionalThe tax type from TaxRates
TrackingarrayOptionalOptional Tracking Category – see Tracking. Any JournalLine can have a maximum of 2 <TrackingCategory> elements.
Tracking[]ModelEach itemExpand Create tracking categories — response body — Tracking Categories item

Referenced models: Create tracking categories — response body — Tracking Categories item

Retrieves overpayments — response body

FieldTypePresenceDescription and constraints
$objectRoot
OverpaymentsarrayOptional
Overpayments[]ModelEach itemExpand Deletes an Allocation from a Prepayment — response body — Overpayment
WarningsarrayOptionalDisplays array of warning messages from the API
Warnings[]ModelEach itemExpand Retrieves journals — response body — Warnings item
paginationModelOptionalExpand Retrieves prepayments — response body — pagination

Referenced models: Retrieves prepayments — response body — pagination, Deletes an Allocation from a Prepayment — response body — Overpayment, Retrieves journals — response body — Warnings item

Retrieves payments for invoices and credit notes — response body

FieldTypePresenceDescription and constraints
$objectRoot
PaymentsarrayOptional
Payments[]ModelEach itemExpand Retrieves payments for invoices and credit notes — response body — Payments item
WarningsarrayOptionalDisplays array of warning messages from the API
Warnings[]ModelEach itemExpand Retrieves journals — response body — Warnings item
paginationModelOptionalExpand Retrieves prepayments — response body — pagination

Referenced models: Retrieves prepayments — response body — pagination, Retrieves payments for invoices and credit notes — response body — Payments item, Retrieves journals — response body — Warnings item

Retrieves payments for invoices and credit notes — response body — Payments item

FieldTypePresenceDescription and constraints
$objectRoot
AccountModelOptionalExpand Deletes a chart of accounts — response body — Accounts item
AmountJSONOptional
Amount (anyOf 1)numberAlternativeThe amount of the payment. Must be less than or equal to the outstanding amount owing on the invoice e.g. 200.00
Format: double
Amount (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
BankAccountNumberstringOptionalThe suppliers bank account number the payment is being made to
BankAmountJSONOptional
BankAmount (anyOf 1)numberAlternativeThe amount of the payment in the currency of the bank account.
Format: double
BankAmount (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
BatchPaymentModelOptionalExpand Creates one or many batch payments for invoices — response body — Batch Payments item
BatchPaymentIDstringOptionalPresent if the payment was created as part of a batch.
Format: uuid
CodestringOptionalCode of account you are using to make the payment e.g. 001 (note- not all accounts have a code value)
CreditNoteModelOptionalExpand Deletes an Allocation from a Prepayment — response body — Credit Note
CreditNoteNumberstringOptionalNumber of invoice or credit note you are applying payment to e.g. INV-4003
CurrencyRateJSONOptional
CurrencyRate (anyOf 1)numberAlternativeExchange rate when payment is received. Only used for non base currency invoices and credit notes e.g. 0.7500
Format: double
CurrencyRate (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
DatestringOptionalDate the payment is being made (YYYY-MM-DD) e.g. 2009-09-06
DetailsstringOptionalThe information to appear on the supplier's bank account
HasAccountbooleanOptionalA boolean to indicate if a contact has an validation errors
Default: false
HasValidationErrorsbooleanOptionalA boolean to indicate if a contact has an validation errors
Default: false
InvoiceModelOptionalExpand Deletes an Allocation from a Prepayment — response body — Invoice
InvoiceNumberstringOptionalNumber of invoice or credit note you are applying payment to e.g.INV-4003
IsReconciledbooleanOptionalAn 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
OverpaymentModelOptionalExpand Deletes an Allocation from a Prepayment — response body — Overpayment
ParticularsstringOptionalThe suppliers bank account number the payment is being made to
PaymentIDstringOptionalThe Xero identifier for an Payment e.g. 297c2dc5-cc47-4afd-8ec8-74990b8761e9
Format: uuid
PaymentTypestringOptionalSee Payment Types.
Known values: ACCRECPAYMENT, ACCPAYPAYMENT, ARCREDITPAYMENT, APCREDITPAYMENT, AROVERPAYMENTPAYMENT, ARPREPAYMENTPAYMENT, APPREPAYMENTPAYMENT, APOVERPAYMENTPAYMENT
Read only: true
PrepaymentModelOptionalExpand Deletes an Allocation from a Prepayment — response body — Prepayment
ReferencestringOptionalAn optional description for the payment e.g. Direct Debit
StatusstringOptionalThe status of the payment.
Known values: AUTHORISED, DELETED
StatusAttributeStringstringOptionalA string to indicate if a invoice status
UpdatedDateUTCstringOptionalUTC timestamp of last update to the payment
Read only: true
UpdatedDateUTCStringstringOptionalUTC ISO-8601 formatted timestamp of last update to the payment
Read only: true
ValidationErrorsarrayOptionalDisplays array of validation error messages from the API
ValidationErrors[]ModelEach itemExpand Retrieves journals — response body — Warnings item
WarningsarrayOptionalDisplays array of warning messages from the API
Warnings[]ModelEach itemExpand Retrieves journals — response body — Warnings item

Referenced models: Deletes a chart of accounts — response body — Accounts item, Creates one or many batch payments for invoices — response body — Batch Payments item, Deletes an Allocation from a Prepayment — response body — Credit Note, Deletes an Allocation from a Prepayment — response body — Invoice, Deletes an Allocation from a Prepayment — response body — Overpayment, Deletes an Allocation from a Prepayment — response body — Prepayment, Retrieves journals — response body — Warnings item

Retrieves prepayments — response body

FieldTypePresenceDescription and constraints
$objectRoot
PrepaymentsarrayOptional
Prepayments[]ModelEach itemExpand Deletes an Allocation from a Prepayment — response body — Prepayment
WarningsarrayOptionalDisplays array of warning messages from the API
Warnings[]ModelEach itemExpand Retrieves journals — response body — Warnings item
paginationModelOptionalExpand Retrieves prepayments — response body — pagination

Referenced models: Retrieves prepayments — response body — pagination, Deletes an Allocation from a Prepayment — response body — Prepayment, Retrieves journals — response body — Warnings item

Retrieves prepayments — response body — pagination

FieldTypePresenceDescription and constraints
$objectRoot
itemCountJSONOptional
itemCount (anyOf 1)integerAlternative
itemCount (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
pageJSONOptional
page (anyOf 1)integerAlternative
page (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
pageCountJSONOptional
pageCount (anyOf 1)integerAlternative
pageCount (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
pageSizeJSONOptional
pageSize (anyOf 1)integerAlternative
pageSize (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$

Retrieves purchase orders — response body

FieldTypePresenceDescription and constraints
$objectRoot
PurchaseOrdersarrayOptional
PurchaseOrders[]ModelEach itemExpand Retrieves purchase orders — response body — Purchase Orders item
WarningsarrayOptionalDisplays array of warning messages from the API
Warnings[]ModelEach itemExpand Retrieves journals — response body — Warnings item
paginationModelOptionalExpand Retrieves prepayments — response body — pagination

Referenced models: Retrieves prepayments — response body — pagination, Retrieves purchase orders — response body — Purchase Orders item, Retrieves journals — response body — Warnings item

Retrieves purchase orders — response body — Purchase Orders item

FieldTypePresenceDescription and constraints
$objectRoot
AttachmentsarrayOptionalDisplays array of attachments from the API
Attachments[]ModelEach itemExpand create Contact Attachment By File Name — response body — Attachments item
AttentionTostringOptionalThe person that the delivery is going to
BrandingThemeIDstringOptionalSee BrandingThemes
Format: uuid
ContactModelOptionalExpand Creates contacts to a specific contact group — response body — Contacts item
CurrencyCodeModelOptionalExpand Deletes an Allocation from a Prepayment — response body — Invoice Currency Code
CurrencyRateJSONOptional
CurrencyRate (anyOf 1)numberAlternativeThe currency rate for a multicurrency purchase order. If no rate is specified, the XE.com day rate is used.
Format: double
CurrencyRate (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
DatestringOptionalDate purchase order was 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
DeliveryAddressstringOptionalThe address the goods are to be delivered to
DeliveryDatestringOptionalDate the goods are to be delivered – YYYY-MM-DD
DeliveryInstructionsstringOptionalA free text feild for instructions (500 characters max)
ExpectedArrivalDatestringOptionalThe date the goods are expected to arrive.
HasAttachmentsbooleanOptionalboolean to indicate if a purchase order has an attachment
Default: false
Read only: true
LineAmountTypesstringOptionalLine amounts are exclusive of tax by default if you don’t specify this element. See Line Amount Types
Known values: Exclusive, Inclusive, NoTax
LineItemsarrayOptionalSee LineItems
LineItems[]ModelEach itemExpand Deletes an Allocation from a Prepayment — response body — Invoice Line Items item
PurchaseOrderIDstringOptionalXero generated unique identifier for purchase order
Format: uuid
PurchaseOrderNumberstringOptionalUnique alpha numeric code identifying purchase order (when missing will auto-generate from your Organisation Invoice Settings)
ReferencestringOptionalAdditional reference number
SentToContactbooleanOptionalBoolean to set whether the purchase order should be marked as “sent”. This can be set only on purchase orders that have been approved or billed
StatusstringOptionalSee Purchase Order Status Codes
Known values: DRAFT, SUBMITTED, AUTHORISED, BILLED, DELETED
StatusAttributeStringstringOptionalA string to indicate if a invoice status
SubTotalJSONOptional
SubTotal (anyOf 1)numberAlternativeTotal of purchase order excluding taxes
Format: double
Read only: true
SubTotal (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
TelephonestringOptionalThe phone number for the person accepting the delivery
TotalJSONOptional
Total (anyOf 1)numberAlternativeTotal of Purchase Order tax inclusive (i.e. SubTotal + TotalTax)
Format: double
Read only: true
Total (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
TotalDiscountJSONOptional
TotalDiscount (anyOf 1)numberAlternativeTotal of discounts applied on the purchase order line items
Format: double
Read only: true
TotalDiscount (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
TotalTaxJSONOptional
TotalTax (anyOf 1)numberAlternativeTotal tax on purchase order
Format: double
Read only: true
TotalTax (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
UpdatedDateUTCstringOptionalLast modified date UTC format
Read only: true
ValidationErrorsarrayOptionalDisplays array of validation error messages from the API
ValidationErrors[]ModelEach itemExpand Retrieves journals — response body — Warnings item
WarningsarrayOptionalDisplays array of warning messages from the API
Warnings[]ModelEach itemExpand Retrieves journals — response body — Warnings item

Referenced models: Deletes an Allocation from a Prepayment — response body — Invoice Currency Code, create Contact Attachment By File Name — response body — Attachments item, Creates contacts to a specific contact group — response body — Contacts item, Deletes an Allocation from a Prepayment — response body — Invoice Line Items item, Retrieves journals — response body — Warnings item

Retrieves repeating invoices — response body

FieldTypePresenceDescription and constraints
$objectRoot
RepeatingInvoicesarrayOptional
RepeatingInvoices[]ModelEach itemExpand Retrieves repeating invoices — response body — Repeating Invoices item

Referenced models: Retrieves repeating invoices — response body — Repeating Invoices item

Retrieves repeating invoices — response body — Repeating Invoices item

FieldTypePresenceDescription and constraints
$objectRoot
ApprovedForSendingbooleanOptionalBoolean to indicate whether the invoice has been approved for sending
Default: false
AttachmentsarrayOptionalDisplays array of attachments from the API
Attachments[]ModelEach itemExpand create Contact Attachment By File Name — response body — Attachments item
BrandingThemeIDstringOptionalSee BrandingThemes
Format: uuid
ContactModelOptionalExpand Creates contacts to a specific contact group — response body — Contacts item
CurrencyCodeModelOptionalExpand Deletes an Allocation from a Prepayment — response body — Invoice Currency Code
HasAttachmentsbooleanOptionalBoolean to indicate if an invoice has an attachment
Default: false
Read only: true
IDstringOptionalXero generated unique identifier for repeating invoice template
Format: uuid
IncludePDFbooleanOptionalBoolean to indicate whether to include PDF attachment
Default: false
LineAmountTypesstringOptionalLine amounts are exclusive of tax by default if you don’t specify this element. See Line Amount Types
Known values: Exclusive, Inclusive, NoTax
LineItemsarrayOptionalSee LineItems
LineItems[]ModelEach itemExpand Deletes an Allocation from a Prepayment — response body — Invoice Line Items item
MarkAsSentbooleanOptionalBoolean to indicate whether the invoice in the Xero app displays as "sent"
Default: false
ReferencestringOptionalACCREC only – additional reference number
RepeatingInvoiceIDstringOptionalXero generated unique identifier for repeating invoice template
Format: uuid
ScheduleModelOptionalExpand Retrieves repeating invoices — response body — Repeating Invoices item Schedule
SendCopybooleanOptionalBoolean to indicate whether a copy is sent to sender's email
Default: false
StatusstringOptionalOne of the following - DRAFT or AUTHORISED – See Invoice Status Codes
Known values: DRAFT, AUTHORISED, DELETED
SubTotalJSONOptional
SubTotal (anyOf 1)numberAlternativeTotal of invoice excluding taxes
Format: double
SubTotal (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
TotalJSONOptional
Total (anyOf 1)numberAlternativeTotal of Invoice tax inclusive (i.e. SubTotal + TotalTax)
Format: double
Total (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
TotalTaxJSONOptional
TotalTax (anyOf 1)numberAlternativeTotal tax on invoice
Format: double
TotalTax (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
TypestringOptionalSee Invoice Types
Known values: ACCPAY, ACCREC

Referenced models: Deletes an Allocation from a Prepayment — response body — Invoice Currency Code, create Contact Attachment By File Name — response body — Attachments item, Creates contacts to a specific contact group — response body — Contacts item, Deletes an Allocation from a Prepayment — response body — Invoice Line Items item, Retrieves repeating invoices — response body — Repeating Invoices item Schedule

Retrieves repeating invoices — response body — Repeating Invoices item Schedule

FieldTypePresenceDescription and constraints
$objectRoot
DueDateJSONOptional
DueDate (anyOf 1)integerAlternativeInteger used with due date type e.g 20 (of following month), 31 (of current month)
DueDate (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
DueDateTypestringOptionalthe payment terms
Known values: DAYSAFTERBILLDATE, DAYSAFTERBILLMONTH, DAYSAFTERINVOICEDATE, DAYSAFTERINVOICEMONTH, OFCURRENTMONTH, OFFOLLOWINGMONTH
EndDatestringOptionalInvoice end date – only returned if the template has an end date set
NextScheduledDatestringOptionalThe calendar date of the next invoice in the schedule to be generated
PeriodJSONOptional
Period (anyOf 1)integerAlternativeInteger used with the unit e.g. 1 (every 1 week), 2 (every 2 months)
Period (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
StartDatestringOptionalDate the first invoice of the current version of the repeating schedule was generated (changes when repeating invoice is edited)
UnitstringOptionalOne of the following - WEEKLY or MONTHLY
Known values: WEEKLY, MONTHLY

Retrieves report for balancesheet — response body

FieldTypePresenceDescription and constraints
$objectRoot
ReportsarrayOptional
Reports[]ModelEach itemExpand Retrieves report for balancesheet — response body — Reports item

Referenced models: Retrieves report for balancesheet — response body — Reports item

Retrieves report for balancesheet — response body — Reports item

FieldTypePresenceDescription and constraints
$JSONRoot
FieldsarrayOptional
Fields[]ModelEach itemExpand Retrieves report for balancesheet — response body — Reports item Fields item
ReportDatestringOptionalDate of report
ReportIDstringOptionalID of the Report
ReportNamestringOptionalName of the report
ReportTitlestringOptionalTitle of the report
ReportTitlesarrayOptionalReport titles array (3 to 4 strings with the report name, orgnisation name and time frame of report)
ReportTitles[]stringEach item
ReportTypestringOptionalThe type of report (BalanceSheet,ProfitLoss, etc)
RowsarrayOptional
Rows[]ModelEach itemExpand Retrieves report for balancesheet — response body — Reports item Rows item
UpdatedDateUTCstringOptionalUpdated Date
Read only: true

Referenced models: Retrieves report for balancesheet — response body — Reports item Fields item, Retrieves report for balancesheet — response body — Reports item Rows item

Retrieves report for balancesheet — response body — Reports item Fields item

FieldTypePresenceDescription and constraints
$objectRoot
DescriptionstringOptional
FieldIDstringOptional
ValuestringOptional

Retrieves report for balancesheet — response body — Reports item Rows item

FieldTypePresenceDescription and constraints
$objectRoot
CellsarrayOptional
Cells[]ModelEach itemExpand Retrieves report for balancesheet — response body — Reports item Rows item Cells item
RowTypestringOptionalKnown values: Header, Section, Row, SummaryRow
RowsarrayOptional
Rows[]ModelEach itemExpand Retrieves report for balancesheet — response body — Reports item Rows item Rows item
TitlestringOptional

Referenced models: Retrieves report for balancesheet — response body — Reports item Rows item Cells item, Retrieves report for balancesheet — response body — Reports item Rows item Rows item

Retrieves report for balancesheet — response body — Reports item Rows item Cells item

FieldTypePresenceDescription and constraints
$objectRoot
AttributesarrayOptional
Attributes[]ModelEach itemExpand Retrieves report for balancesheet — response body — Reports item Rows item Cells item Attributes item
ValuestringOptional

Referenced models: Retrieves report for balancesheet — response body — Reports item Rows item Cells item Attributes item

Retrieves report for balancesheet — response body — Reports item Rows item Cells item Attributes item

FieldTypePresenceDescription and constraints
$JSONRoot
IdstringOptional
ValuestringOptional

Retrieves report for balancesheet — response body — Reports item Rows item Rows item

FieldTypePresenceDescription and constraints
$objectRoot
CellsarrayOptional
Cells[]ModelEach itemExpand Retrieves report for balancesheet — response body — Reports item Rows item Cells item
RowTypestringOptionalKnown values: Header, Section, Row, SummaryRow
TitlestringOptional

Referenced models: Retrieves report for balancesheet — response body — Reports item Rows item Cells item

Retrieves sales invoices or purchase bills — response body

FieldTypePresenceDescription and constraints
$objectRoot
InvoicesarrayOptional
Invoices[]ModelEach itemExpand Deletes an Allocation from a Prepayment — response body — Invoice
WarningsarrayOptionalDisplays array of warning messages from the API
Warnings[]ModelEach itemExpand Retrieves journals — response body — Warnings item
paginationModelOptionalExpand Retrieves prepayments — response body — pagination

Referenced models: Retrieves prepayments — response body — pagination, Deletes an Allocation from a Prepayment — response body — Invoice, Retrieves journals — response body — Warnings item

Retrieves sales quotes — response body

FieldTypePresenceDescription and constraints
$objectRoot
QuotesarrayOptional
Quotes[]ModelEach itemExpand Retrieves sales quotes — response body — Quotes item

Referenced models: Retrieves sales quotes — response body — Quotes item

Retrieves sales quotes — response body — Quotes item

FieldTypePresenceDescription and constraints
$objectRoot
BrandingThemeIDstringOptionalSee BrandingThemes
Format: uuid
ContactModelOptionalExpand Creates contacts to a specific contact group — response body — Contacts item
CurrencyCodeModelOptionalExpand Deletes an Allocation from a Prepayment — response body — Invoice Currency Code
CurrencyRateJSONOptional
CurrencyRate (anyOf 1)numberAlternativeThe currency rate for a multicurrency quote
Format: double
CurrencyRate (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
DatestringOptionalDate quote 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
DateStringstringOptionalDate the quote was issued (YYYY-MM-DD)
ExpiryDatestringOptionalDate the quote expires – YYYY-MM-DD.
ExpiryDateStringstringOptionalDate the quote expires – YYYY-MM-DD.
LineAmountTypesstringOptionalLine amounts are exclusive of tax by default if you don’t specify this element. See Line Amount Types
See Quote Line Amount Types
Known values: EXCLUSIVE, INCLUSIVE, NOTAX
LineItemsarrayOptionalSee LineItems
LineItems[]ModelEach itemExpand Deletes an Allocation from a Prepayment — response body — Invoice Line Items item
QuoteIDstringOptionalQuoteID GUID is automatically generated and is returned after create or GET.
Format: uuid
QuoteNumberstringOptionalUnique alpha numeric code identifying a quote (Max Length = 255)
Maximum length: 255
ReferencestringOptionalAdditional reference number
Maximum length: 4000
StatusstringOptionalThe status of the quote.
Known values: DRAFT, SENT, DECLINED, ACCEPTED, INVOICED, DELETED
StatusAttributeStringstringOptionalA string to indicate if a invoice status
SubTotalJSONOptional
SubTotal (anyOf 1)numberAlternativeTotal of quote excluding taxes.
Format: double
Read only: true
SubTotal (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
SummarystringOptionalSummary text for the quote
Maximum length: 3000
TermsstringOptionalTerms of the quote
Maximum length: 4000
TitlestringOptionalTitle text for the quote
Maximum length: 100
TotalJSONOptional
Total (anyOf 1)numberAlternativeTotal of Quote tax inclusive (i.e. SubTotal + TotalTax). This will be ignored if it doesn’t equal the sum of the LineAmounts
Format: double
Read only: true
Total (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
TotalDiscountJSONOptional
TotalDiscount (anyOf 1)numberAlternativeTotal of discounts applied on the quote line items
Format: double
Read only: true
TotalDiscount (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
TotalTaxJSONOptional
TotalTax (anyOf 1)numberAlternativeTotal tax on quote
Format: double
Read only: true
TotalTax (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
UpdatedDateUTCstringOptionalLast modified date UTC format
Read only: true
ValidationErrorsarrayOptionalDisplays array of validation error messages from the API
ValidationErrors[]ModelEach itemExpand Retrieves journals — response body — Warnings item

Referenced models: Deletes an Allocation from a Prepayment — response body — Invoice Currency Code, Creates contacts to a specific contact group — response body — Contacts item, Deletes an Allocation from a Prepayment — response body — Invoice Line Items item, Retrieves journals — response body — Warnings item

Retrieves the CIS settings for the Xero organistaion — response body

FieldTypePresenceDescription and constraints
$objectRoot
CISSettingsarrayOptional
CISSettings[]ModelEach itemExpand Retrieves the CIS settings for the Xero organistaion — response body — CIS Settings item

Referenced models: Retrieves the CIS settings for the Xero organistaion — response body — CIS Settings item

Retrieves the CIS settings for the Xero organistaion — response body — CIS Settings item

FieldTypePresenceDescription and constraints
$JSONRoot
CISContractorEnabledbooleanOptionaltrue or false - Boolean that describes if the organisation is a CIS Contractor
CISSubContractorEnabledbooleanOptionaltrue or false - Boolean that describes if the organisation is a CIS SubContractor
RateJSONOptional
Rate (anyOf 1)numberAlternativeCIS Deduction rate for the organisation
Format: double
Read only: true
Rate (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$

Report an issue with this page

Necessary

Required for sign-in, security, authorization, and remembering your choices.

Always active

Analytics

Helps us understand which product and documentation features are useful.

Performance diagnostics

Uses performance tracing and privacy-masked session replay to diagnose problems.

You can change these choices at any time from Cookie settings.