POST /ExpenseClaims/{ExpenseClaimID}
Servers
- https://api.xero.com/api.xro/2.0
Path parameters
Name | Type | Required | Description |
---|---|---|---|
ExpenseClaimID |
String | Yes |
Unique identifier for a ExpenseClaim |
Request headers
Name | Type | Required | Description |
---|---|---|---|
Content-Type |
String | Yes |
The media type of the request body.
Default value: "application/json" |
xero-tenant-id |
String | Yes |
Xero identifier for Tenant |
Idempotency-Key |
String | No |
This allows you to safely retry requests without the risk of duplicate processing. 128 character max. |
Request body fields
Name | Type | Required | Description |
---|---|---|---|
ExpenseClaims[] |
Array | No | |
ExpenseClaims[].PaymentDueDate |
String | No |
The date when the expense claim is due to be paid YYYY-MM-DD |
ExpenseClaims[].ReportingDate |
String | No |
The date the expense claim will be reported in Xero YYYY-MM-DD |
ExpenseClaims[].Status |
String | No |
Current status of an expense claim – see status types Possible values:
|
ExpenseClaims[].Payments[] |
Array | No |
See Payments |
ExpenseClaims[].Payments[].BatchPayment |
No | ||
ExpenseClaims[].Payments[].HasAccount |
Boolean | No |
A boolean to indicate if a contact has an validation errors Default value: false |
ExpenseClaims[].Payments[].InvoiceNumber |
String | No |
Number of invoice or credit note you are applying payment to e.g.INV-4003 |
ExpenseClaims[].Payments[].Details |
String | No |
The information to appear on the supplier's bank account |
ExpenseClaims[].Payments[].Prepayment |
Object | No | |
ExpenseClaims[].Payments[].Prepayment.LineAmountTypes |
String | No |
Line amounts are exclusive of tax by default if you don’t specify this element. See Line Amount Types Possible values:
|
ExpenseClaims[].Payments[].Prepayment.Date |
String | No |
The date the prepayment is created YYYY-MM-DD |
ExpenseClaims[].Payments[].Prepayment.Payments[] |
Array | No |
See Payments |
ExpenseClaims[].Payments[].Prepayment.Type |
String | No |
See Prepayment Types Possible values:
|
ExpenseClaims[].Payments[].Prepayment.Total |
Number | No |
The total of the prepayment(subtotal + total tax) |
ExpenseClaims[].Payments[].Prepayment.TotalTax |
Number | No |
The total tax on the prepayment |
ExpenseClaims[].Payments[].Prepayment.Reference |
String | No |
Returns Invoice number field. Reference field isn't available. |
ExpenseClaims[].Payments[].Prepayment.LineItems[] |
Array | No |
See Prepayment Line Items |
ExpenseClaims[].Payments[].Prepayment.LineItems[].Quantity |
Number | No |
LineItem Quantity |
ExpenseClaims[].Payments[].Prepayment.LineItems[].UnitAmount |
Number | No |
LineItem Unit Amount |
ExpenseClaims[].Payments[].Prepayment.LineItems[].TaxAmount |
Number | No |
The tax amount is auto calculated as a percentage of the line amount (see below) based on the tax rate. This value can be overriden if the calculated is not correct. |
ExpenseClaims[].Payments[].Prepayment.LineItems[].Item |
No | ||
ExpenseClaims[].Payments[].Prepayment.LineItems[].AccountCode |
String | No |
See Accounts |
ExpenseClaims[].Payments[].Prepayment.LineItems[].RepeatingInvoiceID |
String | No |
The Xero identifier for a Repeating Invoice |
ExpenseClaims[].Payments[].Prepayment.LineItems[].LineItemID |
String | No |
LineItem unique ID |
ExpenseClaims[].Payments[].Prepayment.LineItems[].Description |
String | No |
Description needs to be at least 1 char long. A line item with just a description (i.e no unit amount or quantity) can be created by specifying just a element that contains at least 1 character |
ExpenseClaims[].Payments[].Prepayment.LineItems[].TaxType |
String | No |
The tax type from TaxRates |
ExpenseClaims[].Payments[].Prepayment.LineItems[].Taxability |
String | No |
The type of taxability Possible values:
|
ExpenseClaims[].Payments[].Prepayment.LineItems[].TaxBreakdown[] |
Array | No |
An array of tax components defined for this line item |
ExpenseClaims[].Payments[].Prepayment.LineItems[].TaxBreakdown[].TaxComponentId |
String | No |
The unique ID number of this component |
ExpenseClaims[].Payments[].Prepayment.LineItems[].TaxBreakdown[].Name |
String | No |
The name of the jurisdiction |
ExpenseClaims[].Payments[].Prepayment.LineItems[].TaxBreakdown[].Type |
String | No |
The type of the jurisdiction Possible values:
|
ExpenseClaims[].Payments[].Prepayment.LineItems[].TaxBreakdown[].TaxAmount |
Number | No |
The amount of the tax |
ExpenseClaims[].Payments[].Prepayment.LineItems[].TaxBreakdown[].TaxableAmount |
Number | No |
The amount that is taxable |
ExpenseClaims[].Payments[].Prepayment.LineItems[].TaxBreakdown[].NonTaxableAmount |
Number | No |
The amount that is not taxable |
ExpenseClaims[].Payments[].Prepayment.LineItems[].TaxBreakdown[].TaxPercentage |
Number | No |
The percentage of the tax |
ExpenseClaims[].Payments[].Prepayment.LineItems[].TaxBreakdown[].ExemptAmount |
Number | No |
The amount that is exempt |
ExpenseClaims[].Payments[].Prepayment.LineItems[].TaxBreakdown[].StateAssignedNo |
String | No |
The state assigned number of the jurisdiction |
ExpenseClaims[].Payments[].Prepayment.LineItems[].TaxBreakdown[].JurisdictionRegion |
String | No |
Name identifying the region within the country |
ExpenseClaims[].Payments[].Prepayment.LineItems[].LineAmount |
Number | No |
If you wish to omit either the Quantity or UnitAmount you can provide a LineAmount and Xero will calculate the missing amount for you. The line amount reflects the discounted price if either a DiscountRate or DiscountAmount has been used i.e. LineAmount = Quantity * Unit Amount * ((100 - DiscountRate)/100) or LineAmount = (Quantity * UnitAmount) - DiscountAmount |
ExpenseClaims[].Payments[].Prepayment.LineItems[].AccountID |
String | No |
The associated account ID related to this line item |
ExpenseClaims[].Payments[].Prepayment.LineItems[].SalesTaxCodeId |
Number | No |
The ID of the sales tax code |
ExpenseClaims[].Payments[].Prepayment.LineItems[].ItemCode |
String | No |
See Items |
ExpenseClaims[].Payments[].Prepayment.LineItems[].Tracking[] |
Array | No |
Optional Tracking Category – see Tracking. Any LineItem can have a maximum of 2 elements. |
ExpenseClaims[].Payments[].Prepayment.LineItems[].Tracking[].TrackingCategoryID |
String | No |
The Xero identifier for a tracking category |
ExpenseClaims[].Payments[].Prepayment.LineItems[].Tracking[].Name |
String | No |
The name of the tracking category |
ExpenseClaims[].Payments[].Prepayment.LineItems[].Tracking[].Option |
String | No |
See Tracking Options |
ExpenseClaims[].Payments[].Prepayment.LineItems[].Tracking[].TrackingOptionID |
String | No |
The Xero identifier for a tracking category option |
ExpenseClaims[].Payments[].Prepayment.LineItems[].DiscountAmount |
Number | No |
Discount amount being applied to a line item. Only supported on ACCREC invoices and quotes. ACCPAY invoices and credit notes in Xero do not support discounts. |
ExpenseClaims[].Payments[].Prepayment.LineItems[].DiscountRate |
Number | No |
Percentage discount being applied to a line item (only supported on ACCREC invoices – ACC PAY invoices and credit notes in Xero do not support discounts |
ExpenseClaims[].Payments[].Prepayment.UpdatedDateUTC |
String | No |
UTC timestamp of last update to the prepayment |
ExpenseClaims[].Payments[].Prepayment.SubTotal |
Number | No |
The subtotal of the prepayment excluding taxes |
ExpenseClaims[].Payments[].Prepayment.CurrencyRate |
Number | No |
The currency rate for a multicurrency prepayment. If no rate is specified, the XE.com day rate is used |
ExpenseClaims[].Payments[].Prepayment.Status |
String | No |
See Prepayment Status Codes Possible values:
|
ExpenseClaims[].Payments[].Prepayment.AppliedAmount |
Number | No |
The amount of applied to an invoice |
ExpenseClaims[].Payments[].Prepayment.Attachments[] |
Array | No |
See Attachments |
ExpenseClaims[].Payments[].Prepayment.Attachments[].ContentLength |
Integer | No |
Length of the file content |
ExpenseClaims[].Payments[].Prepayment.Attachments[].IncludeOnline |
Boolean | No |
Include the file with the online invoice |
ExpenseClaims[].Payments[].Prepayment.Attachments[].AttachmentID |
String | No |
Unique ID for the file |
ExpenseClaims[].Payments[].Prepayment.Attachments[].MimeType |
String | No |
Type of file |
ExpenseClaims[].Payments[].Prepayment.Attachments[].Url |
String | No |
URL to the file on xero.com |
ExpenseClaims[].Payments[].Prepayment.Attachments[].FileName |
String | No |
Name of the file |
ExpenseClaims[].Payments[].Prepayment.RemainingCredit |
Number | No |
The remaining credit balance on the prepayment |
ExpenseClaims[].Payments[].Prepayment.Allocations[] |
Array | No |
See Allocations |
ExpenseClaims[].Payments[].Prepayment.Allocations[].Amount |
Number | Yes |
the amount being applied to the invoice |
ExpenseClaims[].Payments[].Prepayment.Allocations[].Date |
String | Yes |
the date the allocation is applied YYYY-MM-DD. |
ExpenseClaims[].Payments[].Prepayment.Allocations[].Prepayment |
No | ||
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment |
Object | No | |
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.LineAmountTypes |
String | No |
Line amounts are exclusive of tax by default if you don’t specify this element. See Line Amount Types Possible values:
|
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.Date |
String | No |
The date the overpayment is created YYYY-MM-DD |
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.Payments[] |
Array | No |
See Payments |
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.Type |
String | No |
See Overpayment Types Possible values:
|
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.Total |
Number | No |
The total of the overpayment (subtotal + total tax) |
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.TotalTax |
Number | No |
The total tax on the overpayment |
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.LineItems[] |
Array | No |
See Overpayment Line Items |
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.LineItems[].Quantity |
Number | No |
LineItem Quantity |
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.LineItems[].UnitAmount |
Number | No |
LineItem Unit Amount |
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.LineItems[].TaxAmount |
Number | No |
The tax amount is auto calculated as a percentage of the line amount (see below) based on the tax rate. This value can be overriden if the calculated is not correct. |
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.LineItems[].Item |
No | ||
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.LineItems[].AccountCode |
String | No |
See Accounts |
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.LineItems[].RepeatingInvoiceID |
String | No |
The Xero identifier for a Repeating Invoice |
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.LineItems[].LineItemID |
String | No |
LineItem unique ID |
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.LineItems[].Description |
String | No |
Description needs to be at least 1 char long. A line item with just a description (i.e no unit amount or quantity) can be created by specifying just a element that contains at least 1 character |
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.LineItems[].TaxType |
String | No |
The tax type from TaxRates |
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.LineItems[].Taxability |
String | No |
The type of taxability Possible values:
|
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.LineItems[].TaxBreakdown[] |
Array | No |
An array of tax components defined for this line item |
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.LineItems[].TaxBreakdown[].TaxComponentId |
String | No |
The unique ID number of this component |
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.LineItems[].TaxBreakdown[].Name |
String | No |
The name of the jurisdiction |
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.LineItems[].TaxBreakdown[].Type |
String | No |
The type of the jurisdiction Possible values:
|
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.LineItems[].TaxBreakdown[].TaxAmount |
Number | No |
The amount of the tax |
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.LineItems[].TaxBreakdown[].TaxableAmount |
Number | No |
The amount that is taxable |
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.LineItems[].TaxBreakdown[].NonTaxableAmount |
Number | No |
The amount that is not taxable |
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.LineItems[].TaxBreakdown[].TaxPercentage |
Number | No |
The percentage of the tax |
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.LineItems[].TaxBreakdown[].ExemptAmount |
Number | No |
The amount that is exempt |
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.LineItems[].TaxBreakdown[].StateAssignedNo |
String | No |
The state assigned number of the jurisdiction |
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.LineItems[].TaxBreakdown[].JurisdictionRegion |
String | No |
Name identifying the region within the country |
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.LineItems[].LineAmount |
Number | No |
If you wish to omit either the Quantity or UnitAmount you can provide a LineAmount and Xero will calculate the missing amount for you. The line amount reflects the discounted price if either a DiscountRate or DiscountAmount has been used i.e. LineAmount = Quantity * Unit Amount * ((100 - DiscountRate)/100) or LineAmount = (Quantity * UnitAmount) - DiscountAmount |
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.LineItems[].AccountID |
String | No |
The associated account ID related to this line item |
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.LineItems[].SalesTaxCodeId |
Number | No |
The ID of the sales tax code |
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.LineItems[].ItemCode |
String | No |
See Items |
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.LineItems[].Tracking[] |
Array | No |
Optional Tracking Category – see Tracking. Any LineItem can have a maximum of 2 elements. |
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.LineItems[].Tracking[].TrackingCategoryID |
String | No |
The Xero identifier for a tracking category |
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.LineItems[].Tracking[].Name |
String | No |
The name of the tracking category |
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.LineItems[].Tracking[].Option |
String | No |
See Tracking Options |
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.LineItems[].Tracking[].TrackingOptionID |
String | No |
The Xero identifier for a tracking category option |
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.LineItems[].DiscountAmount |
Number | No |
Discount amount being applied to a line item. Only supported on ACCREC invoices and quotes. ACCPAY invoices and credit notes in Xero do not support discounts. |
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.LineItems[].DiscountRate |
Number | No |
Percentage discount being applied to a line item (only supported on ACCREC invoices – ACC PAY invoices and credit notes in Xero do not support discounts |
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.UpdatedDateUTC |
String | No |
UTC timestamp of last update to the overpayment |
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.SubTotal |
Number | No |
The subtotal of the overpayment excluding taxes |
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.CurrencyRate |
Number | No |
The currency rate for a multicurrency overpayment. If no rate is specified, the XE.com day rate is used |
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.Status |
String | No |
See Overpayment Status Codes Possible values:
|
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.OverpaymentID |
String | No |
Xero generated unique identifier |
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.AppliedAmount |
Number | No |
The amount of applied to an invoice |
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.Attachments[] |
Array | No |
See Attachments |
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.Attachments[].ContentLength |
Integer | No |
Length of the file content |
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.Attachments[].IncludeOnline |
Boolean | No |
Include the file with the online invoice |
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.Attachments[].AttachmentID |
String | No |
Unique ID for the file |
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.Attachments[].MimeType |
String | No |
Type of file |
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.Attachments[].Url |
String | No |
URL to the file on xero.com |
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.Attachments[].FileName |
String | No |
Name of the file |
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.RemainingCredit |
Number | No |
The remaining credit balance on the overpayment |
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.Allocations[] |
Array | No |
See Allocations |
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.Contact |
Object | No | |
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.Contact.BankAccountDetails |
String | No |
Bank account number of contact |
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.Contact.Website |
String | No |
Website address for contact (read only) |
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.Contact.Name |
String | No |
Full name of contact/organisation (max length = 255) |
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.Contact.SalesTrackingCategories[] |
Array | No |
The default sales tracking categories for contacts |
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.Contact.SalesTrackingCategories[].TrackingOptionName |
String | No |
The default purchase tracking category name for contacts |
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.Contact.SalesTrackingCategories[].TrackingCategoryName |
String | No |
The default sales tracking category name for contacts |
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.Contact.SalesDefaultLineAmountType |
String | No |
The default sales line amount type for a contact. Only available when summaryOnly parameter or paging is used, or when fetch by ContactId or ContactNumber. Possible values:
|
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.Contact.TrackingCategoryOption |
String | No |
The name of the Tracking Option assigned to the contact under SalesTrackingCategories and PurchasesTrackingCategories |
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.Contact.TaxNumber |
String | No |
Tax number of contact – this is also known as the ABN (Australia), GST Number (New Zealand), VAT Number (UK) or Tax ID Number (US and global) in the Xero UI depending on which regionalized version of Xero you are using (max length = 50) |
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.Contact.TrackingCategoryName |
String | No |
The name of the Tracking Category assigned to the contact under SalesTrackingCategories and PurchasesTrackingCategories |
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.Contact.LastName |
String | No |
Last name of contact person (max length = 255) |
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.Contact.IsSupplier |
Boolean | No |
true or false – Boolean that describes if a contact that has any AP invoices entered against them. Cannot be set via PUT or POST – it is automatically set when an accounts payable invoice is generated against this contact. |
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.Contact.PurchasesTrackingCategories[] |
Array | No |
The default purchases tracking categories for contacts |
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.Contact.PurchasesTrackingCategories[].TrackingOptionName |
String | No |
The default purchase tracking category name for contacts |
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.Contact.PurchasesTrackingCategories[].TrackingCategoryName |
String | No |
The default sales tracking category name for contacts |
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.Contact.UpdatedDateUTC |
String | No |
UTC timestamp of last update to contact |
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.Contact.BrandingTheme |
Object | No | |
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.Contact.BrandingTheme.Name |
String | No |
Name of branding theme |
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.Contact.BrandingTheme.BrandingThemeID |
String | No |
Xero identifier |
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.Contact.BrandingTheme.Type |
String | No |
Always INVOICE Possible values:
|
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.Contact.BrandingTheme.LogoUrl |
String | No |
The location of the image file used as the logo on this branding theme |
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.Contact.BrandingTheme.SortOrder |
Integer | No |
Integer – ranked order of branding theme. The default branding theme has a value of 0 |
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.Contact.BrandingTheme.CreatedDateUTC |
String | No |
UTC timestamp of creation date of branding theme |
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.Contact.IsCustomer |
Boolean | No |
true or false – Boolean that describes if a contact has any AR invoices entered against them. Cannot be set via PUT or POST – it is automatically set when an accounts receivable invoice is generated against this contact. |
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.Contact.PurchasesDefaultLineAmountType |
String | No |
The default purchases line amount type for a contact Only available when summaryOnly parameter or paging is used, or when fetch by ContactId or ContactNumber. Possible values:
|
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.Contact.Attachments[] |
Array | No |
Displays array of attachments from the API |
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.Contact.Attachments[].ContentLength |
Integer | No |
Length of the file content |
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.Contact.Attachments[].IncludeOnline |
Boolean | No |
Include the file with the online invoice |
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.Contact.Attachments[].AttachmentID |
String | No |
Unique ID for the file |
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.Contact.Attachments[].MimeType |
String | No |
Type of file |
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.Contact.Attachments[].Url |
String | No |
URL to the file on xero.com |
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.Contact.Attachments[].FileName |
String | No |
Name of the file |
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.Contact.PurchasesDefaultAccountCode |
String | No |
The default purchases account code for contacts |
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.Contact.ContactID |
String | No |
Xero identifier |
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.Contact.AccountsPayableTaxType |
String | No |
The tax type from TaxRates |
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.Contact.ContactStatus |
String | No |
Current status of a contact – see contact status types Possible values:
|
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.Contact.Addresses[] |
Array | No |
Store certain address types for a contact – see address types |
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.Contact.Addresses[].City |
String | No |
max length = 255 |
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.Contact.Addresses[].AddressType |
String | No |
define the type of address Possible values:
|
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.Contact.Addresses[].AttentionTo |
String | No |
max length = 255 |
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.Contact.Addresses[].AddressLine2 |
String | No |
max length = 500 |
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.Contact.Addresses[].Region |
String | No |
max length = 255 |
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.Contact.Addresses[].Country |
String | No |
max length = 50, [A-Z], [a-z] only |
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.Contact.Addresses[].AddressLine1 |
String | No |
max length = 500 |
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.Contact.Addresses[].AddressLine4 |
String | No |
max length = 500 |
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.Contact.Addresses[].AddressLine3 |
String | No |
max length = 500 |
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.Contact.Addresses[].PostalCode |
String | No |
max length = 50 |
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.Contact.StatusAttributeString |
String | No |
Status of object |
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.Contact.CompanyNumber |
String | No |
Company registration number (max length = 50) |
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.Contact.Phones[] |
Array | No |
Store certain phone types for a contact – see phone types |
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.Contact.Phones[].PhoneType |
String | No |
Possible values:
|
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.Contact.Phones[].PhoneNumber |
String | No |
max length = 50 |
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.Contact.Phones[].PhoneAreaCode |
String | No |
max length = 10 |
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.Contact.Phones[].PhoneCountryCode |
String | No |
max length = 20 |
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.Contact.BatchPayments |
No |
Bank details for use on a batch payment stored with each contact |
|
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.Contact.FirstName |
String | No |
First name of contact person (max length = 255) |
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.Contact.SalesDefaultAccountCode |
String | No |
The default sales account code for contacts |
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.Contact.ContactNumber |
String | No |
This can be updated via the API only i.e. This field is read only on the Xero contact screen, used to identify contacts in external systems (max length = 50). If the Contact Number is used, this is displayed as Contact Code in the Contacts UI in Xero. |
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.Contact.AccountsReceivableTaxType |
String | No |
The tax type from TaxRates |
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.Contact.DefaultCurrency |
String | No |
3 letter alpha code for the currency – see list of currency codes Possible values:
|
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.Contact.HasValidationErrors |
Boolean | No |
A boolean to indicate if a contact has an validation errors Default value: false |
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.Contact.AccountNumber |
String | No |
A user defined account number. This can be updated via the API and the Xero UI (max length = 50) |
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.Contact.Balances |
Object | No |
The raw AccountsReceivable(sales invoices) and AccountsPayable(bills) outstanding and overdue amounts, not converted to base currency (read only) |
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.Contact.Balances.AccountsReceivable |
Object | No | |
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.Contact.Balances.AccountsReceivable.Overdue |
Number | No | |
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.Contact.Balances.AccountsReceivable.Outstanding |
Number | No | |
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.Contact.Balances.AccountsPayable |
Object | No | |
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.Contact.Balances.AccountsPayable.Overdue |
Number | No | |
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.Contact.Balances.AccountsPayable.Outstanding |
Number | No | |
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.Contact.XeroNetworkKey |
String | No |
Store XeroNetworkKey for contacts. |
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.Contact.Discount |
Number | No |
The default discount rate for the contact (read only) |
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.Contact.MergedToContactID |
String | No |
ID for the destination of a merged contact. Only returned when using paging or when fetching a contact by ContactId or ContactNumber. |
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.Contact.ValidationErrors[] |
Array | No |
Displays validation errors returned from the API |
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.Contact.ValidationErrors[].Message |
String | No |
Validation error message |
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.Contact.EmailAddress |
String | No |
Email address of contact person (umlauts not supported) (max length = 255) |
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.Contact.HasAttachments |
Boolean | No |
A boolean to indicate if a contact has an attachment Default value: false |
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.Contact.PaymentTerms |
Object | No | |
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.Contact.PaymentTerms.Bills |
Object | No | |
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.Contact.PaymentTerms.Bills.Day |
Integer | No |
Day of Month (0-31) |
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.Contact.PaymentTerms.Bills.Type |
String | No |
Possible values:
|
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.Contact.PaymentTerms.Sales |
Object | No | |
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.Contact.PaymentTerms.Sales.Day |
Integer | No |
Day of Month (0-31) |
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.Contact.PaymentTerms.Sales.Type |
String | No |
Possible values:
|
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.Contact.ContactGroups[] |
Array | No |
Displays which contact groups a contact is included in |
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.Contact.ContactGroups[].Name |
String | No |
The Name of the contact group. Required when creating a new contact group |
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.Contact.ContactGroups[].Status |
String | No |
The Status of a contact group. To delete a contact group update the status to DELETED. Only contact groups with a status of ACTIVE are returned on GETs. Possible values:
|
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.Contact.ContactGroups[].ContactGroupID |
String | No |
The Xero identifier for an contact group – specified as a string following the endpoint name. e.g. /297c2dc5-cc47-4afd-8ec8-74990b8761e9 |
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.Contact.ContactGroups[].Contacts[] |
Array | No |
The ContactID and Name of Contacts in a contact group. Returned on GETs when the ContactGroupID is supplied in the URL. |
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.Contact.ContactPersons[] |
Array | No |
See contact persons |
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.Contact.ContactPersons[].IncludeInEmails |
Boolean | No |
boolean to indicate whether contact should be included on emails with invoices etc. |
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.Contact.ContactPersons[].EmailAddress |
String | No |
Email address of person |
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.Contact.ContactPersons[].LastName |
String | No |
Last name of person |
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.Contact.ContactPersons[].FirstName |
String | No |
First name of person |
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.HasAttachments |
Boolean | No |
boolean to indicate if a overpayment has an attachment Default value: false |
ExpenseClaims[].Payments[].Prepayment.Allocations[].Overpayment.CurrencyCode |
String | No |
3 letter alpha code for the currency – see list of currency codes Possible values:
|
ExpenseClaims[].Payments[].Prepayment.Allocations[].StatusAttributeString |
String | No |
A string to indicate if a invoice status |
ExpenseClaims[].Payments[].Prepayment.Allocations[].ValidationErrors[] |
Array | No |
Displays array of validation error messages from the API |
ExpenseClaims[].Payments[].Prepayment.Allocations[].ValidationErrors[].Message |
String | No |
Validation error message |
ExpenseClaims[].Payments[].Prepayment.Allocations[].IsDeleted |
Boolean | No |
A flag that returns true when the allocation is succesfully deleted |
ExpenseClaims[].Payments[].Prepayment.Allocations[].AllocationID |
String | No |
Xero generated unique identifier |
ExpenseClaims[].Payments[].Prepayment.Allocations[].Invoice |
Yes | ||
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote |
Object | No | |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.HasErrors |
Boolean | No |
A boolean to indicate if a credit note has an validation errors Default value: false |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.Payments[] |
Array | No |
See Payments |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.Total |
Number | No |
The total of the Credit Note(subtotal + total tax) |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.FullyPaidOnDate |
String | No |
Date when credit note was fully paid(UTC format) |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.InvoiceAddresses[] |
Array | No |
An array of addresses used to auto calculate sales tax |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.InvoiceAddresses[].City |
String | No |
City of a physical address |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.InvoiceAddresses[].AddressLine2 |
String | No |
Second line of a physical address |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.InvoiceAddresses[].Region |
String | No |
Region or state of a physical address |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.InvoiceAddresses[].Country |
String | No |
Country of a physical address |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.InvoiceAddresses[].AddressLine1 |
String | No |
First line of a physical address |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.InvoiceAddresses[].InvoiceAddressType |
String | No |
Indicates whether the address is defined as origin (FROM) or destination (TO) Possible values:
|
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.InvoiceAddresses[].AddressLine4 |
String | No |
Fourth line of a physical address |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.InvoiceAddresses[].AddressLine3 |
String | No |
Third line of a physical address |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.InvoiceAddresses[].PostalCode |
String | No |
Postal code of a physical address |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.UpdatedDateUTC |
String | No |
UTC timestamp of last update to the credit note |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.CurrencyRate |
Number | No |
The currency rate for a multicurrency invoice. If no rate is specified, the XE.com day rate is used |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.RemainingCredit |
Number | No |
The remaining credit balance on the Credit Note |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.Allocations[] |
Array | No |
See Allocations |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.Contact |
Object | No | |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.Contact.BankAccountDetails |
String | No |
Bank account number of contact |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.Contact.Website |
String | No |
Website address for contact (read only) |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.Contact.Name |
String | No |
Full name of contact/organisation (max length = 255) |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.Contact.SalesTrackingCategories[] |
Array | No |
The default sales tracking categories for contacts |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.Contact.SalesTrackingCategories[].TrackingOptionName |
String | No |
The default purchase tracking category name for contacts |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.Contact.SalesTrackingCategories[].TrackingCategoryName |
String | No |
The default sales tracking category name for contacts |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.Contact.SalesDefaultLineAmountType |
String | No |
The default sales line amount type for a contact. Only available when summaryOnly parameter or paging is used, or when fetch by ContactId or ContactNumber. Possible values:
|
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.Contact.TrackingCategoryOption |
String | No |
The name of the Tracking Option assigned to the contact under SalesTrackingCategories and PurchasesTrackingCategories |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.Contact.TaxNumber |
String | No |
Tax number of contact – this is also known as the ABN (Australia), GST Number (New Zealand), VAT Number (UK) or Tax ID Number (US and global) in the Xero UI depending on which regionalized version of Xero you are using (max length = 50) |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.Contact.TrackingCategoryName |
String | No |
The name of the Tracking Category assigned to the contact under SalesTrackingCategories and PurchasesTrackingCategories |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.Contact.LastName |
String | No |
Last name of contact person (max length = 255) |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.Contact.IsSupplier |
Boolean | No |
true or false – Boolean that describes if a contact that has any AP invoices entered against them. Cannot be set via PUT or POST – it is automatically set when an accounts payable invoice is generated against this contact. |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.Contact.PurchasesTrackingCategories[] |
Array | No |
The default purchases tracking categories for contacts |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.Contact.PurchasesTrackingCategories[].TrackingOptionName |
String | No |
The default purchase tracking category name for contacts |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.Contact.PurchasesTrackingCategories[].TrackingCategoryName |
String | No |
The default sales tracking category name for contacts |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.Contact.UpdatedDateUTC |
String | No |
UTC timestamp of last update to contact |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.Contact.BrandingTheme |
Object | No | |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.Contact.BrandingTheme.Name |
String | No |
Name of branding theme |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.Contact.BrandingTheme.BrandingThemeID |
String | No |
Xero identifier |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.Contact.BrandingTheme.Type |
String | No |
Always INVOICE Possible values:
|
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.Contact.BrandingTheme.LogoUrl |
String | No |
The location of the image file used as the logo on this branding theme |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.Contact.BrandingTheme.SortOrder |
Integer | No |
Integer – ranked order of branding theme. The default branding theme has a value of 0 |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.Contact.BrandingTheme.CreatedDateUTC |
String | No |
UTC timestamp of creation date of branding theme |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.Contact.IsCustomer |
Boolean | No |
true or false – Boolean that describes if a contact has any AR invoices entered against them. Cannot be set via PUT or POST – it is automatically set when an accounts receivable invoice is generated against this contact. |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.Contact.PurchasesDefaultLineAmountType |
String | No |
The default purchases line amount type for a contact Only available when summaryOnly parameter or paging is used, or when fetch by ContactId or ContactNumber. Possible values:
|
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.Contact.Attachments[] |
Array | No |
Displays array of attachments from the API |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.Contact.Attachments[].ContentLength |
Integer | No |
Length of the file content |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.Contact.Attachments[].IncludeOnline |
Boolean | No |
Include the file with the online invoice |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.Contact.Attachments[].AttachmentID |
String | No |
Unique ID for the file |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.Contact.Attachments[].MimeType |
String | No |
Type of file |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.Contact.Attachments[].Url |
String | No |
URL to the file on xero.com |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.Contact.Attachments[].FileName |
String | No |
Name of the file |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.Contact.PurchasesDefaultAccountCode |
String | No |
The default purchases account code for contacts |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.Contact.ContactID |
String | No |
Xero identifier |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.Contact.AccountsPayableTaxType |
String | No |
The tax type from TaxRates |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.Contact.ContactStatus |
String | No |
Current status of a contact – see contact status types Possible values:
|
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.Contact.Addresses[] |
Array | No |
Store certain address types for a contact – see address types |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.Contact.Addresses[].City |
String | No |
max length = 255 |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.Contact.Addresses[].AddressType |
String | No |
define the type of address Possible values:
|
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.Contact.Addresses[].AttentionTo |
String | No |
max length = 255 |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.Contact.Addresses[].AddressLine2 |
String | No |
max length = 500 |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.Contact.Addresses[].Region |
String | No |
max length = 255 |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.Contact.Addresses[].Country |
String | No |
max length = 50, [A-Z], [a-z] only |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.Contact.Addresses[].AddressLine1 |
String | No |
max length = 500 |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.Contact.Addresses[].AddressLine4 |
String | No |
max length = 500 |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.Contact.Addresses[].AddressLine3 |
String | No |
max length = 500 |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.Contact.Addresses[].PostalCode |
String | No |
max length = 50 |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.Contact.StatusAttributeString |
String | No |
Status of object |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.Contact.CompanyNumber |
String | No |
Company registration number (max length = 50) |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.Contact.Phones[] |
Array | No |
Store certain phone types for a contact – see phone types |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.Contact.Phones[].PhoneType |
String | No |
Possible values:
|
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.Contact.Phones[].PhoneNumber |
String | No |
max length = 50 |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.Contact.Phones[].PhoneAreaCode |
String | No |
max length = 10 |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.Contact.Phones[].PhoneCountryCode |
String | No |
max length = 20 |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.Contact.BatchPayments |
No |
Bank details for use on a batch payment stored with each contact |
|
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.Contact.FirstName |
String | No |
First name of contact person (max length = 255) |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.Contact.SalesDefaultAccountCode |
String | No |
The default sales account code for contacts |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.Contact.ContactNumber |
String | No |
This can be updated via the API only i.e. This field is read only on the Xero contact screen, used to identify contacts in external systems (max length = 50). If the Contact Number is used, this is displayed as Contact Code in the Contacts UI in Xero. |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.Contact.AccountsReceivableTaxType |
String | No |
The tax type from TaxRates |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.Contact.DefaultCurrency |
String | No |
3 letter alpha code for the currency – see list of currency codes Possible values:
|
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.Contact.HasValidationErrors |
Boolean | No |
A boolean to indicate if a contact has an validation errors Default value: false |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.Contact.AccountNumber |
String | No |
A user defined account number. This can be updated via the API and the Xero UI (max length = 50) |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.Contact.Balances |
Object | No |
The raw AccountsReceivable(sales invoices) and AccountsPayable(bills) outstanding and overdue amounts, not converted to base currency (read only) |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.Contact.Balances.AccountsReceivable |
Object | No | |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.Contact.Balances.AccountsReceivable.Overdue |
Number | No | |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.Contact.Balances.AccountsReceivable.Outstanding |
Number | No | |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.Contact.Balances.AccountsPayable |
Object | No | |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.Contact.Balances.AccountsPayable.Overdue |
Number | No | |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.Contact.Balances.AccountsPayable.Outstanding |
Number | No | |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.Contact.XeroNetworkKey |
String | No |
Store XeroNetworkKey for contacts. |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.Contact.Discount |
Number | No |
The default discount rate for the contact (read only) |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.Contact.MergedToContactID |
String | No |
ID for the destination of a merged contact. Only returned when using paging or when fetching a contact by ContactId or ContactNumber. |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.Contact.ValidationErrors[] |
Array | No |
Displays validation errors returned from the API |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.Contact.ValidationErrors[].Message |
String | No |
Validation error message |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.Contact.EmailAddress |
String | No |
Email address of contact person (umlauts not supported) (max length = 255) |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.Contact.HasAttachments |
Boolean | No |
A boolean to indicate if a contact has an attachment Default value: false |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.Contact.PaymentTerms |
Object | No | |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.Contact.PaymentTerms.Bills |
Object | No | |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.Contact.PaymentTerms.Bills.Day |
Integer | No |
Day of Month (0-31) |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.Contact.PaymentTerms.Bills.Type |
String | No |
Possible values:
|
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.Contact.PaymentTerms.Sales |
Object | No | |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.Contact.PaymentTerms.Sales.Day |
Integer | No |
Day of Month (0-31) |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.Contact.PaymentTerms.Sales.Type |
String | No |
Possible values:
|
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.Contact.ContactGroups[] |
Array | No |
Displays which contact groups a contact is included in |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.Contact.ContactGroups[].Name |
String | No |
The Name of the contact group. Required when creating a new contact group |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.Contact.ContactGroups[].Status |
String | No |
The Status of a contact group. To delete a contact group update the status to DELETED. Only contact groups with a status of ACTIVE are returned on GETs. Possible values:
|
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.Contact.ContactGroups[].ContactGroupID |
String | No |
The Xero identifier for an contact group – specified as a string following the endpoint name. e.g. /297c2dc5-cc47-4afd-8ec8-74990b8761e9 |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.Contact.ContactGroups[].Contacts[] |
Array | No |
The ContactID and Name of Contacts in a contact group. Returned on GETs when the ContactGroupID is supplied in the URL. |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.Contact.ContactPersons[] |
Array | No |
See contact persons |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.Contact.ContactPersons[].IncludeInEmails |
Boolean | No |
boolean to indicate whether contact should be included on emails with invoices etc. |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.Contact.ContactPersons[].EmailAddress |
String | No |
Email address of person |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.Contact.ContactPersons[].LastName |
String | No |
Last name of person |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.Contact.ContactPersons[].FirstName |
String | No |
First name of person |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.CurrencyCode |
String | No |
3 letter alpha code for the currency – see list of currency codes Possible values:
|
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.CreditNoteID |
String | No |
Xero generated unique identifier |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.LineAmountTypes |
String | No |
Line amounts are exclusive of tax by default if you don’t specify this element. See Line Amount Types Possible values:
|
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.Date |
String | No |
The date the credit note is issued YYYY-MM-DD. If the Date element is not specified then it will default to the current date based on the timezone setting of the organisation |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.CISDeduction |
Number | No |
CIS deduction for UK contractors |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.SentToContact |
Boolean | No |
Boolean to set whether the credit note in the Xero app should be marked as “sent”. This can be set only on credit notes that have been approved |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.Warnings[] |
Array | No |
Displays array of warning messages from the API |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.Warnings[].Message |
String | No |
Validation error message |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.Type |
String | No |
See Credit Note Types Possible values:
|
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.StatusAttributeString |
String | No |
A string to indicate if a invoice status |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.DueDate |
String | No |
Date invoice is due – YYYY-MM-DD |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.CISRate |
Number | No |
CIS Deduction rate for the organisation |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.TotalTax |
Number | No |
The total tax on the credit note |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.Reference |
String | No |
ACCRECCREDIT only – additional reference number |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.LineItems[] |
Array | No |
See Invoice Line Items |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.LineItems[].Quantity |
Number | No |
LineItem Quantity |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.LineItems[].UnitAmount |
Number | No |
LineItem Unit Amount |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.LineItems[].TaxAmount |
Number | No |
The tax amount is auto calculated as a percentage of the line amount (see below) based on the tax rate. This value can be overriden if the calculated is not correct. |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.LineItems[].Item |
No | ||
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.LineItems[].AccountCode |
String | No |
See Accounts |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.LineItems[].RepeatingInvoiceID |
String | No |
The Xero identifier for a Repeating Invoice |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.LineItems[].LineItemID |
String | No |
LineItem unique ID |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.LineItems[].Description |
String | No |
Description needs to be at least 1 char long. A line item with just a description (i.e no unit amount or quantity) can be created by specifying just a element that contains at least 1 character |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.LineItems[].TaxType |
String | No |
The tax type from TaxRates |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.LineItems[].Taxability |
String | No |
The type of taxability Possible values:
|
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.LineItems[].TaxBreakdown[] |
Array | No |
An array of tax components defined for this line item |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.LineItems[].TaxBreakdown[].TaxComponentId |
String | No |
The unique ID number of this component |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.LineItems[].TaxBreakdown[].Name |
String | No |
The name of the jurisdiction |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.LineItems[].TaxBreakdown[].Type |
String | No |
The type of the jurisdiction Possible values:
|
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.LineItems[].TaxBreakdown[].TaxAmount |
Number | No |
The amount of the tax |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.LineItems[].TaxBreakdown[].TaxableAmount |
Number | No |
The amount that is taxable |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.LineItems[].TaxBreakdown[].NonTaxableAmount |
Number | No |
The amount that is not taxable |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.LineItems[].TaxBreakdown[].TaxPercentage |
Number | No |
The percentage of the tax |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.LineItems[].TaxBreakdown[].ExemptAmount |
Number | No |
The amount that is exempt |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.LineItems[].TaxBreakdown[].StateAssignedNo |
String | No |
The state assigned number of the jurisdiction |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.LineItems[].TaxBreakdown[].JurisdictionRegion |
String | No |
Name identifying the region within the country |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.LineItems[].LineAmount |
Number | No |
If you wish to omit either the Quantity or UnitAmount you can provide a LineAmount and Xero will calculate the missing amount for you. The line amount reflects the discounted price if either a DiscountRate or DiscountAmount has been used i.e. LineAmount = Quantity * Unit Amount * ((100 - DiscountRate)/100) or LineAmount = (Quantity * UnitAmount) - DiscountAmount |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.LineItems[].AccountID |
String | No |
The associated account ID related to this line item |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.LineItems[].SalesTaxCodeId |
Number | No |
The ID of the sales tax code |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.LineItems[].ItemCode |
String | No |
See Items |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.LineItems[].Tracking[] |
Array | No |
Optional Tracking Category – see Tracking. Any LineItem can have a maximum of 2 elements. |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.LineItems[].Tracking[].TrackingCategoryID |
String | No |
The Xero identifier for a tracking category |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.LineItems[].Tracking[].Name |
String | No |
The name of the tracking category |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.LineItems[].Tracking[].Option |
String | No |
See Tracking Options |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.LineItems[].Tracking[].TrackingOptionID |
String | No |
The Xero identifier for a tracking category option |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.LineItems[].DiscountAmount |
Number | No |
Discount amount being applied to a line item. Only supported on ACCREC invoices and quotes. ACCPAY invoices and credit notes in Xero do not support discounts. |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.LineItems[].DiscountRate |
Number | No |
Percentage discount being applied to a line item (only supported on ACCREC invoices – ACC PAY invoices and credit notes in Xero do not support discounts |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.SubTotal |
Number | No |
The subtotal of the credit note excluding taxes |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.Status |
String | No |
See Credit Note Status Codes Possible values:
|
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.BrandingThemeID |
String | No |
See BrandingThemes |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.AppliedAmount |
Number | No |
The amount of applied to an invoice |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.ValidationErrors[] |
Array | No |
Displays array of validation error messages from the API |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.ValidationErrors[].Message |
String | No |
Validation error message |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.HasAttachments |
Boolean | No |
boolean to indicate if a credit note has an attachment Default value: false |
ExpenseClaims[].Payments[].Prepayment.Allocations[].CreditNote.CreditNoteNumber |
String | No |
ACCRECCREDIT – Unique alpha numeric code identifying credit note (when missing will auto-generate from your Organisation Invoice Settings) |
ExpenseClaims[].Payments[].Prepayment.Contact |
Object | No | |
ExpenseClaims[].Payments[].Prepayment.Contact.BankAccountDetails |
String | No |
Bank account number of contact |
ExpenseClaims[].Payments[].Prepayment.Contact.Website |
String | No |
Website address for contact (read only) |
ExpenseClaims[].Payments[].Prepayment.Contact.Name |
String | No |
Full name of contact/organisation (max length = 255) |
ExpenseClaims[].Payments[].Prepayment.Contact.SalesTrackingCategories[] |
Array | No |
The default sales tracking categories for contacts |
ExpenseClaims[].Payments[].Prepayment.Contact.SalesTrackingCategories[].TrackingOptionName |
String | No |
The default purchase tracking category name for contacts |
ExpenseClaims[].Payments[].Prepayment.Contact.SalesTrackingCategories[].TrackingCategoryName |
String | No |
The default sales tracking category name for contacts |
ExpenseClaims[].Payments[].Prepayment.Contact.SalesDefaultLineAmountType |
String | No |
The default sales line amount type for a contact. Only available when summaryOnly parameter or paging is used, or when fetch by ContactId or ContactNumber. Possible values:
|
ExpenseClaims[].Payments[].Prepayment.Contact.TrackingCategoryOption |
String | No |
The name of the Tracking Option assigned to the contact under SalesTrackingCategories and PurchasesTrackingCategories |
ExpenseClaims[].Payments[].Prepayment.Contact.TaxNumber |
String | No |
Tax number of contact – this is also known as the ABN (Australia), GST Number (New Zealand), VAT Number (UK) or Tax ID Number (US and global) in the Xero UI depending on which regionalized version of Xero you are using (max length = 50) |
ExpenseClaims[].Payments[].Prepayment.Contact.TrackingCategoryName |
String | No |
The name of the Tracking Category assigned to the contact under SalesTrackingCategories and PurchasesTrackingCategories |
ExpenseClaims[].Payments[].Prepayment.Contact.LastName |
String | No |
Last name of contact person (max length = 255) |
ExpenseClaims[].Payments[].Prepayment.Contact.IsSupplier |
Boolean | No |
true or false – Boolean that describes if a contact that has any AP invoices entered against them. Cannot be set via PUT or POST – it is automatically set when an accounts payable invoice is generated against this contact. |
ExpenseClaims[].Payments[].Prepayment.Contact.PurchasesTrackingCategories[] |
Array | No |
The default purchases tracking categories for contacts |
ExpenseClaims[].Payments[].Prepayment.Contact.PurchasesTrackingCategories[].TrackingOptionName |
String | No |
The default purchase tracking category name for contacts |
ExpenseClaims[].Payments[].Prepayment.Contact.PurchasesTrackingCategories[].TrackingCategoryName |
String | No |
The default sales tracking category name for contacts |
ExpenseClaims[].Payments[].Prepayment.Contact.UpdatedDateUTC |
String | No |
UTC timestamp of last update to contact |
ExpenseClaims[].Payments[].Prepayment.Contact.BrandingTheme |
Object | No | |
ExpenseClaims[].Payments[].Prepayment.Contact.BrandingTheme.Name |
String | No |
Name of branding theme |
ExpenseClaims[].Payments[].Prepayment.Contact.BrandingTheme.BrandingThemeID |
String | No |
Xero identifier |
ExpenseClaims[].Payments[].Prepayment.Contact.BrandingTheme.Type |
String | No |
Always INVOICE Possible values:
|
ExpenseClaims[].Payments[].Prepayment.Contact.BrandingTheme.LogoUrl |
String | No |
The location of the image file used as the logo on this branding theme |
ExpenseClaims[].Payments[].Prepayment.Contact.BrandingTheme.SortOrder |
Integer | No |
Integer – ranked order of branding theme. The default branding theme has a value of 0 |
ExpenseClaims[].Payments[].Prepayment.Contact.BrandingTheme.CreatedDateUTC |
String | No |
UTC timestamp of creation date of branding theme |
ExpenseClaims[].Payments[].Prepayment.Contact.IsCustomer |
Boolean | No |
true or false – Boolean that describes if a contact has any AR invoices entered against them. Cannot be set via PUT or POST – it is automatically set when an accounts receivable invoice is generated against this contact. |
ExpenseClaims[].Payments[].Prepayment.Contact.PurchasesDefaultLineAmountType |
String | No |
The default purchases line amount type for a contact Only available when summaryOnly parameter or paging is used, or when fetch by ContactId or ContactNumber. Possible values:
|
ExpenseClaims[].Payments[].Prepayment.Contact.Attachments[] |
Array | No |
Displays array of attachments from the API |
ExpenseClaims[].Payments[].Prepayment.Contact.Attachments[].ContentLength |
Integer | No |
Length of the file content |
ExpenseClaims[].Payments[].Prepayment.Contact.Attachments[].IncludeOnline |
Boolean | No |
Include the file with the online invoice |
ExpenseClaims[].Payments[].Prepayment.Contact.Attachments[].AttachmentID |
String | No |
Unique ID for the file |
ExpenseClaims[].Payments[].Prepayment.Contact.Attachments[].MimeType |
String | No |
Type of file |
ExpenseClaims[].Payments[].Prepayment.Contact.Attachments[].Url |
String | No |
URL to the file on xero.com |
ExpenseClaims[].Payments[].Prepayment.Contact.Attachments[].FileName |
String | No |
Name of the file |
ExpenseClaims[].Payments[].Prepayment.Contact.PurchasesDefaultAccountCode |
String | No |
The default purchases account code for contacts |
ExpenseClaims[].Payments[].Prepayment.Contact.ContactID |
String | No |
Xero identifier |
ExpenseClaims[].Payments[].Prepayment.Contact.AccountsPayableTaxType |
String | No |
The tax type from TaxRates |
ExpenseClaims[].Payments[].Prepayment.Contact.ContactStatus |
String | No |
Current status of a contact – see contact status types Possible values:
|
ExpenseClaims[].Payments[].Prepayment.Contact.Addresses[] |
Array | No |
Store certain address types for a contact – see address types |
ExpenseClaims[].Payments[].Prepayment.Contact.Addresses[].City |
String | No |
max length = 255 |
ExpenseClaims[].Payments[].Prepayment.Contact.Addresses[].AddressType |
String | No |
define the type of address Possible values:
|
ExpenseClaims[].Payments[].Prepayment.Contact.Addresses[].AttentionTo |
String | No |
max length = 255 |
ExpenseClaims[].Payments[].Prepayment.Contact.Addresses[].AddressLine2 |
String | No |
max length = 500 |
ExpenseClaims[].Payments[].Prepayment.Contact.Addresses[].Region |
String | No |
max length = 255 |
ExpenseClaims[].Payments[].Prepayment.Contact.Addresses[].Country |
String | No |
max length = 50, [A-Z], [a-z] only |
ExpenseClaims[].Payments[].Prepayment.Contact.Addresses[].AddressLine1 |
String | No |
max length = 500 |
ExpenseClaims[].Payments[].Prepayment.Contact.Addresses[].AddressLine4 |
String | No |
max length = 500 |
ExpenseClaims[].Payments[].Prepayment.Contact.Addresses[].AddressLine3 |
String | No |
max length = 500 |
ExpenseClaims[].Payments[].Prepayment.Contact.Addresses[].PostalCode |
String | No |
max length = 50 |
ExpenseClaims[].Payments[].Prepayment.Contact.StatusAttributeString |
String | No |
Status of object |
ExpenseClaims[].Payments[].Prepayment.Contact.CompanyNumber |
String | No |
Company registration number (max length = 50) |
ExpenseClaims[].Payments[].Prepayment.Contact.Phones[] |
Array | No |
Store certain phone types for a contact – see phone types |
ExpenseClaims[].Payments[].Prepayment.Contact.Phones[].PhoneType |
String | No |
Possible values:
|
ExpenseClaims[].Payments[].Prepayment.Contact.Phones[].PhoneNumber |
String | No |
max length = 50 |
ExpenseClaims[].Payments[].Prepayment.Contact.Phones[].PhoneAreaCode |
String | No |
max length = 10 |
ExpenseClaims[].Payments[].Prepayment.Contact.Phones[].PhoneCountryCode |
String | No |
max length = 20 |
ExpenseClaims[].Payments[].Prepayment.Contact.BatchPayments |
No |
Bank details for use on a batch payment stored with each contact |
|
ExpenseClaims[].Payments[].Prepayment.Contact.FirstName |
String | No |
First name of contact person (max length = 255) |
ExpenseClaims[].Payments[].Prepayment.Contact.SalesDefaultAccountCode |
String | No |
The default sales account code for contacts |
ExpenseClaims[].Payments[].Prepayment.Contact.ContactNumber |
String | No |
This can be updated via the API only i.e. This field is read only on the Xero contact screen, used to identify contacts in external systems (max length = 50). If the Contact Number is used, this is displayed as Contact Code in the Contacts UI in Xero. |
ExpenseClaims[].Payments[].Prepayment.Contact.AccountsReceivableTaxType |
String | No |
The tax type from TaxRates |
ExpenseClaims[].Payments[].Prepayment.Contact.DefaultCurrency |
String | No |
3 letter alpha code for the currency – see list of currency codes Possible values:
|
ExpenseClaims[].Payments[].Prepayment.Contact.HasValidationErrors |
Boolean | No |
A boolean to indicate if a contact has an validation errors Default value: false |
ExpenseClaims[].Payments[].Prepayment.Contact.AccountNumber |
String | No |
A user defined account number. This can be updated via the API and the Xero UI (max length = 50) |
ExpenseClaims[].Payments[].Prepayment.Contact.Balances |
Object | No |
The raw AccountsReceivable(sales invoices) and AccountsPayable(bills) outstanding and overdue amounts, not converted to base currency (read only) |
ExpenseClaims[].Payments[].Prepayment.Contact.Balances.AccountsReceivable |
Object | No | |
ExpenseClaims[].Payments[].Prepayment.Contact.Balances.AccountsReceivable.Overdue |
Number | No | |
ExpenseClaims[].Payments[].Prepayment.Contact.Balances.AccountsReceivable.Outstanding |
Number | No | |
ExpenseClaims[].Payments[].Prepayment.Contact.Balances.AccountsPayable |
Object | No | |
ExpenseClaims[].Payments[].Prepayment.Contact.Balances.AccountsPayable.Overdue |
Number | No | |
ExpenseClaims[].Payments[].Prepayment.Contact.Balances.AccountsPayable.Outstanding |
Number | No | |
ExpenseClaims[].Payments[].Prepayment.Contact.XeroNetworkKey |
String | No |
Store XeroNetworkKey for contacts. |
ExpenseClaims[].Payments[].Prepayment.Contact.Discount |
Number | No |
The default discount rate for the contact (read only) |
ExpenseClaims[].Payments[].Prepayment.Contact.MergedToContactID |
String | No |
ID for the destination of a merged contact. Only returned when using paging or when fetching a contact by ContactId or ContactNumber. |
ExpenseClaims[].Payments[].Prepayment.Contact.ValidationErrors[] |
Array | No |
Displays validation errors returned from the API |
ExpenseClaims[].Payments[].Prepayment.Contact.ValidationErrors[].Message |
String | No |
Validation error message |
ExpenseClaims[].Payments[].Prepayment.Contact.EmailAddress |
String | No |
Email address of contact person (umlauts not supported) (max length = 255) |
ExpenseClaims[].Payments[].Prepayment.Contact.HasAttachments |
Boolean | No |
A boolean to indicate if a contact has an attachment Default value: false |
ExpenseClaims[].Payments[].Prepayment.Contact.PaymentTerms |
Object | No | |
ExpenseClaims[].Payments[].Prepayment.Contact.PaymentTerms.Bills |
Object | No | |
ExpenseClaims[].Payments[].Prepayment.Contact.PaymentTerms.Bills.Day |
Integer | No |
Day of Month (0-31) |
ExpenseClaims[].Payments[].Prepayment.Contact.PaymentTerms.Bills.Type |
String | No |
Possible values:
|
ExpenseClaims[].Payments[].Prepayment.Contact.PaymentTerms.Sales |
Object | No | |
ExpenseClaims[].Payments[].Prepayment.Contact.PaymentTerms.Sales.Day |
Integer | No |
Day of Month (0-31) |
ExpenseClaims[].Payments[].Prepayment.Contact.PaymentTerms.Sales.Type |
String | No |
Possible values:
|
ExpenseClaims[].Payments[].Prepayment.Contact.ContactGroups[] |
Array | No |
Displays which contact groups a contact is included in |
ExpenseClaims[].Payments[].Prepayment.Contact.ContactGroups[].Name |
String | No |
The Name of the contact group. Required when creating a new contact group |
ExpenseClaims[].Payments[].Prepayment.Contact.ContactGroups[].Status |
String | No |
The Status of a contact group. To delete a contact group update the status to DELETED. Only contact groups with a status of ACTIVE are returned on GETs. Possible values:
|
ExpenseClaims[].Payments[].Prepayment.Contact.ContactGroups[].ContactGroupID |
String | No |
The Xero identifier for an contact group – specified as a string following the endpoint name. e.g. /297c2dc5-cc47-4afd-8ec8-74990b8761e9 |
ExpenseClaims[].Payments[].Prepayment.Contact.ContactGroups[].Contacts[] |
Array | No |
The ContactID and Name of Contacts in a contact group. Returned on GETs when the ContactGroupID is supplied in the URL. |
ExpenseClaims[].Payments[].Prepayment.Contact.ContactPersons[] |
Array | No |
See contact persons |
ExpenseClaims[].Payments[].Prepayment.Contact.ContactPersons[].IncludeInEmails |
Boolean | No |
boolean to indicate whether contact should be included on emails with invoices etc. |
ExpenseClaims[].Payments[].Prepayment.Contact.ContactPersons[].EmailAddress |
String | No |
Email address of person |
ExpenseClaims[].Payments[].Prepayment.Contact.ContactPersons[].LastName |
String | No |
Last name of person |
ExpenseClaims[].Payments[].Prepayment.Contact.ContactPersons[].FirstName |
String | No |
First name of person |
ExpenseClaims[].Payments[].Prepayment.HasAttachments |
Boolean | No |
boolean to indicate if a prepayment has an attachment Default value: false |
ExpenseClaims[].Payments[].Prepayment.CurrencyCode |
String | No |
3 letter alpha code for the currency – see list of currency codes Possible values:
|
ExpenseClaims[].Payments[].Prepayment.PrepaymentID |
String | No |
Xero generated unique identifier |
ExpenseClaims[].Payments[].Overpayment |
Object | No | |
ExpenseClaims[].Payments[].Overpayment.LineAmountTypes |
String | No |
Line amounts are exclusive of tax by default if you don’t specify this element. See Line Amount Types Possible values:
|
ExpenseClaims[].Payments[].Overpayment.Date |
String | No |
The date the overpayment is created YYYY-MM-DD |
ExpenseClaims[].Payments[].Overpayment.Payments[] |
Array | No |
See Payments |
ExpenseClaims[].Payments[].Overpayment.Type |
String | No |
See Overpayment Types Possible values:
|
ExpenseClaims[].Payments[].Overpayment.Total |
Number | No |
The total of the overpayment (subtotal + total tax) |
ExpenseClaims[].Payments[].Overpayment.TotalTax |
Number | No |
The total tax on the overpayment |
ExpenseClaims[].Payments[].Overpayment.LineItems[] |
Array | No |
See Overpayment Line Items |
ExpenseClaims[].Payments[].Overpayment.LineItems[].Quantity |
Number | No |
LineItem Quantity |
ExpenseClaims[].Payments[].Overpayment.LineItems[].UnitAmount |
Number | No |
LineItem Unit Amount |
ExpenseClaims[].Payments[].Overpayment.LineItems[].TaxAmount |
Number | No |
The tax amount is auto calculated as a percentage of the line amount (see below) based on the tax rate. This value can be overriden if the calculated is not correct. |
ExpenseClaims[].Payments[].Overpayment.LineItems[].Item |
No | ||
ExpenseClaims[].Payments[].Overpayment.LineItems[].AccountCode |
String | No |
See Accounts |
ExpenseClaims[].Payments[].Overpayment.LineItems[].RepeatingInvoiceID |
String | No |
The Xero identifier for a Repeating Invoice |
ExpenseClaims[].Payments[].Overpayment.LineItems[].LineItemID |
String | No |
LineItem unique ID |
ExpenseClaims[].Payments[].Overpayment.LineItems[].Description |
String | No |
Description needs to be at least 1 char long. A line item with just a description (i.e no unit amount or quantity) can be created by specifying just a element that contains at least 1 character |
ExpenseClaims[].Payments[].Overpayment.LineItems[].TaxType |
String | No |
The tax type from TaxRates |
ExpenseClaims[].Payments[].Overpayment.LineItems[].Taxability |
String | No |
The type of taxability Possible values:
|
ExpenseClaims[].Payments[].Overpayment.LineItems[].TaxBreakdown[] |
Array | No |
An array of tax components defined for this line item |
ExpenseClaims[].Payments[].Overpayment.LineItems[].TaxBreakdown[].TaxComponentId |
String | No |
The unique ID number of this component |
ExpenseClaims[].Payments[].Overpayment.LineItems[].TaxBreakdown[].Name |
String | No |
The name of the jurisdiction |
ExpenseClaims[].Payments[].Overpayment.LineItems[].TaxBreakdown[].Type |
String | No |
The type of the jurisdiction Possible values:
|
ExpenseClaims[].Payments[].Overpayment.LineItems[].TaxBreakdown[].TaxAmount |
Number | No |
The amount of the tax |
ExpenseClaims[].Payments[].Overpayment.LineItems[].TaxBreakdown[].TaxableAmount |
Number | No |
The amount that is taxable |
ExpenseClaims[].Payments[].Overpayment.LineItems[].TaxBreakdown[].NonTaxableAmount |
Number | No |
The amount that is not taxable |
ExpenseClaims[].Payments[].Overpayment.LineItems[].TaxBreakdown[].TaxPercentage |
Number | No |
The percentage of the tax |
ExpenseClaims[].Payments[].Overpayment.LineItems[].TaxBreakdown[].ExemptAmount |
Number | No |
The amount that is exempt |
ExpenseClaims[].Payments[].Overpayment.LineItems[].TaxBreakdown[].StateAssignedNo |
String | No |
The state assigned number of the jurisdiction |
ExpenseClaims[].Payments[].Overpayment.LineItems[].TaxBreakdown[].JurisdictionRegion |
String | No |
Name identifying the region within the country |
ExpenseClaims[].Payments[].Overpayment.LineItems[].LineAmount |
Number | No |
If you wish to omit either the Quantity or UnitAmount you can provide a LineAmount and Xero will calculate the missing amount for you. The line amount reflects the discounted price if either a DiscountRate or DiscountAmount has been used i.e. LineAmount = Quantity * Unit Amount * ((100 - DiscountRate)/100) or LineAmount = (Quantity * UnitAmount) - DiscountAmount |
ExpenseClaims[].Payments[].Overpayment.LineItems[].AccountID |
String | No |
The associated account ID related to this line item |
ExpenseClaims[].Payments[].Overpayment.LineItems[].SalesTaxCodeId |
Number | No |
The ID of the sales tax code |
ExpenseClaims[].Payments[].Overpayment.LineItems[].ItemCode |
String | No |
See Items |
ExpenseClaims[].Payments[].Overpayment.LineItems[].Tracking[] |
Array | No |
Optional Tracking Category – see Tracking. Any LineItem can have a maximum of 2 elements. |
ExpenseClaims[].Payments[].Overpayment.LineItems[].Tracking[].TrackingCategoryID |
String | No |
The Xero identifier for a tracking category |
ExpenseClaims[].Payments[].Overpayment.LineItems[].Tracking[].Name |
String | No |
The name of the tracking category |
ExpenseClaims[].Payments[].Overpayment.LineItems[].Tracking[].Option |
String | No |
See Tracking Options |
ExpenseClaims[].Payments[].Overpayment.LineItems[].Tracking[].TrackingOptionID |
String | No |
The Xero identifier for a tracking category option |
ExpenseClaims[].Payments[].Overpayment.LineItems[].DiscountAmount |
Number | No |
Discount amount being applied to a line item. Only supported on ACCREC invoices and quotes. ACCPAY invoices and credit notes in Xero do not support discounts. |
ExpenseClaims[].Payments[].Overpayment.LineItems[].DiscountRate |
Number | No |
Percentage discount being applied to a line item (only supported on ACCREC invoices – ACC PAY invoices and credit notes in Xero do not support discounts |
ExpenseClaims[].Payments[].Overpayment.UpdatedDateUTC |
String | No |
UTC timestamp of last update to the overpayment |
ExpenseClaims[].Payments[].Overpayment.SubTotal |
Number | No |
The subtotal of the overpayment excluding taxes |
ExpenseClaims[].Payments[].Overpayment.CurrencyRate |
Number | No |
The currency rate for a multicurrency overpayment. If no rate is specified, the XE.com day rate is used |
ExpenseClaims[].Payments[].Overpayment.Status |
String | No |
See Overpayment Status Codes Possible values:
|
ExpenseClaims[].Payments[].Overpayment.OverpaymentID |
String | No |
Xero generated unique identifier |
ExpenseClaims[].Payments[].Overpayment.AppliedAmount |
Number | No |
The amount of applied to an invoice |
ExpenseClaims[].Payments[].Overpayment.Attachments[] |
Array | No |
See Attachments |
ExpenseClaims[].Payments[].Overpayment.Attachments[].ContentLength |
Integer | No |
Length of the file content |
ExpenseClaims[].Payments[].Overpayment.Attachments[].IncludeOnline |
Boolean | No |
Include the file with the online invoice |
ExpenseClaims[].Payments[].Overpayment.Attachments[].AttachmentID |
String | No |
Unique ID for the file |
ExpenseClaims[].Payments[].Overpayment.Attachments[].MimeType |
String | No |
Type of file |
ExpenseClaims[].Payments[].Overpayment.Attachments[].Url |
String | No |
URL to the file on xero.com |
ExpenseClaims[].Payments[].Overpayment.Attachments[].FileName |
String | No |
Name of the file |
ExpenseClaims[].Payments[].Overpayment.RemainingCredit |
Number | No |
The remaining credit balance on the overpayment |
ExpenseClaims[].Payments[].Overpayment.Allocations[] |
Array | No |
See Allocations |
ExpenseClaims[].Payments[].Overpayment.Contact |
Object | No | |
ExpenseClaims[].Payments[].Overpayment.Contact.BankAccountDetails |
String | No |
Bank account number of contact |
ExpenseClaims[].Payments[].Overpayment.Contact.Website |
String | No |
Website address for contact (read only) |
ExpenseClaims[].Payments[].Overpayment.Contact.Name |
String | No |
Full name of contact/organisation (max length = 255) |
ExpenseClaims[].Payments[].Overpayment.Contact.SalesTrackingCategories[] |
Array | No |
The default sales tracking categories for contacts |
ExpenseClaims[].Payments[].Overpayment.Contact.SalesTrackingCategories[].TrackingOptionName |
String | No |
The default purchase tracking category name for contacts |
ExpenseClaims[].Payments[].Overpayment.Contact.SalesTrackingCategories[].TrackingCategoryName |
String | No |
The default sales tracking category name for contacts |
ExpenseClaims[].Payments[].Overpayment.Contact.SalesDefaultLineAmountType |
String | No |
The default sales line amount type for a contact. Only available when summaryOnly parameter or paging is used, or when fetch by ContactId or ContactNumber. Possible values:
|
ExpenseClaims[].Payments[].Overpayment.Contact.TrackingCategoryOption |
String | No |
The name of the Tracking Option assigned to the contact under SalesTrackingCategories and PurchasesTrackingCategories |
ExpenseClaims[].Payments[].Overpayment.Contact.TaxNumber |
String | No |
Tax number of contact – this is also known as the ABN (Australia), GST Number (New Zealand), VAT Number (UK) or Tax ID Number (US and global) in the Xero UI depending on which regionalized version of Xero you are using (max length = 50) |
ExpenseClaims[].Payments[].Overpayment.Contact.TrackingCategoryName |
String | No |
The name of the Tracking Category assigned to the contact under SalesTrackingCategories and PurchasesTrackingCategories |
ExpenseClaims[].Payments[].Overpayment.Contact.LastName |
String | No |
Last name of contact person (max length = 255) |
ExpenseClaims[].Payments[].Overpayment.Contact.IsSupplier |
Boolean | No |
true or false – Boolean that describes if a contact that has any AP invoices entered against them. Cannot be set via PUT or POST – it is automatically set when an accounts payable invoice is generated against this contact. |
ExpenseClaims[].Payments[].Overpayment.Contact.PurchasesTrackingCategories[] |
Array | No |
The default purchases tracking categories for contacts |
ExpenseClaims[].Payments[].Overpayment.Contact.PurchasesTrackingCategories[].TrackingOptionName |
String | No |
The default purchase tracking category name for contacts |
ExpenseClaims[].Payments[].Overpayment.Contact.PurchasesTrackingCategories[].TrackingCategoryName |
String | No |
The default sales tracking category name for contacts |
ExpenseClaims[].Payments[].Overpayment.Contact.UpdatedDateUTC |
String | No |
UTC timestamp of last update to contact |
ExpenseClaims[].Payments[].Overpayment.Contact.BrandingTheme |
Object | No | |
ExpenseClaims[].Payments[].Overpayment.Contact.BrandingTheme.Name |
String | No |
Name of branding theme |
ExpenseClaims[].Payments[].Overpayment.Contact.BrandingTheme.BrandingThemeID |
String | No |
Xero identifier |
ExpenseClaims[].Payments[].Overpayment.Contact.BrandingTheme.Type |
String | No |
Always INVOICE Possible values:
|
ExpenseClaims[].Payments[].Overpayment.Contact.BrandingTheme.LogoUrl |
String | No |
The location of the image file used as the logo on this branding theme |
ExpenseClaims[].Payments[].Overpayment.Contact.BrandingTheme.SortOrder |
Integer | No |
Integer – ranked order of branding theme. The default branding theme has a value of 0 |
ExpenseClaims[].Payments[].Overpayment.Contact.BrandingTheme.CreatedDateUTC |
String | No |
UTC timestamp of creation date of branding theme |
ExpenseClaims[].Payments[].Overpayment.Contact.IsCustomer |
Boolean | No |
true or false – Boolean that describes if a contact has any AR invoices entered against them. Cannot be set via PUT or POST – it is automatically set when an accounts receivable invoice is generated against this contact. |
ExpenseClaims[].Payments[].Overpayment.Contact.PurchasesDefaultLineAmountType |
String | No |
The default purchases line amount type for a contact Only available when summaryOnly parameter or paging is used, or when fetch by ContactId or ContactNumber. Possible values:
|
ExpenseClaims[].Payments[].Overpayment.Contact.Attachments[] |
Array | No |
Displays array of attachments from the API |
ExpenseClaims[].Payments[].Overpayment.Contact.Attachments[].ContentLength |
Integer | No |
Length of the file content |
ExpenseClaims[].Payments[].Overpayment.Contact.Attachments[].IncludeOnline |
Boolean | No |
Include the file with the online invoice |
ExpenseClaims[].Payments[].Overpayment.Contact.Attachments[].AttachmentID |
String | No |
Unique ID for the file |
ExpenseClaims[].Payments[].Overpayment.Contact.Attachments[].MimeType |
String | No |
Type of file |
ExpenseClaims[].Payments[].Overpayment.Contact.Attachments[].Url |
String | No |
URL to the file on xero.com |
ExpenseClaims[].Payments[].Overpayment.Contact.Attachments[].FileName |
String | No |
Name of the file |
ExpenseClaims[].Payments[].Overpayment.Contact.PurchasesDefaultAccountCode |
String | No |
The default purchases account code for contacts |
ExpenseClaims[].Payments[].Overpayment.Contact.ContactID |
String | No |
Xero identifier |
ExpenseClaims[].Payments[].Overpayment.Contact.AccountsPayableTaxType |
String | No |
The tax type from TaxRates |
ExpenseClaims[].Payments[].Overpayment.Contact.ContactStatus |
String | No |
Current status of a contact – see contact status types Possible values:
|
ExpenseClaims[].Payments[].Overpayment.Contact.Addresses[] |
Array | No |
Store certain address types for a contact – see address types |
ExpenseClaims[].Payments[].Overpayment.Contact.Addresses[].City |
String | No |
max length = 255 |
ExpenseClaims[].Payments[].Overpayment.Contact.Addresses[].AddressType |
String | No |
define the type of address Possible values:
|
ExpenseClaims[].Payments[].Overpayment.Contact.Addresses[].AttentionTo |
String | No |
max length = 255 |
ExpenseClaims[].Payments[].Overpayment.Contact.Addresses[].AddressLine2 |
String | No |
max length = 500 |
ExpenseClaims[].Payments[].Overpayment.Contact.Addresses[].Region |
String | No |
max length = 255 |
ExpenseClaims[].Payments[].Overpayment.Contact.Addresses[].Country |
String | No |
max length = 50, [A-Z], [a-z] only |
ExpenseClaims[].Payments[].Overpayment.Contact.Addresses[].AddressLine1 |
String | No |
max length = 500 |
ExpenseClaims[].Payments[].Overpayment.Contact.Addresses[].AddressLine4 |
String | No |
max length = 500 |
ExpenseClaims[].Payments[].Overpayment.Contact.Addresses[].AddressLine3 |
String | No |
max length = 500 |
ExpenseClaims[].Payments[].Overpayment.Contact.Addresses[].PostalCode |
String | No |
max length = 50 |
ExpenseClaims[].Payments[].Overpayment.Contact.StatusAttributeString |
String | No |
Status of object |
ExpenseClaims[].Payments[].Overpayment.Contact.CompanyNumber |
String | No |
Company registration number (max length = 50) |
ExpenseClaims[].Payments[].Overpayment.Contact.Phones[] |
Array | No |
Store certain phone types for a contact – see phone types |
ExpenseClaims[].Payments[].Overpayment.Contact.Phones[].PhoneType |
String | No |
Possible values:
|
ExpenseClaims[].Payments[].Overpayment.Contact.Phones[].PhoneNumber |
String | No |
max length = 50 |
ExpenseClaims[].Payments[].Overpayment.Contact.Phones[].PhoneAreaCode |
String | No |
max length = 10 |
ExpenseClaims[].Payments[].Overpayment.Contact.Phones[].PhoneCountryCode |
String | No |
max length = 20 |
ExpenseClaims[].Payments[].Overpayment.Contact.BatchPayments |
No |
Bank details for use on a batch payment stored with each contact |
|
ExpenseClaims[].Payments[].Overpayment.Contact.FirstName |
String | No |
First name of contact person (max length = 255) |
ExpenseClaims[].Payments[].Overpayment.Contact.SalesDefaultAccountCode |
String | No |
The default sales account code for contacts |
ExpenseClaims[].Payments[].Overpayment.Contact.ContactNumber |
String | No |
This can be updated via the API only i.e. This field is read only on the Xero contact screen, used to identify contacts in external systems (max length = 50). If the Contact Number is used, this is displayed as Contact Code in the Contacts UI in Xero. |
ExpenseClaims[].Payments[].Overpayment.Contact.AccountsReceivableTaxType |
String | No |
The tax type from TaxRates |
ExpenseClaims[].Payments[].Overpayment.Contact.DefaultCurrency |
String | No |
3 letter alpha code for the currency – see list of currency codes Possible values:
|
ExpenseClaims[].Payments[].Overpayment.Contact.HasValidationErrors |
Boolean | No |
A boolean to indicate if a contact has an validation errors Default value: false |
ExpenseClaims[].Payments[].Overpayment.Contact.AccountNumber |
String | No |
A user defined account number. This can be updated via the API and the Xero UI (max length = 50) |
ExpenseClaims[].Payments[].Overpayment.Contact.Balances |
Object | No |
The raw AccountsReceivable(sales invoices) and AccountsPayable(bills) outstanding and overdue amounts, not converted to base currency (read only) |
ExpenseClaims[].Payments[].Overpayment.Contact.Balances.AccountsReceivable |
Object | No | |
ExpenseClaims[].Payments[].Overpayment.Contact.Balances.AccountsReceivable.Overdue |
Number | No | |
ExpenseClaims[].Payments[].Overpayment.Contact.Balances.AccountsReceivable.Outstanding |
Number | No | |
ExpenseClaims[].Payments[].Overpayment.Contact.Balances.AccountsPayable |
Object | No | |
ExpenseClaims[].Payments[].Overpayment.Contact.Balances.AccountsPayable.Overdue |
Number | No | |
ExpenseClaims[].Payments[].Overpayment.Contact.Balances.AccountsPayable.Outstanding |
Number | No | |
ExpenseClaims[].Payments[].Overpayment.Contact.XeroNetworkKey |
String | No |
Store XeroNetworkKey for contacts. |
ExpenseClaims[].Payments[].Overpayment.Contact.Discount |
Number | No |
The default discount rate for the contact (read only) |
ExpenseClaims[].Payments[].Overpayment.Contact.MergedToContactID |
String | No |
ID for the destination of a merged contact. Only returned when using paging or when fetching a contact by ContactId or ContactNumber. |
ExpenseClaims[].Payments[].Overpayment.Contact.ValidationErrors[] |
Array | No |
Displays validation errors returned from the API |
ExpenseClaims[].Payments[].Overpayment.Contact.ValidationErrors[].Message |
String | No |
Validation error message |
ExpenseClaims[].Payments[].Overpayment.Contact.EmailAddress |
String | No |
Email address of contact person (umlauts not supported) (max length = 255) |
ExpenseClaims[].Payments[].Overpayment.Contact.HasAttachments |
Boolean | No |
A boolean to indicate if a contact has an attachment Default value: false |
ExpenseClaims[].Payments[].Overpayment.Contact.PaymentTerms |
Object | No | |
ExpenseClaims[].Payments[].Overpayment.Contact.PaymentTerms.Bills |
Object | No | |
ExpenseClaims[].Payments[].Overpayment.Contact.PaymentTerms.Bills.Day |
Integer | No |
Day of Month (0-31) |
ExpenseClaims[].Payments[].Overpayment.Contact.PaymentTerms.Bills.Type |
String | No |
Possible values:
|
ExpenseClaims[].Payments[].Overpayment.Contact.PaymentTerms.Sales |
Object | No | |
ExpenseClaims[].Payments[].Overpayment.Contact.PaymentTerms.Sales.Day |
Integer | No |
Day of Month (0-31) |
ExpenseClaims[].Payments[].Overpayment.Contact.PaymentTerms.Sales.Type |
String | No |
Possible values:
|
ExpenseClaims[].Payments[].Overpayment.Contact.ContactGroups[] |
Array | No |
Displays which contact groups a contact is included in |
ExpenseClaims[].Payments[].Overpayment.Contact.ContactGroups[].Name |
String | No |
The Name of the contact group. Required when creating a new contact group |
ExpenseClaims[].Payments[].Overpayment.Contact.ContactGroups[].Status |
String | No |
The Status of a contact group. To delete a contact group update the status to DELETED. Only contact groups with a status of ACTIVE are returned on GETs. Possible values:
|
ExpenseClaims[].Payments[].Overpayment.Contact.ContactGroups[].ContactGroupID |
String | No |
The Xero identifier for an contact group – specified as a string following the endpoint name. e.g. /297c2dc5-cc47-4afd-8ec8-74990b8761e9 |
ExpenseClaims[].Payments[].Overpayment.Contact.ContactGroups[].Contacts[] |
Array | No |
The ContactID and Name of Contacts in a contact group. Returned on GETs when the ContactGroupID is supplied in the URL. |
ExpenseClaims[].Payments[].Overpayment.Contact.ContactPersons[] |
Array | No |
See contact persons |
ExpenseClaims[].Payments[].Overpayment.Contact.ContactPersons[].IncludeInEmails |
Boolean | No |
boolean to indicate whether contact should be included on emails with invoices etc. |
ExpenseClaims[].Payments[].Overpayment.Contact.ContactPersons[].EmailAddress |
String | No |
Email address of person |
ExpenseClaims[].Payments[].Overpayment.Contact.ContactPersons[].LastName |
String | No |
Last name of person |
ExpenseClaims[].Payments[].Overpayment.Contact.ContactPersons[].FirstName |
String | No |
First name of person |
ExpenseClaims[].Payments[].Overpayment.HasAttachments |
Boolean | No |
boolean to indicate if a overpayment has an attachment Default value: false |
ExpenseClaims[].Payments[].Overpayment.CurrencyCode |
String | No |
3 letter alpha code for the currency – see list of currency codes Possible values:
|
ExpenseClaims[].Payments[].Invoice |
Object | No | |
ExpenseClaims[].Payments[].Invoice.TotalDiscount |
Number | No |
Total of discounts applied on the invoice line items |
ExpenseClaims[].Payments[].Invoice.HasErrors |
Boolean | No |
A boolean to indicate if a invoice has an validation errors Default value: false |
ExpenseClaims[].Payments[].Invoice.PlannedPaymentDate |
String | No |
Shown on bills (Accounts Payable) when this has been set |
ExpenseClaims[].Payments[].Invoice.Url |
String | No |
URL link to a source document – shown as “Go to [appName]” in the Xero app |
ExpenseClaims[].Payments[].Invoice.InvoiceNumber |
String | No |
ACCREC – Unique alpha numeric code identifying invoice (when missing will auto-generate from your Organisation Invoice Settings) (max length = 255) |
ExpenseClaims[].Payments[].Invoice.Payments[] |
Array | No |
See Payments |
ExpenseClaims[].Payments[].Invoice.IsDiscounted |
Boolean | No |
boolean to indicate if an invoice has a discount |
ExpenseClaims[].Payments[].Invoice.Total |
Number | No |
Total of Invoice tax inclusive (i.e. SubTotal + TotalTax). This will be ignored if it doesn’t equal the sum of the LineAmounts |
ExpenseClaims[].Payments[].Invoice.RepeatingInvoiceID |
String | No |
Xero generated unique identifier for repeating invoices |
ExpenseClaims[].Payments[].Invoice.FullyPaidOnDate |
String | No |
The date the invoice was fully paid. Only returned on fully paid invoices |
ExpenseClaims[].Payments[].Invoice.InvoiceAddresses[] |
Array | No |
An array of addresses used to auto calculate sales tax |
ExpenseClaims[].Payments[].Invoice.InvoiceAddresses[].City |
String | No |
City of a physical address |
ExpenseClaims[].Payments[].Invoice.InvoiceAddresses[].AddressLine2 |
String | No |
Second line of a physical address |
ExpenseClaims[].Payments[].Invoice.InvoiceAddresses[].Region |
String | No |
Region or state of a physical address |
ExpenseClaims[].Payments[].Invoice.InvoiceAddresses[].Country |
String | No |
Country of a physical address |
ExpenseClaims[].Payments[].Invoice.InvoiceAddresses[].AddressLine1 |
String | No |
First line of a physical address |
ExpenseClaims[].Payments[].Invoice.InvoiceAddresses[].InvoiceAddressType |
String | No |
Indicates whether the address is defined as origin (FROM) or destination (TO) Possible values:
|
ExpenseClaims[].Payments[].Invoice.InvoiceAddresses[].AddressLine4 |
String | No |
Fourth line of a physical address |
ExpenseClaims[].Payments[].Invoice.InvoiceAddresses[].AddressLine3 |
String | No |
Third line of a physical address |
ExpenseClaims[].Payments[].Invoice.InvoiceAddresses[].PostalCode |
String | No |
Postal code of a physical address |
ExpenseClaims[].Payments[].Invoice.Overpayments[] |
Array | No |
See Overpayments |
ExpenseClaims[].Payments[].Invoice.Overpayments[].LineAmountTypes |
String | No |
Line amounts are exclusive of tax by default if you don’t specify this element. See Line Amount Types Possible values:
|
ExpenseClaims[].Payments[].Invoice.Overpayments[].Date |
String | No |
The date the overpayment is created YYYY-MM-DD |
ExpenseClaims[].Payments[].Invoice.Overpayments[].Payments[] |
Array | No |
See Payments |
ExpenseClaims[].Payments[].Invoice.Overpayments[].Type |
String | No |
See Overpayment Types Possible values:
|
ExpenseClaims[].Payments[].Invoice.Overpayments[].Total |
Number | No |
The total of the overpayment (subtotal + total tax) |
ExpenseClaims[].Payments[].Invoice.Overpayments[].TotalTax |
Number | No |
The total tax on the overpayment |
ExpenseClaims[].Payments[].Invoice.Overpayments[].LineItems[] |
Array | No |
See Overpayment Line Items |
ExpenseClaims[].Payments[].Invoice.Overpayments[].LineItems[].Quantity |
Number | No |
LineItem Quantity |
ExpenseClaims[].Payments[].Invoice.Overpayments[].LineItems[].UnitAmount |
Number | No |
LineItem Unit Amount |
ExpenseClaims[].Payments[].Invoice.Overpayments[].LineItems[].TaxAmount |
Number | No |
The tax amount is auto calculated as a percentage of the line amount (see below) based on the tax rate. This value can be overriden if the calculated is not correct. |
ExpenseClaims[].Payments[].Invoice.Overpayments[].LineItems[].Item |
No | ||
ExpenseClaims[].Payments[].Invoice.Overpayments[].LineItems[].AccountCode |
String | No |
See Accounts |
ExpenseClaims[].Payments[].Invoice.Overpayments[].LineItems[].RepeatingInvoiceID |
String | No |
The Xero identifier for a Repeating Invoice |
ExpenseClaims[].Payments[].Invoice.Overpayments[].LineItems[].LineItemID |
String | No |
LineItem unique ID |
ExpenseClaims[].Payments[].Invoice.Overpayments[].LineItems[].Description |
String | No |
Description needs to be at least 1 char long. A line item with just a description (i.e no unit amount or quantity) can be created by specifying just a element that contains at least 1 character |
ExpenseClaims[].Payments[].Invoice.Overpayments[].LineItems[].TaxType |
String | No |
The tax type from TaxRates |
ExpenseClaims[].Payments[].Invoice.Overpayments[].LineItems[].Taxability |
String | No |
The type of taxability Possible values:
|
ExpenseClaims[].Payments[].Invoice.Overpayments[].LineItems[].TaxBreakdown[] |
Array | No |
An array of tax components defined for this line item |
ExpenseClaims[].Payments[].Invoice.Overpayments[].LineItems[].TaxBreakdown[].TaxComponentId |
String | No |
The unique ID number of this component |
ExpenseClaims[].Payments[].Invoice.Overpayments[].LineItems[].TaxBreakdown[].Name |
String | No |
The name of the jurisdiction |
ExpenseClaims[].Payments[].Invoice.Overpayments[].LineItems[].TaxBreakdown[].Type |
String | No |
The type of the jurisdiction Possible values:
|
ExpenseClaims[].Payments[].Invoice.Overpayments[].LineItems[].TaxBreakdown[].TaxAmount |
Number | No |
The amount of the tax |
ExpenseClaims[].Payments[].Invoice.Overpayments[].LineItems[].TaxBreakdown[].TaxableAmount |
Number | No |
The amount that is taxable |
ExpenseClaims[].Payments[].Invoice.Overpayments[].LineItems[].TaxBreakdown[].NonTaxableAmount |
Number | No |
The amount that is not taxable |
ExpenseClaims[].Payments[].Invoice.Overpayments[].LineItems[].TaxBreakdown[].TaxPercentage |
Number | No |
The percentage of the tax |
ExpenseClaims[].Payments[].Invoice.Overpayments[].LineItems[].TaxBreakdown[].ExemptAmount |
Number | No |
The amount that is exempt |
ExpenseClaims[].Payments[].Invoice.Overpayments[].LineItems[].TaxBreakdown[].StateAssignedNo |
String | No |
The state assigned number of the jurisdiction |
ExpenseClaims[].Payments[].Invoice.Overpayments[].LineItems[].TaxBreakdown[].JurisdictionRegion |
String | No |
Name identifying the region within the country |
ExpenseClaims[].Payments[].Invoice.Overpayments[].LineItems[].LineAmount |
Number | No |
If you wish to omit either the Quantity or UnitAmount you can provide a LineAmount and Xero will calculate the missing amount for you. The line amount reflects the discounted price if either a DiscountRate or DiscountAmount has been used i.e. LineAmount = Quantity * Unit Amount * ((100 - DiscountRate)/100) or LineAmount = (Quantity * UnitAmount) - DiscountAmount |
ExpenseClaims[].Payments[].Invoice.Overpayments[].LineItems[].AccountID |
String | No |
The associated account ID related to this line item |
ExpenseClaims[].Payments[].Invoice.Overpayments[].LineItems[].SalesTaxCodeId |
Number | No |
The ID of the sales tax code |
ExpenseClaims[].Payments[].Invoice.Overpayments[].LineItems[].ItemCode |
String | No |
See Items |
ExpenseClaims[].Payments[].Invoice.Overpayments[].LineItems[].Tracking[] |
Array | No |
Optional Tracking Category – see Tracking. Any LineItem can have a maximum of 2 elements. |
ExpenseClaims[].Payments[].Invoice.Overpayments[].LineItems[].Tracking[].TrackingCategoryID |
String | No |
The Xero identifier for a tracking category |
ExpenseClaims[].Payments[].Invoice.Overpayments[].LineItems[].Tracking[].Name |
String | No |
The name of the tracking category |
ExpenseClaims[].Payments[].Invoice.Overpayments[].LineItems[].Tracking[].Option |
String | No |
See Tracking Options |
ExpenseClaims[].Payments[].Invoice.Overpayments[].LineItems[].Tracking[].TrackingOptionID |
String | No |
The Xero identifier for a tracking category option |
ExpenseClaims[].Payments[].Invoice.Overpayments[].LineItems[].DiscountAmount |
Number | No |
Discount amount being applied to a line item. Only supported on ACCREC invoices and quotes. ACCPAY invoices and credit notes in Xero do not support discounts. |
ExpenseClaims[].Payments[].Invoice.Overpayments[].LineItems[].DiscountRate |
Number | No |
Percentage discount being applied to a line item (only supported on ACCREC invoices – ACC PAY invoices and credit notes in Xero do not support discounts |
ExpenseClaims[].Payments[].Invoice.Overpayments[].UpdatedDateUTC |
String | No |
UTC timestamp of last update to the overpayment |
ExpenseClaims[].Payments[].Invoice.Overpayments[].SubTotal |
Number | No |
The subtotal of the overpayment excluding taxes |
ExpenseClaims[].Payments[].Invoice.Overpayments[].CurrencyRate |
Number | No |
The currency rate for a multicurrency overpayment. If no rate is specified, the XE.com day rate is used |
ExpenseClaims[].Payments[].Invoice.Overpayments[].Status |
String | No |
See Overpayment Status Codes Possible values:
|
ExpenseClaims[].Payments[].Invoice.Overpayments[].OverpaymentID |
String | No |
Xero generated unique identifier |
ExpenseClaims[].Payments[].Invoice.Overpayments[].AppliedAmount |
Number | No |
The amount of applied to an invoice |
ExpenseClaims[].Payments[].Invoice.Overpayments[].Attachments[] |
Array | No |
See Attachments |
ExpenseClaims[].Payments[].Invoice.Overpayments[].Attachments[].ContentLength |
Integer | No |
Length of the file content |
ExpenseClaims[].Payments[].Invoice.Overpayments[].Attachments[].IncludeOnline |
Boolean | No |
Include the file with the online invoice |
ExpenseClaims[].Payments[].Invoice.Overpayments[].Attachments[].AttachmentID |
String | No |
Unique ID for the file |
ExpenseClaims[].Payments[].Invoice.Overpayments[].Attachments[].MimeType |
String | No |
Type of file |
ExpenseClaims[].Payments[].Invoice.Overpayments[].Attachments[].Url |
String | No |
URL to the file on xero.com |
ExpenseClaims[].Payments[].Invoice.Overpayments[].Attachments[].FileName |
String | No |
Name of the file |
ExpenseClaims[].Payments[].Invoice.Overpayments[].RemainingCredit |
Number | No |
The remaining credit balance on the overpayment |
ExpenseClaims[].Payments[].Invoice.Overpayments[].Allocations[] |
Array | No |
See Allocations |
ExpenseClaims[].Payments[].Invoice.Overpayments[].Contact |
Object | No | |
ExpenseClaims[].Payments[].Invoice.Overpayments[].Contact.BankAccountDetails |
String | No |
Bank account number of contact |
ExpenseClaims[].Payments[].Invoice.Overpayments[].Contact.Website |
String | No |
Website address for contact (read only) |
ExpenseClaims[].Payments[].Invoice.Overpayments[].Contact.Name |
String | No |
Full name of contact/organisation (max length = 255) |
ExpenseClaims[].Payments[].Invoice.Overpayments[].Contact.SalesTrackingCategories[] |
Array | No |
The default sales tracking categories for contacts |
ExpenseClaims[].Payments[].Invoice.Overpayments[].Contact.SalesTrackingCategories[].TrackingOptionName |
String | No |
The default purchase tracking category name for contacts |
ExpenseClaims[].Payments[].Invoice.Overpayments[].Contact.SalesTrackingCategories[].TrackingCategoryName |
String | No |
The default sales tracking category name for contacts |
ExpenseClaims[].Payments[].Invoice.Overpayments[].Contact.SalesDefaultLineAmountType |
String | No |
The default sales line amount type for a contact. Only available when summaryOnly parameter or paging is used, or when fetch by ContactId or ContactNumber. Possible values:
|
ExpenseClaims[].Payments[].Invoice.Overpayments[].Contact.TrackingCategoryOption |
String | No |
The name of the Tracking Option assigned to the contact under SalesTrackingCategories and PurchasesTrackingCategories |
ExpenseClaims[].Payments[].Invoice.Overpayments[].Contact.TaxNumber |
String | No |
Tax number of contact – this is also known as the ABN (Australia), GST Number (New Zealand), VAT Number (UK) or Tax ID Number (US and global) in the Xero UI depending on which regionalized version of Xero you are using (max length = 50) |
ExpenseClaims[].Payments[].Invoice.Overpayments[].Contact.TrackingCategoryName |
String | No |
The name of the Tracking Category assigned to the contact under SalesTrackingCategories and PurchasesTrackingCategories |
ExpenseClaims[].Payments[].Invoice.Overpayments[].Contact.LastName |
String | No |
Last name of contact person (max length = 255) |
ExpenseClaims[].Payments[].Invoice.Overpayments[].Contact.IsSupplier |
Boolean | No |
true or false – Boolean that describes if a contact that has any AP invoices entered against them. Cannot be set via PUT or POST – it is automatically set when an accounts payable invoice is generated against this contact. |
ExpenseClaims[].Payments[].Invoice.Overpayments[].Contact.PurchasesTrackingCategories[] |
Array | No |
The default purchases tracking categories for contacts |
ExpenseClaims[].Payments[].Invoice.Overpayments[].Contact.PurchasesTrackingCategories[].TrackingOptionName |
String | No |
The default purchase tracking category name for contacts |
ExpenseClaims[].Payments[].Invoice.Overpayments[].Contact.PurchasesTrackingCategories[].TrackingCategoryName |
String | No |
The default sales tracking category name for contacts |
ExpenseClaims[].Payments[].Invoice.Overpayments[].Contact.UpdatedDateUTC |
String | No |
UTC timestamp of last update to contact |
ExpenseClaims[].Payments[].Invoice.Overpayments[].Contact.BrandingTheme |
Object | No | |
ExpenseClaims[].Payments[].Invoice.Overpayments[].Contact.BrandingTheme.Name |
String | No |
Name of branding theme |
ExpenseClaims[].Payments[].Invoice.Overpayments[].Contact.BrandingTheme.BrandingThemeID |
String | No |
Xero identifier |
ExpenseClaims[].Payments[].Invoice.Overpayments[].Contact.BrandingTheme.Type |
String | No |
Always INVOICE Possible values:
|
ExpenseClaims[].Payments[].Invoice.Overpayments[].Contact.BrandingTheme.LogoUrl |
String | No |
The location of the image file used as the logo on this branding theme |
ExpenseClaims[].Payments[].Invoice.Overpayments[].Contact.BrandingTheme.SortOrder |
Integer | No |
Integer – ranked order of branding theme. The default branding theme has a value of 0 |
ExpenseClaims[].Payments[].Invoice.Overpayments[].Contact.BrandingTheme.CreatedDateUTC |
String | No |
UTC timestamp of creation date of branding theme |
ExpenseClaims[].Payments[].Invoice.Overpayments[].Contact.IsCustomer |
Boolean | No |
true or false – Boolean that describes if a contact has any AR invoices entered against them. Cannot be set via PUT or POST – it is automatically set when an accounts receivable invoice is generated against this contact. |
ExpenseClaims[].Payments[].Invoice.Overpayments[].Contact.PurchasesDefaultLineAmountType |
String | No |
The default purchases line amount type for a contact Only available when summaryOnly parameter or paging is used, or when fetch by ContactId or ContactNumber. Possible values:
|
ExpenseClaims[].Payments[].Invoice.Overpayments[].Contact.Attachments[] |
Array | No |
Displays array of attachments from the API |
ExpenseClaims[].Payments[].Invoice.Overpayments[].Contact.Attachments[].ContentLength |
Integer | No |
Length of the file content |
ExpenseClaims[].Payments[].Invoice.Overpayments[].Contact.Attachments[].IncludeOnline |
Boolean | No |
Include the file with the online invoice |
ExpenseClaims[].Payments[].Invoice.Overpayments[].Contact.Attachments[].AttachmentID |
String | No |
Unique ID for the file |
ExpenseClaims[].Payments[].Invoice.Overpayments[].Contact.Attachments[].MimeType |
String | No |
Type of file |
ExpenseClaims[].Payments[].Invoice.Overpayments[].Contact.Attachments[].Url |
String | No |
URL to the file on xero.com |
ExpenseClaims[].Payments[].Invoice.Overpayments[].Contact.Attachments[].FileName |
String | No |
Name of the file |
ExpenseClaims[].Payments[].Invoice.Overpayments[].Contact.PurchasesDefaultAccountCode |
String | No |
The default purchases account code for contacts |
ExpenseClaims[].Payments[].Invoice.Overpayments[].Contact.ContactID |
String | No |
Xero identifier |
ExpenseClaims[].Payments[].Invoice.Overpayments[].Contact.AccountsPayableTaxType |
String | No |
The tax type from TaxRates |
ExpenseClaims[].Payments[].Invoice.Overpayments[].Contact.ContactStatus |
String | No |
Current status of a contact – see contact status types Possible values:
|
ExpenseClaims[].Payments[].Invoice.Overpayments[].Contact.Addresses[] |
Array | No |
Store certain address types for a contact – see address types |
ExpenseClaims[].Payments[].Invoice.Overpayments[].Contact.Addresses[].City |
String | No |
max length = 255 |
ExpenseClaims[].Payments[].Invoice.Overpayments[].Contact.Addresses[].AddressType |
String | No |
define the type of address Possible values:
|
ExpenseClaims[].Payments[].Invoice.Overpayments[].Contact.Addresses[].AttentionTo |
String | No |
max length = 255 |
ExpenseClaims[].Payments[].Invoice.Overpayments[].Contact.Addresses[].AddressLine2 |
String | No |
max length = 500 |
ExpenseClaims[].Payments[].Invoice.Overpayments[].Contact.Addresses[].Region |
String | No |
max length = 255 |
ExpenseClaims[].Payments[].Invoice.Overpayments[].Contact.Addresses[].Country |
String | No |
max length = 50, [A-Z], [a-z] only |
ExpenseClaims[].Payments[].Invoice.Overpayments[].Contact.Addresses[].AddressLine1 |
String | No |
max length = 500 |
ExpenseClaims[].Payments[].Invoice.Overpayments[].Contact.Addresses[].AddressLine4 |
String | No |
max length = 500 |
ExpenseClaims[].Payments[].Invoice.Overpayments[].Contact.Addresses[].AddressLine3 |
String | No |
max length = 500 |
ExpenseClaims[].Payments[].Invoice.Overpayments[].Contact.Addresses[].PostalCode |
String | No |
max length = 50 |
ExpenseClaims[].Payments[].Invoice.Overpayments[].Contact.StatusAttributeString |
String | No |
Status of object |
ExpenseClaims[].Payments[].Invoice.Overpayments[].Contact.CompanyNumber |
String | No |
Company registration number (max length = 50) |
ExpenseClaims[].Payments[].Invoice.Overpayments[].Contact.Phones[] |
Array | No |
Store certain phone types for a contact – see phone types |
ExpenseClaims[].Payments[].Invoice.Overpayments[].Contact.Phones[].PhoneType |
String | No |
Possible values:
|
ExpenseClaims[].Payments[].Invoice.Overpayments[].Contact.Phones[].PhoneNumber |
String | No |
max length = 50 |
ExpenseClaims[].Payments[].Invoice.Overpayments[].Contact.Phones[].PhoneAreaCode |
String | No |
max length = 10 |
ExpenseClaims[].Payments[].Invoice.Overpayments[].Contact.Phones[].PhoneCountryCode |
String | No |
max length = 20 |
ExpenseClaims[].Payments[].Invoice.Overpayments[].Contact.BatchPayments |
No |
Bank details for use on a batch payment stored with each contact |
|
ExpenseClaims[].Payments[].Invoice.Overpayments[].Contact.FirstName |
String | No |
First name of contact person (max length = 255) |
ExpenseClaims[].Payments[].Invoice.Overpayments[].Contact.SalesDefaultAccountCode |
String | No |
The default sales account code for contacts |
ExpenseClaims[].Payments[].Invoice.Overpayments[].Contact.ContactNumber |
String | No |
This can be updated via the API only i.e. This field is read only on the Xero contact screen, used to identify contacts in external systems (max length = 50). If the Contact Number is used, this is displayed as Contact Code in the Contacts UI in Xero. |
ExpenseClaims[].Payments[].Invoice.Overpayments[].Contact.AccountsReceivableTaxType |
String | No |
The tax type from TaxRates |
ExpenseClaims[].Payments[].Invoice.Overpayments[].Contact.DefaultCurrency |
String | No |
3 letter alpha code for the currency – see list of currency codes Possible values:
|
ExpenseClaims[].Payments[].Invoice.Overpayments[].Contact.HasValidationErrors |
Boolean | No |
A boolean to indicate if a contact has an validation errors Default value: false |
ExpenseClaims[].Payments[].Invoice.Overpayments[].Contact.AccountNumber |
String | No |
A user defined account number. This can be updated via the API and the Xero UI (max length = 50) |
ExpenseClaims[].Payments[].Invoice.Overpayments[].Contact.Balances |
Object | No |
The raw AccountsReceivable(sales invoices) and AccountsPayable(bills) outstanding and overdue amounts, not converted to base currency (read only) |
ExpenseClaims[].Payments[].Invoice.Overpayments[].Contact.Balances.AccountsReceivable |
Object | No | |
ExpenseClaims[].Payments[].Invoice.Overpayments[].Contact.Balances.AccountsReceivable.Overdue |
Number | No | |
ExpenseClaims[].Payments[].Invoice.Overpayments[].Contact.Balances.AccountsReceivable.Outstanding |
Number | No | |
ExpenseClaims[].Payments[].Invoice.Overpayments[].Contact.Balances.AccountsPayable |
Object | No | |
ExpenseClaims[].Payments[].Invoice.Overpayments[].Contact.Balances.AccountsPayable.Overdue |
Number | No | |
ExpenseClaims[].Payments[].Invoice.Overpayments[].Contact.Balances.AccountsPayable.Outstanding |
Number | No | |
ExpenseClaims[].Payments[].Invoice.Overpayments[].Contact.XeroNetworkKey |
String | No |
Store XeroNetworkKey for contacts. |
ExpenseClaims[].Payments[].Invoice.Overpayments[].Contact.Discount |
Number | No |
The default discount rate for the contact (read only) |
ExpenseClaims[].Payments[].Invoice.Overpayments[].Contact.MergedToContactID |
String | No |
ID for the destination of a merged contact. Only returned when using paging or when fetching a contact by ContactId or ContactNumber. |
ExpenseClaims[].Payments[].Invoice.Overpayments[].Contact.ValidationErrors[] |
Array | No |
Displays validation errors returned from the API |
ExpenseClaims[].Payments[].Invoice.Overpayments[].Contact.ValidationErrors[].Message |
String | No |
Validation error message |
ExpenseClaims[].Payments[].Invoice.Overpayments[].Contact.EmailAddress |
String | No |
Email address of contact person (umlauts not supported) (max length = 255) |
ExpenseClaims[].Payments[].Invoice.Overpayments[].Contact.HasAttachments |
Boolean | No |
A boolean to indicate if a contact has an attachment Default value: false |
ExpenseClaims[].Payments[].Invoice.Overpayments[].Contact.PaymentTerms |
Object | No | |
ExpenseClaims[].Payments[].Invoice.Overpayments[].Contact.PaymentTerms.Bills |
Object | No | |
ExpenseClaims[].Payments[].Invoice.Overpayments[].Contact.PaymentTerms.Bills.Day |
Integer | No |
Day of Month (0-31) |
ExpenseClaims[].Payments[].Invoice.Overpayments[].Contact.PaymentTerms.Bills.Type |
String | No |
Possible values:
|
ExpenseClaims[].Payments[].Invoice.Overpayments[].Contact.PaymentTerms.Sales |
Object | No | |
ExpenseClaims[].Payments[].Invoice.Overpayments[].Contact.PaymentTerms.Sales.Day |
Integer | No |
Day of Month (0-31) |
ExpenseClaims[].Payments[].Invoice.Overpayments[].Contact.PaymentTerms.Sales.Type |
String | No |
Possible values:
|
ExpenseClaims[].Payments[].Invoice.Overpayments[].Contact.ContactGroups[] |
Array | No |
Displays which contact groups a contact is included in |
ExpenseClaims[].Payments[].Invoice.Overpayments[].Contact.ContactGroups[].Name |
String | No |
The Name of the contact group. Required when creating a new contact group |
ExpenseClaims[].Payments[].Invoice.Overpayments[].Contact.ContactGroups[].Status |
String | No |
The Status of a contact group. To delete a contact group update the status to DELETED. Only contact groups with a status of ACTIVE are returned on GETs. Possible values:
|
ExpenseClaims[].Payments[].Invoice.Overpayments[].Contact.ContactGroups[].ContactGroupID |
String | No |
The Xero identifier for an contact group – specified as a string following the endpoint name. e.g. /297c2dc5-cc47-4afd-8ec8-74990b8761e9 |
ExpenseClaims[].Payments[].Invoice.Overpayments[].Contact.ContactGroups[].Contacts[] |
Array | No |
The ContactID and Name of Contacts in a contact group. Returned on GETs when the ContactGroupID is supplied in the URL. |
ExpenseClaims[].Payments[].Invoice.Overpayments[].Contact.ContactPersons[] |
Array | No |
See contact persons |
ExpenseClaims[].Payments[].Invoice.Overpayments[].Contact.ContactPersons[].IncludeInEmails |
Boolean | No |
boolean to indicate whether contact should be included on emails with invoices etc. |
ExpenseClaims[].Payments[].Invoice.Overpayments[].Contact.ContactPersons[].EmailAddress |
String | No |
Email address of person |
ExpenseClaims[].Payments[].Invoice.Overpayments[].Contact.ContactPersons[].LastName |
String | No |
Last name of person |
ExpenseClaims[].Payments[].Invoice.Overpayments[].Contact.ContactPersons[].FirstName |
String | No |
First name of person |
ExpenseClaims[].Payments[].Invoice.Overpayments[].HasAttachments |
Boolean | No |
boolean to indicate if a overpayment has an attachment Default value: false |
ExpenseClaims[].Payments[].Invoice.Overpayments[].CurrencyCode |
String | No |
3 letter alpha code for the currency – see list of currency codes Possible values:
|
ExpenseClaims[].Payments[].Invoice.UpdatedDateUTC |
String | No |
Last modified date UTC format |
ExpenseClaims[].Payments[].Invoice.CurrencyRate |
Number | No |
The currency rate for a multicurrency invoice. If no rate is specified, the XE.com day rate is used. (max length = [18].[6]) |
ExpenseClaims[].Payments[].Invoice.Attachments[] |
Array | No |
Displays array of attachments from the API |
ExpenseClaims[].Payments[].Invoice.Attachments[].ContentLength |
Integer | No |
Length of the file content |
ExpenseClaims[].Payments[].Invoice.Attachments[].IncludeOnline |
Boolean | No |
Include the file with the online invoice |
ExpenseClaims[].Payments[].Invoice.Attachments[].AttachmentID |
String | No |
Unique ID for the file |
ExpenseClaims[].Payments[].Invoice.Attachments[].MimeType |
String | No |
Type of file |
ExpenseClaims[].Payments[].Invoice.Attachments[].Url |
String | No |
URL to the file on xero.com |
ExpenseClaims[].Payments[].Invoice.Attachments[].FileName |
String | No |
Name of the file |
ExpenseClaims[].Payments[].Invoice.InvoiceID |
String | No |
Xero generated unique identifier for invoice |
ExpenseClaims[].Payments[].Invoice.Contact |
Object | No | |
ExpenseClaims[].Payments[].Invoice.Contact.BankAccountDetails |
String | No |
Bank account number of contact |
ExpenseClaims[].Payments[].Invoice.Contact.Website |
String | No |
Website address for contact (read only) |
ExpenseClaims[].Payments[].Invoice.Contact.Name |
String | No |
Full name of contact/organisation (max length = 255) |
ExpenseClaims[].Payments[].Invoice.Contact.SalesTrackingCategories[] |
Array | No |
The default sales tracking categories for contacts |
ExpenseClaims[].Payments[].Invoice.Contact.SalesTrackingCategories[].TrackingOptionName |
String | No |
The default purchase tracking category name for contacts |
ExpenseClaims[].Payments[].Invoice.Contact.SalesTrackingCategories[].TrackingCategoryName |
String | No |
The default sales tracking category name for contacts |
ExpenseClaims[].Payments[].Invoice.Contact.SalesDefaultLineAmountType |
String | No |
The default sales line amount type for a contact. Only available when summaryOnly parameter or paging is used, or when fetch by ContactId or ContactNumber. Possible values:
|
ExpenseClaims[].Payments[].Invoice.Contact.TrackingCategoryOption |
String | No |
The name of the Tracking Option assigned to the contact under SalesTrackingCategories and PurchasesTrackingCategories |
ExpenseClaims[].Payments[].Invoice.Contact.TaxNumber |
String | No |
Tax number of contact – this is also known as the ABN (Australia), GST Number (New Zealand), VAT Number (UK) or Tax ID Number (US and global) in the Xero UI depending on which regionalized version of Xero you are using (max length = 50) |
ExpenseClaims[].Payments[].Invoice.Contact.TrackingCategoryName |
String | No |
The name of the Tracking Category assigned to the contact under SalesTrackingCategories and PurchasesTrackingCategories |
ExpenseClaims[].Payments[].Invoice.Contact.LastName |
String | No |
Last name of contact person (max length = 255) |
ExpenseClaims[].Payments[].Invoice.Contact.IsSupplier |
Boolean | No |
true or false – Boolean that describes if a contact that has any AP invoices entered against them. Cannot be set via PUT or POST – it is automatically set when an accounts payable invoice is generated against this contact. |
ExpenseClaims[].Payments[].Invoice.Contact.PurchasesTrackingCategories[] |
Array | No |
The default purchases tracking categories for contacts |
ExpenseClaims[].Payments[].Invoice.Contact.PurchasesTrackingCategories[].TrackingOptionName |
String | No |
The default purchase tracking category name for contacts |
ExpenseClaims[].Payments[].Invoice.Contact.PurchasesTrackingCategories[].TrackingCategoryName |
String | No |
The default sales tracking category name for contacts |
ExpenseClaims[].Payments[].Invoice.Contact.UpdatedDateUTC |
String | No |
UTC timestamp of last update to contact |
ExpenseClaims[].Payments[].Invoice.Contact.BrandingTheme |
Object | No | |
ExpenseClaims[].Payments[].Invoice.Contact.BrandingTheme.Name |
String | No |
Name of branding theme |
ExpenseClaims[].Payments[].Invoice.Contact.BrandingTheme.BrandingThemeID |
String | No |
Xero identifier |
ExpenseClaims[].Payments[].Invoice.Contact.BrandingTheme.Type |
String | No |
Always INVOICE Possible values:
|
ExpenseClaims[].Payments[].Invoice.Contact.BrandingTheme.LogoUrl |
String | No |
The location of the image file used as the logo on this branding theme |
ExpenseClaims[].Payments[].Invoice.Contact.BrandingTheme.SortOrder |
Integer | No |
Integer – ranked order of branding theme. The default branding theme has a value of 0 |
ExpenseClaims[].Payments[].Invoice.Contact.BrandingTheme.CreatedDateUTC |
String | No |
UTC timestamp of creation date of branding theme |
ExpenseClaims[].Payments[].Invoice.Contact.IsCustomer |
Boolean | No |
true or false – Boolean that describes if a contact has any AR invoices entered against them. Cannot be set via PUT or POST – it is automatically set when an accounts receivable invoice is generated against this contact. |
ExpenseClaims[].Payments[].Invoice.Contact.PurchasesDefaultLineAmountType |
String | No |
The default purchases line amount type for a contact Only available when summaryOnly parameter or paging is used, or when fetch by ContactId or ContactNumber. Possible values:
|
ExpenseClaims[].Payments[].Invoice.Contact.Attachments[] |
Array | No |
Displays array of attachments from the API |
ExpenseClaims[].Payments[].Invoice.Contact.Attachments[].ContentLength |
Integer | No |
Length of the file content |
ExpenseClaims[].Payments[].Invoice.Contact.Attachments[].IncludeOnline |
Boolean | No |
Include the file with the online invoice |
ExpenseClaims[].Payments[].Invoice.Contact.Attachments[].AttachmentID |
String | No |
Unique ID for the file |
ExpenseClaims[].Payments[].Invoice.Contact.Attachments[].MimeType |
String | No |
Type of file |
ExpenseClaims[].Payments[].Invoice.Contact.Attachments[].Url |
String | No |
URL to the file on xero.com |
ExpenseClaims[].Payments[].Invoice.Contact.Attachments[].FileName |
String | No |
Name of the file |
ExpenseClaims[].Payments[].Invoice.Contact.PurchasesDefaultAccountCode |
String | No |
The default purchases account code for contacts |
ExpenseClaims[].Payments[].Invoice.Contact.ContactID |
String | No |
Xero identifier |
ExpenseClaims[].Payments[].Invoice.Contact.AccountsPayableTaxType |
String | No |
The tax type from TaxRates |
ExpenseClaims[].Payments[].Invoice.Contact.ContactStatus |
String | No |
Current status of a contact – see contact status types Possible values:
|
ExpenseClaims[].Payments[].Invoice.Contact.Addresses[] |
Array | No |
Store certain address types for a contact – see address types |
ExpenseClaims[].Payments[].Invoice.Contact.Addresses[].City |
String | No |
max length = 255 |
ExpenseClaims[].Payments[].Invoice.Contact.Addresses[].AddressType |
String | No |
define the type of address Possible values:
|
ExpenseClaims[].Payments[].Invoice.Contact.Addresses[].AttentionTo |
String | No |
max length = 255 |
ExpenseClaims[].Payments[].Invoice.Contact.Addresses[].AddressLine2 |
String | No |
max length = 500 |
ExpenseClaims[].Payments[].Invoice.Contact.Addresses[].Region |
String | No |
max length = 255 |
ExpenseClaims[].Payments[].Invoice.Contact.Addresses[].Country |
String | No |
max length = 50, [A-Z], [a-z] only |
ExpenseClaims[].Payments[].Invoice.Contact.Addresses[].AddressLine1 |
String | No |
max length = 500 |
ExpenseClaims[].Payments[].Invoice.Contact.Addresses[].AddressLine4 |
String | No |
max length = 500 |
ExpenseClaims[].Payments[].Invoice.Contact.Addresses[].AddressLine3 |
String | No |
max length = 500 |
ExpenseClaims[].Payments[].Invoice.Contact.Addresses[].PostalCode |
String | No |
max length = 50 |
ExpenseClaims[].Payments[].Invoice.Contact.StatusAttributeString |
String | No |
Status of object |
ExpenseClaims[].Payments[].Invoice.Contact.CompanyNumber |
String | No |
Company registration number (max length = 50) |
ExpenseClaims[].Payments[].Invoice.Contact.Phones[] |
Array | No |
Store certain phone types for a contact – see phone types |
ExpenseClaims[].Payments[].Invoice.Contact.Phones[].PhoneType |
String | No |
Possible values:
|
ExpenseClaims[].Payments[].Invoice.Contact.Phones[].PhoneNumber |
String | No |
max length = 50 |
ExpenseClaims[].Payments[].Invoice.Contact.Phones[].PhoneAreaCode |
String | No |
max length = 10 |
ExpenseClaims[].Payments[].Invoice.Contact.Phones[].PhoneCountryCode |
String | No |
max length = 20 |
ExpenseClaims[].Payments[].Invoice.Contact.BatchPayments |
No |
Bank details for use on a batch payment stored with each contact |
|
ExpenseClaims[].Payments[].Invoice.Contact.FirstName |
String | No |
First name of contact person (max length = 255) |
ExpenseClaims[].Payments[].Invoice.Contact.SalesDefaultAccountCode |
String | No |
The default sales account code for contacts |
ExpenseClaims[].Payments[].Invoice.Contact.ContactNumber |
String | No |
This can be updated via the API only i.e. This field is read only on the Xero contact screen, used to identify contacts in external systems (max length = 50). If the Contact Number is used, this is displayed as Contact Code in the Contacts UI in Xero. |
ExpenseClaims[].Payments[].Invoice.Contact.AccountsReceivableTaxType |
String | No |
The tax type from TaxRates |
ExpenseClaims[].Payments[].Invoice.Contact.DefaultCurrency |
String | No |
3 letter alpha code for the currency – see list of currency codes Possible values:
|
ExpenseClaims[].Payments[].Invoice.Contact.HasValidationErrors |
Boolean | No |
A boolean to indicate if a contact has an validation errors Default value: false |
ExpenseClaims[].Payments[].Invoice.Contact.AccountNumber |
String | No |
A user defined account number. This can be updated via the API and the Xero UI (max length = 50) |
ExpenseClaims[].Payments[].Invoice.Contact.Balances |
Object | No |
The raw AccountsReceivable(sales invoices) and AccountsPayable(bills) outstanding and overdue amounts, not converted to base currency (read only) |
ExpenseClaims[].Payments[].Invoice.Contact.Balances.AccountsReceivable |
Object | No | |
ExpenseClaims[].Payments[].Invoice.Contact.Balances.AccountsReceivable.Overdue |
Number | No | |
ExpenseClaims[].Payments[].Invoice.Contact.Balances.AccountsReceivable.Outstanding |
Number | No | |
ExpenseClaims[].Payments[].Invoice.Contact.Balances.AccountsPayable |
Object | No | |
ExpenseClaims[].Payments[].Invoice.Contact.Balances.AccountsPayable.Overdue |
Number | No | |
ExpenseClaims[].Payments[].Invoice.Contact.Balances.AccountsPayable.Outstanding |
Number | No | |
ExpenseClaims[].Payments[].Invoice.Contact.XeroNetworkKey |
String | No |
Store XeroNetworkKey for contacts. |
ExpenseClaims[].Payments[].Invoice.Contact.Discount |
Number | No |
The default discount rate for the contact (read only) |
ExpenseClaims[].Payments[].Invoice.Contact.MergedToContactID |
String | No |
ID for the destination of a merged contact. Only returned when using paging or when fetching a contact by ContactId or ContactNumber. |
ExpenseClaims[].Payments[].Invoice.Contact.ValidationErrors[] |
Array | No |
Displays validation errors returned from the API |
ExpenseClaims[].Payments[].Invoice.Contact.ValidationErrors[].Message |
String | No |
Validation error message |
ExpenseClaims[].Payments[].Invoice.Contact.EmailAddress |
String | No |
Email address of contact person (umlauts not supported) (max length = 255) |
ExpenseClaims[].Payments[].Invoice.Contact.HasAttachments |
Boolean | No |
A boolean to indicate if a contact has an attachment Default value: false |
ExpenseClaims[].Payments[].Invoice.Contact.PaymentTerms |
Object | No | |
ExpenseClaims[].Payments[].Invoice.Contact.PaymentTerms.Bills |
Object | No | |
ExpenseClaims[].Payments[].Invoice.Contact.PaymentTerms.Bills.Day |
Integer | No |
Day of Month (0-31) |
ExpenseClaims[].Payments[].Invoice.Contact.PaymentTerms.Bills.Type |
String | No |
Possible values:
|
ExpenseClaims[].Payments[].Invoice.Contact.PaymentTerms.Sales |
Object | No | |
ExpenseClaims[].Payments[].Invoice.Contact.PaymentTerms.Sales.Day |
Integer | No |
Day of Month (0-31) |
ExpenseClaims[].Payments[].Invoice.Contact.PaymentTerms.Sales.Type |
String | No |
Possible values:
|
ExpenseClaims[].Payments[].Invoice.Contact.ContactGroups[] |
Array | No |
Displays which contact groups a contact is included in |
ExpenseClaims[].Payments[].Invoice.Contact.ContactGroups[].Name |
String | No |
The Name of the contact group. Required when creating a new contact group |
ExpenseClaims[].Payments[].Invoice.Contact.ContactGroups[].Status |
String | No |
The Status of a contact group. To delete a contact group update the status to DELETED. Only contact groups with a status of ACTIVE are returned on GETs. Possible values:
|
ExpenseClaims[].Payments[].Invoice.Contact.ContactGroups[].ContactGroupID |
String | No |
The Xero identifier for an contact group – specified as a string following the endpoint name. e.g. /297c2dc5-cc47-4afd-8ec8-74990b8761e9 |
ExpenseClaims[].Payments[].Invoice.Contact.ContactGroups[].Contacts[] |
Array | No |
The ContactID and Name of Contacts in a contact group. Returned on GETs when the ContactGroupID is supplied in the URL. |
ExpenseClaims[].Payments[].Invoice.Contact.ContactPersons[] |
Array | No |
See contact persons |
ExpenseClaims[].Payments[].Invoice.Contact.ContactPersons[].IncludeInEmails |
Boolean | No |
boolean to indicate whether contact should be included on emails with invoices etc. |
ExpenseClaims[].Payments[].Invoice.Contact.ContactPersons[].EmailAddress |
String | No |
Email address of person |
ExpenseClaims[].Payments[].Invoice.Contact.ContactPersons[].LastName |
String | No |
Last name of person |
ExpenseClaims[].Payments[].Invoice.Contact.ContactPersons[].FirstName |
String | No |
First name of person |
ExpenseClaims[].Payments[].Invoice.CurrencyCode |
String | No |
3 letter alpha code for the currency – see list of currency codes Possible values:
|
ExpenseClaims[].Payments[].Invoice.AmountCredited |
Number | No |
Sum of all credit notes, over-payments and pre-payments applied to invoice |
ExpenseClaims[].Payments[].Invoice.LineAmountTypes |
String | No |
Line amounts are exclusive of tax by default if you don’t specify this element. See Line Amount Types Possible values:
|
ExpenseClaims[].Payments[].Invoice.Date |
String | No |
Date invoice was issued – YYYY-MM-DD. If the Date element is not specified it will default to the current date based on the timezone setting of the organisation |
ExpenseClaims[].Payments[].Invoice.CISDeduction |
Number | No |
CIS deduction for UK contractors |
ExpenseClaims[].Payments[].Invoice.SentToContact |
Boolean | No |
Boolean to set whether the invoice in the Xero app should be marked as “sent”. This can be set only on invoices that have been approved |
ExpenseClaims[].Payments[].Invoice.Warnings[] |
Array | No |
Displays array of warning messages from the API |
ExpenseClaims[].Payments[].Invoice.Warnings[].Message |
String | No |
Validation error message |
ExpenseClaims[].Payments[].Invoice.Type |
String | No |
See Invoice Types Possible values:
|
ExpenseClaims[].Payments[].Invoice.StatusAttributeString |
String | No |
A string to indicate if a invoice status |
ExpenseClaims[].Payments[].Invoice.DueDate |
String | No |
Date invoice is due – YYYY-MM-DD |
ExpenseClaims[].Payments[].Invoice.CISRate |
Number | No |
CIS Deduction rate for the organisation |
ExpenseClaims[].Payments[].Invoice.Reference |
String | No |
ACCREC only – additional reference number |
ExpenseClaims[].Payments[].Invoice.TotalTax |
Number | No |
Total tax on invoice |
ExpenseClaims[].Payments[].Invoice.LineItems[] |
Array | No |
See LineItems |
ExpenseClaims[].Payments[].Invoice.LineItems[].Quantity |
Number | No |
LineItem Quantity |
ExpenseClaims[].Payments[].Invoice.LineItems[].UnitAmount |
Number | No |
LineItem Unit Amount |
ExpenseClaims[].Payments[].Invoice.LineItems[].TaxAmount |
Number | No |
The tax amount is auto calculated as a percentage of the line amount (see below) based on the tax rate. This value can be overriden if the calculated is not correct. |
ExpenseClaims[].Payments[].Invoice.LineItems[].Item |
No | ||
ExpenseClaims[].Payments[].Invoice.LineItems[].AccountCode |
String | No |
See Accounts |
ExpenseClaims[].Payments[].Invoice.LineItems[].RepeatingInvoiceID |
String | No |
The Xero identifier for a Repeating Invoice |
ExpenseClaims[].Payments[].Invoice.LineItems[].LineItemID |
String | No |
LineItem unique ID |
ExpenseClaims[].Payments[].Invoice.LineItems[].Description |
String | No |
Description needs to be at least 1 char long. A line item with just a description (i.e no unit amount or quantity) can be created by specifying just a element that contains at least 1 character |
ExpenseClaims[].Payments[].Invoice.LineItems[].TaxType |
String | No |
The tax type from TaxRates |
ExpenseClaims[].Payments[].Invoice.LineItems[].Taxability |
String | No |
The type of taxability Possible values:
|
ExpenseClaims[].Payments[].Invoice.LineItems[].TaxBreakdown[] |
Array | No |
An array of tax components defined for this line item |
ExpenseClaims[].Payments[].Invoice.LineItems[].TaxBreakdown[].TaxComponentId |
String | No |
The unique ID number of this component |
ExpenseClaims[].Payments[].Invoice.LineItems[].TaxBreakdown[].Name |
String | No |
The name of the jurisdiction |
ExpenseClaims[].Payments[].Invoice.LineItems[].TaxBreakdown[].Type |
String | No |
The type of the jurisdiction Possible values:
|
ExpenseClaims[].Payments[].Invoice.LineItems[].TaxBreakdown[].TaxAmount |
Number | No |
The amount of the tax |
ExpenseClaims[].Payments[].Invoice.LineItems[].TaxBreakdown[].TaxableAmount |
Number | No |
The amount that is taxable |
ExpenseClaims[].Payments[].Invoice.LineItems[].TaxBreakdown[].NonTaxableAmount |
Number | No |
The amount that is not taxable |
ExpenseClaims[].Payments[].Invoice.LineItems[].TaxBreakdown[].TaxPercentage |
Number | No |
The percentage of the tax |
ExpenseClaims[].Payments[].Invoice.LineItems[].TaxBreakdown[].ExemptAmount |
Number | No |
The amount that is exempt |
ExpenseClaims[].Payments[].Invoice.LineItems[].TaxBreakdown[].StateAssignedNo |
String | No |
The state assigned number of the jurisdiction |
ExpenseClaims[].Payments[].Invoice.LineItems[].TaxBreakdown[].JurisdictionRegion |
String | No |
Name identifying the region within the country |
ExpenseClaims[].Payments[].Invoice.LineItems[].LineAmount |
Number | No |
If you wish to omit either the Quantity or UnitAmount you can provide a LineAmount and Xero will calculate the missing amount for you. The line amount reflects the discounted price if either a DiscountRate or DiscountAmount has been used i.e. LineAmount = Quantity * Unit Amount * ((100 - DiscountRate)/100) or LineAmount = (Quantity * UnitAmount) - DiscountAmount |
ExpenseClaims[].Payments[].Invoice.LineItems[].AccountID |
String | No |
The associated account ID related to this line item |
ExpenseClaims[].Payments[].Invoice.LineItems[].SalesTaxCodeId |
Number | No |
The ID of the sales tax code |
ExpenseClaims[].Payments[].Invoice.LineItems[].ItemCode |
String | No |
See Items |
ExpenseClaims[].Payments[].Invoice.LineItems[].Tracking[] |
Array | No |
Optional Tracking Category – see Tracking. Any LineItem can have a maximum of 2 elements. |
ExpenseClaims[].Payments[].Invoice.LineItems[].Tracking[].TrackingCategoryID |
String | No |
The Xero identifier for a tracking category |
ExpenseClaims[].Payments[].Invoice.LineItems[].Tracking[].Name |
String | No |
The name of the tracking category |
ExpenseClaims[].Payments[].Invoice.LineItems[].Tracking[].Option |
String | No |
See Tracking Options |
ExpenseClaims[].Payments[].Invoice.LineItems[].Tracking[].TrackingOptionID |
String | No |
The Xero identifier for a tracking category option |
ExpenseClaims[].Payments[].Invoice.LineItems[].DiscountAmount |
Number | No |
Discount amount being applied to a line item. Only supported on ACCREC invoices and quotes. ACCPAY invoices and credit notes in Xero do not support discounts. |
ExpenseClaims[].Payments[].Invoice.LineItems[].DiscountRate |
Number | No |
Percentage discount being applied to a line item (only supported on ACCREC invoices – ACC PAY invoices and credit notes in Xero do not support discounts |
ExpenseClaims[].Payments[].Invoice.AmountDue |
Number | No |
Amount remaining to be paid on invoice |
ExpenseClaims[].Payments[].Invoice.SubTotal |
Number | No |
Total of invoice excluding taxes |
ExpenseClaims[].Payments[].Invoice.Prepayments[] |
Array | No |
See Prepayments |
ExpenseClaims[].Payments[].Invoice.Prepayments[].LineAmountTypes |
String | No |
Line amounts are exclusive of tax by default if you don’t specify this element. See Line Amount Types Possible values:
|
ExpenseClaims[].Payments[].Invoice.Prepayments[].Date |
String | No |
The date the prepayment is created YYYY-MM-DD |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Payments[] |
Array | No |
See Payments |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Type |
String | No |
See Prepayment Types Possible values:
|
ExpenseClaims[].Payments[].Invoice.Prepayments[].Total |
Number | No |
The total of the prepayment(subtotal + total tax) |
ExpenseClaims[].Payments[].Invoice.Prepayments[].TotalTax |
Number | No |
The total tax on the prepayment |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Reference |
String | No |
Returns Invoice number field. Reference field isn't available. |
ExpenseClaims[].Payments[].Invoice.Prepayments[].LineItems[] |
Array | No |
See Prepayment Line Items |
ExpenseClaims[].Payments[].Invoice.Prepayments[].LineItems[].Quantity |
Number | No |
LineItem Quantity |
ExpenseClaims[].Payments[].Invoice.Prepayments[].LineItems[].UnitAmount |
Number | No |
LineItem Unit Amount |
ExpenseClaims[].Payments[].Invoice.Prepayments[].LineItems[].TaxAmount |
Number | No |
The tax amount is auto calculated as a percentage of the line amount (see below) based on the tax rate. This value can be overriden if the calculated is not correct. |
ExpenseClaims[].Payments[].Invoice.Prepayments[].LineItems[].Item |
No | ||
ExpenseClaims[].Payments[].Invoice.Prepayments[].LineItems[].AccountCode |
String | No |
See Accounts |
ExpenseClaims[].Payments[].Invoice.Prepayments[].LineItems[].RepeatingInvoiceID |
String | No |
The Xero identifier for a Repeating Invoice |
ExpenseClaims[].Payments[].Invoice.Prepayments[].LineItems[].LineItemID |
String | No |
LineItem unique ID |
ExpenseClaims[].Payments[].Invoice.Prepayments[].LineItems[].Description |
String | No |
Description needs to be at least 1 char long. A line item with just a description (i.e no unit amount or quantity) can be created by specifying just a element that contains at least 1 character |
ExpenseClaims[].Payments[].Invoice.Prepayments[].LineItems[].TaxType |
String | No |
The tax type from TaxRates |
ExpenseClaims[].Payments[].Invoice.Prepayments[].LineItems[].Taxability |
String | No |
The type of taxability Possible values:
|
ExpenseClaims[].Payments[].Invoice.Prepayments[].LineItems[].TaxBreakdown[] |
Array | No |
An array of tax components defined for this line item |
ExpenseClaims[].Payments[].Invoice.Prepayments[].LineItems[].TaxBreakdown[].TaxComponentId |
String | No |
The unique ID number of this component |
ExpenseClaims[].Payments[].Invoice.Prepayments[].LineItems[].TaxBreakdown[].Name |
String | No |
The name of the jurisdiction |
ExpenseClaims[].Payments[].Invoice.Prepayments[].LineItems[].TaxBreakdown[].Type |
String | No |
The type of the jurisdiction Possible values:
|
ExpenseClaims[].Payments[].Invoice.Prepayments[].LineItems[].TaxBreakdown[].TaxAmount |
Number | No |
The amount of the tax |
ExpenseClaims[].Payments[].Invoice.Prepayments[].LineItems[].TaxBreakdown[].TaxableAmount |
Number | No |
The amount that is taxable |
ExpenseClaims[].Payments[].Invoice.Prepayments[].LineItems[].TaxBreakdown[].NonTaxableAmount |
Number | No |
The amount that is not taxable |
ExpenseClaims[].Payments[].Invoice.Prepayments[].LineItems[].TaxBreakdown[].TaxPercentage |
Number | No |
The percentage of the tax |
ExpenseClaims[].Payments[].Invoice.Prepayments[].LineItems[].TaxBreakdown[].ExemptAmount |
Number | No |
The amount that is exempt |
ExpenseClaims[].Payments[].Invoice.Prepayments[].LineItems[].TaxBreakdown[].StateAssignedNo |
String | No |
The state assigned number of the jurisdiction |
ExpenseClaims[].Payments[].Invoice.Prepayments[].LineItems[].TaxBreakdown[].JurisdictionRegion |
String | No |
Name identifying the region within the country |
ExpenseClaims[].Payments[].Invoice.Prepayments[].LineItems[].LineAmount |
Number | No |
If you wish to omit either the Quantity or UnitAmount you can provide a LineAmount and Xero will calculate the missing amount for you. The line amount reflects the discounted price if either a DiscountRate or DiscountAmount has been used i.e. LineAmount = Quantity * Unit Amount * ((100 - DiscountRate)/100) or LineAmount = (Quantity * UnitAmount) - DiscountAmount |
ExpenseClaims[].Payments[].Invoice.Prepayments[].LineItems[].AccountID |
String | No |
The associated account ID related to this line item |
ExpenseClaims[].Payments[].Invoice.Prepayments[].LineItems[].SalesTaxCodeId |
Number | No |
The ID of the sales tax code |
ExpenseClaims[].Payments[].Invoice.Prepayments[].LineItems[].ItemCode |
String | No |
See Items |
ExpenseClaims[].Payments[].Invoice.Prepayments[].LineItems[].Tracking[] |
Array | No |
Optional Tracking Category – see Tracking. Any LineItem can have a maximum of 2 elements. |
ExpenseClaims[].Payments[].Invoice.Prepayments[].LineItems[].Tracking[].TrackingCategoryID |
String | No |
The Xero identifier for a tracking category |
ExpenseClaims[].Payments[].Invoice.Prepayments[].LineItems[].Tracking[].Name |
String | No |
The name of the tracking category |
ExpenseClaims[].Payments[].Invoice.Prepayments[].LineItems[].Tracking[].Option |
String | No |
See Tracking Options |
ExpenseClaims[].Payments[].Invoice.Prepayments[].LineItems[].Tracking[].TrackingOptionID |
String | No |
The Xero identifier for a tracking category option |
ExpenseClaims[].Payments[].Invoice.Prepayments[].LineItems[].DiscountAmount |
Number | No |
Discount amount being applied to a line item. Only supported on ACCREC invoices and quotes. ACCPAY invoices and credit notes in Xero do not support discounts. |
ExpenseClaims[].Payments[].Invoice.Prepayments[].LineItems[].DiscountRate |
Number | No |
Percentage discount being applied to a line item (only supported on ACCREC invoices – ACC PAY invoices and credit notes in Xero do not support discounts |
ExpenseClaims[].Payments[].Invoice.Prepayments[].UpdatedDateUTC |
String | No |
UTC timestamp of last update to the prepayment |
ExpenseClaims[].Payments[].Invoice.Prepayments[].SubTotal |
Number | No |
The subtotal of the prepayment excluding taxes |
ExpenseClaims[].Payments[].Invoice.Prepayments[].CurrencyRate |
Number | No |
The currency rate for a multicurrency prepayment. If no rate is specified, the XE.com day rate is used |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Status |
String | No |
See Prepayment Status Codes Possible values:
|
ExpenseClaims[].Payments[].Invoice.Prepayments[].AppliedAmount |
Number | No |
The amount of applied to an invoice |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Attachments[] |
Array | No |
See Attachments |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Attachments[].ContentLength |
Integer | No |
Length of the file content |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Attachments[].IncludeOnline |
Boolean | No |
Include the file with the online invoice |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Attachments[].AttachmentID |
String | No |
Unique ID for the file |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Attachments[].MimeType |
String | No |
Type of file |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Attachments[].Url |
String | No |
URL to the file on xero.com |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Attachments[].FileName |
String | No |
Name of the file |
ExpenseClaims[].Payments[].Invoice.Prepayments[].RemainingCredit |
Number | No |
The remaining credit balance on the prepayment |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[] |
Array | No |
See Allocations |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Amount |
Number | Yes |
the amount being applied to the invoice |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Date |
String | Yes |
the date the allocation is applied YYYY-MM-DD. |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Prepayment |
No | ||
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment |
Object | No | |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.LineAmountTypes |
String | No |
Line amounts are exclusive of tax by default if you don’t specify this element. See Line Amount Types Possible values:
|
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Date |
String | No |
The date the overpayment is created YYYY-MM-DD |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Payments[] |
Array | No |
See Payments |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Type |
String | No |
See Overpayment Types Possible values:
|
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Total |
Number | No |
The total of the overpayment (subtotal + total tax) |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.TotalTax |
Number | No |
The total tax on the overpayment |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.LineItems[] |
Array | No |
See Overpayment Line Items |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.LineItems[].Quantity |
Number | No |
LineItem Quantity |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.LineItems[].UnitAmount |
Number | No |
LineItem Unit Amount |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.LineItems[].TaxAmount |
Number | No |
The tax amount is auto calculated as a percentage of the line amount (see below) based on the tax rate. This value can be overriden if the calculated is not correct. |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.LineItems[].Item |
No | ||
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.LineItems[].AccountCode |
String | No |
See Accounts |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.LineItems[].RepeatingInvoiceID |
String | No |
The Xero identifier for a Repeating Invoice |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.LineItems[].LineItemID |
String | No |
LineItem unique ID |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.LineItems[].Description |
String | No |
Description needs to be at least 1 char long. A line item with just a description (i.e no unit amount or quantity) can be created by specifying just a element that contains at least 1 character |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.LineItems[].TaxType |
String | No |
The tax type from TaxRates |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.LineItems[].Taxability |
String | No |
The type of taxability Possible values:
|
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.LineItems[].TaxBreakdown[] |
Array | No |
An array of tax components defined for this line item |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.LineItems[].TaxBreakdown[].TaxComponentId |
String | No |
The unique ID number of this component |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.LineItems[].TaxBreakdown[].Name |
String | No |
The name of the jurisdiction |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.LineItems[].TaxBreakdown[].Type |
String | No |
The type of the jurisdiction Possible values:
|
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.LineItems[].TaxBreakdown[].TaxAmount |
Number | No |
The amount of the tax |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.LineItems[].TaxBreakdown[].TaxableAmount |
Number | No |
The amount that is taxable |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.LineItems[].TaxBreakdown[].NonTaxableAmount |
Number | No |
The amount that is not taxable |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.LineItems[].TaxBreakdown[].TaxPercentage |
Number | No |
The percentage of the tax |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.LineItems[].TaxBreakdown[].ExemptAmount |
Number | No |
The amount that is exempt |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.LineItems[].TaxBreakdown[].StateAssignedNo |
String | No |
The state assigned number of the jurisdiction |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.LineItems[].TaxBreakdown[].JurisdictionRegion |
String | No |
Name identifying the region within the country |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.LineItems[].LineAmount |
Number | No |
If you wish to omit either the Quantity or UnitAmount you can provide a LineAmount and Xero will calculate the missing amount for you. The line amount reflects the discounted price if either a DiscountRate or DiscountAmount has been used i.e. LineAmount = Quantity * Unit Amount * ((100 - DiscountRate)/100) or LineAmount = (Quantity * UnitAmount) - DiscountAmount |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.LineItems[].AccountID |
String | No |
The associated account ID related to this line item |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.LineItems[].SalesTaxCodeId |
Number | No |
The ID of the sales tax code |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.LineItems[].ItemCode |
String | No |
See Items |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.LineItems[].Tracking[] |
Array | No |
Optional Tracking Category – see Tracking. Any LineItem can have a maximum of 2 elements. |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.LineItems[].Tracking[].TrackingCategoryID |
String | No |
The Xero identifier for a tracking category |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.LineItems[].Tracking[].Name |
String | No |
The name of the tracking category |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.LineItems[].Tracking[].Option |
String | No |
See Tracking Options |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.LineItems[].Tracking[].TrackingOptionID |
String | No |
The Xero identifier for a tracking category option |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.LineItems[].DiscountAmount |
Number | No |
Discount amount being applied to a line item. Only supported on ACCREC invoices and quotes. ACCPAY invoices and credit notes in Xero do not support discounts. |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.LineItems[].DiscountRate |
Number | No |
Percentage discount being applied to a line item (only supported on ACCREC invoices – ACC PAY invoices and credit notes in Xero do not support discounts |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.UpdatedDateUTC |
String | No |
UTC timestamp of last update to the overpayment |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.SubTotal |
Number | No |
The subtotal of the overpayment excluding taxes |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.CurrencyRate |
Number | No |
The currency rate for a multicurrency overpayment. If no rate is specified, the XE.com day rate is used |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Status |
String | No |
See Overpayment Status Codes Possible values:
|
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.OverpaymentID |
String | No |
Xero generated unique identifier |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.AppliedAmount |
Number | No |
The amount of applied to an invoice |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Attachments[] |
Array | No |
See Attachments |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Attachments[].ContentLength |
Integer | No |
Length of the file content |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Attachments[].IncludeOnline |
Boolean | No |
Include the file with the online invoice |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Attachments[].AttachmentID |
String | No |
Unique ID for the file |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Attachments[].MimeType |
String | No |
Type of file |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Attachments[].Url |
String | No |
URL to the file on xero.com |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Attachments[].FileName |
String | No |
Name of the file |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.RemainingCredit |
Number | No |
The remaining credit balance on the overpayment |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Allocations[] |
Array | No |
See Allocations |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact |
Object | No | |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.BankAccountDetails |
String | No |
Bank account number of contact |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.Website |
String | No |
Website address for contact (read only) |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.Name |
String | No |
Full name of contact/organisation (max length = 255) |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.SalesTrackingCategories[] |
Array | No |
The default sales tracking categories for contacts |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.SalesTrackingCategories[].TrackingOptionName |
String | No |
The default purchase tracking category name for contacts |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.SalesTrackingCategories[].TrackingCategoryName |
String | No |
The default sales tracking category name for contacts |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.SalesDefaultLineAmountType |
String | No |
The default sales line amount type for a contact. Only available when summaryOnly parameter or paging is used, or when fetch by ContactId or ContactNumber. Possible values:
|
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.TrackingCategoryOption |
String | No |
The name of the Tracking Option assigned to the contact under SalesTrackingCategories and PurchasesTrackingCategories |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.TaxNumber |
String | No |
Tax number of contact – this is also known as the ABN (Australia), GST Number (New Zealand), VAT Number (UK) or Tax ID Number (US and global) in the Xero UI depending on which regionalized version of Xero you are using (max length = 50) |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.TrackingCategoryName |
String | No |
The name of the Tracking Category assigned to the contact under SalesTrackingCategories and PurchasesTrackingCategories |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.LastName |
String | No |
Last name of contact person (max length = 255) |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.IsSupplier |
Boolean | No |
true or false – Boolean that describes if a contact that has any AP invoices entered against them. Cannot be set via PUT or POST – it is automatically set when an accounts payable invoice is generated against this contact. |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.PurchasesTrackingCategories[] |
Array | No |
The default purchases tracking categories for contacts |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.PurchasesTrackingCategories[].TrackingOptionName |
String | No |
The default purchase tracking category name for contacts |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.PurchasesTrackingCategories[].TrackingCategoryName |
String | No |
The default sales tracking category name for contacts |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.UpdatedDateUTC |
String | No |
UTC timestamp of last update to contact |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.BrandingTheme |
Object | No | |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.BrandingTheme.Name |
String | No |
Name of branding theme |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.BrandingTheme.BrandingThemeID |
String | No |
Xero identifier |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.BrandingTheme.Type |
String | No |
Always INVOICE Possible values:
|
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.BrandingTheme.LogoUrl |
String | No |
The location of the image file used as the logo on this branding theme |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.BrandingTheme.SortOrder |
Integer | No |
Integer – ranked order of branding theme. The default branding theme has a value of 0 |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.BrandingTheme.CreatedDateUTC |
String | No |
UTC timestamp of creation date of branding theme |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.IsCustomer |
Boolean | No |
true or false – Boolean that describes if a contact has any AR invoices entered against them. Cannot be set via PUT or POST – it is automatically set when an accounts receivable invoice is generated against this contact. |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.PurchasesDefaultLineAmountType |
String | No |
The default purchases line amount type for a contact Only available when summaryOnly parameter or paging is used, or when fetch by ContactId or ContactNumber. Possible values:
|
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.Attachments[] |
Array | No |
Displays array of attachments from the API |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.Attachments[].ContentLength |
Integer | No |
Length of the file content |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.Attachments[].IncludeOnline |
Boolean | No |
Include the file with the online invoice |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.Attachments[].AttachmentID |
String | No |
Unique ID for the file |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.Attachments[].MimeType |
String | No |
Type of file |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.Attachments[].Url |
String | No |
URL to the file on xero.com |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.Attachments[].FileName |
String | No |
Name of the file |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.PurchasesDefaultAccountCode |
String | No |
The default purchases account code for contacts |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.ContactID |
String | No |
Xero identifier |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.AccountsPayableTaxType |
String | No |
The tax type from TaxRates |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.ContactStatus |
String | No |
Current status of a contact – see contact status types Possible values:
|
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.Addresses[] |
Array | No |
Store certain address types for a contact – see address types |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.Addresses[].City |
String | No |
max length = 255 |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.Addresses[].AddressType |
String | No |
define the type of address Possible values:
|
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.Addresses[].AttentionTo |
String | No |
max length = 255 |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.Addresses[].AddressLine2 |
String | No |
max length = 500 |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.Addresses[].Region |
String | No |
max length = 255 |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.Addresses[].Country |
String | No |
max length = 50, [A-Z], [a-z] only |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.Addresses[].AddressLine1 |
String | No |
max length = 500 |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.Addresses[].AddressLine4 |
String | No |
max length = 500 |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.Addresses[].AddressLine3 |
String | No |
max length = 500 |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.Addresses[].PostalCode |
String | No |
max length = 50 |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.StatusAttributeString |
String | No |
Status of object |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.CompanyNumber |
String | No |
Company registration number (max length = 50) |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.Phones[] |
Array | No |
Store certain phone types for a contact – see phone types |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.Phones[].PhoneType |
String | No |
Possible values:
|
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.Phones[].PhoneNumber |
String | No |
max length = 50 |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.Phones[].PhoneAreaCode |
String | No |
max length = 10 |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.Phones[].PhoneCountryCode |
String | No |
max length = 20 |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.BatchPayments |
No |
Bank details for use on a batch payment stored with each contact |
|
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.FirstName |
String | No |
First name of contact person (max length = 255) |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.SalesDefaultAccountCode |
String | No |
The default sales account code for contacts |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.ContactNumber |
String | No |
This can be updated via the API only i.e. This field is read only on the Xero contact screen, used to identify contacts in external systems (max length = 50). If the Contact Number is used, this is displayed as Contact Code in the Contacts UI in Xero. |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.AccountsReceivableTaxType |
String | No |
The tax type from TaxRates |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.DefaultCurrency |
String | No |
3 letter alpha code for the currency – see list of currency codes Possible values:
|
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.HasValidationErrors |
Boolean | No |
A boolean to indicate if a contact has an validation errors Default value: false |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.AccountNumber |
String | No |
A user defined account number. This can be updated via the API and the Xero UI (max length = 50) |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.Balances |
Object | No |
The raw AccountsReceivable(sales invoices) and AccountsPayable(bills) outstanding and overdue amounts, not converted to base currency (read only) |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.Balances.AccountsReceivable |
Object | No | |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.Balances.AccountsReceivable.Overdue |
Number | No | |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.Balances.AccountsReceivable.Outstanding |
Number | No | |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.Balances.AccountsPayable |
Object | No | |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.Balances.AccountsPayable.Overdue |
Number | No | |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.Balances.AccountsPayable.Outstanding |
Number | No | |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.XeroNetworkKey |
String | No |
Store XeroNetworkKey for contacts. |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.Discount |
Number | No |
The default discount rate for the contact (read only) |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.MergedToContactID |
String | No |
ID for the destination of a merged contact. Only returned when using paging or when fetching a contact by ContactId or ContactNumber. |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.ValidationErrors[] |
Array | No |
Displays validation errors returned from the API |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.ValidationErrors[].Message |
String | No |
Validation error message |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.EmailAddress |
String | No |
Email address of contact person (umlauts not supported) (max length = 255) |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.HasAttachments |
Boolean | No |
A boolean to indicate if a contact has an attachment Default value: false |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.PaymentTerms |
Object | No | |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.PaymentTerms.Bills |
Object | No | |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.PaymentTerms.Bills.Day |
Integer | No |
Day of Month (0-31) |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.PaymentTerms.Bills.Type |
String | No |
Possible values:
|
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.PaymentTerms.Sales |
Object | No | |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.PaymentTerms.Sales.Day |
Integer | No |
Day of Month (0-31) |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.PaymentTerms.Sales.Type |
String | No |
Possible values:
|
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.ContactGroups[] |
Array | No |
Displays which contact groups a contact is included in |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.ContactGroups[].Name |
String | No |
The Name of the contact group. Required when creating a new contact group |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.ContactGroups[].Status |
String | No |
The Status of a contact group. To delete a contact group update the status to DELETED. Only contact groups with a status of ACTIVE are returned on GETs. Possible values:
|
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.ContactGroups[].ContactGroupID |
String | No |
The Xero identifier for an contact group – specified as a string following the endpoint name. e.g. /297c2dc5-cc47-4afd-8ec8-74990b8761e9 |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.ContactGroups[].Contacts[] |
Array | No |
The ContactID and Name of Contacts in a contact group. Returned on GETs when the ContactGroupID is supplied in the URL. |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.ContactPersons[] |
Array | No |
See contact persons |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.ContactPersons[].IncludeInEmails |
Boolean | No |
boolean to indicate whether contact should be included on emails with invoices etc. |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.ContactPersons[].EmailAddress |
String | No |
Email address of person |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.ContactPersons[].LastName |
String | No |
Last name of person |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.Contact.ContactPersons[].FirstName |
String | No |
First name of person |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.HasAttachments |
Boolean | No |
boolean to indicate if a overpayment has an attachment Default value: false |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Overpayment.CurrencyCode |
String | No |
3 letter alpha code for the currency – see list of currency codes Possible values:
|
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].StatusAttributeString |
String | No |
A string to indicate if a invoice status |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].ValidationErrors[] |
Array | No |
Displays array of validation error messages from the API |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].ValidationErrors[].Message |
String | No |
Validation error message |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].IsDeleted |
Boolean | No |
A flag that returns true when the allocation is succesfully deleted |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].AllocationID |
String | No |
Xero generated unique identifier |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].Invoice |
Yes | ||
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote |
Object | No | |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.HasErrors |
Boolean | No |
A boolean to indicate if a credit note has an validation errors Default value: false |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Payments[] |
Array | No |
See Payments |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Total |
Number | No |
The total of the Credit Note(subtotal + total tax) |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.FullyPaidOnDate |
String | No |
Date when credit note was fully paid(UTC format) |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.InvoiceAddresses[] |
Array | No |
An array of addresses used to auto calculate sales tax |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.InvoiceAddresses[].City |
String | No |
City of a physical address |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.InvoiceAddresses[].AddressLine2 |
String | No |
Second line of a physical address |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.InvoiceAddresses[].Region |
String | No |
Region or state of a physical address |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.InvoiceAddresses[].Country |
String | No |
Country of a physical address |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.InvoiceAddresses[].AddressLine1 |
String | No |
First line of a physical address |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.InvoiceAddresses[].InvoiceAddressType |
String | No |
Indicates whether the address is defined as origin (FROM) or destination (TO) Possible values:
|
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.InvoiceAddresses[].AddressLine4 |
String | No |
Fourth line of a physical address |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.InvoiceAddresses[].AddressLine3 |
String | No |
Third line of a physical address |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.InvoiceAddresses[].PostalCode |
String | No |
Postal code of a physical address |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.UpdatedDateUTC |
String | No |
UTC timestamp of last update to the credit note |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.CurrencyRate |
Number | No |
The currency rate for a multicurrency invoice. If no rate is specified, the XE.com day rate is used |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.RemainingCredit |
Number | No |
The remaining credit balance on the Credit Note |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Allocations[] |
Array | No |
See Allocations |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact |
Object | No | |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.BankAccountDetails |
String | No |
Bank account number of contact |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.Website |
String | No |
Website address for contact (read only) |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.Name |
String | No |
Full name of contact/organisation (max length = 255) |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.SalesTrackingCategories[] |
Array | No |
The default sales tracking categories for contacts |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.SalesTrackingCategories[].TrackingOptionName |
String | No |
The default purchase tracking category name for contacts |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.SalesTrackingCategories[].TrackingCategoryName |
String | No |
The default sales tracking category name for contacts |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.SalesDefaultLineAmountType |
String | No |
The default sales line amount type for a contact. Only available when summaryOnly parameter or paging is used, or when fetch by ContactId or ContactNumber. Possible values:
|
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.TrackingCategoryOption |
String | No |
The name of the Tracking Option assigned to the contact under SalesTrackingCategories and PurchasesTrackingCategories |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.TaxNumber |
String | No |
Tax number of contact – this is also known as the ABN (Australia), GST Number (New Zealand), VAT Number (UK) or Tax ID Number (US and global) in the Xero UI depending on which regionalized version of Xero you are using (max length = 50) |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.TrackingCategoryName |
String | No |
The name of the Tracking Category assigned to the contact under SalesTrackingCategories and PurchasesTrackingCategories |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.LastName |
String | No |
Last name of contact person (max length = 255) |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.IsSupplier |
Boolean | No |
true or false – Boolean that describes if a contact that has any AP invoices entered against them. Cannot be set via PUT or POST – it is automatically set when an accounts payable invoice is generated against this contact. |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.PurchasesTrackingCategories[] |
Array | No |
The default purchases tracking categories for contacts |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.PurchasesTrackingCategories[].TrackingOptionName |
String | No |
The default purchase tracking category name for contacts |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.PurchasesTrackingCategories[].TrackingCategoryName |
String | No |
The default sales tracking category name for contacts |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.UpdatedDateUTC |
String | No |
UTC timestamp of last update to contact |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.BrandingTheme |
Object | No | |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.BrandingTheme.Name |
String | No |
Name of branding theme |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.BrandingTheme.BrandingThemeID |
String | No |
Xero identifier |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.BrandingTheme.Type |
String | No |
Always INVOICE Possible values:
|
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.BrandingTheme.LogoUrl |
String | No |
The location of the image file used as the logo on this branding theme |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.BrandingTheme.SortOrder |
Integer | No |
Integer – ranked order of branding theme. The default branding theme has a value of 0 |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.BrandingTheme.CreatedDateUTC |
String | No |
UTC timestamp of creation date of branding theme |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.IsCustomer |
Boolean | No |
true or false – Boolean that describes if a contact has any AR invoices entered against them. Cannot be set via PUT or POST – it is automatically set when an accounts receivable invoice is generated against this contact. |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.PurchasesDefaultLineAmountType |
String | No |
The default purchases line amount type for a contact Only available when summaryOnly parameter or paging is used, or when fetch by ContactId or ContactNumber. Possible values:
|
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.Attachments[] |
Array | No |
Displays array of attachments from the API |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.Attachments[].ContentLength |
Integer | No |
Length of the file content |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.Attachments[].IncludeOnline |
Boolean | No |
Include the file with the online invoice |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.Attachments[].AttachmentID |
String | No |
Unique ID for the file |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.Attachments[].MimeType |
String | No |
Type of file |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.Attachments[].Url |
String | No |
URL to the file on xero.com |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.Attachments[].FileName |
String | No |
Name of the file |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.PurchasesDefaultAccountCode |
String | No |
The default purchases account code for contacts |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.ContactID |
String | No |
Xero identifier |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.AccountsPayableTaxType |
String | No |
The tax type from TaxRates |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.ContactStatus |
String | No |
Current status of a contact – see contact status types Possible values:
|
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.Addresses[] |
Array | No |
Store certain address types for a contact – see address types |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.Addresses[].City |
String | No |
max length = 255 |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.Addresses[].AddressType |
String | No |
define the type of address Possible values:
|
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.Addresses[].AttentionTo |
String | No |
max length = 255 |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.Addresses[].AddressLine2 |
String | No |
max length = 500 |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.Addresses[].Region |
String | No |
max length = 255 |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.Addresses[].Country |
String | No |
max length = 50, [A-Z], [a-z] only |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.Addresses[].AddressLine1 |
String | No |
max length = 500 |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.Addresses[].AddressLine4 |
String | No |
max length = 500 |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.Addresses[].AddressLine3 |
String | No |
max length = 500 |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.Addresses[].PostalCode |
String | No |
max length = 50 |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.StatusAttributeString |
String | No |
Status of object |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.CompanyNumber |
String | No |
Company registration number (max length = 50) |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.Phones[] |
Array | No |
Store certain phone types for a contact – see phone types |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.Phones[].PhoneType |
String | No |
Possible values:
|
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.Phones[].PhoneNumber |
String | No |
max length = 50 |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.Phones[].PhoneAreaCode |
String | No |
max length = 10 |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.Phones[].PhoneCountryCode |
String | No |
max length = 20 |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.BatchPayments |
No |
Bank details for use on a batch payment stored with each contact |
|
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.FirstName |
String | No |
First name of contact person (max length = 255) |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.SalesDefaultAccountCode |
String | No |
The default sales account code for contacts |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.ContactNumber |
String | No |
This can be updated via the API only i.e. This field is read only on the Xero contact screen, used to identify contacts in external systems (max length = 50). If the Contact Number is used, this is displayed as Contact Code in the Contacts UI in Xero. |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.AccountsReceivableTaxType |
String | No |
The tax type from TaxRates |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.DefaultCurrency |
String | No |
3 letter alpha code for the currency – see list of currency codes Possible values:
|
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.HasValidationErrors |
Boolean | No |
A boolean to indicate if a contact has an validation errors Default value: false |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.AccountNumber |
String | No |
A user defined account number. This can be updated via the API and the Xero UI (max length = 50) |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.Balances |
Object | No |
The raw AccountsReceivable(sales invoices) and AccountsPayable(bills) outstanding and overdue amounts, not converted to base currency (read only) |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.Balances.AccountsReceivable |
Object | No | |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.Balances.AccountsReceivable.Overdue |
Number | No | |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.Balances.AccountsReceivable.Outstanding |
Number | No | |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.Balances.AccountsPayable |
Object | No | |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.Balances.AccountsPayable.Overdue |
Number | No | |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.Balances.AccountsPayable.Outstanding |
Number | No | |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.XeroNetworkKey |
String | No |
Store XeroNetworkKey for contacts. |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.Discount |
Number | No |
The default discount rate for the contact (read only) |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.MergedToContactID |
String | No |
ID for the destination of a merged contact. Only returned when using paging or when fetching a contact by ContactId or ContactNumber. |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.ValidationErrors[] |
Array | No |
Displays validation errors returned from the API |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.ValidationErrors[].Message |
String | No |
Validation error message |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.EmailAddress |
String | No |
Email address of contact person (umlauts not supported) (max length = 255) |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.HasAttachments |
Boolean | No |
A boolean to indicate if a contact has an attachment Default value: false |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.PaymentTerms |
Object | No | |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.PaymentTerms.Bills |
Object | No | |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.PaymentTerms.Bills.Day |
Integer | No |
Day of Month (0-31) |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.PaymentTerms.Bills.Type |
String | No |
Possible values:
|
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.PaymentTerms.Sales |
Object | No | |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.PaymentTerms.Sales.Day |
Integer | No |
Day of Month (0-31) |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.PaymentTerms.Sales.Type |
String | No |
Possible values:
|
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.ContactGroups[] |
Array | No |
Displays which contact groups a contact is included in |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.ContactGroups[].Name |
String | No |
The Name of the contact group. Required when creating a new contact group |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.ContactGroups[].Status |
String | No |
The Status of a contact group. To delete a contact group update the status to DELETED. Only contact groups with a status of ACTIVE are returned on GETs. Possible values:
|
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.ContactGroups[].ContactGroupID |
String | No |
The Xero identifier for an contact group – specified as a string following the endpoint name. e.g. /297c2dc5-cc47-4afd-8ec8-74990b8761e9 |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.ContactGroups[].Contacts[] |
Array | No |
The ContactID and Name of Contacts in a contact group. Returned on GETs when the ContactGroupID is supplied in the URL. |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.ContactPersons[] |
Array | No |
See contact persons |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.ContactPersons[].IncludeInEmails |
Boolean | No |
boolean to indicate whether contact should be included on emails with invoices etc. |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.ContactPersons[].EmailAddress |
String | No |
Email address of person |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.ContactPersons[].LastName |
String | No |
Last name of person |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Contact.ContactPersons[].FirstName |
String | No |
First name of person |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.CurrencyCode |
String | No |
3 letter alpha code for the currency – see list of currency codes Possible values:
|
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.CreditNoteID |
String | No |
Xero generated unique identifier |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.LineAmountTypes |
String | No |
Line amounts are exclusive of tax by default if you don’t specify this element. See Line Amount Types Possible values:
|
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Date |
String | No |
The date the credit note is issued YYYY-MM-DD. If the Date element is not specified then it will default to the current date based on the timezone setting of the organisation |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.CISDeduction |
Number | No |
CIS deduction for UK contractors |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.SentToContact |
Boolean | No |
Boolean to set whether the credit note in the Xero app should be marked as “sent”. This can be set only on credit notes that have been approved |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Warnings[] |
Array | No |
Displays array of warning messages from the API |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Warnings[].Message |
String | No |
Validation error message |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Type |
String | No |
See Credit Note Types Possible values:
|
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.StatusAttributeString |
String | No |
A string to indicate if a invoice status |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.DueDate |
String | No |
Date invoice is due – YYYY-MM-DD |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.CISRate |
Number | No |
CIS Deduction rate for the organisation |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.TotalTax |
Number | No |
The total tax on the credit note |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Reference |
String | No |
ACCRECCREDIT only – additional reference number |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.LineItems[] |
Array | No |
See Invoice Line Items |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.LineItems[].Quantity |
Number | No |
LineItem Quantity |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.LineItems[].UnitAmount |
Number | No |
LineItem Unit Amount |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.LineItems[].TaxAmount |
Number | No |
The tax amount is auto calculated as a percentage of the line amount (see below) based on the tax rate. This value can be overriden if the calculated is not correct. |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.LineItems[].Item |
No | ||
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.LineItems[].AccountCode |
String | No |
See Accounts |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.LineItems[].RepeatingInvoiceID |
String | No |
The Xero identifier for a Repeating Invoice |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.LineItems[].LineItemID |
String | No |
LineItem unique ID |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.LineItems[].Description |
String | No |
Description needs to be at least 1 char long. A line item with just a description (i.e no unit amount or quantity) can be created by specifying just a element that contains at least 1 character |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.LineItems[].TaxType |
String | No |
The tax type from TaxRates |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.LineItems[].Taxability |
String | No |
The type of taxability Possible values:
|
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.LineItems[].TaxBreakdown[] |
Array | No |
An array of tax components defined for this line item |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.LineItems[].TaxBreakdown[].TaxComponentId |
String | No |
The unique ID number of this component |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.LineItems[].TaxBreakdown[].Name |
String | No |
The name of the jurisdiction |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.LineItems[].TaxBreakdown[].Type |
String | No |
The type of the jurisdiction Possible values:
|
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.LineItems[].TaxBreakdown[].TaxAmount |
Number | No |
The amount of the tax |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.LineItems[].TaxBreakdown[].TaxableAmount |
Number | No |
The amount that is taxable |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.LineItems[].TaxBreakdown[].NonTaxableAmount |
Number | No |
The amount that is not taxable |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.LineItems[].TaxBreakdown[].TaxPercentage |
Number | No |
The percentage of the tax |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.LineItems[].TaxBreakdown[].ExemptAmount |
Number | No |
The amount that is exempt |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.LineItems[].TaxBreakdown[].StateAssignedNo |
String | No |
The state assigned number of the jurisdiction |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.LineItems[].TaxBreakdown[].JurisdictionRegion |
String | No |
Name identifying the region within the country |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.LineItems[].LineAmount |
Number | No |
If you wish to omit either the Quantity or UnitAmount you can provide a LineAmount and Xero will calculate the missing amount for you. The line amount reflects the discounted price if either a DiscountRate or DiscountAmount has been used i.e. LineAmount = Quantity * Unit Amount * ((100 - DiscountRate)/100) or LineAmount = (Quantity * UnitAmount) - DiscountAmount |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.LineItems[].AccountID |
String | No |
The associated account ID related to this line item |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.LineItems[].SalesTaxCodeId |
Number | No |
The ID of the sales tax code |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.LineItems[].ItemCode |
String | No |
See Items |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.LineItems[].Tracking[] |
Array | No |
Optional Tracking Category – see Tracking. Any LineItem can have a maximum of 2 elements. |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.LineItems[].Tracking[].TrackingCategoryID |
String | No |
The Xero identifier for a tracking category |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.LineItems[].Tracking[].Name |
String | No |
The name of the tracking category |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.LineItems[].Tracking[].Option |
String | No |
See Tracking Options |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.LineItems[].Tracking[].TrackingOptionID |
String | No |
The Xero identifier for a tracking category option |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.LineItems[].DiscountAmount |
Number | No |
Discount amount being applied to a line item. Only supported on ACCREC invoices and quotes. ACCPAY invoices and credit notes in Xero do not support discounts. |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.LineItems[].DiscountRate |
Number | No |
Percentage discount being applied to a line item (only supported on ACCREC invoices – ACC PAY invoices and credit notes in Xero do not support discounts |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.SubTotal |
Number | No |
The subtotal of the credit note excluding taxes |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.Status |
String | No |
See Credit Note Status Codes Possible values:
|
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.BrandingThemeID |
String | No |
See BrandingThemes |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.AppliedAmount |
Number | No |
The amount of applied to an invoice |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.ValidationErrors[] |
Array | No |
Displays array of validation error messages from the API |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.ValidationErrors[].Message |
String | No |
Validation error message |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.HasAttachments |
Boolean | No |
boolean to indicate if a credit note has an attachment Default value: false |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Allocations[].CreditNote.CreditNoteNumber |
String | No |
ACCRECCREDIT – Unique alpha numeric code identifying credit note (when missing will auto-generate from your Organisation Invoice Settings) |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Contact |
Object | No | |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Contact.BankAccountDetails |
String | No |
Bank account number of contact |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Contact.Website |
String | No |
Website address for contact (read only) |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Contact.Name |
String | No |
Full name of contact/organisation (max length = 255) |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Contact.SalesTrackingCategories[] |
Array | No |
The default sales tracking categories for contacts |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Contact.SalesTrackingCategories[].TrackingOptionName |
String | No |
The default purchase tracking category name for contacts |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Contact.SalesTrackingCategories[].TrackingCategoryName |
String | No |
The default sales tracking category name for contacts |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Contact.SalesDefaultLineAmountType |
String | No |
The default sales line amount type for a contact. Only available when summaryOnly parameter or paging is used, or when fetch by ContactId or ContactNumber. Possible values:
|
ExpenseClaims[].Payments[].Invoice.Prepayments[].Contact.TrackingCategoryOption |
String | No |
The name of the Tracking Option assigned to the contact under SalesTrackingCategories and PurchasesTrackingCategories |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Contact.TaxNumber |
String | No |
Tax number of contact – this is also known as the ABN (Australia), GST Number (New Zealand), VAT Number (UK) or Tax ID Number (US and global) in the Xero UI depending on which regionalized version of Xero you are using (max length = 50) |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Contact.TrackingCategoryName |
String | No |
The name of the Tracking Category assigned to the contact under SalesTrackingCategories and PurchasesTrackingCategories |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Contact.LastName |
String | No |
Last name of contact person (max length = 255) |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Contact.IsSupplier |
Boolean | No |
true or false – Boolean that describes if a contact that has any AP invoices entered against them. Cannot be set via PUT or POST – it is automatically set when an accounts payable invoice is generated against this contact. |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Contact.PurchasesTrackingCategories[] |
Array | No |
The default purchases tracking categories for contacts |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Contact.PurchasesTrackingCategories[].TrackingOptionName |
String | No |
The default purchase tracking category name for contacts |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Contact.PurchasesTrackingCategories[].TrackingCategoryName |
String | No |
The default sales tracking category name for contacts |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Contact.UpdatedDateUTC |
String | No |
UTC timestamp of last update to contact |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Contact.BrandingTheme |
Object | No | |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Contact.BrandingTheme.Name |
String | No |
Name of branding theme |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Contact.BrandingTheme.BrandingThemeID |
String | No |
Xero identifier |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Contact.BrandingTheme.Type |
String | No |
Always INVOICE Possible values:
|
ExpenseClaims[].Payments[].Invoice.Prepayments[].Contact.BrandingTheme.LogoUrl |
String | No |
The location of the image file used as the logo on this branding theme |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Contact.BrandingTheme.SortOrder |
Integer | No |
Integer – ranked order of branding theme. The default branding theme has a value of 0 |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Contact.BrandingTheme.CreatedDateUTC |
String | No |
UTC timestamp of creation date of branding theme |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Contact.IsCustomer |
Boolean | No |
true or false – Boolean that describes if a contact has any AR invoices entered against them. Cannot be set via PUT or POST – it is automatically set when an accounts receivable invoice is generated against this contact. |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Contact.PurchasesDefaultLineAmountType |
String | No |
The default purchases line amount type for a contact Only available when summaryOnly parameter or paging is used, or when fetch by ContactId or ContactNumber. Possible values:
|
ExpenseClaims[].Payments[].Invoice.Prepayments[].Contact.Attachments[] |
Array | No |
Displays array of attachments from the API |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Contact.Attachments[].ContentLength |
Integer | No |
Length of the file content |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Contact.Attachments[].IncludeOnline |
Boolean | No |
Include the file with the online invoice |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Contact.Attachments[].AttachmentID |
String | No |
Unique ID for the file |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Contact.Attachments[].MimeType |
String | No |
Type of file |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Contact.Attachments[].Url |
String | No |
URL to the file on xero.com |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Contact.Attachments[].FileName |
String | No |
Name of the file |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Contact.PurchasesDefaultAccountCode |
String | No |
The default purchases account code for contacts |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Contact.ContactID |
String | No |
Xero identifier |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Contact.AccountsPayableTaxType |
String | No |
The tax type from TaxRates |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Contact.ContactStatus |
String | No |
Current status of a contact – see contact status types Possible values:
|
ExpenseClaims[].Payments[].Invoice.Prepayments[].Contact.Addresses[] |
Array | No |
Store certain address types for a contact – see address types |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Contact.Addresses[].City |
String | No |
max length = 255 |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Contact.Addresses[].AddressType |
String | No |
define the type of address Possible values:
|
ExpenseClaims[].Payments[].Invoice.Prepayments[].Contact.Addresses[].AttentionTo |
String | No |
max length = 255 |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Contact.Addresses[].AddressLine2 |
String | No |
max length = 500 |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Contact.Addresses[].Region |
String | No |
max length = 255 |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Contact.Addresses[].Country |
String | No |
max length = 50, [A-Z], [a-z] only |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Contact.Addresses[].AddressLine1 |
String | No |
max length = 500 |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Contact.Addresses[].AddressLine4 |
String | No |
max length = 500 |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Contact.Addresses[].AddressLine3 |
String | No |
max length = 500 |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Contact.Addresses[].PostalCode |
String | No |
max length = 50 |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Contact.StatusAttributeString |
String | No |
Status of object |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Contact.CompanyNumber |
String | No |
Company registration number (max length = 50) |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Contact.Phones[] |
Array | No |
Store certain phone types for a contact – see phone types |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Contact.Phones[].PhoneType |
String | No |
Possible values:
|
ExpenseClaims[].Payments[].Invoice.Prepayments[].Contact.Phones[].PhoneNumber |
String | No |
max length = 50 |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Contact.Phones[].PhoneAreaCode |
String | No |
max length = 10 |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Contact.Phones[].PhoneCountryCode |
String | No |
max length = 20 |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Contact.BatchPayments |
No |
Bank details for use on a batch payment stored with each contact |
|
ExpenseClaims[].Payments[].Invoice.Prepayments[].Contact.FirstName |
String | No |
First name of contact person (max length = 255) |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Contact.SalesDefaultAccountCode |
String | No |
The default sales account code for contacts |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Contact.ContactNumber |
String | No |
This can be updated via the API only i.e. This field is read only on the Xero contact screen, used to identify contacts in external systems (max length = 50). If the Contact Number is used, this is displayed as Contact Code in the Contacts UI in Xero. |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Contact.AccountsReceivableTaxType |
String | No |
The tax type from TaxRates |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Contact.DefaultCurrency |
String | No |
3 letter alpha code for the currency – see list of currency codes Possible values:
|
ExpenseClaims[].Payments[].Invoice.Prepayments[].Contact.HasValidationErrors |
Boolean | No |
A boolean to indicate if a contact has an validation errors Default value: false |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Contact.AccountNumber |
String | No |
A user defined account number. This can be updated via the API and the Xero UI (max length = 50) |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Contact.Balances |
Object | No |
The raw AccountsReceivable(sales invoices) and AccountsPayable(bills) outstanding and overdue amounts, not converted to base currency (read only) |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Contact.Balances.AccountsReceivable |
Object | No | |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Contact.Balances.AccountsReceivable.Overdue |
Number | No | |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Contact.Balances.AccountsReceivable.Outstanding |
Number | No | |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Contact.Balances.AccountsPayable |
Object | No | |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Contact.Balances.AccountsPayable.Overdue |
Number | No | |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Contact.Balances.AccountsPayable.Outstanding |
Number | No | |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Contact.XeroNetworkKey |
String | No |
Store XeroNetworkKey for contacts. |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Contact.Discount |
Number | No |
The default discount rate for the contact (read only) |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Contact.MergedToContactID |
String | No |
ID for the destination of a merged contact. Only returned when using paging or when fetching a contact by ContactId or ContactNumber. |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Contact.ValidationErrors[] |
Array | No |
Displays validation errors returned from the API |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Contact.ValidationErrors[].Message |
String | No |
Validation error message |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Contact.EmailAddress |
String | No |
Email address of contact person (umlauts not supported) (max length = 255) |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Contact.HasAttachments |
Boolean | No |
A boolean to indicate if a contact has an attachment Default value: false |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Contact.PaymentTerms |
Object | No | |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Contact.PaymentTerms.Bills |
Object | No | |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Contact.PaymentTerms.Bills.Day |
Integer | No |
Day of Month (0-31) |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Contact.PaymentTerms.Bills.Type |
String | No |
Possible values:
|
ExpenseClaims[].Payments[].Invoice.Prepayments[].Contact.PaymentTerms.Sales |
Object | No | |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Contact.PaymentTerms.Sales.Day |
Integer | No |
Day of Month (0-31) |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Contact.PaymentTerms.Sales.Type |
String | No |
Possible values:
|
ExpenseClaims[].Payments[].Invoice.Prepayments[].Contact.ContactGroups[] |
Array | No |
Displays which contact groups a contact is included in |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Contact.ContactGroups[].Name |
String | No |
The Name of the contact group. Required when creating a new contact group |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Contact.ContactGroups[].Status |
String | No |
The Status of a contact group. To delete a contact group update the status to DELETED. Only contact groups with a status of ACTIVE are returned on GETs. Possible values:
|
ExpenseClaims[].Payments[].Invoice.Prepayments[].Contact.ContactGroups[].ContactGroupID |
String | No |
The Xero identifier for an contact group – specified as a string following the endpoint name. e.g. /297c2dc5-cc47-4afd-8ec8-74990b8761e9 |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Contact.ContactGroups[].Contacts[] |
Array | No |
The ContactID and Name of Contacts in a contact group. Returned on GETs when the ContactGroupID is supplied in the URL. |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Contact.ContactPersons[] |
Array | No |
See contact persons |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Contact.ContactPersons[].IncludeInEmails |
Boolean | No |
boolean to indicate whether contact should be included on emails with invoices etc. |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Contact.ContactPersons[].EmailAddress |
String | No |
Email address of person |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Contact.ContactPersons[].LastName |
String | No |
Last name of person |
ExpenseClaims[].Payments[].Invoice.Prepayments[].Contact.ContactPersons[].FirstName |
String | No |
First name of person |
ExpenseClaims[].Payments[].Invoice.Prepayments[].HasAttachments |
Boolean | No |
boolean to indicate if a prepayment has an attachment Default value: false |
ExpenseClaims[].Payments[].Invoice.Prepayments[].CurrencyCode |
String | No |
3 letter alpha code for the currency – see list of currency codes Possible values:
|
ExpenseClaims[].Payments[].Invoice.Prepayments[].PrepaymentID |
String | No |
Xero generated unique identifier |
ExpenseClaims[].Payments[].Invoice.BrandingThemeID |
String | No |
See BrandingThemes |
ExpenseClaims[].Payments[].Invoice.Status |
String | No |
See Invoice Status Codes Possible values:
|
ExpenseClaims[].Payments[].Invoice.ValidationErrors[] |
Array | No |
Displays array of validation error messages from the API |
ExpenseClaims[].Payments[].Invoice.ValidationErrors[].Message |
String | No |
Validation error message |
ExpenseClaims[].Payments[].Invoice.CreditNotes[] |
Array | No |
Details of credit notes that have been applied to an invoice |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].HasErrors |
Boolean | No |
A boolean to indicate if a credit note has an validation errors Default value: false |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].Payments[] |
Array | No |
See Payments |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].Total |
Number | No |
The total of the Credit Note(subtotal + total tax) |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].FullyPaidOnDate |
String | No |
Date when credit note was fully paid(UTC format) |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].InvoiceAddresses[] |
Array | No |
An array of addresses used to auto calculate sales tax |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].InvoiceAddresses[].City |
String | No |
City of a physical address |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].InvoiceAddresses[].AddressLine2 |
String | No |
Second line of a physical address |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].InvoiceAddresses[].Region |
String | No |
Region or state of a physical address |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].InvoiceAddresses[].Country |
String | No |
Country of a physical address |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].InvoiceAddresses[].AddressLine1 |
String | No |
First line of a physical address |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].InvoiceAddresses[].InvoiceAddressType |
String | No |
Indicates whether the address is defined as origin (FROM) or destination (TO) Possible values:
|
ExpenseClaims[].Payments[].Invoice.CreditNotes[].InvoiceAddresses[].AddressLine4 |
String | No |
Fourth line of a physical address |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].InvoiceAddresses[].AddressLine3 |
String | No |
Third line of a physical address |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].InvoiceAddresses[].PostalCode |
String | No |
Postal code of a physical address |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].UpdatedDateUTC |
String | No |
UTC timestamp of last update to the credit note |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].CurrencyRate |
Number | No |
The currency rate for a multicurrency invoice. If no rate is specified, the XE.com day rate is used |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].RemainingCredit |
Number | No |
The remaining credit balance on the Credit Note |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].Allocations[] |
Array | No |
See Allocations |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].Contact |
Object | No | |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].Contact.BankAccountDetails |
String | No |
Bank account number of contact |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].Contact.Website |
String | No |
Website address for contact (read only) |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].Contact.Name |
String | No |
Full name of contact/organisation (max length = 255) |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].Contact.SalesTrackingCategories[] |
Array | No |
The default sales tracking categories for contacts |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].Contact.SalesTrackingCategories[].TrackingOptionName |
String | No |
The default purchase tracking category name for contacts |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].Contact.SalesTrackingCategories[].TrackingCategoryName |
String | No |
The default sales tracking category name for contacts |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].Contact.SalesDefaultLineAmountType |
String | No |
The default sales line amount type for a contact. Only available when summaryOnly parameter or paging is used, or when fetch by ContactId or ContactNumber. Possible values:
|
ExpenseClaims[].Payments[].Invoice.CreditNotes[].Contact.TrackingCategoryOption |
String | No |
The name of the Tracking Option assigned to the contact under SalesTrackingCategories and PurchasesTrackingCategories |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].Contact.TaxNumber |
String | No |
Tax number of contact – this is also known as the ABN (Australia), GST Number (New Zealand), VAT Number (UK) or Tax ID Number (US and global) in the Xero UI depending on which regionalized version of Xero you are using (max length = 50) |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].Contact.TrackingCategoryName |
String | No |
The name of the Tracking Category assigned to the contact under SalesTrackingCategories and PurchasesTrackingCategories |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].Contact.LastName |
String | No |
Last name of contact person (max length = 255) |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].Contact.IsSupplier |
Boolean | No |
true or false – Boolean that describes if a contact that has any AP invoices entered against them. Cannot be set via PUT or POST – it is automatically set when an accounts payable invoice is generated against this contact. |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].Contact.PurchasesTrackingCategories[] |
Array | No |
The default purchases tracking categories for contacts |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].Contact.PurchasesTrackingCategories[].TrackingOptionName |
String | No |
The default purchase tracking category name for contacts |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].Contact.PurchasesTrackingCategories[].TrackingCategoryName |
String | No |
The default sales tracking category name for contacts |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].Contact.UpdatedDateUTC |
String | No |
UTC timestamp of last update to contact |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].Contact.BrandingTheme |
Object | No | |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].Contact.BrandingTheme.Name |
String | No |
Name of branding theme |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].Contact.BrandingTheme.BrandingThemeID |
String | No |
Xero identifier |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].Contact.BrandingTheme.Type |
String | No |
Always INVOICE Possible values:
|
ExpenseClaims[].Payments[].Invoice.CreditNotes[].Contact.BrandingTheme.LogoUrl |
String | No |
The location of the image file used as the logo on this branding theme |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].Contact.BrandingTheme.SortOrder |
Integer | No |
Integer – ranked order of branding theme. The default branding theme has a value of 0 |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].Contact.BrandingTheme.CreatedDateUTC |
String | No |
UTC timestamp of creation date of branding theme |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].Contact.IsCustomer |
Boolean | No |
true or false – Boolean that describes if a contact has any AR invoices entered against them. Cannot be set via PUT or POST – it is automatically set when an accounts receivable invoice is generated against this contact. |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].Contact.PurchasesDefaultLineAmountType |
String | No |
The default purchases line amount type for a contact Only available when summaryOnly parameter or paging is used, or when fetch by ContactId or ContactNumber. Possible values:
|
ExpenseClaims[].Payments[].Invoice.CreditNotes[].Contact.Attachments[] |
Array | No |
Displays array of attachments from the API |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].Contact.Attachments[].ContentLength |
Integer | No |
Length of the file content |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].Contact.Attachments[].IncludeOnline |
Boolean | No |
Include the file with the online invoice |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].Contact.Attachments[].AttachmentID |
String | No |
Unique ID for the file |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].Contact.Attachments[].MimeType |
String | No |
Type of file |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].Contact.Attachments[].Url |
String | No |
URL to the file on xero.com |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].Contact.Attachments[].FileName |
String | No |
Name of the file |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].Contact.PurchasesDefaultAccountCode |
String | No |
The default purchases account code for contacts |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].Contact.ContactID |
String | No |
Xero identifier |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].Contact.AccountsPayableTaxType |
String | No |
The tax type from TaxRates |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].Contact.ContactStatus |
String | No |
Current status of a contact – see contact status types Possible values:
|
ExpenseClaims[].Payments[].Invoice.CreditNotes[].Contact.Addresses[] |
Array | No |
Store certain address types for a contact – see address types |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].Contact.Addresses[].City |
String | No |
max length = 255 |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].Contact.Addresses[].AddressType |
String | No |
define the type of address Possible values:
|
ExpenseClaims[].Payments[].Invoice.CreditNotes[].Contact.Addresses[].AttentionTo |
String | No |
max length = 255 |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].Contact.Addresses[].AddressLine2 |
String | No |
max length = 500 |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].Contact.Addresses[].Region |
String | No |
max length = 255 |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].Contact.Addresses[].Country |
String | No |
max length = 50, [A-Z], [a-z] only |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].Contact.Addresses[].AddressLine1 |
String | No |
max length = 500 |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].Contact.Addresses[].AddressLine4 |
String | No |
max length = 500 |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].Contact.Addresses[].AddressLine3 |
String | No |
max length = 500 |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].Contact.Addresses[].PostalCode |
String | No |
max length = 50 |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].Contact.StatusAttributeString |
String | No |
Status of object |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].Contact.CompanyNumber |
String | No |
Company registration number (max length = 50) |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].Contact.Phones[] |
Array | No |
Store certain phone types for a contact – see phone types |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].Contact.Phones[].PhoneType |
String | No |
Possible values:
|
ExpenseClaims[].Payments[].Invoice.CreditNotes[].Contact.Phones[].PhoneNumber |
String | No |
max length = 50 |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].Contact.Phones[].PhoneAreaCode |
String | No |
max length = 10 |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].Contact.Phones[].PhoneCountryCode |
String | No |
max length = 20 |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].Contact.BatchPayments |
No |
Bank details for use on a batch payment stored with each contact |
|
ExpenseClaims[].Payments[].Invoice.CreditNotes[].Contact.FirstName |
String | No |
First name of contact person (max length = 255) |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].Contact.SalesDefaultAccountCode |
String | No |
The default sales account code for contacts |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].Contact.ContactNumber |
String | No |
This can be updated via the API only i.e. This field is read only on the Xero contact screen, used to identify contacts in external systems (max length = 50). If the Contact Number is used, this is displayed as Contact Code in the Contacts UI in Xero. |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].Contact.AccountsReceivableTaxType |
String | No |
The tax type from TaxRates |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].Contact.DefaultCurrency |
String | No |
3 letter alpha code for the currency – see list of currency codes Possible values:
|
ExpenseClaims[].Payments[].Invoice.CreditNotes[].Contact.HasValidationErrors |
Boolean | No |
A boolean to indicate if a contact has an validation errors Default value: false |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].Contact.AccountNumber |
String | No |
A user defined account number. This can be updated via the API and the Xero UI (max length = 50) |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].Contact.Balances |
Object | No |
The raw AccountsReceivable(sales invoices) and AccountsPayable(bills) outstanding and overdue amounts, not converted to base currency (read only) |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].Contact.Balances.AccountsReceivable |
Object | No | |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].Contact.Balances.AccountsReceivable.Overdue |
Number | No | |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].Contact.Balances.AccountsReceivable.Outstanding |
Number | No | |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].Contact.Balances.AccountsPayable |
Object | No | |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].Contact.Balances.AccountsPayable.Overdue |
Number | No | |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].Contact.Balances.AccountsPayable.Outstanding |
Number | No | |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].Contact.XeroNetworkKey |
String | No |
Store XeroNetworkKey for contacts. |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].Contact.Discount |
Number | No |
The default discount rate for the contact (read only) |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].Contact.MergedToContactID |
String | No |
ID for the destination of a merged contact. Only returned when using paging or when fetching a contact by ContactId or ContactNumber. |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].Contact.ValidationErrors[] |
Array | No |
Displays validation errors returned from the API |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].Contact.ValidationErrors[].Message |
String | No |
Validation error message |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].Contact.EmailAddress |
String | No |
Email address of contact person (umlauts not supported) (max length = 255) |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].Contact.HasAttachments |
Boolean | No |
A boolean to indicate if a contact has an attachment Default value: false |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].Contact.PaymentTerms |
Object | No | |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].Contact.PaymentTerms.Bills |
Object | No | |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].Contact.PaymentTerms.Bills.Day |
Integer | No |
Day of Month (0-31) |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].Contact.PaymentTerms.Bills.Type |
String | No |
Possible values:
|
ExpenseClaims[].Payments[].Invoice.CreditNotes[].Contact.PaymentTerms.Sales |
Object | No | |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].Contact.PaymentTerms.Sales.Day |
Integer | No |
Day of Month (0-31) |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].Contact.PaymentTerms.Sales.Type |
String | No |
Possible values:
|
ExpenseClaims[].Payments[].Invoice.CreditNotes[].Contact.ContactGroups[] |
Array | No |
Displays which contact groups a contact is included in |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].Contact.ContactGroups[].Name |
String | No |
The Name of the contact group. Required when creating a new contact group |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].Contact.ContactGroups[].Status |
String | No |
The Status of a contact group. To delete a contact group update the status to DELETED. Only contact groups with a status of ACTIVE are returned on GETs. Possible values:
|
ExpenseClaims[].Payments[].Invoice.CreditNotes[].Contact.ContactGroups[].ContactGroupID |
String | No |
The Xero identifier for an contact group – specified as a string following the endpoint name. e.g. /297c2dc5-cc47-4afd-8ec8-74990b8761e9 |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].Contact.ContactGroups[].Contacts[] |
Array | No |
The ContactID and Name of Contacts in a contact group. Returned on GETs when the ContactGroupID is supplied in the URL. |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].Contact.ContactPersons[] |
Array | No |
See contact persons |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].Contact.ContactPersons[].IncludeInEmails |
Boolean | No |
boolean to indicate whether contact should be included on emails with invoices etc. |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].Contact.ContactPersons[].EmailAddress |
String | No |
Email address of person |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].Contact.ContactPersons[].LastName |
String | No |
Last name of person |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].Contact.ContactPersons[].FirstName |
String | No |
First name of person |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].CurrencyCode |
String | No |
3 letter alpha code for the currency – see list of currency codes Possible values:
|
ExpenseClaims[].Payments[].Invoice.CreditNotes[].CreditNoteID |
String | No |
Xero generated unique identifier |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].LineAmountTypes |
String | No |
Line amounts are exclusive of tax by default if you don’t specify this element. See Line Amount Types Possible values:
|
ExpenseClaims[].Payments[].Invoice.CreditNotes[].Date |
String | No |
The date the credit note is issued YYYY-MM-DD. If the Date element is not specified then it will default to the current date based on the timezone setting of the organisation |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].CISDeduction |
Number | No |
CIS deduction for UK contractors |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].SentToContact |
Boolean | No |
Boolean to set whether the credit note in the Xero app should be marked as “sent”. This can be set only on credit notes that have been approved |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].Warnings[] |
Array | No |
Displays array of warning messages from the API |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].Warnings[].Message |
String | No |
Validation error message |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].Type |
String | No |
See Credit Note Types Possible values:
|
ExpenseClaims[].Payments[].Invoice.CreditNotes[].StatusAttributeString |
String | No |
A string to indicate if a invoice status |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].DueDate |
String | No |
Date invoice is due – YYYY-MM-DD |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].CISRate |
Number | No |
CIS Deduction rate for the organisation |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].TotalTax |
Number | No |
The total tax on the credit note |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].Reference |
String | No |
ACCRECCREDIT only – additional reference number |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].LineItems[] |
Array | No |
See Invoice Line Items |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].LineItems[].Quantity |
Number | No |
LineItem Quantity |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].LineItems[].UnitAmount |
Number | No |
LineItem Unit Amount |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].LineItems[].TaxAmount |
Number | No |
The tax amount is auto calculated as a percentage of the line amount (see below) based on the tax rate. This value can be overriden if the calculated is not correct. |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].LineItems[].Item |
No | ||
ExpenseClaims[].Payments[].Invoice.CreditNotes[].LineItems[].AccountCode |
String | No |
See Accounts |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].LineItems[].RepeatingInvoiceID |
String | No |
The Xero identifier for a Repeating Invoice |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].LineItems[].LineItemID |
String | No |
LineItem unique ID |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].LineItems[].Description |
String | No |
Description needs to be at least 1 char long. A line item with just a description (i.e no unit amount or quantity) can be created by specifying just a element that contains at least 1 character |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].LineItems[].TaxType |
String | No |
The tax type from TaxRates |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].LineItems[].Taxability |
String | No |
The type of taxability Possible values:
|
ExpenseClaims[].Payments[].Invoice.CreditNotes[].LineItems[].TaxBreakdown[] |
Array | No |
An array of tax components defined for this line item |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].LineItems[].TaxBreakdown[].TaxComponentId |
String | No |
The unique ID number of this component |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].LineItems[].TaxBreakdown[].Name |
String | No |
The name of the jurisdiction |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].LineItems[].TaxBreakdown[].Type |
String | No |
The type of the jurisdiction Possible values:
|
ExpenseClaims[].Payments[].Invoice.CreditNotes[].LineItems[].TaxBreakdown[].TaxAmount |
Number | No |
The amount of the tax |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].LineItems[].TaxBreakdown[].TaxableAmount |
Number | No |
The amount that is taxable |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].LineItems[].TaxBreakdown[].NonTaxableAmount |
Number | No |
The amount that is not taxable |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].LineItems[].TaxBreakdown[].TaxPercentage |
Number | No |
The percentage of the tax |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].LineItems[].TaxBreakdown[].ExemptAmount |
Number | No |
The amount that is exempt |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].LineItems[].TaxBreakdown[].StateAssignedNo |
String | No |
The state assigned number of the jurisdiction |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].LineItems[].TaxBreakdown[].JurisdictionRegion |
String | No |
Name identifying the region within the country |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].LineItems[].LineAmount |
Number | No |
If you wish to omit either the Quantity or UnitAmount you can provide a LineAmount and Xero will calculate the missing amount for you. The line amount reflects the discounted price if either a DiscountRate or DiscountAmount has been used i.e. LineAmount = Quantity * Unit Amount * ((100 - DiscountRate)/100) or LineAmount = (Quantity * UnitAmount) - DiscountAmount |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].LineItems[].AccountID |
String | No |
The associated account ID related to this line item |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].LineItems[].SalesTaxCodeId |
Number | No |
The ID of the sales tax code |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].LineItems[].ItemCode |
String | No |
See Items |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].LineItems[].Tracking[] |
Array | No |
Optional Tracking Category – see Tracking. Any LineItem can have a maximum of 2 elements. |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].LineItems[].Tracking[].TrackingCategoryID |
String | No |
The Xero identifier for a tracking category |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].LineItems[].Tracking[].Name |
String | No |
The name of the tracking category |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].LineItems[].Tracking[].Option |
String | No |
See Tracking Options |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].LineItems[].Tracking[].TrackingOptionID |
String | No |
The Xero identifier for a tracking category option |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].LineItems[].DiscountAmount |
Number | No |
Discount amount being applied to a line item. Only supported on ACCREC invoices and quotes. ACCPAY invoices and credit notes in Xero do not support discounts. |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].LineItems[].DiscountRate |
Number | No |
Percentage discount being applied to a line item (only supported on ACCREC invoices – ACC PAY invoices and credit notes in Xero do not support discounts |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].SubTotal |
Number | No |
The subtotal of the credit note excluding taxes |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].Status |
String | No |
See Credit Note Status Codes Possible values:
|
ExpenseClaims[].Payments[].Invoice.CreditNotes[].BrandingThemeID |
String | No |
See BrandingThemes |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].AppliedAmount |
Number | No |
The amount of applied to an invoice |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].ValidationErrors[] |
Array | No |
Displays array of validation error messages from the API |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].ValidationErrors[].Message |
String | No |
Validation error message |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].HasAttachments |
Boolean | No |
boolean to indicate if a credit note has an attachment Default value: false |
ExpenseClaims[].Payments[].Invoice.CreditNotes[].CreditNoteNumber |
String | No |
ACCRECCREDIT – Unique alpha numeric code identifying credit note (when missing will auto-generate from your Organisation Invoice Settings) |
ExpenseClaims[].Payments[].Invoice.HasAttachments |
Boolean | No |
boolean to indicate if an invoice has an attachment Default value: false |
ExpenseClaims[].Payments[].Invoice.AmountPaid |
Number | No |
Sum of payments received for invoice |
ExpenseClaims[].Payments[].Invoice.ExpectedPaymentDate |
String | No |
Shown on sales invoices (Accounts Receivable) when this has been set |
ExpenseClaims[].Payments[].CreditNote |
Object | No | |
ExpenseClaims[].Payments[].CreditNote.HasErrors |
Boolean | No |
A boolean to indicate if a credit note has an validation errors Default value: false |
ExpenseClaims[].Payments[].CreditNote.Payments[] |
Array | No |
See Payments |
ExpenseClaims[].Payments[].CreditNote.Total |
Number | No |
The total of the Credit Note(subtotal + total tax) |
ExpenseClaims[].Payments[].CreditNote.FullyPaidOnDate |
String | No |
Date when credit note was fully paid(UTC format) |
ExpenseClaims[].Payments[].CreditNote.InvoiceAddresses[] |
Array | No |
An array of addresses used to auto calculate sales tax |
ExpenseClaims[].Payments[].CreditNote.InvoiceAddresses[].City |
String | No |
City of a physical address |
ExpenseClaims[].Payments[].CreditNote.InvoiceAddresses[].AddressLine2 |
String | No |
Second line of a physical address |
ExpenseClaims[].Payments[].CreditNote.InvoiceAddresses[].Region |
String | No |
Region or state of a physical address |
ExpenseClaims[].Payments[].CreditNote.InvoiceAddresses[].Country |
String | No |
Country of a physical address |
ExpenseClaims[].Payments[].CreditNote.InvoiceAddresses[].AddressLine1 |
String | No |
First line of a physical address |
ExpenseClaims[].Payments[].CreditNote.InvoiceAddresses[].InvoiceAddressType |
String | No |
Indicates whether the address is defined as origin (FROM) or destination (TO) Possible values:
|
ExpenseClaims[].Payments[].CreditNote.InvoiceAddresses[].AddressLine4 |
String | No |
Fourth line of a physical address |
ExpenseClaims[].Payments[].CreditNote.InvoiceAddresses[].AddressLine3 |
String | No |
Third line of a physical address |
ExpenseClaims[].Payments[].CreditNote.InvoiceAddresses[].PostalCode |
String | No |
Postal code of a physical address |
ExpenseClaims[].Payments[].CreditNote.UpdatedDateUTC |
String | No |
UTC timestamp of last update to the credit note |
ExpenseClaims[].Payments[].CreditNote.CurrencyRate |
Number | No |
The currency rate for a multicurrency invoice. If no rate is specified, the XE.com day rate is used |
ExpenseClaims[].Payments[].CreditNote.RemainingCredit |
Number | No |
The remaining credit balance on the Credit Note |
ExpenseClaims[].Payments[].CreditNote.Allocations[] |
Array | No |
See Allocations |
ExpenseClaims[].Payments[].CreditNote.Contact |
Object | No | |
ExpenseClaims[].Payments[].CreditNote.Contact.BankAccountDetails |
String | No |
Bank account number of contact |
ExpenseClaims[].Payments[].CreditNote.Contact.Website |
String | No |
Website address for contact (read only) |
ExpenseClaims[].Payments[].CreditNote.Contact.Name |
String | No |
Full name of contact/organisation (max length = 255) |
ExpenseClaims[].Payments[].CreditNote.Contact.SalesTrackingCategories[] |
Array | No |
The default sales tracking categories for contacts |
ExpenseClaims[].Payments[].CreditNote.Contact.SalesTrackingCategories[].TrackingOptionName |
String | No |
The default purchase tracking category name for contacts |
ExpenseClaims[].Payments[].CreditNote.Contact.SalesTrackingCategories[].TrackingCategoryName |
String | No |
The default sales tracking category name for contacts |
ExpenseClaims[].Payments[].CreditNote.Contact.SalesDefaultLineAmountType |
String | No |
The default sales line amount type for a contact. Only available when summaryOnly parameter or paging is used, or when fetch by ContactId or ContactNumber. Possible values:
|
ExpenseClaims[].Payments[].CreditNote.Contact.TrackingCategoryOption |
String | No |
The name of the Tracking Option assigned to the contact under SalesTrackingCategories and PurchasesTrackingCategories |
ExpenseClaims[].Payments[].CreditNote.Contact.TaxNumber |
String | No |
Tax number of contact – this is also known as the ABN (Australia), GST Number (New Zealand), VAT Number (UK) or Tax ID Number (US and global) in the Xero UI depending on which regionalized version of Xero you are using (max length = 50) |
ExpenseClaims[].Payments[].CreditNote.Contact.TrackingCategoryName |
String | No |
The name of the Tracking Category assigned to the contact under SalesTrackingCategories and PurchasesTrackingCategories |
ExpenseClaims[].Payments[].CreditNote.Contact.LastName |
String | No |
Last name of contact person (max length = 255) |
ExpenseClaims[].Payments[].CreditNote.Contact.IsSupplier |
Boolean | No |
true or false – Boolean that describes if a contact that has any AP invoices entered against them. Cannot be set via PUT or POST – it is automatically set when an accounts payable invoice is generated against this contact. |
ExpenseClaims[].Payments[].CreditNote.Contact.PurchasesTrackingCategories[] |
Array | No |
The default purchases tracking categories for contacts |
ExpenseClaims[].Payments[].CreditNote.Contact.PurchasesTrackingCategories[].TrackingOptionName |
String | No |
The default purchase tracking category name for contacts |
ExpenseClaims[].Payments[].CreditNote.Contact.PurchasesTrackingCategories[].TrackingCategoryName |
String | No |
The default sales tracking category name for contacts |
ExpenseClaims[].Payments[].CreditNote.Contact.UpdatedDateUTC |
String | No |
UTC timestamp of last update to contact |
ExpenseClaims[].Payments[].CreditNote.Contact.BrandingTheme |
Object | No | |
ExpenseClaims[].Payments[].CreditNote.Contact.BrandingTheme.Name |
String | No |
Name of branding theme |
ExpenseClaims[].Payments[].CreditNote.Contact.BrandingTheme.BrandingThemeID |
String | No |
Xero identifier |
ExpenseClaims[].Payments[].CreditNote.Contact.BrandingTheme.Type |
String | No |
Always INVOICE Possible values:
|
ExpenseClaims[].Payments[].CreditNote.Contact.BrandingTheme.LogoUrl |
String | No |
The location of the image file used as the logo on this branding theme |
ExpenseClaims[].Payments[].CreditNote.Contact.BrandingTheme.SortOrder |
Integer | No |
Integer – ranked order of branding theme. The default branding theme has a value of 0 |
ExpenseClaims[].Payments[].CreditNote.Contact.BrandingTheme.CreatedDateUTC |
String | No |
UTC timestamp of creation date of branding theme |
ExpenseClaims[].Payments[].CreditNote.Contact.IsCustomer |
Boolean | No |
true or false – Boolean that describes if a contact has any AR invoices entered against them. Cannot be set via PUT or POST – it is automatically set when an accounts receivable invoice is generated against this contact. |
ExpenseClaims[].Payments[].CreditNote.Contact.PurchasesDefaultLineAmountType |
String | No |
The default purchases line amount type for a contact Only available when summaryOnly parameter or paging is used, or when fetch by ContactId or ContactNumber. Possible values:
|
ExpenseClaims[].Payments[].CreditNote.Contact.Attachments[] |
Array | No |
Displays array of attachments from the API |
ExpenseClaims[].Payments[].CreditNote.Contact.Attachments[].ContentLength |
Integer | No |
Length of the file content |
ExpenseClaims[].Payments[].CreditNote.Contact.Attachments[].IncludeOnline |
Boolean | No |
Include the file with the online invoice |
ExpenseClaims[].Payments[].CreditNote.Contact.Attachments[].AttachmentID |
String | No |
Unique ID for the file |
ExpenseClaims[].Payments[].CreditNote.Contact.Attachments[].MimeType |
String | No |
Type of file |
ExpenseClaims[].Payments[].CreditNote.Contact.Attachments[].Url |
String | No |
URL to the file on xero.com |
ExpenseClaims[].Payments[].CreditNote.Contact.Attachments[].FileName |
String | No |
Name of the file |
ExpenseClaims[].Payments[].CreditNote.Contact.PurchasesDefaultAccountCode |
String | No |
The default purchases account code for contacts |
ExpenseClaims[].Payments[].CreditNote.Contact.ContactID |
String | No |
Xero identifier |
ExpenseClaims[].Payments[].CreditNote.Contact.AccountsPayableTaxType |
String | No |
The tax type from TaxRates |
ExpenseClaims[].Payments[].CreditNote.Contact.ContactStatus |
String | No |
Current status of a contact – see contact status types Possible values:
|
ExpenseClaims[].Payments[].CreditNote.Contact.Addresses[] |
Array | No |
Store certain address types for a contact – see address types |
ExpenseClaims[].Payments[].CreditNote.Contact.Addresses[].City |
String | No |
max length = 255 |
ExpenseClaims[].Payments[].CreditNote.Contact.Addresses[].AddressType |
String | No |
define the type of address Possible values:
|
ExpenseClaims[].Payments[].CreditNote.Contact.Addresses[].AttentionTo |
String | No |
max length = 255 |
ExpenseClaims[].Payments[].CreditNote.Contact.Addresses[].AddressLine2 |
String | No |
max length = 500 |
ExpenseClaims[].Payments[].CreditNote.Contact.Addresses[].Region |
String | No |
max length = 255 |
ExpenseClaims[].Payments[].CreditNote.Contact.Addresses[].Country |
String | No |
max length = 50, [A-Z], [a-z] only |
ExpenseClaims[].Payments[].CreditNote.Contact.Addresses[].AddressLine1 |
String | No |
max length = 500 |
ExpenseClaims[].Payments[].CreditNote.Contact.Addresses[].AddressLine4 |
String | No |
max length = 500 |
ExpenseClaims[].Payments[].CreditNote.Contact.Addresses[].AddressLine3 |
String | No |
max length = 500 |
ExpenseClaims[].Payments[].CreditNote.Contact.Addresses[].PostalCode |
String | No |
max length = 50 |
ExpenseClaims[].Payments[].CreditNote.Contact.StatusAttributeString |
String | No |
Status of object |
ExpenseClaims[].Payments[].CreditNote.Contact.CompanyNumber |
String | No |
Company registration number (max length = 50) |
ExpenseClaims[].Payments[].CreditNote.Contact.Phones[] |
Array | No |
Store certain phone types for a contact – see phone types |
ExpenseClaims[].Payments[].CreditNote.Contact.Phones[].PhoneType |
String | No |
Possible values:
|
ExpenseClaims[].Payments[].CreditNote.Contact.Phones[].PhoneNumber |
String | No |
max length = 50 |
ExpenseClaims[].Payments[].CreditNote.Contact.Phones[].PhoneAreaCode |
String | No |
max length = 10 |
ExpenseClaims[].Payments[].CreditNote.Contact.Phones[].PhoneCountryCode |
String | No |
max length = 20 |
ExpenseClaims[].Payments[].CreditNote.Contact.BatchPayments |
No |
Bank details for use on a batch payment stored with each contact |
|
ExpenseClaims[].Payments[].CreditNote.Contact.FirstName |
String | No |
First name of contact person (max length = 255) |
ExpenseClaims[].Payments[].CreditNote.Contact.SalesDefaultAccountCode |
String | No |
The default sales account code for contacts |
ExpenseClaims[].Payments[].CreditNote.Contact.ContactNumber |
String | No |
This can be updated via the API only i.e. This field is read only on the Xero contact screen, used to identify contacts in external systems (max length = 50). If the Contact Number is used, this is displayed as Contact Code in the Contacts UI in Xero. |
ExpenseClaims[].Payments[].CreditNote.Contact.AccountsReceivableTaxType |
String | No |
The tax type from TaxRates |
ExpenseClaims[].Payments[].CreditNote.Contact.DefaultCurrency |
String | No |
3 letter alpha code for the currency – see list of currency codes Possible values:
|
ExpenseClaims[].Payments[].CreditNote.Contact.HasValidationErrors |
Boolean | No |
A boolean to indicate if a contact has an validation errors Default value: false |
ExpenseClaims[].Payments[].CreditNote.Contact.AccountNumber |
String | No |
A user defined account number. This can be updated via the API and the Xero UI (max length = 50) |
ExpenseClaims[].Payments[].CreditNote.Contact.Balances |
Object | No |
The raw AccountsReceivable(sales invoices) and AccountsPayable(bills) outstanding and overdue amounts, not converted to base currency (read only) |
ExpenseClaims[].Payments[].CreditNote.Contact.Balances.AccountsReceivable |
Object | No | |
ExpenseClaims[].Payments[].CreditNote.Contact.Balances.AccountsReceivable.Overdue |
Number | No | |
ExpenseClaims[].Payments[].CreditNote.Contact.Balances.AccountsReceivable.Outstanding |
Number | No | |
ExpenseClaims[].Payments[].CreditNote.Contact.Balances.AccountsPayable |
Object | No | |
ExpenseClaims[].Payments[].CreditNote.Contact.Balances.AccountsPayable.Overdue |
Number | No | |
ExpenseClaims[].Payments[].CreditNote.Contact.Balances.AccountsPayable.Outstanding |
Number | No | |
ExpenseClaims[].Payments[].CreditNote.Contact.XeroNetworkKey |
String | No |
Store XeroNetworkKey for contacts. |
ExpenseClaims[].Payments[].CreditNote.Contact.Discount |
Number | No |
The default discount rate for the contact (read only) |
ExpenseClaims[].Payments[].CreditNote.Contact.MergedToContactID |
String | No |
ID for the destination of a merged contact. Only returned when using paging or when fetching a contact by ContactId or ContactNumber. |
ExpenseClaims[].Payments[].CreditNote.Contact.ValidationErrors[] |
Array | No |
Displays validation errors returned from the API |
ExpenseClaims[].Payments[].CreditNote.Contact.ValidationErrors[].Message |
String | No |
Validation error message |
ExpenseClaims[].Payments[].CreditNote.Contact.EmailAddress |
String | No |
Email address of contact person (umlauts not supported) (max length = 255) |
ExpenseClaims[].Payments[].CreditNote.Contact.HasAttachments |
Boolean | No |
A boolean to indicate if a contact has an attachment Default value: false |
ExpenseClaims[].Payments[].CreditNote.Contact.PaymentTerms |
Object | No | |
ExpenseClaims[].Payments[].CreditNote.Contact.PaymentTerms.Bills |
Object | No | |
ExpenseClaims[].Payments[].CreditNote.Contact.PaymentTerms.Bills.Day |
Integer | No |
Day of Month (0-31) |
ExpenseClaims[].Payments[].CreditNote.Contact.PaymentTerms.Bills.Type |
String | No |
Possible values:
|
ExpenseClaims[].Payments[].CreditNote.Contact.PaymentTerms.Sales |
Object | No | |
ExpenseClaims[].Payments[].CreditNote.Contact.PaymentTerms.Sales.Day |
Integer | No |
Day of Month (0-31) |
ExpenseClaims[].Payments[].CreditNote.Contact.PaymentTerms.Sales.Type |
String | No |
Possible values:
|
ExpenseClaims[].Payments[].CreditNote.Contact.ContactGroups[] |
Array | No |
Displays which contact groups a contact is included in |
ExpenseClaims[].Payments[].CreditNote.Contact.ContactGroups[].Name |
String | No |
The Name of the contact group. Required when creating a new contact group |
ExpenseClaims[].Payments[].CreditNote.Contact.ContactGroups[].Status |
String | No |
The Status of a contact group. To delete a contact group update the status to DELETED. Only contact groups with a status of ACTIVE are returned on GETs. Possible values:
|
ExpenseClaims[].Payments[].CreditNote.Contact.ContactGroups[].ContactGroupID |
String | No |
The Xero identifier for an contact group – specified as a string following the endpoint name. e.g. /297c2dc5-cc47-4afd-8ec8-74990b8761e9 |
ExpenseClaims[].Payments[].CreditNote.Contact.ContactGroups[].Contacts[] |
Array | No |
The ContactID and Name of Contacts in a contact group. Returned on GETs when the ContactGroupID is supplied in the URL. |
ExpenseClaims[].Payments[].CreditNote.Contact.ContactPersons[] |
Array | No |
See contact persons |
ExpenseClaims[].Payments[].CreditNote.Contact.ContactPersons[].IncludeInEmails |
Boolean | No |
boolean to indicate whether contact should be included on emails with invoices etc. |
ExpenseClaims[].Payments[].CreditNote.Contact.ContactPersons[].EmailAddress |
String | No |
Email address of person |
ExpenseClaims[].Payments[].CreditNote.Contact.ContactPersons[].LastName |
String | No |
Last name of person |
ExpenseClaims[].Payments[].CreditNote.Contact.ContactPersons[].FirstName |
String | No |
First name of person |
ExpenseClaims[].Payments[].CreditNote.CurrencyCode |
String | No |
3 letter alpha code for the currency – see list of currency codes Possible values:
|
ExpenseClaims[].Payments[].CreditNote.CreditNoteID |
String | No |
Xero generated unique identifier |
ExpenseClaims[].Payments[].CreditNote.LineAmountTypes |
String | No |
Line amounts are exclusive of tax by default if you don’t specify this element. See Line Amount Types Possible values:
|
ExpenseClaims[].Payments[].CreditNote.Date |
String | No |
The date the credit note is issued YYYY-MM-DD. If the Date element is not specified then it will default to the current date based on the timezone setting of the organisation |
ExpenseClaims[].Payments[].CreditNote.CISDeduction |
Number | No |
CIS deduction for UK contractors |
ExpenseClaims[].Payments[].CreditNote.SentToContact |
Boolean | No |
Boolean to set whether the credit note in the Xero app should be marked as “sent”. This can be set only on credit notes that have been approved |
ExpenseClaims[].Payments[].CreditNote.Warnings[] |
Array | No |
Displays array of warning messages from the API |
ExpenseClaims[].Payments[].CreditNote.Warnings[].Message |
String | No |
Validation error message |
ExpenseClaims[].Payments[].CreditNote.Type |
String | No |
See Credit Note Types Possible values:
|
ExpenseClaims[].Payments[].CreditNote.StatusAttributeString |
String | No |
A string to indicate if a invoice status |
ExpenseClaims[].Payments[].CreditNote.DueDate |
String | No |
Date invoice is due – YYYY-MM-DD |
ExpenseClaims[].Payments[].CreditNote.CISRate |
Number | No |
CIS Deduction rate for the organisation |
ExpenseClaims[].Payments[].CreditNote.TotalTax |
Number | No |
The total tax on the credit note |
ExpenseClaims[].Payments[].CreditNote.Reference |
String | No |
ACCRECCREDIT only – additional reference number |
ExpenseClaims[].Payments[].CreditNote.LineItems[] |
Array | No |
See Invoice Line Items |
ExpenseClaims[].Payments[].CreditNote.LineItems[].Quantity |
Number | No |
LineItem Quantity |
ExpenseClaims[].Payments[].CreditNote.LineItems[].UnitAmount |
Number | No |
LineItem Unit Amount |
ExpenseClaims[].Payments[].CreditNote.LineItems[].TaxAmount |
Number | No |
The tax amount is auto calculated as a percentage of the line amount (see below) based on the tax rate. This value can be overriden if the calculated is not correct. |
ExpenseClaims[].Payments[].CreditNote.LineItems[].Item |
No | ||
ExpenseClaims[].Payments[].CreditNote.LineItems[].AccountCode |
String | No |
See Accounts |
ExpenseClaims[].Payments[].CreditNote.LineItems[].RepeatingInvoiceID |
String | No |
The Xero identifier for a Repeating Invoice |
ExpenseClaims[].Payments[].CreditNote.LineItems[].LineItemID |
String | No |
LineItem unique ID |
ExpenseClaims[].Payments[].CreditNote.LineItems[].Description |
String | No |
Description needs to be at least 1 char long. A line item with just a description (i.e no unit amount or quantity) can be created by specifying just a element that contains at least 1 character |
ExpenseClaims[].Payments[].CreditNote.LineItems[].TaxType |
String | No |
The tax type from TaxRates |
ExpenseClaims[].Payments[].CreditNote.LineItems[].Taxability |
String | No |
The type of taxability Possible values:
|
ExpenseClaims[].Payments[].CreditNote.LineItems[].TaxBreakdown[] |
Array | No |
An array of tax components defined for this line item |
ExpenseClaims[].Payments[].CreditNote.LineItems[].TaxBreakdown[].TaxComponentId |
String | No |
The unique ID number of this component |
ExpenseClaims[].Payments[].CreditNote.LineItems[].TaxBreakdown[].Name |
String | No |
The name of the jurisdiction |
ExpenseClaims[].Payments[].CreditNote.LineItems[].TaxBreakdown[].Type |
String | No |
The type of the jurisdiction Possible values:
|
ExpenseClaims[].Payments[].CreditNote.LineItems[].TaxBreakdown[].TaxAmount |
Number | No |
The amount of the tax |
ExpenseClaims[].Payments[].CreditNote.LineItems[].TaxBreakdown[].TaxableAmount |
Number | No |
The amount that is taxable |
ExpenseClaims[].Payments[].CreditNote.LineItems[].TaxBreakdown[].NonTaxableAmount |
Number | No |
The amount that is not taxable |
ExpenseClaims[].Payments[].CreditNote.LineItems[].TaxBreakdown[].TaxPercentage |
Number | No |
The percentage of the tax |
ExpenseClaims[].Payments[].CreditNote.LineItems[].TaxBreakdown[].ExemptAmount |
Number | No |
The amount that is exempt |
ExpenseClaims[].Payments[].CreditNote.LineItems[].TaxBreakdown[].StateAssignedNo |
String | No |
The state assigned number of the jurisdiction |
ExpenseClaims[].Payments[].CreditNote.LineItems[].TaxBreakdown[].JurisdictionRegion |
String | No |
Name identifying the region within the country |
ExpenseClaims[].Payments[].CreditNote.LineItems[].LineAmount |
Number | No |
If you wish to omit either the Quantity or UnitAmount you can provide a LineAmount and Xero will calculate the missing amount for you. The line amount reflects the discounted price if either a DiscountRate or DiscountAmount has been used i.e. LineAmount = Quantity * Unit Amount * ((100 - DiscountRate)/100) or LineAmount = (Quantity * UnitAmount) - DiscountAmount |
ExpenseClaims[].Payments[].CreditNote.LineItems[].AccountID |
String | No |
The associated account ID related to this line item |
ExpenseClaims[].Payments[].CreditNote.LineItems[].SalesTaxCodeId |
Number | No |
The ID of the sales tax code |
ExpenseClaims[].Payments[].CreditNote.LineItems[].ItemCode |
String | No |
See Items |
ExpenseClaims[].Payments[].CreditNote.LineItems[].Tracking[] |
Array | No |
Optional Tracking Category – see Tracking. Any LineItem can have a maximum of 2 elements. |
ExpenseClaims[].Payments[].CreditNote.LineItems[].Tracking[].TrackingCategoryID |
String | No |
The Xero identifier for a tracking category |
ExpenseClaims[].Payments[].CreditNote.LineItems[].Tracking[].Name |
String | No |
The name of the tracking category |
ExpenseClaims[].Payments[].CreditNote.LineItems[].Tracking[].Option |
String | No |
See Tracking Options |
ExpenseClaims[].Payments[].CreditNote.LineItems[].Tracking[].TrackingOptionID |
String | No |
The Xero identifier for a tracking category option |
ExpenseClaims[].Payments[].CreditNote.LineItems[].DiscountAmount |
Number | No |
Discount amount being applied to a line item. Only supported on ACCREC invoices and quotes. ACCPAY invoices and credit notes in Xero do not support discounts. |
ExpenseClaims[].Payments[].CreditNote.LineItems[].DiscountRate |
Number | No |
Percentage discount being applied to a line item (only supported on ACCREC invoices – ACC PAY invoices and credit notes in Xero do not support discounts |
ExpenseClaims[].Payments[].CreditNote.SubTotal |
Number | No |
The subtotal of the credit note excluding taxes |
ExpenseClaims[].Payments[].CreditNote.Status |
String | No |
See Credit Note Status Codes Possible values:
|
ExpenseClaims[].Payments[].CreditNote.BrandingThemeID |
String | No |
See BrandingThemes |
ExpenseClaims[].Payments[].CreditNote.AppliedAmount |
Number | No |
The amount of applied to an invoice |
ExpenseClaims[].Payments[].CreditNote.ValidationErrors[] |
Array | No |
Displays array of validation error messages from the API |
ExpenseClaims[].Payments[].CreditNote.ValidationErrors[].Message |
String | No |
Validation error message |
ExpenseClaims[].Payments[].CreditNote.HasAttachments |
Boolean | No |
boolean to indicate if a credit note has an attachment Default value: false |
ExpenseClaims[].Payments[].CreditNote.CreditNoteNumber |
String | No |
ACCRECCREDIT – Unique alpha numeric code identifying credit note (when missing will auto-generate from your Organisation Invoice Settings) |
ExpenseClaims[].Payments[].Account |
Object | No | |
ExpenseClaims[].Payments[].Account.Code |
String | No |
Customer defined alpha numeric account code e.g 200 or SALES (max length = 10) |
ExpenseClaims[].Payments[].Account.EnablePaymentsToAccount |
Boolean | No |
Boolean – describes whether account can have payments applied to it |
ExpenseClaims[].Payments[].Account.Name |
String | No |
Name of account (max length = 150) |
ExpenseClaims[].Payments[].Account.Type |
String | No |
See Account Types Possible values:
|
ExpenseClaims[].Payments[].Account.ShowInExpenseClaims |
Boolean | No |
Boolean – describes whether account code is available for use with expense claims |
ExpenseClaims[].Payments[].Account.BankAccountNumber |
String | No |
For bank accounts only (Account Type BANK) |
ExpenseClaims[].Payments[].Account.ReportingCodeName |
String | No |
Shown if set |
ExpenseClaims[].Payments[].Account.Description |
String | No |
Description of the Account. Valid for all types of accounts except bank accounts (max length = 4000) |
ExpenseClaims[].Payments[].Account.TaxType |
String | No |
The tax type from taxRates |
ExpenseClaims[].Payments[].Account.AddToWatchlist |
Boolean | No |
Boolean – describes whether the account is shown in the watchlist widget on the dashboard |
ExpenseClaims[].Payments[].Account.Class |
String | No |
See Account Class Types Possible values:
|
ExpenseClaims[].Payments[].Account.UpdatedDateUTC |
String | No |
Last modified date UTC format |
ExpenseClaims[].Payments[].Account.BankAccountType |
String | No |
For bank accounts only. See Bank Account types Possible values:
|
ExpenseClaims[].Payments[].Account.SystemAccount |
String | No |
If this is a system account then this element is returned. See System Account types. Note that non-system accounts may have this element set as either “” or null. Possible values:
|
ExpenseClaims[].Payments[].Account.Status |
String | No |
Accounts with a status of ACTIVE can be updated to ARCHIVED. See Account Status Codes Possible values:
|
ExpenseClaims[].Payments[].Account.ReportingCode |
String | No |
Shown if set |
ExpenseClaims[].Payments[].Account.AccountID |
String | No |
The Xero identifier for an account – specified as a string following the endpoint name e.g. /297c2dc5-cc47-4afd-8ec8-74990b8761e9 |
ExpenseClaims[].Payments[].Account.ValidationErrors[] |
Array | No |
Displays array of validation error messages from the API |
ExpenseClaims[].Payments[].Account.ValidationErrors[].Message |
String | No |
Validation error message |
ExpenseClaims[].Payments[].Account.HasAttachments |
Boolean | No |
boolean to indicate if an account has an attachment (read only) Default value: false |
ExpenseClaims[].Payments[].Account.CurrencyCode |
String | No |
3 letter alpha code for the currency – see list of currency codes Possible values:
|
ExpenseClaims[].Payments[].UpdatedDateUTC |
String | No |
UTC timestamp of last update to the payment |
ExpenseClaims[].Payments[].CurrencyRate |
Number | No |
Exchange rate when payment is received. Only used for non base currency invoices and credit notes e.g. 0.7500 |
ExpenseClaims[].Payments[].IsReconciled |
Boolean | No |
An optional parameter for the payment. A boolean indicating whether you would like the payment to be created as reconciled when using PUT, or whether a payment has been reconciled when using GET |
ExpenseClaims[].Payments[].Particulars |
String | No |
The suppliers bank account number the payment is being made to |
ExpenseClaims[].Payments[].Code |
String | No |
Code of account you are using to make the payment e.g. 001 (note- not all accounts have a code value) |
ExpenseClaims[].Payments[].Date |
String | No |
Date the payment is being made (YYYY-MM-DD) e.g. 2009-09-06 |
ExpenseClaims[].Payments[].Warnings[] |
Array | No |
Displays array of warning messages from the API |
ExpenseClaims[].Payments[].Warnings[].Message |
String | No |
Validation error message |
ExpenseClaims[].Payments[].StatusAttributeString |
String | No |
A string to indicate if a invoice status |
ExpenseClaims[].Payments[].BankAccountNumber |
String | No |
The suppliers bank account number the payment is being made to |
ExpenseClaims[].Payments[].PaymentType |
String | No |
See Payment Types. Possible values:
|
ExpenseClaims[].Payments[].Reference |
String | No |
An optional description for the payment e.g. Direct Debit |
ExpenseClaims[].Payments[].BankAmount |
Number | No |
The amount of the payment in the currency of the bank account. |
ExpenseClaims[].Payments[].HasValidationErrors |
Boolean | No |
A boolean to indicate if a contact has an validation errors Default value: false |
ExpenseClaims[].Payments[].Amount |
Number | No |
The amount of the payment. Must be less than or equal to the outstanding amount owing on the invoice e.g. 200.00 |
ExpenseClaims[].Payments[].Status |
String | No |
The status of the payment. Possible values:
|
ExpenseClaims[].Payments[].ValidationErrors[] |
Array | No |
Displays array of validation error messages from the API |
ExpenseClaims[].Payments[].ValidationErrors[].Message |
String | No |
Validation error message |
ExpenseClaims[].Payments[].CreditNoteNumber |
String | No |
Number of invoice or credit note you are applying payment to e.g. INV-4003 |
ExpenseClaims[].Payments[].PaymentID |
String | No |
The Xero identifier for an Payment e.g. 297c2dc5-cc47-4afd-8ec8-74990b8761e9 |
ExpenseClaims[].Payments[].BatchPaymentID |
String | No |
Present if the payment was created as part of a batch. |
ExpenseClaims[].Receipts[] |
Array | No | |
ExpenseClaims[].Receipts[].LineAmountTypes |
String | No |
Line amounts are exclusive of tax by default if you don’t specify this element. See Line Amount Types Possible values:
|
ExpenseClaims[].Receipts[].Date |
String | No |
Date of receipt – YYYY-MM-DD |
ExpenseClaims[].Receipts[].Url |
String | No |
URL link to a source document – shown as “Go to [appName]” in the Xero app |
ExpenseClaims[].Receipts[].Warnings[] |
Array | No |
Displays array of warning messages from the API |
ExpenseClaims[].Receipts[].Warnings[].Message |
String | No |
Validation error message |
ExpenseClaims[].Receipts[].User |
Object | No | |
ExpenseClaims[].Receipts[].User.IsSubscriber |
Boolean | No |
Boolean to indicate if user is the subscriber |
ExpenseClaims[].Receipts[].User.UserID |
String | No |
Xero identifier |
ExpenseClaims[].Receipts[].User.EmailAddress |
String | No |
Email address of user |
ExpenseClaims[].Receipts[].User.OrganisationRole |
String | No |
User role that defines permissions in Xero and via API (READONLY, INVOICEONLY, STANDARD, FINANCIALADVISER, etc) Possible values:
|
ExpenseClaims[].Receipts[].User.LastName |
String | No |
Last name of user |
ExpenseClaims[].Receipts[].User.FirstName |
String | No |
First name of user |
ExpenseClaims[].Receipts[].User.UpdatedDateUTC |
String | No |
Timestamp of last change to user |
ExpenseClaims[].Receipts[].ReceiptID |
String | No |
Xero generated unique identifier for receipt |
ExpenseClaims[].Receipts[].ReceiptNumber |
String | No |
Xero generated sequence number for receipt in current claim for a given user |
ExpenseClaims[].Receipts[].Total |
Number | No |
Total of receipt tax inclusive (i.e. SubTotal + TotalTax) |
ExpenseClaims[].Receipts[].Reference |
String | No |
Additional reference number |
ExpenseClaims[].Receipts[].TotalTax |
Number | No |
Total tax on receipt |
ExpenseClaims[].Receipts[].LineItems[] |
Array | No | |
ExpenseClaims[].Receipts[].LineItems[].Quantity |
Number | No |
LineItem Quantity |
ExpenseClaims[].Receipts[].LineItems[].UnitAmount |
Number | No |
LineItem Unit Amount |
ExpenseClaims[].Receipts[].LineItems[].TaxAmount |
Number | No |
The tax amount is auto calculated as a percentage of the line amount (see below) based on the tax rate. This value can be overriden if the calculated is not correct. |
ExpenseClaims[].Receipts[].LineItems[].Item |
No | ||
ExpenseClaims[].Receipts[].LineItems[].AccountCode |
String | No |
See Accounts |
ExpenseClaims[].Receipts[].LineItems[].RepeatingInvoiceID |
String | No |
The Xero identifier for a Repeating Invoice |
ExpenseClaims[].Receipts[].LineItems[].LineItemID |
String | No |
LineItem unique ID |
ExpenseClaims[].Receipts[].LineItems[].Description |
String | No |
Description needs to be at least 1 char long. A line item with just a description (i.e no unit amount or quantity) can be created by specifying just a element that contains at least 1 character |
ExpenseClaims[].Receipts[].LineItems[].TaxType |
String | No |
The tax type from TaxRates |
ExpenseClaims[].Receipts[].LineItems[].Taxability |
String | No |
The type of taxability Possible values:
|
ExpenseClaims[].Receipts[].LineItems[].TaxBreakdown[] |
Array | No |
An array of tax components defined for this line item |
ExpenseClaims[].Receipts[].LineItems[].TaxBreakdown[].TaxComponentId |
String | No |
The unique ID number of this component |
ExpenseClaims[].Receipts[].LineItems[].TaxBreakdown[].Name |
String | No |
The name of the jurisdiction |
ExpenseClaims[].Receipts[].LineItems[].TaxBreakdown[].Type |
String | No |
The type of the jurisdiction Possible values:
|
ExpenseClaims[].Receipts[].LineItems[].TaxBreakdown[].TaxAmount |
Number | No |
The amount of the tax |
ExpenseClaims[].Receipts[].LineItems[].TaxBreakdown[].TaxableAmount |
Number | No |
The amount that is taxable |
ExpenseClaims[].Receipts[].LineItems[].TaxBreakdown[].NonTaxableAmount |
Number | No |
The amount that is not taxable |
ExpenseClaims[].Receipts[].LineItems[].TaxBreakdown[].TaxPercentage |
Number | No |
The percentage of the tax |
ExpenseClaims[].Receipts[].LineItems[].TaxBreakdown[].ExemptAmount |
Number | No |
The amount that is exempt |
ExpenseClaims[].Receipts[].LineItems[].TaxBreakdown[].StateAssignedNo |
String | No |
The state assigned number of the jurisdiction |
ExpenseClaims[].Receipts[].LineItems[].TaxBreakdown[].JurisdictionRegion |
String | No |
Name identifying the region within the country |
ExpenseClaims[].Receipts[].LineItems[].LineAmount |
Number | No |
If you wish to omit either the Quantity or UnitAmount you can provide a LineAmount and Xero will calculate the missing amount for you. The line amount reflects the discounted price if either a DiscountRate or DiscountAmount has been used i.e. LineAmount = Quantity * Unit Amount * ((100 - DiscountRate)/100) or LineAmount = (Quantity * UnitAmount) - DiscountAmount |
ExpenseClaims[].Receipts[].LineItems[].AccountID |
String | No |
The associated account ID related to this line item |
ExpenseClaims[].Receipts[].LineItems[].SalesTaxCodeId |
Number | No |
The ID of the sales tax code |
ExpenseClaims[].Receipts[].LineItems[].ItemCode |
String | No |
See Items |
ExpenseClaims[].Receipts[].LineItems[].Tracking[] |
Array | No |
Optional Tracking Category – see Tracking. Any LineItem can have a maximum of 2 elements. |
ExpenseClaims[].Receipts[].LineItems[].Tracking[].TrackingCategoryID |
String | No |
The Xero identifier for a tracking category |
ExpenseClaims[].Receipts[].LineItems[].Tracking[].Name |
String | No |
The name of the tracking category |
ExpenseClaims[].Receipts[].LineItems[].Tracking[].Option |
String | No |
See Tracking Options |
ExpenseClaims[].Receipts[].LineItems[].Tracking[].TrackingOptionID |
String | No |
The Xero identifier for a tracking category option |
ExpenseClaims[].Receipts[].LineItems[].DiscountAmount |
Number | No |
Discount amount being applied to a line item. Only supported on ACCREC invoices and quotes. ACCPAY invoices and credit notes in Xero do not support discounts. |
ExpenseClaims[].Receipts[].LineItems[].DiscountRate |
Number | No |
Percentage discount being applied to a line item (only supported on ACCREC invoices – ACC PAY invoices and credit notes in Xero do not support discounts |
ExpenseClaims[].Receipts[].UpdatedDateUTC |
String | No |
Last modified date UTC format |
ExpenseClaims[].Receipts[].SubTotal |
Number | No |
Total of receipt excluding taxes |
ExpenseClaims[].Receipts[].Status |
String | No |
Current status of receipt – see status types Possible values:
|
ExpenseClaims[].Receipts[].ValidationErrors[] |
Array | No |
Displays array of validation error messages from the API |
ExpenseClaims[].Receipts[].ValidationErrors[].Message |
String | No |
Validation error message |
ExpenseClaims[].Receipts[].Attachments[] |
Array | No |
Displays array of attachments from the API |
ExpenseClaims[].Receipts[].Attachments[].ContentLength |
Integer | No |
Length of the file content |
ExpenseClaims[].Receipts[].Attachments[].IncludeOnline |
Boolean | No |
Include the file with the online invoice |
ExpenseClaims[].Receipts[].Attachments[].AttachmentID |
String | No |
Unique ID for the file |
ExpenseClaims[].Receipts[].Attachments[].MimeType |
String | No |
Type of file |
ExpenseClaims[].Receipts[].Attachments[].Url |
String | No |
URL to the file on xero.com |
ExpenseClaims[].Receipts[].Attachments[].FileName |
String | No |
Name of the file |
ExpenseClaims[].Receipts[].Contact |
Object | No | |
ExpenseClaims[].Receipts[].Contact.BankAccountDetails |
String | No |
Bank account number of contact |
ExpenseClaims[].Receipts[].Contact.Website |
String | No |
Website address for contact (read only) |
ExpenseClaims[].Receipts[].Contact.Name |
String | No |
Full name of contact/organisation (max length = 255) |
ExpenseClaims[].Receipts[].Contact.SalesTrackingCategories[] |
Array | No |
The default sales tracking categories for contacts |
ExpenseClaims[].Receipts[].Contact.SalesTrackingCategories[].TrackingOptionName |
String | No |
The default purchase tracking category name for contacts |
ExpenseClaims[].Receipts[].Contact.SalesTrackingCategories[].TrackingCategoryName |
String | No |
The default sales tracking category name for contacts |
ExpenseClaims[].Receipts[].Contact.SalesDefaultLineAmountType |
String | No |
The default sales line amount type for a contact. Only available when summaryOnly parameter or paging is used, or when fetch by ContactId or ContactNumber. Possible values:
|
ExpenseClaims[].Receipts[].Contact.TrackingCategoryOption |
String | No |
The name of the Tracking Option assigned to the contact under SalesTrackingCategories and PurchasesTrackingCategories |
ExpenseClaims[].Receipts[].Contact.TaxNumber |
String | No |
Tax number of contact – this is also known as the ABN (Australia), GST Number (New Zealand), VAT Number (UK) or Tax ID Number (US and global) in the Xero UI depending on which regionalized version of Xero you are using (max length = 50) |
ExpenseClaims[].Receipts[].Contact.TrackingCategoryName |
String | No |
The name of the Tracking Category assigned to the contact under SalesTrackingCategories and PurchasesTrackingCategories |
ExpenseClaims[].Receipts[].Contact.LastName |
String | No |
Last name of contact person (max length = 255) |
ExpenseClaims[].Receipts[].Contact.IsSupplier |
Boolean | No |
true or false – Boolean that describes if a contact that has any AP invoices entered against them. Cannot be set via PUT or POST – it is automatically set when an accounts payable invoice is generated against this contact. |
ExpenseClaims[].Receipts[].Contact.PurchasesTrackingCategories[] |
Array | No |
The default purchases tracking categories for contacts |
ExpenseClaims[].Receipts[].Contact.PurchasesTrackingCategories[].TrackingOptionName |
String | No |
The default purchase tracking category name for contacts |
ExpenseClaims[].Receipts[].Contact.PurchasesTrackingCategories[].TrackingCategoryName |
String | No |
The default sales tracking category name for contacts |
ExpenseClaims[].Receipts[].Contact.UpdatedDateUTC |
String | No |
UTC timestamp of last update to contact |
ExpenseClaims[].Receipts[].Contact.BrandingTheme |
Object | No | |
ExpenseClaims[].Receipts[].Contact.BrandingTheme.Name |
String | No |
Name of branding theme |
ExpenseClaims[].Receipts[].Contact.BrandingTheme.BrandingThemeID |
String | No |
Xero identifier |
ExpenseClaims[].Receipts[].Contact.BrandingTheme.Type |
String | No |
Always INVOICE Possible values:
|
ExpenseClaims[].Receipts[].Contact.BrandingTheme.LogoUrl |
String | No |
The location of the image file used as the logo on this branding theme |
ExpenseClaims[].Receipts[].Contact.BrandingTheme.SortOrder |
Integer | No |
Integer – ranked order of branding theme. The default branding theme has a value of 0 |
ExpenseClaims[].Receipts[].Contact.BrandingTheme.CreatedDateUTC |
String | No |
UTC timestamp of creation date of branding theme |
ExpenseClaims[].Receipts[].Contact.IsCustomer |
Boolean | No |
true or false – Boolean that describes if a contact has any AR invoices entered against them. Cannot be set via PUT or POST – it is automatically set when an accounts receivable invoice is generated against this contact. |
ExpenseClaims[].Receipts[].Contact.PurchasesDefaultLineAmountType |
String | No |
The default purchases line amount type for a contact Only available when summaryOnly parameter or paging is used, or when fetch by ContactId or ContactNumber. Possible values:
|
ExpenseClaims[].Receipts[].Contact.Attachments[] |
Array | No |
Displays array of attachments from the API |
ExpenseClaims[].Receipts[].Contact.Attachments[].ContentLength |
Integer | No |
Length of the file content |
ExpenseClaims[].Receipts[].Contact.Attachments[].IncludeOnline |
Boolean | No |
Include the file with the online invoice |
ExpenseClaims[].Receipts[].Contact.Attachments[].AttachmentID |
String | No |
Unique ID for the file |
ExpenseClaims[].Receipts[].Contact.Attachments[].MimeType |
String | No |
Type of file |
ExpenseClaims[].Receipts[].Contact.Attachments[].Url |
String | No |
URL to the file on xero.com |
ExpenseClaims[].Receipts[].Contact.Attachments[].FileName |
String | No |
Name of the file |
ExpenseClaims[].Receipts[].Contact.PurchasesDefaultAccountCode |
String | No |
The default purchases account code for contacts |
ExpenseClaims[].Receipts[].Contact.ContactID |
String | No |
Xero identifier |
ExpenseClaims[].Receipts[].Contact.AccountsPayableTaxType |
String | No |
The tax type from TaxRates |
ExpenseClaims[].Receipts[].Contact.ContactStatus |
String | No |
Current status of a contact – see contact status types Possible values:
|
ExpenseClaims[].Receipts[].Contact.Addresses[] |
Array | No |
Store certain address types for a contact – see address types |
ExpenseClaims[].Receipts[].Contact.Addresses[].City |
String | No |
max length = 255 |
ExpenseClaims[].Receipts[].Contact.Addresses[].AddressType |
String | No |
define the type of address Possible values:
|
ExpenseClaims[].Receipts[].Contact.Addresses[].AttentionTo |
String | No |
max length = 255 |
ExpenseClaims[].Receipts[].Contact.Addresses[].AddressLine2 |
String | No |
max length = 500 |
ExpenseClaims[].Receipts[].Contact.Addresses[].Region |
String | No |
max length = 255 |
ExpenseClaims[].Receipts[].Contact.Addresses[].Country |
String | No |
max length = 50, [A-Z], [a-z] only |
ExpenseClaims[].Receipts[].Contact.Addresses[].AddressLine1 |
String | No |
max length = 500 |
ExpenseClaims[].Receipts[].Contact.Addresses[].AddressLine4 |
String | No |
max length = 500 |
ExpenseClaims[].Receipts[].Contact.Addresses[].AddressLine3 |
String | No |
max length = 500 |
ExpenseClaims[].Receipts[].Contact.Addresses[].PostalCode |
String | No |
max length = 50 |
ExpenseClaims[].Receipts[].Contact.StatusAttributeString |
String | No |
Status of object |
ExpenseClaims[].Receipts[].Contact.CompanyNumber |
String | No |
Company registration number (max length = 50) |
ExpenseClaims[].Receipts[].Contact.Phones[] |
Array | No |
Store certain phone types for a contact – see phone types |
ExpenseClaims[].Receipts[].Contact.Phones[].PhoneType |
String | No |
Possible values:
|
ExpenseClaims[].Receipts[].Contact.Phones[].PhoneNumber |
String | No |
max length = 50 |
ExpenseClaims[].Receipts[].Contact.Phones[].PhoneAreaCode |
String | No |
max length = 10 |
ExpenseClaims[].Receipts[].Contact.Phones[].PhoneCountryCode |
String | No |
max length = 20 |
ExpenseClaims[].Receipts[].Contact.BatchPayments |
No |
Bank details for use on a batch payment stored with each contact |
|
ExpenseClaims[].Receipts[].Contact.FirstName |
String | No |
First name of contact person (max length = 255) |
ExpenseClaims[].Receipts[].Contact.SalesDefaultAccountCode |
String | No |
The default sales account code for contacts |
ExpenseClaims[].Receipts[].Contact.ContactNumber |
String | No |
This can be updated via the API only i.e. This field is read only on the Xero contact screen, used to identify contacts in external systems (max length = 50). If the Contact Number is used, this is displayed as Contact Code in the Contacts UI in Xero. |
ExpenseClaims[].Receipts[].Contact.AccountsReceivableTaxType |
String | No |
The tax type from TaxRates |
ExpenseClaims[].Receipts[].Contact.DefaultCurrency |
String | No |
3 letter alpha code for the currency – see list of currency codes Possible values:
|
ExpenseClaims[].Receipts[].Contact.HasValidationErrors |
Boolean | No |
A boolean to indicate if a contact has an validation errors Default value: false |
ExpenseClaims[].Receipts[].Contact.AccountNumber |
String | No |
A user defined account number. This can be updated via the API and the Xero UI (max length = 50) |
ExpenseClaims[].Receipts[].Contact.Balances |
Object | No |
The raw AccountsReceivable(sales invoices) and AccountsPayable(bills) outstanding and overdue amounts, not converted to base currency (read only) |
ExpenseClaims[].Receipts[].Contact.Balances.AccountsReceivable |
Object | No | |
ExpenseClaims[].Receipts[].Contact.Balances.AccountsReceivable.Overdue |
Number | No | |
ExpenseClaims[].Receipts[].Contact.Balances.AccountsReceivable.Outstanding |
Number | No | |
ExpenseClaims[].Receipts[].Contact.Balances.AccountsPayable |
Object | No | |
ExpenseClaims[].Receipts[].Contact.Balances.AccountsPayable.Overdue |
Number | No | |
ExpenseClaims[].Receipts[].Contact.Balances.AccountsPayable.Outstanding |
Number | No | |
ExpenseClaims[].Receipts[].Contact.XeroNetworkKey |
String | No |
Store XeroNetworkKey for contacts. |
ExpenseClaims[].Receipts[].Contact.Discount |
Number | No |
The default discount rate for the contact (read only) |
ExpenseClaims[].Receipts[].Contact.MergedToContactID |
String | No |
ID for the destination of a merged contact. Only returned when using paging or when fetching a contact by ContactId or ContactNumber. |
ExpenseClaims[].Receipts[].Contact.ValidationErrors[] |
Array | No |
Displays validation errors returned from the API |
ExpenseClaims[].Receipts[].Contact.ValidationErrors[].Message |
String | No |
Validation error message |
ExpenseClaims[].Receipts[].Contact.EmailAddress |
String | No |
Email address of contact person (umlauts not supported) (max length = 255) |
ExpenseClaims[].Receipts[].Contact.HasAttachments |
Boolean | No |
A boolean to indicate if a contact has an attachment Default value: false |
ExpenseClaims[].Receipts[].Contact.PaymentTerms |
Object | No | |
ExpenseClaims[].Receipts[].Contact.PaymentTerms.Bills |
Object | No | |
ExpenseClaims[].Receipts[].Contact.PaymentTerms.Bills.Day |
Integer | No |
Day of Month (0-31) |
ExpenseClaims[].Receipts[].Contact.PaymentTerms.Bills.Type |
String | No |
Possible values:
|
ExpenseClaims[].Receipts[].Contact.PaymentTerms.Sales |
Object | No | |
ExpenseClaims[].Receipts[].Contact.PaymentTerms.Sales.Day |
Integer | No |
Day of Month (0-31) |
ExpenseClaims[].Receipts[].Contact.PaymentTerms.Sales.Type |
String | No |
Possible values:
|
ExpenseClaims[].Receipts[].Contact.ContactGroups[] |
Array | No |
Displays which contact groups a contact is included in |
ExpenseClaims[].Receipts[].Contact.ContactGroups[].Name |
String | No |
The Name of the contact group. Required when creating a new contact group |
ExpenseClaims[].Receipts[].Contact.ContactGroups[].Status |
String | No |
The Status of a contact group. To delete a contact group update the status to DELETED. Only contact groups with a status of ACTIVE are returned on GETs. Possible values:
|
ExpenseClaims[].Receipts[].Contact.ContactGroups[].ContactGroupID |
String | No |
The Xero identifier for an contact group – specified as a string following the endpoint name. e.g. /297c2dc5-cc47-4afd-8ec8-74990b8761e9 |
ExpenseClaims[].Receipts[].Contact.ContactGroups[].Contacts[] |
Array | No |
The ContactID and Name of Contacts in a contact group. Returned on GETs when the ContactGroupID is supplied in the URL. |
ExpenseClaims[].Receipts[].Contact.ContactPersons[] |
Array | No |
See contact persons |
ExpenseClaims[].Receipts[].Contact.ContactPersons[].IncludeInEmails |
Boolean | No |
boolean to indicate whether contact should be included on emails with invoices etc. |
ExpenseClaims[].Receipts[].Contact.ContactPersons[].EmailAddress |
String | No |
Email address of person |
ExpenseClaims[].Receipts[].Contact.ContactPersons[].LastName |
String | No |
Last name of person |
ExpenseClaims[].Receipts[].Contact.ContactPersons[].FirstName |
String | No |
First name of person |
ExpenseClaims[].Receipts[].HasAttachments |
Boolean | No |
boolean to indicate if a receipt has an attachment Default value: false |
ExpenseClaims[].User |
Object | No | |
ExpenseClaims[].User.IsSubscriber |
Boolean | No |
Boolean to indicate if user is the subscriber |
ExpenseClaims[].User.UserID |
String | No |
Xero identifier |
ExpenseClaims[].User.EmailAddress |
String | No |
Email address of user |
ExpenseClaims[].User.OrganisationRole |
String | No |
User role that defines permissions in Xero and via API (READONLY, INVOICEONLY, STANDARD, FINANCIALADVISER, etc) Possible values:
|
ExpenseClaims[].User.LastName |
String | No |
Last name of user |
ExpenseClaims[].User.FirstName |
String | No |
First name of user |
ExpenseClaims[].User.UpdatedDateUTC |
String | No |
Timestamp of last change to user |
ExpenseClaims[].ReceiptID |
String | No |
The Xero identifier for the Receipt e.g. e59a2c7f-1306-4078-a0f3-73537afcbba9 |
ExpenseClaims[].ExpenseClaimID |
String | No |
Xero generated unique identifier for an expense claim |
ExpenseClaims[].Total |
Number | No |
The total of an expense claim being paid |
ExpenseClaims[].AmountPaid |
Number | No |
The amount still to pay for an expense claim |
ExpenseClaims[].UpdatedDateUTC |
String | No |
Last modified date UTC format |
ExpenseClaims[].AmountDue |
Number | No |
The amount due to be paid for an expense claim |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.