Receiving Transactions API (/receiving_transactions)
The URL to access receiving transactions is:
https://<instance>/api/receiving_transactions
Associations
This resource is associated with Receipts API .
Actions
Receiving Transactions allows you to:
Verb | Path | Action | Description |
---|---|---|---|
POST |
/api/receiving_transactions
|
create | Create receiving transaction |
DELETE |
/api/receiving_transactions/:id
|
destroy | Delete receiving transaction |
GET |
/api/receiving_transactions
|
index | Query receiving transactions |
GET |
/api/receiving_transactions/:id
|
show | Show receiving transaction |
GET |
/api/receipt_requests
|
index | Query Receipt Requests |
Note:
Currently, approver details are not available via API on receipts. To query receipt requests with approvers, use the following path:
|
|||
PATCH |
/api/receiving_transactions/:id
|
update | Update receiving transaction export flag only |
PUT |
/api/receiving_transactions/:id
|
update | Update receiving transaction export flag only |
PUT |
/api/receiving_transactions/:id/void
|
void | Perform Void action on receiving transaction |
The Type payload for
/api/receiving_transactions
includes:
"InventoryReceipt",
"ReceivingQuantityConsumption",
"ReceivingAmountConsumption",
"ReceivingQuantityDisposal",
"ReceivingAmountDisposal",
"ReceivingQuantityReturnToSupplier",
"ReceivingAmountReturnToSupplier",
"VoidInventoryReceipt",
"VoidReceivingQuantityConsumption",
"VoidReceivingAmountConsumption",
"VoidReceivingQuantityDisposal",
"VoidReceivingAmountDisposal",
"VoidReceivingQuantityReturnToSupplier",
"VoidReceivingAmountReturnToSupplier"
For more information about the Receiving Transactions API payload, see Receipts API Example Calls .
Elements
Element | Description | Req'd | Unique | Allowable Value | In | Out | Data Type |
---|---|---|---|---|---|---|---|
account | Receipt Account Code | yes | yes | Account | |||
account-allocations | account_allocations | yes | yes | Inventory Transaction Allocation | |||
adjustment-code | Adjustment code | no | no | any | yes | yes | Adjustment Code |
asn-header | ASN Header | yes | Asn/Header | ||||
asn-line | ASN Line | yes | yes | Asn/Line | |||
asset-tags | Semi Colon seperated list of Asset Tag Identifiers | yes | Asset Tag | ||||
attachments | attachments | yes | Attachment | ||||
barcode | Barcode Value | yes | yes | string(255) | |||
comments | Comments for voiding transaction | no | no | any | yes | text | |
created-at | Time of Inventory Transaction Creation | yes | datetime | ||||
created-by | User who created | yes | User | ||||
currency | currency code | no | no | any | yes | Currency | |
current-integration-history-records | Current integration history records | yes | Integration History Record | ||||
exported | Indicates if transaction has been exported | yes | yes | boolean | |||
from-warehouse | Warehouse ID | yes | Warehouse | ||||
from-warehouse-location | Coupa's Internal From-Warehouse-Location ID | yes | yes | Warehouse Location | |||
id | Coupa's Internal Inventory Transaction ID | yes | integer | ||||
inspection-code | Inspection Code | yes | yes | Inspection Code | |||
inventory-transaction-valuations | Inventory Transaction Valuations | yes | Inventory Transaction Valuation | ||||
item | item | yes | yes | Item | |||
last-exported-at | Date and time transaction was last exported in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ | yes | datetime | ||||
match-reference | Three-way match attribute to connect with Receipt and ASN Line | yes | yes | string(255) | |||
order-line | Item Number | yes | yes | Order Line | |||
original_transaction | Displays any custom fields associated with the original receipt when creating a return or void. | yes | |||||
original_transaction_id | ID of the original transaction, when the transaction is partially voided | no | no | any | yes | integer | |
price | Item Price | yes | yes | decimal(30,6) | |||
quantity | Receipt Quantity | yes | yes | decimal(30,6) | |||
reason_insight | Voiding reason | no | no | any | yes | ||
receipt | receipt | yes | Receipt | ||||
receipts-batch-id | Receipts Batch ID | yes | integer | ||||
received-weight | Inventory Transaction Received Weight | yes | yes | decimal(30,6) | |||
receiving-form-response | receiving_form_response | yes | Form Response | ||||
rfid-tag | RFID Tag Value | yes | yes | yes | string(255) | ||
soft-close-for-receiving | Soft close PO line for Receiving | yes | boolean | ||||
status | Inventory Transaction Status | yes | string(255) | ||||
to-warehouse | Warehouse ID | yes | Warehouse | ||||
to-warehouse-location | Coupa's Internal To-Warehouse-Location ID | yes | yes | Warehouse Location | |||
total | Receipt Total | yes | yes | decimal(30,6) | |||
transaction-date | Actual date of transaction | yes | yes | datetime | |||
type | Inventory Transaction Type | yes | yes | yes | string(255) | ||
uom | Unit of Measure Code | yes | yes | Uom | |||
updated-at | Time of Inventory Transaction Updation | yes | datetime | ||||
updated-by | User who updated | yes | User | ||||
voided_value | Total quantity/amount that was voided | no | no | any | yes | decimal(30,6) | |
inventory_transaction_lots | any | yes | [] |