Receiving Receipt

Commit every saved row of a purchase-order receipt, posting its inventory as the receiving screen's Receive does

Changed on
post/api/receiving/receipts/{receiptId}/commit

Request

Path parameters

receiptIdstring required

Request body

invoiceNumberstring nullable

The vendor invoice number to record on the receipt. Omitted, null or blank keeps the number already saved on the receipt.

Response

The committed receipt

idstring required

Unique id associated to this entity.

receivedBystring nullable

Id of the user who received the item(s)

numbernumber double nullable

Number

state'staged' | 'committed'

Whether a receipt has been committed to inventory or is still staged on the receiving screen. Returned only when staged receipts are enabled for the account.

datestring date-time nullable

Received date

dateOriginalstring date-time nullable

Original received date

dateOverridestring date-time nullable

Override received date

accountingHeldUtcstring date-time nullable

Set while the receipt's accounting events are withheld because it contains material held for incoming inspection (tenant invoice timing = after-inspection). Held receipts are excluded from the receipt list until their inspections resolve; cleared when the deferred events fire.

orderType'purchaseOrder' | 'salesOrder'

Order type enum

orderIdstring nullable

Id of parent order to which this receipt belongs

externalReferencesobject nullable

Arbitrary key-value-pair like data that can be used to later on search for this receipt object.

customFieldsobject nullable

Custom fields that have been defined on this entity.

invoiceNumberstring nullable

The vendor invoice invoice number associated to the receipt.

Changes