---
title: "Import fuel purchases via CSV upload"
method: POST
path: "/v1/fuel_purchase_imports"
---

# Import fuel purchases via CSV upload

`POST /v1/fuel_purchase_imports`

## Request

- Base URL: `https://api.gomotive.com`
- URL: `https://api.gomotive.com/v1/fuel_purchase_imports`
- Auth: API key in header `x-api-key`
- TypeScript: <https://skmtc.dev/gomotive/apis/motive/docs/v1/fuel_purchase_imports/post.ts> (a function with typed inputs; its response is checked against the schema)

## Request body

- object
  - `source` string, required: Specify the source from where you are importing this fuel purchase. Allowed values are as follows: <ul><li>EFS_INTEGRATION</li><li>COMDATA_INTEGRATION</li><li>WEX_INTEGRATION</li><li>GIR</li><li>RELAY_PAYMENT_INTEGRATION</li><li>FLUID_SECURE_INTEGRATION</li><li>FLEET_COR_INTEGRATION </li></ul>
  - `import` string[], required: Enter the file name and the Base64 encoded CSV to import fuel purchases into the system.

## Response `200`

200

- object
  - `status` string

---

[API](https://skmtc.dev/gomotive/apis/motive.md) - [All operations](https://skmtc.dev/gomotive/apis/motive/llms.txt) - [OpenAPI document](https://skmtc.dev/gomotive/apis/motive/revisions/c71780e497f5?raw)
