---
title: "Create Po Document"
method: POST
path: "/api/v1/materials/po-documents"
tags: ["v1", "Materials"]
---

# Create Po Document

`POST /api/v1/materials/po-documents`

## Request

- Base URL: `https://api.jeevyfabrication.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.jeevyfabrication.com/api/v1/materials/po-documents`
- Auth: none declared

Attach a receipt or misc-expense document to a PO group.

Called after the file has already been PUT to the signed URL from
POST /material-quotes/upload — this just records it against the PO.

## Request body

- CreatePoDocumentBody
  - `project_id` integer, nullable
  - `po_number` string, required
  - `storage_path` string, required
  - `file_name` string, required
  - `document_type` string
  - `item_id` integer, nullable
  - `notes` string, nullable

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

## Changes

- **2026-11-16** `5ae2945cf209`: 2 info
  - the request property `project_id` became optional
  - request property `project_id` list-of-types was widened by adding types `null` to media type `application/json`

[Operation history](https://skmtc.dev/jeevyfabrication/apis/bom-generation-api/changes/api/v1/materials/po-documents/post.md)

---

[API](https://skmtc.dev/jeevyfabrication/apis/bom-generation-api.md) - [All operations](https://skmtc.dev/jeevyfabrication/apis/bom-generation-api/llms.txt) - [OpenAPI document](https://skmtc.dev/jeevyfabrication/apis/bom-generation-api/revisions/ad9a01abeac9?raw)
