/v1/imports/documents
Upload a file (sha256 unique per tenant: the same file again returns the existing document); a recognised format starts a run
operationId uploadImportDocumentAuth
Member token+Tenant headerRequest body
- kindenum (9)required
payout_statementbank_statementpos_exporttally_exportmarket_signalpos_billswaste_logshift_logstock_count - filenamestringrequiredmin length 1max length 255
- media_typestringrequiredpattern ^[a-z]+\/[a-z0-9.+-]+$
- content_base64stringrequiredmin length 1max length 7000000
Response 200
- duplicatebooleanrequired
- headerarray of string | nullrequired
Errors
- 400Bad requestError
- 401UnauthenticatedError
- 403Not allowedError
- 404Not foundError
- 422Validation failedError
Every error body carries a code, a message and, where it applies, a reason_code. All error and reason codes.