Jupiter ERP
Account API

Stage receipt document file

Upload a receipt document (PDF or image) for later attachment to a receipt. Does not start analysis. Use createReceipt/updateReceipt with the returned file_hash, or POST /receipts/{id}/analyze after the file is attached.

POSTHTTP
post/api/account/receipts/stage-file

Beispielanfrage

POST https://api.jupiter-erp.com/api/account/receipts/stage-file

Code
curl -X POST 'https://api.jupiter-erp.com/api/account/receipts/stage-file' \
  -H 'Authorization: Bearer YOUR_API_TOKEN' \
  -H 'X-Account-Uuid: YOUR_ACCOUNT_UUID' \
  -H 'Accept: application/json'

Antworten

201Created - file staged
FeldTypBeschreibung
file_hash*stringSHA-256 hash to attach via createReceipt or updateReceipt file_hash.
Beispiel Response
{
  "file_hash": "string"
}
Receipts

Fragen zur Integration?

POST /api/account/receipts/stage-file · Jupiter ERP