What can we help you find?
Products
Total Spend Management Platform
Integration Playbooks and Resources
Other Integration Playbooks
ERP Integration Adapters
Integration Scenarios
9. Goods Receipt Integration Scenarios
9.1 Send Created Goods Receipt to ERP
9.1 Send Created Goods Receipt to ERP
Using API
- Create a Goods Receipt in Coupa for an approved PO.
- The ERP Connector platform should trigger an API call to Coupa Inventory Transaction using GET API to query Coupa for Goods Receipt (for example, where the
exported
flag is set tono
orfalse
. - Ensure that you get a 200 API response and it is logged in your ERP Connector platform logging engine. If you get a different API response (for example, 400) error, the API error (returned on API response
<errors><error>
tag(s)) must be logged in the ERP connector platform logging engine and a notification must be sent to the relevant person. - The Goods Receipt is imported to the ERP system successfully.
- The ERP Connector platform should trigger an API call to Coupa Inventory Transaction using POST API to update the Goods Receipt
exported
flag toyes
ortrue
. - Ensure that you get a 201 API response and it is logged in your ERP Connector platform logging engine. If you get a different API response (for example, 400) error, the API error (returned on API response
<errors><error>
tag(s)) must be logged in the ERP connector platform logging engine and a notification must be sent to the relevant person.
Sample API
GET
Query can be filtered to query only specific COA or other key attributes.
https://<instance>/api/inventiry_transaction?exported=”false”
POST
https://<instance>/api/inventory_transaction/<Inventory_transaction id>
Payload
<?xml version="1.0" encoding="UTF-8"?> <inventory_transaction> <exported>true</exported> </inventory_transaction>
Using CSV
- Create a Goods Receipt in Coupa for an approved PO.
- The Goods Receipt outbound file is generated in the
/Outgoing/Receipts
folder on the Coupa sFTP folder. - The ERP Connector picks up the file and processes it. (The file is removed after a successful posting to ERP.)
- The Goods Receipt is booked in ERP.