Known Issues
Behaviour observed against live SQL Account databases. Read this before debugging a failed request — most integration failures are one of these fifteen.
The single most destructive one: posting an empty JSON body () crashes the SQL Account backend. Always include the required fields listed on the entity page.
| Case | What happens and what to do |
|---|---|
| Empty body POST | Posting {} causes a Delphi access violation and crashes the backend. Always send the required fields. |
| Wrong path parameter type | AUTOKEY and DOCKEY entities need integers. A string code returns “not a valid floating point value”. |
| Query params outside the signature | The query string must be included in the AWS SigV4 signature, otherwise the request returns 401. |
| PUT with the full record | PUT is a partial update. Re-sending unchanged fields can overwrite values you did not intend to touch. |
| DELETE response shape | DELETE returns the plain text “OK”, not JSON. Parsing it as JSON throws in the client. |
| Two different list envelopes | GET list returns { pagination, data }; GET single by path returns { data } only. |
| Payment Method is read-only | /pmmethod only supports GET and DELETE. Create bank accounts in the Chart of Accounts instead. |
| Integer fields as strings | Integer fields such as costingmethod, taxtype and autokey must be plain numbers, not quoted. |
| Customer and Supplier name field | The business name field is companyname — not company. A wrong name fails silently on validation. |
| Withholding Tax account fields | Use taxaccountdr and taxaccountcr. There is no taxaccount field on /whtax. |
| Stock Item deletion key | DELETE /stockitem/:DOCKEY uses the dockey integer, not the item code. Find it via GET /stockitem?code=X. |
| Account parent is an integer | parent takes the parent account's dockey, not its code. Send the full POST template. |
| Transactions need master data first | Every code and itemcode in a document must already exist, and sdsdocdetail needs at least one line. |
| Journal must balance | Total debits must equal total credits or the entry is rejected. |
| Reports are GET-only | Stock report endpoints do not accept POST, PUT or DELETE. |
Start with Authentication if you are seeing 401s, or Account if you are setting up a fresh database.
