# Purchase requisition sync

With the Coupa integration, you can automatically sync your purchase requisitions with Fairmarkit, creating request for quote events; once you award an event, Fairmarkit automatically sends the awarded data back to Coupa to update and approve your purchase requisition, readying it to become a purchase order. Purchase requisition sync also supports bundling, partial awarding, and sending back requisition information for canceled and archived events.

### Import to Fairmarkit <a href="#importtofairmarkit" id="importtofairmarkit"></a>

<figure><img src="https://1711751134-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F95QWDcOsKn95Me8sE2RP%2Fuploads%2FmxV0UnswcZa7ZgPilNa3%2Fcoupa-import_thumb_0_0.png?alt=media&#x26;token=aabb6846-c697-48f5-ba2a-7074baf72bb5" alt=""><figcaption></figcaption></figure>

* Create a purchase requisition in Coupa and add items to your cart.
* When the purchase requisition gets to the Fairmarkit remote approver, Fairmarkit pulls and maps the purchase requisition.\
  [How is this data mapped?](https://docs.fairmarkit.com/buyers/integrations/coupa-integration/broken-reference)
* A request for quote event is created in Fairmarkit.

### Export to Coupa <a href="#exporttocoupa" id="exporttocoupa"></a>

<figure><img src="https://1711751134-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F95QWDcOsKn95Me8sE2RP%2Fuploads%2FxgA6SOH7vj56wVaNaqoI%2Fcoupa-export_thumb_0_0.png?alt=media&#x26;token=8762829c-25e0-4fe3-9f84-5cf2fb4b3584" alt=""><figcaption></figcaption></figure>

**Note**: If an event is canceled or archived, your purchase requisition is updated with a link to the Fairmarkit event and no other data is updated. During setup, you can decide if these events should be approved or rejected in Coupa.

* The event is awarded in Fairmarkit.
* Event data is sent and mapped for use in Coupa.

  How is this data mapped ?
* #### Coupa line items

  When data is exported back to Coupa, Fairmarkit will update the following information. The Fairmarkit request for quote details can be accessed through a URL that is sent to Coupa.

  | Fairmarkit Field     | Coupa field        | Notes                                                             |
  | -------------------- | ------------------ | ----------------------------------------------------------------- |
  | calculated field     | Need By Date       | Calculated as Awarded At time + Delivery Days.                    |
  | External Supplier ID | Supplier Number    |                                                                   |
  | Unit Price           | Updated Unit Price |                                                                   |
  | Attachments          | Attachments        | Add a new “URL” attachment with a link back to Fairmarkit.        |
  | custom field         | Savings            | Custom money field that allows for amount and currency            |
  |                      | Status             | Updates the status to Approved by the Fairmarkit remote approver. |
  |                      | Contract           | Set to None, but this is configurable.                            |
* Updates and approves the purchase requisition in Coupa.
