Accounting API
Endpoint Index
| Action | Endpoint |
|---|---|
| Fetch an Accounting Transaction | GET /billing/{tenantLocator}/accounting/faTransactions/{locator} |
| Fetch a Ledger Account | GET /billing/{tenantLocator}/accounting/ledgerAccounts/{refType}/{refLocator} |
| Fetch Multiple Ledger Cash Accounts | GET /billing/{tenantLocator}/accounting/ledgerAccounts/cash/list |
| Fetch Tenant Level Cash Balance | GET /billing/{tenantLocator}/accounting/ledgerAccounts/cash |
Accounting Transactions
GET /billing/{tenantLocator}/accounting/faTransactions/{locator}Request Parameters:
| Name | Position | Type | Required |
|---|---|---|---|
| tenantLocator | path | uuid | required |
| locator | path | string | required |
Response:AccountingTransactionResponse
Security Group:accounting  Permission:read
AccountingTransactionResponse
¶requiredfaTransactionLocator stringcurrency stringfaTransactionNote stringfaTransactionTime datetimeaccountLines AccountLineItem[]
AccountLineItem
¶requiredreferenceLocator stringaccountingType Enum credit | debitamount numberreferenceType Enum account | accountCreditBalance | accountExpenseBalance | cash | charge | credit | creditCash | installmentItem | invoiceItem | policy | quote | transaction
Accounting T-Accounts
GET /billing/{tenantLocator}/accounting/ledgerAccounts/{refType}/{refLocator}Request Parameters:
| Name | Position | Type | Required |
|---|---|---|---|
| tenantLocator | path | uuid | required |
| refType | path | Enum account | accountCreditBalance | accountExpenseBalance | cash | charge | credit | creditCash | installmentItem | invoiceItem | policy | quote | transaction | required |
| refLocator | path | string | required |
| currency | query | string? | optional |
| size | query | int? | optional |
Response:LedgerAccountResponse
Security Group:accounting  Permission:read
LedgerAccountResponse
¶requiredreferenceLocator stringcurrency stringbalance numberreferenceType Enum account | accountCreditBalance | accountExpenseBalance | cash | charge | credit | creditCash | installmentItem | invoiceItem | policy | quote | transactionlineItems LedgerAccountLineItem[]
LedgerAccountLineItem
¶requiredfaTransactionLocator stringaccountingType Enum credit | debitamount numberfaTransactionNote stringfaTransactionTime datetime
Cash Accounts
Cash accounts record inflows and outflows of cash from the system. For example, if a payment is received, the payment itself records the credit, and the customer account’s cash t-account records the debit.
GET /billing/{tenantLocator}/accounting/ledgerAccounts/cash/listRequest Parameters:
| Name | Position | Type | Required |
|---|---|---|---|
| tenantLocator | path | uuid | required |
| currency | query | string? | optional |
| size | query | int? | optional |
| offset | query | int? | optional |
| count | query | int? | optional |
| extended | query | boolean? | optional |
Response:LedgerAccountListResponse
Security Group:accounting  Permission:read
LedgerAccountListResponse
¶requiredlistCompleted booleanitems LedgerAccountResponse[]
GET /billing/{tenantLocator}/accounting/ledgerAccounts/cashRequest Parameters:
| Name | Position | Type | Required |
|---|---|---|---|
| tenantLocator | path | uuid | required |
| currency | query | string? | optional |
Response:TenantCashBalance
Security Group:accounting  Permission:read
TenantCashBalance
¶requiredcurrency stringbalance number