---
title: "POST /v1/invoices"
method: POST
path: "/v1/invoices"
tags: ["invoices-v-1-controller"]
---

# POST /v1/invoices

`POST /v1/invoices`

## Request

- Base URL: `https://api.xestando.com`
- URL: `https://api.xestando.com/v1/invoices`
- Auth: HTTP bearer

## Request body

- InvoiceDraftV1
  - `customer` PartyDraftV1, required
    - `address` string
    - `countryCode` string
    - `email` string
    - `name` string, required
    - `phone` string
    - `postCode` string
    - `province` string
    - `taxId` string
    - `town` string
    - `tradeName` string
  - `issueDate` string, date
  - `lines` LineV1[]
    - `baseAmount` number, double
    - `description` string
    - `quantity` number, double
    - `taxAmount` number, double
    - `taxRate` number, double
    - `total` number, double
    - `unitPrice` number, double
  - `notes` string
  - `seriesCode` string
  - `taxWithheldPercentage` number, double

## Response `200`

OK

- InvoiceV1
  - `baseAmount` number, double
  - `compliance` ComplianceStatusV1
    - `completedAt` string, date-time
    - `errorCode` string
    - `errorMessage` string
    - `fingerprint` string
    - `identifier` string
    - `issuedAt` string, date-time
    - `qrPayload` string
    - `regime` string
    - `status` string
  - `currency` string
  - `customer` PartyV1
    - `address` string
    - `countryCode` string
    - `email` string
    - `id` string, uuid
    - `name` string
    - `phone` string
    - `postCode` string
    - `province` string
    - `role` string
    - `taxId` string
    - `town` string
    - `tradeName` string
  - `id` string, uuid
  - `issueDate` string, date
  - `lines` LineV1[]
    - `baseAmount` number, double
    - `description` string
    - `quantity` number, double
    - `taxAmount` number, double
    - `taxRate` number, double
    - `total` number, double
    - `unitPrice` number, double
  - `notes` string
  - `number` string
  - `seriesCode` string
  - `taxAmount` number, double
  - `taxWithheld` number, double
  - `total` number, double

---

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