# Import purchase requisitions

## Import purchase requisitions <a href="#importpurchaserequisitions" id="importpurchaserequisitions"></a>

With Fairmarkit, you can import your purchase requisitions from your purchasing application to Fairmarkit. Once imported, a new draft request for quote event is created. You can access your events from the Draft tab on the events lists. [For more information, see Events.](https://docs.fairmarkit.com/buyers/events)

### Purchase requisition data <a href="#purchaserequisitiondata" id="purchaserequisitiondata"></a>

The following table outlines the column headers you will need to create when you import your purchase requisitions into Fairmarkit. The \*required fields are marked.

Template: Make sure you have the latest version of the flat file template ([view](https://docs.google.com/spreadsheets/d/1INb94RFKXMIBECHJ0DEpPo4EiY7iUvetkmloNSABD8o/edit#gid=0) | [download CSV file](https://docs.google.com/spreadsheets/d/e/2PACX-1vSsskPZC9mulbFftbuowuzDwLg43wu2SiFVbOWLulELeU0Pvr61n9e0LgwQ-jyt7KJEdnaRNtBt8wBq/pub?gid=0\&single=true\&output=csv)).

| Fairmarkit field | Header                       | Description                 |                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| ---------------- | ---------------------------- | --------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| \*               | Requisition ID               | requisition\_id             | <p>Purchase requisition ID from your purchasing application</p><p>Data type: Text</p><p>Example: R1000</p>                                                                                                                                                                                                                                                                                                                                 |
|                  | Requisition Title            | requisition\_title          | <p>Purchase requisition title. This title will display in Fairmarkit and defaults to the first line item title.</p><p>Data type: Text</p><p>Example: Req for FMKT</p>                                                                                                                                                                                                                                                                      |
|                  | Line Number                  | line\_number                | <p>Line number or order of the line item.</p><p>Data type: Text</p><p>Example: 1</p>                                                                                                                                                                                                                                                                                                                                                       |
| \*               | Item Title                   | item\_title                 | <p>Item name.</p><p>Data type: Text</p><p>Example: coffee beans</p>                                                                                                                                                                                                                                                                                                                                                                        |
|                  | Item Identifier              | item\_identifier            | <p>Unique identifier for the line item in your purchasing application, if it exists.</p><p>Data type: Text</p><p>Example: G123</p><p>Note: This data is preserved when exported from Fairmarkit.</p>                                                                                                                                                                                                                                       |
|                  | Buyer Email                  | buyer\_email                | <p>Buyer's email. Fairmarkit does not validate the email. This value is used to assign request for quote events in Fairmarkit.</p><p>Data type: Text</p><p>Example: <buyer@example.com></p>                                                                                                                                                                                                                                                |
|                  | Buyer Code                   | buyer\_code                 | <p>Buyer's ID in your purchasing application. The ID can be used as an alternative to the Buyer Email, but a mapping will need to be provided.</p><p>Data type: Text</p><p>Example: buyer.example</p>                                                                                                                                                                                                                                      |
|                  | Currency                     | currency                    | <p>Purchase requisition currency. This should be the three letter currency code.</p><p>Default: USD</p><p>Data type: Text</p><p>Example: USD</p>                                                                                                                                                                                                                                                                                           |
| \*               | Quantity                     | <p>quantity</p><p> </p>     | <p>Item quantity. This is assumed to be an integer.</p><p>Data type: Text</p><p>Example: 1</p>                                                                                                                                                                                                                                                                                                                                             |
|                  | UOM                          | uom                         | <p>Unit of measure of the item.</p><p>Default: Each</p><p>Data type: Text</p><p>Example: Each</p><p>Accepted values: Fairmarkit defined values; <a href="https://docs.fairmarkit.com/content/glossaries/uom.htm">For more information, see Available UOMs.</a></p><p>Note: Custom mapping is available. For more information, contact your technical architect.</p>                                                                        |
|                  | Benchmark Supplier ID        | benchmark\_supplier\_id     | <p>Benchmark supplier ID.</p><p>Data type: Text</p><p>Example: S1002</p>                                                                                                                                                                                                                                                                                                                                                                   |
|                  | Benchmark Supplier Title     | benchmark\_supplier\_title  | <p>Benchmark supplier name. This can be a name, title, entity, or description.</p><p>Data type: Text</p><p>Example: Charlie's Convenience Store</p>                                                                                                                                                                                                                                                                                        |
|                  | Benchmark Price (Per Unit)   | benchmark\_price\_per\_unit | <p>Benchmark price per unit. This is internal to your company. Presumably in your currency and UOM for the item.</p><p>Data type: Text</p><p>Example: 10.00</p>                                                                                                                                                                                                                                                                            |
|                  | Internal Part Number         | internal\_part\_number      | <p>Your organization's part number for the item. This value is entered at your discretion.</p><p>Data type: Text</p><p>Example: IPN100</p>                                                                                                                                                                                                                                                                                                 |
|                  | Manufacturer                 | manufacturer                | <p>Manufacturer of the line item.</p><p>Data type: Text</p><p>Example: Local Co</p>                                                                                                                                                                                                                                                                                                                                                        |
|                  | Manufacturer Part Number     | manufacturer\_part\_number  | <p>Manufacturer part number of the line item.</p><p>Data type: Text</p><p>Example: 900</p>                                                                                                                                                                                                                                                                                                                                                 |
|                  | UNSPSC                       | unspsc                      | <p>Standard 8 digit UNSPSC code for the item or requested service.</p><p>Data type: Text</p><p>Example: 50201706</p>                                                                                                                                                                                                                                                                                                                       |
|                  | Start Date                   | start\_date                 | <p>Start date for the line item. Typically used for services, leases, and software subscriptions and licenses.</p><p>Data type: Text</p><p>Example: 2022-07-20</p>                                                                                                                                                                                                                                                                         |
|                  | End Date                     | end\_date                   | <p>End date for the line item. Typically used for services, leases, and software subscriptions and licenses.</p><p>Data type: Text</p><p>Example: 2022-07-27</p>                                                                                                                                                                                                                                                                           |
|                  | Buyer Line Comment           | buyer\_line\_comment        | <p>Line item comments from you (buyer) to the suppliers.</p><p>Data type: Text</p><p>Example: We'll need your best coffee</p>                                                                                                                                                                                                                                                                                                              |
|                  | Item Kind                    | item\_kind                  | <p>Line item type. <a href="https://docs.fairmarkit.com/content/buyers/rfq/create-rfq.htm#Add">For more information, see 3. Add items or services.</a></p><p>Default: Item</p><p>Data type: Text</p><p>Example: Item</p><p><a href="https://docs.fairmarkit.com/content/integrations/flat-file/import-pr.htm"><img src="https://docs.fairmarkit.com/Skins/Default/Stylesheets/Images/transparent.gif" alt="Closed">Accepted values</a></p> |
|                  | Group Item Title             | group\_item\_title          | <p>When Item Kind is Group, the name of the group.</p><p>Data type: Text</p><p>Example: Coffee Supplies</p>                                                                                                                                                                                                                                                                                                                                |
|                  | Group Item Id                | group\_item\_id             | <p>When Item Kind is Group, an optional key.</p><p>Data type: Text</p><p>Example: 123</p>                                                                                                                                                                                                                                                                                                                                                  |
|                  | Requester                    | requester                   | <p>Name of requester. This could be an entity. This value is at discretion of buyer company.</p><p>Data type: Text</p><p>Example: John Smith</p>                                                                                                                                                                                                                                                                                           |
|                  | Preferred Delivery Date      | preferred\_delivery\_date   | <p>The date when the line items are needed. This date is the preference used when defining shipping time lines and scheduling services.</p><p>Data type: Text</p><p>Example: 2022-07-20</p>                                                                                                                                                                                                                                                |
|                  | Shipping Type                | shipping\_type              | <p>Preferred shipping method. This value is selected from a list and does not default.</p><p>Data type: Text</p><p>Example: Ground</p>                                                                                                                                                                                                                                                                                                     |
|                  | Shipping Carrier             | shipping\_carrier           | <p>Preferred shipping carrier. This value is selected from a list and does not default.</p><p>Data type: Text</p><p>Example: USPS</p>                                                                                                                                                                                                                                                                                                      |
|                  | Address1                     | shipping\_address\_address1 | <p>Shipping address - first line.</p><p>Data type: Text</p><p>Example: 27 School St</p>                                                                                                                                                                                                                                                                                                                                                    |
|                  | Address2                     | shipping\_address\_address2 | <p>Shipping address - second line.</p><p>Data type: Text</p><p>Example: STE 400</p>                                                                                                                                                                                                                                                                                                                                                        |
|                  | City                         | shipping\_address\_city     | <p>Shipping address city.</p><p>Data type: Text</p><p>Example: Boston</p>                                                                                                                                                                                                                                                                                                                                                                  |
|                  | State                        | shipping\_address\_state    | <p>Shipping address state.</p><p>Data type: Text</p><p>Example: MA</p>                                                                                                                                                                                                                                                                                                                                                                     |
|                  | Zip                          | shipping\_address\_zip      | <p>Shipping address zip code.</p><p>Data type: Text</p><p>Example: 02108</p>                                                                                                                                                                                                                                                                                                                                                               |
|                  | Country                      | shipping\_address\_country  | <p>Shipping address country.</p><p>Data type: Text</p><p>Example: US</p>                                                                                                                                                                                                                                                                                                                                                                   |
|                  | Requisition Internal Comment | internal\_notes             | <p>Notes about the event. This is internal to your company. Multiple notes are concatenated into a long string. This correlates to the Internal Notes in the Fairmarkit user interface.</p><p>Data type: Text</p><p>Example: Get medium roast</p>                                                                                                                                                                                          |
|                  | Requisition Note to Supplier | note\_to\_supplier          | <p>Add additional information and communication about the event with all invited suppliers. This correlates to the Notes to Suppliers in the Fairmarkit user interface.</p><p>Data type: Text</p><p>Example: Please leave on doorstep</p>                                                                                                                                                                                                  |
|                  | Urgency                      | urgency                     | <p>Let suppliers know the urgency of the event.</p><p>Default: Normal</p><p>Data type: Text</p><p>Example: Normal</p><p><a href="https://docs.fairmarkit.com/content/integrations/flat-file/import-pr.htm"><img src="https://docs.fairmarkit.com/Skins/Default/Stylesheets/Images/transparent.gif" alt="Closed">Accepted values</a></p>                                                                                                    |
|                  | Business Unit                | business\_unit              | <p>Business unit.</p><p>Data type: Text</p><p>Example: Sales</p>                                                                                                                                                                                                                                                                                                                                                                           |
|                  | Client Company               | client\_company             | <p>Client company.</p><p>Data type: Text</p><p>Example: Cameron's Consulting Agency</p>                                                                                                                                                                                                                                                                                                                                                    |
|                  | Category                     | category                    | <p>Category as defined in your purchasing application.</p><p>Data type: Text</p><p>Example: Supplies</p>                                                                                                                                                                                                                                                                                                                                   |
|                  | Category ID                  | category\_id                | <p>Category ID.</p><p>Data type: Text</p><p>Example: 1001</p>                                                                                                                                                                                                                                                                                                                                                                              |
|                  | Subcategory                  | subcategory                 | <p>Subcategory.</p><p>Data type: Text</p><p>Example: Coffee</p>                                                                                                                                                                                                                                                                                                                                                                            |
|                  | Subcategory ID               | subcategory\_id             | <p>Subcategory ID.</p><p>Data type: Text</p><p>Example: 23</p>                                                                                                                                                                                                                                                                                                                                                                             |
|                  | ERP System                   | erp\_system                 | <p>Your purchasing application. When entered, it will override the system level settings.</p><p>Data type: Text</p><p>Example: SAP Ariba</p>                                                                                                                                                                                                                                                                                               |
|                  | Requisition Import Status    | requisition\_import\_status | <p>Event status of your imported purchase requisition. This will override the initial event status. With Skip, the line will not be imported.</p><p>Default: Draft</p><p>Data type: Text</p><p>Example: Draft</p><p><a href="https://docs.fairmarkit.com/content/integrations/flat-file/import-pr.htm"><img src="https://docs.fairmarkit.com/Skins/Default/Stylesheets/Images/transparent.gif" alt="Closed">Accepted values</a></p>        |
|                  | Requisition Tag XXX          | requisition\_tag\_XXX       | <p>Requisition tag. Replace XXX with your value. For example, add plant for requisition\_tag\_plant. This adds a cosmetic item to the event in the user interface.</p><p>Data type: Text</p><p>Example: C08</p>                                                                                                                                                                                                                            |
|                  | Line Item Meta Tag XXX       | line\_item\_meta\_tag\_XXX  | <p>In the user interface, this value translates to Internal Tags. Replace XXX with your tag key. The row value is used as the tag value.</p><p>Data type: Text</p><p>Example: Account1000</p>                                                                                                                                                                                                                                              |
|                  | Additional Info XXX          | additional\_info\_XXX       | <p>Additional information. Add any other data that is necessary to attach to the line item and send back to your purchasing application.</p><p>Data type: Text</p><p>Example: G776</p>                                                                                                                                                                                                                                                     |
|                  | Closes At Date               | closes\_at\_date            | <p>Closes at date. This date supersedes closes\_days.</p><p>Default: next business day</p><p>Data type: Text</p><p>Example: 2022-07-20</p>                                                                                                                                                                                                                                                                                                 |
|                  | Days until close             | closes\_days                | <p>The number of business days until the event closes.</p><p>Data type: Int</p><p>Example: 2</p>                                                                                                                                                                                                                                                                                                                                           |

&#x20;


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.fairmarkit.com/buyers/integrations/flat-file-integration/import-data/import-purchase-requisitions.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
