Xero Accounting Endpoint: InvoicesExpandedTable: Difference between revisions

Created page with "== Overview == The Xero '''InvoicesExpandedTable''' endpoint provides the list of invoices (both sales and purchases) recorded within Xero. Thi..."
 
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 69: Line 69:


;ContactName
;ContactName
:A [[Field Type: Text|text field]] provides the name of the contact
:A [[Field Type: Text|text field]] provides the name of the contact.


;LineAmountTypes
;LineAmountTypes
Line 78: Line 78:
:* '''NoTax''': Indicates that line items have no tax.
:* '''NoTax''': Indicates that line items have no tax.


;LineItemID
;LineID
:A [[Field Type: GUID|guid field]] that provides an ID for the line.
:A [[Field Type: GUID|guid field]] that provides an ID for the line.
:This field can be linked with the [[Xero Accounting Endpoint: LinkedTransactions|LinkedTransactions]] endpoint to determine how billable expenses on purchase invoices are applied to sales invoices.
:This field can be linked with the [[Xero Accounting Endpoint: LinkedTransactions|LinkedTransactions]] endpoint to determine how billable expenses on purchase invoices are applied to sales invoices.
Line 99: Line 99:
;LineDiscountRate
;LineDiscountRate
:A [[Field Type: Decimal|decimal field]] that provides the discount rate applied to the line.
:A [[Field Type: Decimal|decimal field]] that provides the discount rate applied to the line.
;LineAccountID
:A [[Field Type: GUID|guid field]] that provides the [[Xero Accounting Endpoint: Accounts|account id]] of the line.


;LineAccountCode
;LineAccountCode
:A [[Field Type: Text|text field]] that provides the [[Xero Accounting Endpoint: Accounts|account code]] of the line.
:A [[Field Type: Text|text field]] that provides the [[Xero Accounting Endpoint: Accounts|account code]] of the line.
;LineItemID
:A [[Field Type: GUID|guid field]] that provides the [[Xero Accounting Endpoint: Items|item id]] of the line.


;LineItemCode
;LineItemCode
:A [[Field Type: Text|text field]] that provides the [[Xero Accounting Endpoint: Items|item code]] of the line.
:A [[Field Type: Text|text field]] that provides the [[Xero Accounting Endpoint: Items|item code]] of the line.
;LineItemName
:A [[Field Type: Text|text field]] that provides the [[Xero Accounting Endpoint: Items|item name]] of the line.


;LineTaxType
;LineTaxType
Line 174: Line 183:
;UpdatedDateUTC
;UpdatedDateUTC
:A [[Field Type: DateTimeOffset|date time field]] that indicates the date and time this invoice was created and/or updated.
:A [[Field Type: DateTimeOffset|date time field]] that indicates the date and time this invoice was created and/or updated.
== LineItems Fields ==
The [[#Fields|LineItems Fields]] include the following sub fields.
== Payments Fields ==
The [[#Fields|Payments Fields]] include the following sub fields.
;PaymentID
:A [[Field Type: GUID|GUID field]] representing the internal id of a payment.
:This field can be linked to the [[Xero Accounting Endpoint: Payments|Payments]] endpoint.
;BatchPaymentID
:A [[Field Type: GUID|GUID field]] representing the internal id of a batch payment.
:This field can be linked to the [[Xero Accounting Endpoint: BatchPayments|BatchPayments]] endpoint.
;Date
:A [[Field Type: Date|date field]] that provides the date on which the link occurred.
;Amount
:A [[Field Type: Decimal|decimal field]] that provides the amount associated with the payment.
;CurrencyRate
:A [[Field Type: Decimal|decimal field]] that provides the exchange rate applicable.
;Reference
:A [[Field Type: Text|text field]] that provides the reference.
== CreditNotes Fields ==
The [[#Fields|CreditNotes Fields]] include the following sub fields.
;CreditNoteID
:A [[Field Type: GUID|GUID field]] representing the internal id of a credit note.
:This field can be linked to the [[Xero Accounting Endpoint: CreditNotes|CreditNotes]] and [[Xero Accounting Endpoint: CreditNotesExpanded|CreditNotesExpanded]] endpoints.
;CreditNoteNumber
:A [[Field Type: Text|text field]] that provides the credit note number.
;AppliedAmount
:A [[Field Type: Decimal|decimal field]] that provides the amount applied to the invoice.
;Date
:A [[Field Type: Date|date field]] that provides the date on which it was applied.
;Total
:A [[Field Type: Decimal|decimal field]] that provides the total amount of the credit note.
== Prepayments Fields ==
The [[#Fields|Payments Fields]] include the following sub fields.
;PrepaymentID
:A [[Field Type: GUID|GUID field]] representing the internal id of a prepayment.
:This field can be linked to the [[Xero Accounting Endpoint: Prepayments|Prepayments]] and [[Xero Accounting Endpoint: PrepaymentsExpanded|PrepaymentsExpanded]] endpoints.
;AppliedAmount
:A [[Field Type: Decimal|decimal field]] that provides the amount applied to the invoice.
;Date
:A [[Field Type: Date|date field]] that provides the date on which it was applied.
;Total
:A [[Field Type: Decimal|decimal field]] that provides the total amount of the prepayment.
== Overpayments Fields ==
The [[#Fields|Payments Fields]] include the following sub fields.
;OverpaymentID
:A [[Field Type: GUID|GUID field]] representing the internal id of a overpayment.
:This field can be linked to the [[Xero Accounting Endpoint: Overpayments|Overpayments]] and [[Xero Accounting Endpoint: OverpaymentsExpanded|OverpaymentsExpanded]] endpoints.
;AppliedAmount
:A [[Field Type: Decimal|decimal field]] that provides the amount applied to the invoice.
;Date
:A [[Field Type: Date|date field]] that provides the date on which it was applied.
;Total
:A [[Field Type: Decimal|decimal field]] that provides the total amount of the overpayment.