Accounting Service
string · uuid · required
Properties for Variant 1:stringnumber · decimalinteger · int32number · decimalstringstringstring · date
string · uuid · required
Properties for Variant 1:string · uuid
fiscal-year
Operations addressed under /fiscal-year — 2 operations.
get-profit-loss-accounting-entry-list
GET
https://dg-sandbox.dgpays.com/accounting-service
/fiscal-year/profit-loss-accounting-entries/{id}
Add Authorization: Bearer <token> yourself — generated samples and Try it do not attach a credential.
path Parameters
idget-profit-loss-accounting-entry-list › Responses
Success. The schema is an anyOf over three envelopes: the record, a bare array of it, and a page {total, data[]} carrying the same record.
anyOf
At least one variant must match. Multiple variants may match simultaneously.
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = object | |
| type = array | |
| type = object · requires: data |
accountNumbercreditAmountcurrencyIddebitAmountgLCodeledgerNameorganizationCodepLCreditAmountpLDebitAmounttransactionDatecreate-profit-loss-accounting-entry
POST
https://dg-sandbox.dgpays.com/accounting-service
/fiscal-year/{id}/profit-loss-accounting-entries
Add Authorization: Bearer <token> yourself — generated samples and Try it do not attach a credential.
path Parameters
idcreate-profit-loss-accounting-entry › Responses
Success. The schema is an anyOf over three envelopes: the record, a bare array of it, and a page {total, data[]} carrying the same record.
anyOf
At least one variant must match. Multiple variants may match simultaneously.
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = object | |
| type = array | |
| type = object · requires: data |
id