---
title: "Execute Ubl Import"
method: POST
path: "/api/v1/import/ubl/execute"
tags: ["import", "import"]
---

# Execute Ubl Import

`POST /api/v1/import/ubl/execute`

## Request

- Base URL: `https://api.peil.app` (the document declares no server; this is the origin it was published from)
- URL: `https://api.peil.app/api/v1/import/ubl/execute`
- Auth: OAuth 2 (password, token URL `/api/v1/auth/jwt/login`)

Create invoices (and clients as needed) from uploaded UBL files.
``mark_as`` = 'paid' (historical revenue, default) or 'sent' (outstanding).
Duplicates by invoice number are skipped; parse failures are reported.

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/peil/apis/peil-api.md) · [All operations](https://skmtc.dev/peil/apis/peil-api/llms.txt) · [OpenAPI document](https://skmtc.dev/peil/apis/peil-api/revisions/ee3ca1246dde?raw)
