v1

latestOpenAPI 3.1.02026-08-0458234268.6 KB
receipts

Update an existing receipt

Updates a receipt. Note: status, receipt_number, external_id, and ottimate_po_id cannot be changed.

patch/receipts/{id}

Path parameters

idstring required

The unique ID of the receipt

Headers

Authorizationstring required

OAuth2 authentication flows. Auth server URLs will vary by environment

X-Api-Keystring required

API key for authentication

X-API-Versionstring

API version to use (optional, defaults to latest). Supported values: 1.0.0, 1.1.0.

Request body

receipt_numberstring
datestring date
total_amountnumber double
invoice_number_refstring
notestring

Response

Successfully updated

versionstring
idstring required
external_idstring
receipt_numberstring
status'open' | 'pending' | 'flagged' | 'closed' | 'archived' | 'deleted' required
ottimate_po_idstring
datestring date
total_amountnumber double
items_countinteger
last_modified_datestring date-time

Last modification timestamp. UTC ISO 8601, e.g. "2024-01-16T14:30:00Z".