Xero Accounting Endpoint: BatchPayments: Difference between revisions

No edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 15: Line 15:
;Account
;Account
:A [[Field Type: Record|record field]] that provides the [[Xero Accounting Field: Accounts|account]] used to post the batch payment.
:A [[Field Type: Record|record field]] that provides the [[Xero Accounting Field: Accounts|account]] used to post the batch payment.
:See [[#Account Fields|Account Fields]] for more information.


;Reference
;Reference
Line 52: Line 53:
;UpdatedDateUTC
;UpdatedDateUTC
:A [[Field Type: DateTimeOffset|date time field]] that indicates the date and time this batch payment was created and/or updated.
:A [[Field Type: DateTimeOffset|date time field]] that indicates the date and time this batch payment was created and/or updated.
== Account Fields ==
The [[#Fields|Account Fields]] include the following sub fields.
;AccountID
:A [[Field Type: GUID|GUID field]] representing the internal id of an account.
:This field can be linked to the [[Xero Accounting Endpoint: Accounts|Accounts]] endpoint.
;CurrencyCode
:A [[Field Type: Text|text field]] provides the ISO currency code.
:This field can be linked to the [[Xero Accounting Endpoint: Currencies|Currencies]] endpoint.




Line 59: Line 73:


;Invoice
;Invoice
:A [[Field Type: Text|text field]] that provides the [[Xero Accounting Field: Invoices|invoice]] associated with the payment line.
:A [[Field Type: Record|record field]] that provides the [[Xero Accounting Field: Invoices|invoice]] associated with the payment line.
:See [[#Invoice Fields|Invoice Fields]] for more information.


;PaymentID
;PaymentID
Line 65: Line 80:


;Amount
;Amount
:A [[Field Type: Decimal|decimal field]] that provides the amount of the payment line.
;BankAmount
:A [[Field Type: Decimal|decimal field]] that provides the amount of the payment line.
:A [[Field Type: Decimal|decimal field]] that provides the amount of the payment line.
== Invoice Fields ==
The [[#Fields|Invoice Fields]] include the following sub fields.
;InvoiceID
:A [[Field Type: GUID|GUID field]] representing the internal id of an invoice.
:This field can be linked to the [[Xero Accounting Endpoint: Invoices|Invoices]] or [[Xero Accounting Endpoint: InvoicesExpanded|InvoicesExpanded]] endpoint.
;CurrencyCode
:A [[Field Type: Text|text field]] provides the ISO currency code.
:This field can be linked to the [[Xero Accounting Endpoint: Currencies|Currencies]] endpoint.




Line 95: Line 126:
:[[Xero Accounting Models]]
:[[Xero Accounting Models]]
:[[Xero Accounting Endpoints]]
:[[Xero Accounting Endpoints]]
== Change Logs ==
:'''2025-06-04''': Updated to include the following fields.
:: Account.CurrencyCode
:: Payments.BankAmount
:: Payments.Invoice.CurrencyCode