---
title: "POST /invoices/upload"
method: POST
path: "/invoices/upload"
tags: ["Invoice"]
---

# POST /invoices/upload

`POST /invoices/upload`

Create an invoice entity from the PDF of an invoice. Send the file within a formData. The endpoint will automatically extract the invoice information and create an invoice entity from them.

## Query parameters

- `buyer` string
- `seller` string

## Response `201`

Created

---

[API](https://skmtc.net/getdefacto/apis/api-reference.md) · [All operations](https://skmtc.net/getdefacto/apis/api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/getdefacto/api-reference/revisions/0a9c1f8784f2/schema)
