{
  "openapi": "3.1.1",
  "info": {
    "title": "InvoiceXml.Api | v1",
    "version": "1.0.0"
  },
  "servers": [
    {
      "url": "http://api.invoicexml.com/"
    }
  ],
  "paths": {
    "/v1/convert/cii/to/ubl": {
      "post": {
        "tags": [
          "Convert"
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "schema": {
                "type": "object",
                "properties": {
                  "ContentType": {
                    "type": "string"
                  },
                  "ContentDisposition": {
                    "type": "string"
                  },
                  "Headers": {
                    "type": "object",
                    "additionalProperties": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  },
                  "Length": {
                    "pattern": "^-?(?:0|[1-9]\\d*)$",
                    "type": [
                      "integer",
                      "string"
                    ],
                    "format": "int64"
                  },
                  "Name": {
                    "type": "string"
                  },
                  "FileName": {
                    "type": "string"
                  }
                }
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/v1/convert/ubl/to/cii": {
      "post": {
        "tags": [
          "Convert"
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "schema": {
                "type": "object",
                "properties": {
                  "ContentType": {
                    "type": "string"
                  },
                  "ContentDisposition": {
                    "type": "string"
                  },
                  "Headers": {
                    "type": "object",
                    "additionalProperties": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  },
                  "Length": {
                    "pattern": "^-?(?:0|[1-9]\\d*)$",
                    "type": [
                      "integer",
                      "string"
                    ],
                    "format": "int64"
                  },
                  "Name": {
                    "type": "string"
                  },
                  "FileName": {
                    "type": "string"
                  }
                }
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/v1/create/ubl": {
      "post": {
        "tags": [
          "Create"
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "schema": {
                "type": "object",
                "properties": {
                  "InvoiceNumber": {
                    "maxLength": 50,
                    "minLength": 0,
                    "type": "string"
                  },
                  "IssueDate": {
                    "type": "string",
                    "format": "date-time"
                  },
                  "PaymentDueDate": {
                    "type": "string",
                    "format": "date-time"
                  },
                  "SellerName": {
                    "type": "string"
                  },
                  "SellerLegalId": {
                    "type": "string"
                  },
                  "SellerTaxId": {
                    "type": "string"
                  },
                  "SellerStreet": {
                    "type": "string"
                  },
                  "SellerPostcode": {
                    "type": "string"
                  },
                  "SellerCity": {
                    "type": "string"
                  },
                  "SellerCountry": {
                    "pattern": "^[A-Z]{2}$",
                    "type": "string"
                  },
                  "SellerContactName": {
                    "type": "string"
                  },
                  "SellerPhone": {
                    "type": "string"
                  },
                  "SellerEmail": {
                    "type": "string"
                  },
                  "SellerElectronicAddress": {
                    "type": "string"
                  },
                  "SellerElectronicAddressScheme": {
                    "type": "string"
                  },
                  "BuyerName": {
                    "type": "string"
                  },
                  "BuyerLegalId": {
                    "type": "string"
                  },
                  "BuyerReference": {
                    "type": "string"
                  },
                  "PurchaseOrder": {
                    "type": "string"
                  },
                  "BuyerTaxId": {
                    "type": "string"
                  },
                  "BuyerElectronicAddress": {
                    "type": "string"
                  },
                  "BuyerElectronicAddressScheme": {
                    "type": "string"
                  },
                  "BuyerStreet": {
                    "type": "string"
                  },
                  "BuyerPostcode": {
                    "type": "string"
                  },
                  "BuyerCity": {
                    "type": "string"
                  },
                  "BuyerCountry": {
                    "pattern": "^[A-Z]{2}$",
                    "type": "string"
                  },
                  "PaymentMeansCode": {
                    "pattern": "^[0-9]{2}$",
                    "type": "string"
                  },
                  "IBAN": {
                    "type": "string"
                  },
                  "BIC": {
                    "type": "string"
                  },
                  "LineTotalAmount": {
                    "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
                    "type": [
                      "number",
                      "string"
                    ],
                    "format": "double"
                  },
                  "TaxBasisTotal": {
                    "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
                    "type": [
                      "number",
                      "string"
                    ],
                    "format": "double"
                  },
                  "TaxTotalAmount": {
                    "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
                    "type": [
                      "number",
                      "string"
                    ],
                    "format": "double"
                  },
                  "GrandTotalAmount": {
                    "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
                    "type": [
                      "number",
                      "string"
                    ],
                    "format": "double"
                  },
                  "Currency": {
                    "pattern": "^[A-Z]{3}$",
                    "type": "string"
                  },
                  "Lines": {
                    "minItems": 1,
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/InvoiceLine"
                    }
                  },
                  "TaxBreakdown": {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/TaxSubtotal"
                    }
                  }
                }
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/v1/create/cii": {
      "post": {
        "tags": [
          "Create"
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "schema": {
                "type": "object",
                "properties": {
                  "InvoiceNumber": {
                    "maxLength": 50,
                    "minLength": 0,
                    "type": "string"
                  },
                  "IssueDate": {
                    "type": "string",
                    "format": "date-time"
                  },
                  "PaymentDueDate": {
                    "type": "string",
                    "format": "date-time"
                  },
                  "SellerName": {
                    "type": "string"
                  },
                  "SellerLegalId": {
                    "type": "string"
                  },
                  "SellerTaxId": {
                    "type": "string"
                  },
                  "SellerStreet": {
                    "type": "string"
                  },
                  "SellerPostcode": {
                    "type": "string"
                  },
                  "SellerCity": {
                    "type": "string"
                  },
                  "SellerCountry": {
                    "pattern": "^[A-Z]{2}$",
                    "type": "string"
                  },
                  "SellerContactName": {
                    "type": "string"
                  },
                  "SellerPhone": {
                    "type": "string"
                  },
                  "SellerEmail": {
                    "type": "string"
                  },
                  "SellerElectronicAddress": {
                    "type": "string"
                  },
                  "SellerElectronicAddressScheme": {
                    "type": "string"
                  },
                  "BuyerName": {
                    "type": "string"
                  },
                  "BuyerLegalId": {
                    "type": "string"
                  },
                  "BuyerReference": {
                    "type": "string"
                  },
                  "PurchaseOrder": {
                    "type": "string"
                  },
                  "BuyerTaxId": {
                    "type": "string"
                  },
                  "BuyerElectronicAddress": {
                    "type": "string"
                  },
                  "BuyerElectronicAddressScheme": {
                    "type": "string"
                  },
                  "BuyerStreet": {
                    "type": "string"
                  },
                  "BuyerPostcode": {
                    "type": "string"
                  },
                  "BuyerCity": {
                    "type": "string"
                  },
                  "BuyerCountry": {
                    "pattern": "^[A-Z]{2}$",
                    "type": "string"
                  },
                  "PaymentMeansCode": {
                    "pattern": "^[0-9]{2}$",
                    "type": "string"
                  },
                  "IBAN": {
                    "type": "string"
                  },
                  "BIC": {
                    "type": "string"
                  },
                  "LineTotalAmount": {
                    "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
                    "type": [
                      "number",
                      "string"
                    ],
                    "format": "double"
                  },
                  "TaxBasisTotal": {
                    "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
                    "type": [
                      "number",
                      "string"
                    ],
                    "format": "double"
                  },
                  "TaxTotalAmount": {
                    "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
                    "type": [
                      "number",
                      "string"
                    ],
                    "format": "double"
                  },
                  "GrandTotalAmount": {
                    "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
                    "type": [
                      "number",
                      "string"
                    ],
                    "format": "double"
                  },
                  "Currency": {
                    "pattern": "^[A-Z]{3}$",
                    "type": "string"
                  },
                  "Lines": {
                    "minItems": 1,
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/InvoiceLine"
                    }
                  },
                  "TaxBreakdown": {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/TaxSubtotal"
                    }
                  }
                }
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/v1/create/xrechnung": {
      "post": {
        "tags": [
          "Create"
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "schema": {
                "type": "object",
                "properties": {
                  "InvoiceNumber": {
                    "maxLength": 50,
                    "minLength": 0,
                    "type": "string"
                  },
                  "IssueDate": {
                    "type": "string",
                    "format": "date-time"
                  },
                  "PaymentDueDate": {
                    "type": "string",
                    "format": "date-time"
                  },
                  "SellerName": {
                    "type": "string"
                  },
                  "SellerLegalId": {
                    "type": "string"
                  },
                  "SellerTaxId": {
                    "type": "string"
                  },
                  "SellerStreet": {
                    "type": "string"
                  },
                  "SellerPostcode": {
                    "type": "string"
                  },
                  "SellerCity": {
                    "type": "string"
                  },
                  "SellerCountry": {
                    "pattern": "^[A-Z]{2}$",
                    "type": "string"
                  },
                  "SellerContactName": {
                    "type": "string"
                  },
                  "SellerPhone": {
                    "type": "string"
                  },
                  "SellerEmail": {
                    "type": "string"
                  },
                  "SellerElectronicAddress": {
                    "type": "string"
                  },
                  "SellerElectronicAddressScheme": {
                    "type": "string"
                  },
                  "BuyerName": {
                    "type": "string"
                  },
                  "BuyerLegalId": {
                    "type": "string"
                  },
                  "BuyerReference": {
                    "type": "string"
                  },
                  "PurchaseOrder": {
                    "type": "string"
                  },
                  "BuyerTaxId": {
                    "type": "string"
                  },
                  "BuyerElectronicAddress": {
                    "type": "string"
                  },
                  "BuyerElectronicAddressScheme": {
                    "type": "string"
                  },
                  "BuyerStreet": {
                    "type": "string"
                  },
                  "BuyerPostcode": {
                    "type": "string"
                  },
                  "BuyerCity": {
                    "type": "string"
                  },
                  "BuyerCountry": {
                    "pattern": "^[A-Z]{2}$",
                    "type": "string"
                  },
                  "PaymentMeansCode": {
                    "pattern": "^[0-9]{2}$",
                    "type": "string"
                  },
                  "IBAN": {
                    "type": "string"
                  },
                  "BIC": {
                    "type": "string"
                  },
                  "LineTotalAmount": {
                    "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
                    "type": [
                      "number",
                      "string"
                    ],
                    "format": "double"
                  },
                  "TaxBasisTotal": {
                    "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
                    "type": [
                      "number",
                      "string"
                    ],
                    "format": "double"
                  },
                  "TaxTotalAmount": {
                    "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
                    "type": [
                      "number",
                      "string"
                    ],
                    "format": "double"
                  },
                  "GrandTotalAmount": {
                    "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
                    "type": [
                      "number",
                      "string"
                    ],
                    "format": "double"
                  },
                  "Currency": {
                    "pattern": "^[A-Z]{3}$",
                    "type": "string"
                  },
                  "Lines": {
                    "minItems": 1,
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/InvoiceLine"
                    }
                  },
                  "TaxBreakdown": {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/TaxSubtotal"
                    }
                  }
                }
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/v1/create/{format}": {
      "post": {
        "tags": [
          "Create"
        ],
        "parameters": [
          {
            "name": "format",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "schema": {
                "type": "object",
                "properties": {
                  "InvoiceNumber": {
                    "maxLength": 50,
                    "minLength": 0,
                    "type": "string"
                  },
                  "IssueDate": {
                    "type": "string",
                    "format": "date-time"
                  },
                  "PaymentDueDate": {
                    "type": "string",
                    "format": "date-time"
                  },
                  "SellerName": {
                    "type": "string"
                  },
                  "SellerLegalId": {
                    "type": "string"
                  },
                  "SellerTaxId": {
                    "type": "string"
                  },
                  "SellerStreet": {
                    "type": "string"
                  },
                  "SellerPostcode": {
                    "type": "string"
                  },
                  "SellerCity": {
                    "type": "string"
                  },
                  "SellerCountry": {
                    "pattern": "^[A-Z]{2}$",
                    "type": "string"
                  },
                  "SellerContactName": {
                    "type": "string"
                  },
                  "SellerPhone": {
                    "type": "string"
                  },
                  "SellerEmail": {
                    "type": "string"
                  },
                  "SellerElectronicAddress": {
                    "type": "string"
                  },
                  "SellerElectronicAddressScheme": {
                    "type": "string"
                  },
                  "BuyerName": {
                    "type": "string"
                  },
                  "BuyerLegalId": {
                    "type": "string"
                  },
                  "BuyerReference": {
                    "type": "string"
                  },
                  "PurchaseOrder": {
                    "type": "string"
                  },
                  "BuyerTaxId": {
                    "type": "string"
                  },
                  "BuyerElectronicAddress": {
                    "type": "string"
                  },
                  "BuyerElectronicAddressScheme": {
                    "type": "string"
                  },
                  "BuyerStreet": {
                    "type": "string"
                  },
                  "BuyerPostcode": {
                    "type": "string"
                  },
                  "BuyerCity": {
                    "type": "string"
                  },
                  "BuyerCountry": {
                    "pattern": "^[A-Z]{2}$",
                    "type": "string"
                  },
                  "PaymentMeansCode": {
                    "pattern": "^[0-9]{2}$",
                    "type": "string"
                  },
                  "IBAN": {
                    "type": "string"
                  },
                  "BIC": {
                    "type": "string"
                  },
                  "LineTotalAmount": {
                    "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
                    "type": [
                      "number",
                      "string"
                    ],
                    "format": "double"
                  },
                  "TaxBasisTotal": {
                    "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
                    "type": [
                      "number",
                      "string"
                    ],
                    "format": "double"
                  },
                  "TaxTotalAmount": {
                    "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
                    "type": [
                      "number",
                      "string"
                    ],
                    "format": "double"
                  },
                  "GrandTotalAmount": {
                    "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
                    "type": [
                      "number",
                      "string"
                    ],
                    "format": "double"
                  },
                  "Currency": {
                    "pattern": "^[A-Z]{3}$",
                    "type": "string"
                  },
                  "Lines": {
                    "minItems": 1,
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/InvoiceLine"
                    }
                  },
                  "TaxBreakdown": {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/TaxSubtotal"
                    }
                  }
                }
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/v1/extract/xml": {
      "post": {
        "tags": [
          "Extract"
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "schema": {
                "type": "object",
                "properties": {
                  "ContentType": {
                    "type": "string"
                  },
                  "ContentDisposition": {
                    "type": "string"
                  },
                  "Headers": {
                    "type": "object",
                    "additionalProperties": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  },
                  "Length": {
                    "pattern": "^-?(?:0|[1-9]\\d*)$",
                    "type": [
                      "integer",
                      "string"
                    ],
                    "format": "int64"
                  },
                  "Name": {
                    "type": "string"
                  },
                  "FileName": {
                    "type": "string"
                  }
                }
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/v1/extract/json": {
      "post": {
        "tags": [
          "Extract"
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "schema": {
                "type": "object",
                "properties": {
                  "ContentType": {
                    "type": "string"
                  },
                  "ContentDisposition": {
                    "type": "string"
                  },
                  "Headers": {
                    "type": "object",
                    "additionalProperties": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  },
                  "Length": {
                    "pattern": "^-?(?:0|[1-9]\\d*)$",
                    "type": [
                      "integer",
                      "string"
                    ],
                    "format": "int64"
                  },
                  "Name": {
                    "type": "string"
                  },
                  "FileName": {
                    "type": "string"
                  }
                }
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/": {
      "get": {
        "tags": [
          "Home"
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/v1/render/xrechnung/to/pdf": {
      "post": {
        "tags": [
          "Render"
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "schema": {
                "type": "object",
                "properties": {
                  "ContentType": {
                    "type": "string"
                  },
                  "ContentDisposition": {
                    "type": "string"
                  },
                  "Headers": {
                    "type": "object",
                    "additionalProperties": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  },
                  "Length": {
                    "pattern": "^-?(?:0|[1-9]\\d*)$",
                    "type": [
                      "integer",
                      "string"
                    ],
                    "format": "int64"
                  },
                  "Name": {
                    "type": "string"
                  },
                  "FileName": {
                    "type": "string"
                  }
                }
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/v1/render/cii/to/pdf": {
      "post": {
        "tags": [
          "Render"
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "schema": {
                "type": "object",
                "properties": {
                  "ContentType": {
                    "type": "string"
                  },
                  "ContentDisposition": {
                    "type": "string"
                  },
                  "Headers": {
                    "type": "object",
                    "additionalProperties": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  },
                  "Length": {
                    "pattern": "^-?(?:0|[1-9]\\d*)$",
                    "type": [
                      "integer",
                      "string"
                    ],
                    "format": "int64"
                  },
                  "Name": {
                    "type": "string"
                  },
                  "FileName": {
                    "type": "string"
                  }
                }
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/v1/render/ubl/to/pdf": {
      "post": {
        "tags": [
          "Render"
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "schema": {
                "type": "object",
                "properties": {
                  "ContentType": {
                    "type": "string"
                  },
                  "ContentDisposition": {
                    "type": "string"
                  },
                  "Headers": {
                    "type": "object",
                    "additionalProperties": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  },
                  "Length": {
                    "pattern": "^-?(?:0|[1-9]\\d*)$",
                    "type": [
                      "integer",
                      "string"
                    ],
                    "format": "int64"
                  },
                  "Name": {
                    "type": "string"
                  },
                  "FileName": {
                    "type": "string"
                  }
                }
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/v1/transform/to/ubl": {
      "post": {
        "tags": [
          "Transform"
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "schema": {
                "type": "object",
                "properties": {
                  "ContentType": {
                    "type": "string"
                  },
                  "ContentDisposition": {
                    "type": "string"
                  },
                  "Headers": {
                    "type": "object",
                    "additionalProperties": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  },
                  "Length": {
                    "pattern": "^-?(?:0|[1-9]\\d*)$",
                    "type": [
                      "integer",
                      "string"
                    ],
                    "format": "int64"
                  },
                  "Name": {
                    "type": "string"
                  },
                  "FileName": {
                    "type": "string"
                  }
                }
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/v1/convert/ubl": {
      "post": {
        "tags": [
          "Transform"
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "schema": {
                "type": "object",
                "properties": {
                  "ContentType": {
                    "type": "string"
                  },
                  "ContentDisposition": {
                    "type": "string"
                  },
                  "Headers": {
                    "type": "object",
                    "additionalProperties": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  },
                  "Length": {
                    "pattern": "^-?(?:0|[1-9]\\d*)$",
                    "type": [
                      "integer",
                      "string"
                    ],
                    "format": "int64"
                  },
                  "Name": {
                    "type": "string"
                  },
                  "FileName": {
                    "type": "string"
                  }
                }
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/v1/transform/to/cii": {
      "post": {
        "tags": [
          "Transform"
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "schema": {
                "type": "object",
                "properties": {
                  "ContentType": {
                    "type": "string"
                  },
                  "ContentDisposition": {
                    "type": "string"
                  },
                  "Headers": {
                    "type": "object",
                    "additionalProperties": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  },
                  "Length": {
                    "pattern": "^-?(?:0|[1-9]\\d*)$",
                    "type": [
                      "integer",
                      "string"
                    ],
                    "format": "int64"
                  },
                  "Name": {
                    "type": "string"
                  },
                  "FileName": {
                    "type": "string"
                  }
                }
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/v1/convert/cii": {
      "post": {
        "tags": [
          "Transform"
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "schema": {
                "type": "object",
                "properties": {
                  "ContentType": {
                    "type": "string"
                  },
                  "ContentDisposition": {
                    "type": "string"
                  },
                  "Headers": {
                    "type": "object",
                    "additionalProperties": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  },
                  "Length": {
                    "pattern": "^-?(?:0|[1-9]\\d*)$",
                    "type": [
                      "integer",
                      "string"
                    ],
                    "format": "int64"
                  },
                  "Name": {
                    "type": "string"
                  },
                  "FileName": {
                    "type": "string"
                  }
                }
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/v1/transform/to/xrechnung": {
      "post": {
        "tags": [
          "Transform"
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "type": "object",
                    "properties": {
                      "ContentType": {
                        "type": "string"
                      },
                      "ContentDisposition": {
                        "type": "string"
                      },
                      "Headers": {
                        "type": "object",
                        "additionalProperties": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        }
                      },
                      "Length": {
                        "pattern": "^-?(?:0|[1-9]\\d*)$",
                        "type": [
                          "integer",
                          "string"
                        ],
                        "format": "int64"
                      },
                      "Name": {
                        "type": "string"
                      },
                      "FileName": {
                        "type": "string"
                      }
                    }
                  },
                  {
                    "type": "object",
                    "properties": {
                      "buyerReference": {
                        "type": "string"
                      }
                    }
                  }
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/v1/convert/xrechnung": {
      "post": {
        "tags": [
          "Transform"
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "type": "object",
                    "properties": {
                      "ContentType": {
                        "type": "string"
                      },
                      "ContentDisposition": {
                        "type": "string"
                      },
                      "Headers": {
                        "type": "object",
                        "additionalProperties": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        }
                      },
                      "Length": {
                        "pattern": "^-?(?:0|[1-9]\\d*)$",
                        "type": [
                          "integer",
                          "string"
                        ],
                        "format": "int64"
                      },
                      "Name": {
                        "type": "string"
                      },
                      "FileName": {
                        "type": "string"
                      }
                    }
                  },
                  {
                    "type": "object",
                    "properties": {
                      "buyerReference": {
                        "type": "string"
                      }
                    }
                  }
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/v1/transform/to/zugferd": {
      "post": {
        "tags": [
          "Transform"
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "schema": {
                "type": "object",
                "properties": {
                  "ContentType": {
                    "type": "string"
                  },
                  "ContentDisposition": {
                    "type": "string"
                  },
                  "Headers": {
                    "type": "object",
                    "additionalProperties": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  },
                  "Length": {
                    "pattern": "^-?(?:0|[1-9]\\d*)$",
                    "type": [
                      "integer",
                      "string"
                    ],
                    "format": "int64"
                  },
                  "Name": {
                    "type": "string"
                  },
                  "FileName": {
                    "type": "string"
                  }
                }
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/v1/convert/zugferd": {
      "post": {
        "tags": [
          "Transform"
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "schema": {
                "type": "object",
                "properties": {
                  "ContentType": {
                    "type": "string"
                  },
                  "ContentDisposition": {
                    "type": "string"
                  },
                  "Headers": {
                    "type": "object",
                    "additionalProperties": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  },
                  "Length": {
                    "pattern": "^-?(?:0|[1-9]\\d*)$",
                    "type": [
                      "integer",
                      "string"
                    ],
                    "format": "int64"
                  },
                  "Name": {
                    "type": "string"
                  },
                  "FileName": {
                    "type": "string"
                  }
                }
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/v1/transform/to/facturx": {
      "post": {
        "tags": [
          "Transform"
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "schema": {
                "type": "object",
                "properties": {
                  "ContentType": {
                    "type": "string"
                  },
                  "ContentDisposition": {
                    "type": "string"
                  },
                  "Headers": {
                    "type": "object",
                    "additionalProperties": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  },
                  "Length": {
                    "pattern": "^-?(?:0|[1-9]\\d*)$",
                    "type": [
                      "integer",
                      "string"
                    ],
                    "format": "int64"
                  },
                  "Name": {
                    "type": "string"
                  },
                  "FileName": {
                    "type": "string"
                  }
                }
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/v1/convert/facturx": {
      "post": {
        "tags": [
          "Transform"
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "schema": {
                "type": "object",
                "properties": {
                  "ContentType": {
                    "type": "string"
                  },
                  "ContentDisposition": {
                    "type": "string"
                  },
                  "Headers": {
                    "type": "object",
                    "additionalProperties": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  },
                  "Length": {
                    "pattern": "^-?(?:0|[1-9]\\d*)$",
                    "type": [
                      "integer",
                      "string"
                    ],
                    "format": "int64"
                  },
                  "Name": {
                    "type": "string"
                  },
                  "FileName": {
                    "type": "string"
                  }
                }
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/v1/transform/{format}": {
      "post": {
        "tags": [
          "Transform"
        ],
        "parameters": [
          {
            "name": "format",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "schema": {
                "type": "object",
                "properties": {
                  "ContentType": {
                    "type": "string"
                  },
                  "ContentDisposition": {
                    "type": "string"
                  },
                  "Headers": {
                    "type": "object",
                    "additionalProperties": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  },
                  "Length": {
                    "pattern": "^-?(?:0|[1-9]\\d*)$",
                    "type": [
                      "integer",
                      "string"
                    ],
                    "format": "int64"
                  },
                  "Name": {
                    "type": "string"
                  },
                  "FileName": {
                    "type": "string"
                  }
                }
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/v1/validate/ubl": {
      "post": {
        "tags": [
          "Validate"
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "schema": {
                "type": "object",
                "properties": {
                  "ContentType": {
                    "type": "string"
                  },
                  "ContentDisposition": {
                    "type": "string"
                  },
                  "Headers": {
                    "type": "object",
                    "additionalProperties": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  },
                  "Length": {
                    "pattern": "^-?(?:0|[1-9]\\d*)$",
                    "type": [
                      "integer",
                      "string"
                    ],
                    "format": "int64"
                  },
                  "Name": {
                    "type": "string"
                  },
                  "FileName": {
                    "type": "string"
                  }
                }
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/v1/validate/cii": {
      "post": {
        "tags": [
          "Validate"
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "schema": {
                "type": "object",
                "properties": {
                  "ContentType": {
                    "type": "string"
                  },
                  "ContentDisposition": {
                    "type": "string"
                  },
                  "Headers": {
                    "type": "object",
                    "additionalProperties": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  },
                  "Length": {
                    "pattern": "^-?(?:0|[1-9]\\d*)$",
                    "type": [
                      "integer",
                      "string"
                    ],
                    "format": "int64"
                  },
                  "Name": {
                    "type": "string"
                  },
                  "FileName": {
                    "type": "string"
                  }
                }
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/v1/validate/xrechnung": {
      "post": {
        "tags": [
          "Validate"
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "schema": {
                "type": "object",
                "properties": {
                  "ContentType": {
                    "type": "string"
                  },
                  "ContentDisposition": {
                    "type": "string"
                  },
                  "Headers": {
                    "type": "object",
                    "additionalProperties": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  },
                  "Length": {
                    "pattern": "^-?(?:0|[1-9]\\d*)$",
                    "type": [
                      "integer",
                      "string"
                    ],
                    "format": "int64"
                  },
                  "Name": {
                    "type": "string"
                  },
                  "FileName": {
                    "type": "string"
                  }
                }
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/v1/validate/{format}": {
      "post": {
        "tags": [
          "Validate"
        ],
        "parameters": [
          {
            "name": "format",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "schema": {
                "type": "object",
                "properties": {
                  "ContentType": {
                    "type": "string"
                  },
                  "ContentDisposition": {
                    "type": "string"
                  },
                  "Headers": {
                    "type": "object",
                    "additionalProperties": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  },
                  "Length": {
                    "pattern": "^-?(?:0|[1-9]\\d*)$",
                    "type": [
                      "integer",
                      "string"
                    ],
                    "format": "int64"
                  },
                  "Name": {
                    "type": "string"
                  },
                  "FileName": {
                    "type": "string"
                  }
                }
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "InvoiceLine": {
        "required": [
          "description",
          "unitPrice",
          "unitCode",
          "taxPercentage",
          "taxCategoryCode"
        ],
        "type": "object",
        "properties": {
          "description": {
            "type": "string"
          },
          "quantity": {
            "minimum": 0.0001,
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "number",
              "string"
            ],
            "format": "double"
          },
          "unitPrice": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "number",
              "string"
            ],
            "format": "double"
          },
          "lineTotal": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "format": "double"
          },
          "unitCode": {
            "type": "string"
          },
          "taxPercentage": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "number",
              "string"
            ],
            "format": "double"
          },
          "taxCategoryCode": {
            "type": "string"
          }
        }
      },
      "TaxSubtotal": {
        "type": "object",
        "properties": {
          "basisAmount": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "number",
              "string"
            ],
            "format": "double"
          },
          "taxAmount": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "number",
              "string"
            ],
            "format": "double"
          },
          "taxPercentage": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "number",
              "string"
            ],
            "format": "double"
          },
          "taxCategoryCode": {
            "type": "string"
          },
          "exemptionReasonCode": {
            "type": [
              "null",
              "string"
            ]
          },
          "exemptionReason": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      }
    }
  },
  "tags": [
    {
      "name": "Convert"
    },
    {
      "name": "Create"
    },
    {
      "name": "Extract"
    },
    {
      "name": "Home"
    },
    {
      "name": "Render"
    },
    {
      "name": "Transform"
    },
    {
      "name": "Validate"
    }
  ]
}