Receipts
Last updated
Last updated
Name
Type
ReadOnly
Description
Id [KEY]
String
True
The line item index combined with the unique, Xero-generated identifier for the receipt.
ReceiptId
String
False
The unique, Xero-generated identifier for the script.
Date
Date
False
The date of the receipt.
Contact_ContactId
String
False
The Id of the contact. A contact must be specified when creating a receipt.
Contact_Name
String
False
The name of the contact.
LineItem_Description
String
False
The description for the item.
LineItem_UnitAmount
Decimal
False
The unit amount of the item.
LineItem_AccountCode
String
False
The code for the associated account.
LineItem_Quantity
Double
False
The quantity of the item.
LineItem_TaxType
String
False
The tax type. This field can be used to override the default tax code for the selected account.
LineItem_LineAmount
Decimal
False
The total of the unit amount multiplied by the quantity.
LineItem_TrackingCategory1_CategoryId
String
False
The Id of a tracking category. The API allows two optional tracking categories to be defined.
LineItem_TrackingCategory1_CategoryName
String
False
The name of a tracking category. The API allows two optional tracking categories to be defined.
LineItem_TrackingCategory1_OptionId
String
False
The Id of a tracking category. The API allows two optional tracking categories to be defined.
LineItem_TrackingCategory1_OptionName
String
False
The option of a tracking category. The API allows two optional tracking categories to be defined.
LineItem_TrackingCategory1_Option_Stat
String
False
The status of a tracking category. The API allows two optional tracking categories to be defined.
LineItem_TrackingCategory2_CategoryId
String
False
The Id of a tracking category. The API allows two optional tracking categories to be defined.
LineItem_TrackingCategory2_CategoryName
String
False
The name of a tracking category. The API allows two optional tracking categories to be defined.
LineItem_TrackingCategory2_OptionId
String
False
The Id of a tracking category. The API allows two optional tracking categories to be defined.
LineItem_TrackingCategory2_OptionName
String
False
The option of a tracking category. The API allows two optional tracking categories to be defined.
LineItem_TrackingCategory2_Option_Stat
String
False
The status of a tracking category. The API allows two optional tracking categories to be defined.
LineItem_DiscountRate
Double
False
The percentage discount being applied to the line item.
LineItemAggregate
String
False
Used to define LineItem rows using XML values. Should be provided on INSERT only.
User_UserId
String
False
The user in the organisation that the expense claim receipt is for.
Reference
String
False
Additional reference number.
LineAmountTypes
String
False
This field specifies whether line amounts include tax (default). When this field is not specified, line amounts totals do not include tax. The valid values are Exclusive, Inclusive, and NoTax.
SubTotal
Decimal
False
The total, excluding taxes, of the receipt.
TotalTax
Decimal
False
The total tax on the receipt.
Total
Decimal
False
The total of the receipt -- the sum of SubTotal plus TotalTax.
Status
String
True
The current status of the receipt. The valid status types are DRAFT, SUBMITTED, AUTHORISED, and DECLINED.
ReceiptNumber
String
True
The Xero-generated number of the receipt in sequence in the current claim for the given user.
UpdatedDateUTC
Datetime
True
The date when the receipt was last updated.
HasAttachments
Boolean
True
This field indicates whether the receipt has attachments.
URL
String
True
A link to a source document.
TenantId
String
False
The ID of the tenant to query instead of the connection tenant