Xero Accounting Endpoint: AccountsClass: Difference between revisions
Jump to navigation
Jump to search
Created page with "== Overview == The Xero '''AccountsClass''' endpoint allows you to access the list of account classes that categorise the accounts within your Xero Accounting..." |
No edit summary |
||
| Line 46: | Line 46: | ||
== Related Endpoints == | == Related Endpoints == | ||
:[[Xero Accounting Endpoint: Accounts| | :[[Xero Accounting Endpoint: Accounts|Accounts]] | ||
Revision as of 22:11, 16 September 2021
Overview
The Xero AccountsClass endpoint allows you to access the list of account classes that categorise the accounts within your chart of accounts.
This endpoint is not part of the Xero API but specific to OdataLink to ease development.
Fields
The following fields are available for the AccountsClassification endpoint.
- Class
- A text field that identifies the high-level type of account. Possible values are:
- REVENUE
- EXPENSE
- ASSET
- LIABILITY
- EQUITY
- IsProfitLoss
- A true/false value that indicates if the account is a profit and loss account.
- IsBalanceSheet
- A true/false value that indicates if the account is a balance sheet account.
- IsDebit
- A true/false value that indicates if the account represents debits.
- IsCredit
- A true/false value that indicates if the account represents debits.
- DrCrSign
- A integer field provides a value of +1 or -1 indicating the natural sign regarding debit and credits.
- As an example, REVENUE would be -1 but EXPENSE would be +1.
- ProfitLossSign
- A integer field provides a value of +1 or -1 (or 0 for balance sheet accounts) indicating how the account naturally gets included on profit and loss reports.
- As an example, REVENUE would be +1 and EXPENSE would be -1.
Xero API
This endpoint is not part of the Xero API but specific to OdataLink to ease development.