Skip to main content

 

 

Coupa Success Portal

9.1 Send Created Goods Receipt to ERP

Using API

  1. Create a Goods Receipt in Coupa for an approved PO.
  2. 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 to no or false.
  3. 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.
  4. The Goods Receipt is imported to the ERP system successfully.
  5. The ERP Connector platform should trigger an API call to Coupa Inventory Transaction using POST API to update the Goods Receipt exported flag to yes or true.
  6. 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

  1. Create a Goods Receipt in Coupa for an approved PO.
  2. The Goods Receipt outbound file is generated in the /Outgoing/Receipts folder on the Coupa sFTP folder.
  3. The ERP Connector picks up the file and processes it. (The file is removed after a successful posting to ERP.)
  4. The Goods Receipt is booked in ERP.
  • Was this article helpful?