---
title: "Import a bill of quantities file."
method: POST
path: "/bill_of_quantities/import"
tags: ["Projects|Bill of quantities"]
---

# Import a bill of quantities file.

`POST /bill_of_quantities/import`

This endpoint facilitates the upload of files encoded in base64 format. It supports various file formats
including XML, GAEB2000, and GAEB90, enabling their import into the system. Upon successful upload, a `jobId` is
provided in the response, which can be used to inquire about the status of the import job through the
Miscellaneous|Job endpoint.

## Request body

- StandardBillOfQuantitiesImportRequest
  - `file` string — The file to import (base64 encoded). This Parameter is required.
  - `format` string — The format of the file to import. This Parameter is required. | Value | |----------------| | XML | | GAEB2000 | | GAEB90 |
  - `externalId` string — The external id for the bill of quantities.
  - `offerNumber` string — The offer number for the bill of quantities

## Response `200`

Success Response:

- StandardBillOfQuantitiesImportResponse
  - `jobId` integer — The id of the import job. (The status of the job can be queried via the job API)

---

[API](https://skmtc.net/geocapture/apis/geocapture-api.md) · [All operations](https://skmtc.net/geocapture/apis/geocapture-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/geocapture/geocapture-api/versions/869b05603541/schema)
