Xero Accounting Endpoint: AccountsClass: Difference between revisions

From OdataLink
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 38: Line 38:
:A [[Field Type: Integer|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.
:A [[Field Type: Integer|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.
:As an example, REVENUE would be +1 and EXPENSE would be -1.
;VarianceImpactSign
:A [[Field Type: Integer|integer field]] provides a value of +1 or -1 indicating whether variance calculation based on impact should should be reversed or not.
:As an example, REVENUE would be 1 but EXPENSE would be -1.





Latest revision as of 22:10, 5 April 2023

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 AccountsClass 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.
VarianceImpactSign
A integer field provides a value of +1 or -1 indicating whether variance calculation based on impact should should be reversed or not.
As an example, REVENUE would be 1 but EXPENSE would be -1.


Xero API

This endpoint is not part of the Xero API but specific to OdataLink to ease development.


Related Endpoints

Accounts


Related Topics

Xero Accounting Models
Xero Accounting Endpoints