Get a receipt
GET/receipts/:receiptId
Returns the receipt with its lines, state, version (also as the ETag)
and the discrepancies as they stand now (final once the receipt is
Closed). cartonDiscrepancies lists every carton finding raised on
the receipt so far, scans and the close alike, in the order they were
raised (ADR 0015); it is [] when there are none.
Request
Responses
- 200
- 400
- 404
- 500
The receipt.
Response Headers
Strong entity tag of the resource: the quoted version, for example "3".
Malformed JSON or an unknown field (malformed-request), a bad query
parameter (invalid-query, invalid-limit, invalid-cursor,
unknown-query-parameter), a missing or malformed Idempotency-Key
(idempotency-key-required, idempotency-key-invalid), or a value that breaks a domain rule
(the invalid-*, *-requires-*, duplicate-* and
invalid-condition, invalid-carton*, invalid-scan*, invalid-counted-contents, invalid-cases,
invalid-gtin, invalid-sscc and invalid-owner-ref slugs), a reason code outside the list
(invalid-override-reason) or a tolerance band that breaks 0 <= tolerance < hardStop <= 1
(invalid-tolerance-band).
The resource in the path does not exist: asn-not-found,
appointment-not-found, receipt-not-found, carton-not-found or
receiving-policy-not-found (no policy declared for the exact owner and supplier).
Unexpected server error.