Create

post/v1/create/ubl

Request

  • Base URL: https://api.invoicexml.com
  • URL: https://api.invoicexml.com/v1/create/ubl
  • Auth: none declared

Request body

Example request

{
  "invoice": {
    "invoiceNumber": "INV-2026-00045",
    "issueDate": "2026-05-17",
    "currency": "EUR",
    "seller": {
      "name": "Acme Engineering GmbH",
      "vatIdentifier": "DE123456789",
      "legalRegistration": "HRB 12345",
      "postalAddress": {
        "line1": "Hauptstraße 12",
        "city": "Berlin",
        "postCode": "10115",
        "country": "DE"
      }
    },
    "buyer": {
      "name": "Globex SAS",
      "postalAddress": {
        "line1": "15 rue de Rivoli",
        "city": "Paris",
        "postCode": "75001",
        "country": "FR"
      }
    },
    "paymentDetails": {
      "paymentAccountIdentifier": "DE89370400440532013000"
    },
    "lines": [
      {
        "quantity": 10,
        "priceDetails": {
          "netPrice": 150
        },
        "vatInformation": {
          "rate": 19
        },
        "item": {
          "name": "Senior consulting"
        }
      }
    ]
  },
  "options": {
    "language": "EN",
    "brandColor": "#0F766E"
  }
}

Response

OK

Changes

No recorded changes to this operation across all 1 revision of this API.