Difference between revisions of "Xero Accounting Endpoint: JournalsCash"
Jump to navigation
Jump to search
(Created page with "== Overview == The Xero '''JournalsCash''' endpoint provides the journal records on an cash basis that had a material impact on your general ledger. For journa...") |
|||
(6 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
== Overview == | == Overview == | ||
The Xero '''JournalsCash''' [[Endpoints|endpoint]] provides the journal records on an cash basis that had a material impact on your general ledger. | The Xero '''JournalsCash''' [[Xero Accounting Endpoints|endpoint]] provides the journal records on an cash basis that had a material impact on your general ledger. | ||
This endpoint does not internally support filters due to the Xero API Architecture. Only the '''JournalNumber''', '''JournalDate''' and '''CreatedDateUTC''' fields can be filtered. Furthermore, these fields do not support all types of operators or complex filters. | |||
For journals on an accrual basis, see [[Xero Accounting Endpoint: JournalsAccrual|JournalsAccrual]]. | For journals on an accrual basis, see [[Xero Accounting Endpoint: JournalsAccrual|JournalsAccrual]]. | ||
Line 90: | Line 92: | ||
;NetAmount | ;NetAmount | ||
:A [[Field Type: Decimal|decimal | :A [[Field Type: Decimal|decimal field]] that provides the tax exclusive amount. | ||
:This will be a positive value for a debit and negative for a credit | |||
;GrossAmount | ;GrossAmount | ||
:A [[Field Type: Decimal|decimal | :A [[Field Type: Decimal|decimal field]] that tax provides the inclusive amount. | ||
:This field is calculated as NetAmount + TaxAmount. | |||
;TaxAmount | ;TaxAmount | ||
:A [[Field Type: Decimal|decimal | :A [[Field Type: Decimal|decimal field]] that tax amount. | ||
;TaxType | ;TaxType | ||
:A [[Field Type: Text|text field]] that provides the [[Xero Accounting Field: TaxTypes|tax type]]. | :A [[Field Type: Text|text field]] that provides the [[Xero Accounting Field: TaxTypes|tax type]]. | ||
; | ;TaxName | ||
:A [[Field Type: Text|text field]] that provides the name of the tax rate. | :A [[Field Type: Text|text field]] that provides the name of the tax rate. | ||
Line 123: | Line 127: | ||
:[[Xero Accounting Endpoint: Accounts|Accounts]] | :[[Xero Accounting Endpoint: Accounts|Accounts]] | ||
:[[Xero Accounting Endpoint: | :[[Xero Accounting Endpoint: JournalsAccrual|JournalsAccrual]] | ||
:[[Xero Accounting Endpoint: TaxRates|TaxRates]] | :[[Xero Accounting Endpoint: TaxRates|TaxRates]] | ||
:[[Xero Accounting Endpoint: TrackingCategories|TrackingCategories]] | :[[Xero Accounting Endpoint: TrackingCategories|TrackingCategories]] | ||
== Related Topics == | |||
:[[Xero Accounting Models]] | |||
:[[Xero Accounting Endpoints]] |
Latest revision as of 17:14, 21 March 2022
Overview
The Xero JournalsCash endpoint provides the journal records on an cash basis that had a material impact on your general ledger.
This endpoint does not internally support filters due to the Xero API Architecture. Only the JournalNumber, JournalDate and CreatedDateUTC fields can be filtered. Furthermore, these fields do not support all types of operators or complex filters.
For journals on an accrual basis, see JournalsAccrual.
Fields
The following fields are available for the JournalsCash endpoint.
- JournalID
- A guid field that provides the id of the journal record.
- JournalDate
- A date field that provides the date to which the journal record applies.
- JournalNumber
- A text field provides the journal number.
- This is a auto-generated sequential number that doesn't correspond or relate to the transaction/invoice number.
- Reference
- A text field provides a descriptive reference (could be an invoice numnber or reference).
- SourceID
- A guid field that provides the source unique id of the transaction that generated this journal.
- This can be linked to other endpoints.
- SourceType
- A text field provides a indicates the source of the journal record.
- Possible values are:
- ACCREC: Accounts receivable invoice
- ACCPAY: Accounts payable invoice
- ACCRECCREDIT: Accounts receivable credit note
- ACCPAYCREDIT: Accounts payable credit note
- ACCRECPAYMENT: Payment on an accounts receivable invoice
- ACCPAYPAYMENT: Payment on an accounts payable invoice
- ARCREDITPAYMENT: Accounts receivable credit note payment
- APCREDITPAYMENT: Accounts payable credit note payment
- CASHREC: Receive money bank transaction
- CASHPAID: Spend money bank transaction
- TRANSFER: Bank transfer
- ARPREPAYMENT: Accounts receivable prepayment
- APPREPAYMENT: Accounts payable prepayment
- AROVERPAYMENT: Accounts receivable overpayment
- APOVERPAYMENT: Accounts payable overpayment
- EXPCLAIM: Expense claim
- EXPPAYMENT: Expense claim payment
- MANJOURNAL: Manual journal
- PAYSLIP: Payslip
- WAGEPAYABLE: Payroll payable
- INTEGRATEDPAYROLLPE: Payroll expense
- INTEGRATEDPAYROLLPT: Payroll payment
- EXTERNALSPENDMONEY: Payroll employee payment
- INTEGRATEDPAYROLLPTPAYMENT: Payroll tax payment
- INTEGRATEDPAYROLLCN: Payroll credit note
- JournalLines
- A table field that provides the list account values applicable for this journal record.
- See JournalLines Fields for more information.
- CreatedDateUTC
- A date time field that indicates the date and time this journal was created.
JournalLines Fields
The JournalLines Fields include the following sub fields.
- JournalLineID
- A guid field that provides the id of the journal record.
- This field cannot really be linked to other endpoints.
- AccountID
- A GUID field that provides the id of the account.
- This field can be used to link to the Accounts endpoints.
- AccountCode
- A text field that provides the account code.
- This field can be used to link to the Accounts endpoints.
- AccountType
- A text field that provides the account type.
- AccountName
- A text field that provides account name.
- Description
- A text field that provides line description.
- NetAmount
- A decimal field that provides the tax exclusive amount.
- This will be a positive value for a debit and negative for a credit
- GrossAmount
- A decimal field that tax provides the inclusive amount.
- This field is calculated as NetAmount + TaxAmount.
- TaxAmount
- A decimal field that tax amount.
- TaxType
- A text field that provides the tax type.
- TaxName
- A text field that provides the name of the tax rate.
- TrackingCategories
- A table field that provides the list tracking categories assigned to this journal line.
Xero API
For a detailed run through of the endpoint, you can see the Xero API.
Related Fields
Related Endpoints