Account Service
number · decimal · requiredstring · uuid · requiredstring · requirednumber · decimal · requiredstring · requirednumber · decimal · requiredstring · date · requiredstring · uuid string · uuid
cashbox-reconcilation
Operations addressed under /cashbox-reconcilation — 1 operation.
create-cashbox-reconcilation
POST
https://dg-sandbox.dgpays.com/account-service
/cashbox-reconcilation
Add Authorization: Bearer <token> yourself — generated samples and Try it do not attach a credential.
Response body, read from the service source
The route returns AuraCommandDto<Guid>, which is the response body itself and not a wrapper around one: the framework declares it as a class with a single property, Id, of type Guid. A caller gets a JSON OBJECT with one field, not a bare value. The field is id on the wire.
| Field | Name on the wire | Declared type | Nullable |
|---|---|---|---|
Id | id | Guid | no |
Member names are the service's declaration names.
Error codes this operation is known to raise
| Code | Status | Meaning | Message |
|---|---|---|---|
ERR_ACCNT_134 | 400 | PREVIOUS_DAYS_RECONCILATION_OFCASH_NOT_FOUND | The previous day's reconciliation of the cash register could not be found. |
ERR_ACCNT_135 | 400 | RECONCILATION_DATE_OFCASH_CANNOT_GREATER_THAN_TODAY | The reconciliation date cannot be greater than today. |
ERR_ACCNT_136 | 400 | THERE_IS_CASH_TRANSACTION_WITH_SAME_VALUE | There is a transaction with the same value. |
ERR_ACCNT_138 | 400 | DESCRIPTION_CANNOT_BE_EMPTY_OR_HAVE_WHITE_SPACE | Description field cannot be empty |
ERR_ACCNT_18 | 400 | CURRENCY_ID_NOT_FOUND | Currency not found. |
ERR_ACCNT_85 | 400 | CASH_NOT_FOUND | Cash definition is not found. |
create-cashbox-reconcilation › Request Body
balancecashBoxIdcurrencyNumberdenominationAmountdescriptiondifferencetransactionDateaccountingEntryIdcreate-cashbox-reconcilation › Responses
Success. An exact, uniquely bound route registration declares the command-id envelope, so this schema is the code-backed body contract.
Body shape declared by the exact route registration for the catalog's 200 response.
idIdentifier returned by the command.