{
  "openapi": "3.0.1",
  "info": {
    "title": "KSeF FA(3) Invoice Generator",
    "description": "KSeF invoice generator for Poland FA(3), also called FA3. Convert structured JSON into invoice XML, then run the pinned official schema and deterministic offline technical checks. Return generated files and findings; KSeF submission is separate.",
    "version": "1.0",
    "x-build-id": "ZyTV4MhGrCjXIH0dU"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/kamerozkan~ksef-fa-invoice-generator/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-kamerozkan-ksef-fa-invoice-generator",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/kamerozkan~ksef-fa-invoice-generator/runs": {
      "post": {
        "operationId": "runs-sync-kamerozkan-ksef-fa-invoice-generator",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/kamerozkan~ksef-fa-invoice-generator/run-sync": {
      "post": {
        "operationId": "run-sync-kamerozkan-ksef-fa-invoice-generator",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "properties": {
          "invoice": {
            "title": "Invoice JSON",
            "required": [
              "invoice_number",
              "issue_date",
              "seller",
              "buyer",
              "lines"
            ],
            "type": "object",
            "description": "One invoice for KSeF FA(3) v1-0E.",
            "properties": {
              "invoice_number": {
                "maxLength": 60,
                "minLength": 1,
                "title": "Invoice Number",
                "type": "string",
                "description": "Invoice Number used to generate and validate the invoice."
              },
              "document_kind": {
                "default": "invoice",
                "enum": [
                  "invoice",
                  "credit_note"
                ],
                "title": "Document Kind",
                "type": "string",
                "description": "Document Kind used to generate and validate the invoice."
              },
              "issue_date": {
                "title": "Issue Date",
                "type": "string",
                "description": "Issue Date used to generate and validate the invoice.",
                "editor": "datepicker",
                "dateType": "absolute"
              },
              "due_date": {
                "type": "string",
                "title": "Due Date",
                "nullable": true,
                "description": "Due Date used to generate and validate the invoice.",
                "editor": "datepicker",
                "dateType": "absolute"
              },
              "tax_point_date": {
                "type": "string",
                "title": "Tax Point Date",
                "nullable": true,
                "description": "Tax Point Date used to generate and validate the invoice.",
                "editor": "datepicker",
                "dateType": "absolute"
              },
              "tax_point_date_code": {
                "maxLength": 35,
                "minLength": 1,
                "type": "string",
                "title": "Tax Point Date Code",
                "nullable": true,
                "description": "Tax Point Date Code used to generate and validate the invoice."
              },
              "delivery_date": {
                "type": "string",
                "title": "Delivery Date",
                "nullable": true,
                "description": "Delivery Date used to generate and validate the invoice.",
                "editor": "datepicker",
                "dateType": "absolute"
              },
              "invoice_period": {
                "additionalProperties": false,
                "properties": {
                  "start_date": {
                    "type": "string",
                    "title": "Start Date",
                    "nullable": true,
                    "description": "Start Date used to generate and validate the invoice.",
                    "editor": "datepicker",
                    "dateType": "absolute"
                  },
                  "end_date": {
                    "type": "string",
                    "title": "End Date",
                    "nullable": true,
                    "description": "End Date used to generate and validate the invoice.",
                    "editor": "datepicker",
                    "dateType": "absolute"
                  },
                  "description_code": {
                    "maxLength": 35,
                    "minLength": 1,
                    "type": "string",
                    "title": "Description Code",
                    "nullable": true,
                    "description": "Description Code used to generate and validate the invoice."
                  }
                },
                "title": "Period",
                "type": "object",
                "nullable": true,
                "description": "Period used to generate and validate the invoice."
              },
              "delivery_period": {
                "additionalProperties": false,
                "properties": {
                  "start_date": {
                    "type": "string",
                    "title": "Start Date",
                    "nullable": true,
                    "description": "Start Date used to generate and validate the invoice.",
                    "editor": "datepicker",
                    "dateType": "absolute"
                  },
                  "end_date": {
                    "type": "string",
                    "title": "End Date",
                    "nullable": true,
                    "description": "End Date used to generate and validate the invoice.",
                    "editor": "datepicker",
                    "dateType": "absolute"
                  },
                  "description_code": {
                    "maxLength": 35,
                    "minLength": 1,
                    "type": "string",
                    "title": "Description Code",
                    "nullable": true,
                    "description": "Description Code used to generate and validate the invoice."
                  }
                },
                "title": "Period",
                "type": "object",
                "nullable": true,
                "description": "Period used to generate and validate the invoice."
              },
              "currency": {
                "default": "EUR",
                "maxLength": 3,
                "minLength": 3,
                "title": "Currency",
                "type": "string",
                "description": "Currency used to generate and validate the invoice."
              },
              "tax_currency": {
                "maxLength": 3,
                "minLength": 3,
                "type": "string",
                "title": "Tax Currency",
                "nullable": true,
                "description": "Tax Currency used to generate and validate the invoice."
              },
              "tax_currency_tax_amount": {
                "pattern": "^-?(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
                "type": "string",
                "title": "Tax Currency Tax Amount",
                "nullable": true,
                "description": "Tax Currency Tax Amount used to generate and validate the invoice."
              },
              "invoice_type_code": {
                "default": "380",
                "maxLength": 3,
                "minLength": 2,
                "title": "Invoice Type Code",
                "type": "string",
                "description": "Invoice Type Code used to generate and validate the invoice."
              },
              "buyer_reference": {
                "maxLength": 100,
                "type": "string",
                "title": "Buyer Reference",
                "nullable": true,
                "description": "Buyer Reference used to generate and validate the invoice."
              },
              "purchase_order_reference": {
                "maxLength": 100,
                "type": "string",
                "title": "Purchase Order Reference",
                "nullable": true,
                "description": "Purchase Order Reference used to generate and validate the invoice."
              },
              "sales_order_reference": {
                "maxLength": 100,
                "type": "string",
                "title": "Sales Order Reference",
                "nullable": true,
                "description": "Sales Order Reference used to generate and validate the invoice."
              },
              "contract_reference": {
                "maxLength": 100,
                "type": "string",
                "title": "Contract Reference",
                "nullable": true,
                "description": "Contract Reference used to generate and validate the invoice."
              },
              "project_reference": {
                "maxLength": 100,
                "type": "string",
                "title": "Project Reference",
                "nullable": true,
                "description": "Project Reference used to generate and validate the invoice."
              },
              "project_name": {
                "maxLength": 200,
                "type": "string",
                "title": "Project Name",
                "nullable": true,
                "description": "Project Name used to generate and validate the invoice."
              },
              "tender_reference": {
                "maxLength": 100,
                "type": "string",
                "title": "Tender Reference",
                "nullable": true,
                "description": "Tender Reference used to generate and validate the invoice."
              },
              "receiving_advice_reference": {
                "maxLength": 100,
                "type": "string",
                "title": "Receiving Advice Reference",
                "nullable": true,
                "description": "Receiving Advice Reference used to generate and validate the invoice."
              },
              "despatch_advice_reference": {
                "maxLength": 100,
                "type": "string",
                "title": "Despatch Advice Reference",
                "nullable": true,
                "description": "Despatch Advice Reference used to generate and validate the invoice."
              },
              "accounting_cost": {
                "maxLength": 200,
                "type": "string",
                "title": "Accounting Cost",
                "nullable": true,
                "description": "Accounting Cost used to generate and validate the invoice."
              },
              "seller": {
                "additionalProperties": false,
                "properties": {
                  "name": {
                    "maxLength": 200,
                    "minLength": 1,
                    "title": "Name",
                    "type": "string",
                    "description": "Name used to generate and validate the invoice."
                  },
                  "address": {
                    "additionalProperties": false,
                    "properties": {
                      "line1": {
                        "maxLength": 100,
                        "minLength": 1,
                        "title": "Line1",
                        "type": "string",
                        "description": "Line1 used to generate and validate the invoice."
                      },
                      "line2": {
                        "maxLength": 100,
                        "type": "string",
                        "title": "Line2",
                        "nullable": true,
                        "description": "Line2 used to generate and validate the invoice."
                      },
                      "line3": {
                        "maxLength": 100,
                        "type": "string",
                        "title": "Line3",
                        "nullable": true,
                        "description": "Line3 used to generate and validate the invoice."
                      },
                      "city": {
                        "maxLength": 60,
                        "minLength": 1,
                        "title": "City",
                        "type": "string",
                        "description": "City used to generate and validate the invoice."
                      },
                      "postal_code": {
                        "maxLength": 20,
                        "minLength": 1,
                        "title": "Postal Code",
                        "type": "string",
                        "description": "Postal Code used to generate and validate the invoice."
                      },
                      "country_code": {
                        "maxLength": 2,
                        "minLength": 2,
                        "title": "Country Code",
                        "type": "string",
                        "description": "Country Code used to generate and validate the invoice."
                      },
                      "region": {
                        "maxLength": 60,
                        "type": "string",
                        "title": "Region",
                        "nullable": true,
                        "description": "Region used to generate and validate the invoice."
                      }
                    },
                    "required": [
                      "line1",
                      "city",
                      "postal_code",
                      "country_code"
                    ],
                    "title": "Address",
                    "type": "object",
                    "description": "Address used to generate and validate the invoice."
                  },
                  "trading_name": {
                    "maxLength": 200,
                    "minLength": 1,
                    "type": "string",
                    "title": "Trading Name",
                    "nullable": true,
                    "description": "Trading Name used to generate and validate the invoice."
                  },
                  "vat_id": {
                    "maxLength": 30,
                    "minLength": 2,
                    "type": "string",
                    "title": "Vat Id",
                    "nullable": true,
                    "description": "Vat Id used to generate and validate the invoice."
                  },
                  "tax_id": {
                    "maxLength": 40,
                    "minLength": 2,
                    "type": "string",
                    "title": "Tax Id",
                    "nullable": true,
                    "description": "Tax Id used to generate and validate the invoice."
                  },
                  "registration_id": {
                    "maxLength": 60,
                    "minLength": 1,
                    "type": "string",
                    "title": "Registration Id",
                    "nullable": true,
                    "description": "Registration Id used to generate and validate the invoice."
                  },
                  "registration_scheme": {
                    "maxLength": 35,
                    "minLength": 1,
                    "type": "string",
                    "title": "Registration Scheme",
                    "nullable": true,
                    "description": "Registration Scheme used to generate and validate the invoice."
                  },
                  "additional_identifiers": {
                    "items": {
                      "additionalProperties": false,
                      "properties": {
                        "value": {
                          "maxLength": 200,
                          "minLength": 1,
                          "title": "Value",
                          "type": "string",
                          "description": "Value used to generate and validate the invoice."
                        },
                        "scheme_id": {
                          "maxLength": 35,
                          "minLength": 1,
                          "type": "string",
                          "title": "Scheme Id",
                          "nullable": true,
                          "description": "Scheme Id used to generate and validate the invoice."
                        }
                      },
                      "required": [
                        "value"
                      ],
                      "type": "object"
                    },
                    "maxItems": 20,
                    "title": "Additional Identifiers",
                    "type": "array",
                    "description": "Additional Identifiers used to generate and validate the invoice."
                  },
                  "endpoint_id": {
                    "maxLength": 200,
                    "minLength": 1,
                    "type": "string",
                    "title": "Endpoint Id",
                    "nullable": true,
                    "description": "Endpoint Id used to generate and validate the invoice."
                  },
                  "endpoint_scheme": {
                    "maxLength": 35,
                    "minLength": 1,
                    "type": "string",
                    "title": "Endpoint Scheme",
                    "nullable": true,
                    "description": "Endpoint Scheme used to generate and validate the invoice."
                  },
                  "legal_information": {
                    "maxLength": 500,
                    "minLength": 1,
                    "type": "string",
                    "title": "Legal Information",
                    "nullable": true,
                    "description": "Legal Information used to generate and validate the invoice."
                  },
                  "contact_name": {
                    "maxLength": 100,
                    "minLength": 1,
                    "type": "string",
                    "title": "Contact Name",
                    "nullable": true,
                    "description": "Contact Name used to generate and validate the invoice."
                  },
                  "contact_department": {
                    "maxLength": 100,
                    "minLength": 1,
                    "type": "string",
                    "title": "Contact Department",
                    "nullable": true,
                    "description": "Contact Department used to generate and validate the invoice."
                  },
                  "phone": {
                    "maxLength": 50,
                    "minLength": 3,
                    "type": "string",
                    "title": "Phone",
                    "nullable": true,
                    "description": "Phone used to generate and validate the invoice."
                  },
                  "email": {
                    "maxLength": 254,
                    "minLength": 3,
                    "type": "string",
                    "title": "Email",
                    "nullable": true,
                    "description": "Email used to generate and validate the invoice."
                  }
                },
                "required": [
                  "name",
                  "address"
                ],
                "title": "Party",
                "type": "object",
                "description": "Party used to generate and validate the invoice."
              },
              "buyer": {
                "additionalProperties": false,
                "properties": {
                  "name": {
                    "maxLength": 200,
                    "minLength": 1,
                    "title": "Name",
                    "type": "string",
                    "description": "Name used to generate and validate the invoice."
                  },
                  "address": {
                    "additionalProperties": false,
                    "properties": {
                      "line1": {
                        "maxLength": 100,
                        "minLength": 1,
                        "title": "Line1",
                        "type": "string",
                        "description": "Line1 used to generate and validate the invoice."
                      },
                      "line2": {
                        "maxLength": 100,
                        "type": "string",
                        "title": "Line2",
                        "nullable": true,
                        "description": "Line2 used to generate and validate the invoice."
                      },
                      "line3": {
                        "maxLength": 100,
                        "type": "string",
                        "title": "Line3",
                        "nullable": true,
                        "description": "Line3 used to generate and validate the invoice."
                      },
                      "city": {
                        "maxLength": 60,
                        "minLength": 1,
                        "title": "City",
                        "type": "string",
                        "description": "City used to generate and validate the invoice."
                      },
                      "postal_code": {
                        "maxLength": 20,
                        "minLength": 1,
                        "title": "Postal Code",
                        "type": "string",
                        "description": "Postal Code used to generate and validate the invoice."
                      },
                      "country_code": {
                        "maxLength": 2,
                        "minLength": 2,
                        "title": "Country Code",
                        "type": "string",
                        "description": "Country Code used to generate and validate the invoice."
                      },
                      "region": {
                        "maxLength": 60,
                        "type": "string",
                        "title": "Region",
                        "nullable": true,
                        "description": "Region used to generate and validate the invoice."
                      }
                    },
                    "required": [
                      "line1",
                      "city",
                      "postal_code",
                      "country_code"
                    ],
                    "title": "Address",
                    "type": "object",
                    "description": "Address used to generate and validate the invoice."
                  },
                  "trading_name": {
                    "maxLength": 200,
                    "minLength": 1,
                    "type": "string",
                    "title": "Trading Name",
                    "nullable": true,
                    "description": "Trading Name used to generate and validate the invoice."
                  },
                  "vat_id": {
                    "maxLength": 30,
                    "minLength": 2,
                    "type": "string",
                    "title": "Vat Id",
                    "nullable": true,
                    "description": "Vat Id used to generate and validate the invoice."
                  },
                  "tax_id": {
                    "maxLength": 40,
                    "minLength": 2,
                    "type": "string",
                    "title": "Tax Id",
                    "nullable": true,
                    "description": "Tax Id used to generate and validate the invoice."
                  },
                  "registration_id": {
                    "maxLength": 60,
                    "minLength": 1,
                    "type": "string",
                    "title": "Registration Id",
                    "nullable": true,
                    "description": "Registration Id used to generate and validate the invoice."
                  },
                  "registration_scheme": {
                    "maxLength": 35,
                    "minLength": 1,
                    "type": "string",
                    "title": "Registration Scheme",
                    "nullable": true,
                    "description": "Registration Scheme used to generate and validate the invoice."
                  },
                  "additional_identifiers": {
                    "items": {
                      "additionalProperties": false,
                      "properties": {
                        "value": {
                          "maxLength": 200,
                          "minLength": 1,
                          "title": "Value",
                          "type": "string",
                          "description": "Value used to generate and validate the invoice."
                        },
                        "scheme_id": {
                          "maxLength": 35,
                          "minLength": 1,
                          "type": "string",
                          "title": "Scheme Id",
                          "nullable": true,
                          "description": "Scheme Id used to generate and validate the invoice."
                        }
                      },
                      "required": [
                        "value"
                      ],
                      "type": "object"
                    },
                    "maxItems": 20,
                    "title": "Additional Identifiers",
                    "type": "array",
                    "description": "Additional Identifiers used to generate and validate the invoice."
                  },
                  "endpoint_id": {
                    "maxLength": 200,
                    "minLength": 1,
                    "type": "string",
                    "title": "Endpoint Id",
                    "nullable": true,
                    "description": "Endpoint Id used to generate and validate the invoice."
                  },
                  "endpoint_scheme": {
                    "maxLength": 35,
                    "minLength": 1,
                    "type": "string",
                    "title": "Endpoint Scheme",
                    "nullable": true,
                    "description": "Endpoint Scheme used to generate and validate the invoice."
                  },
                  "legal_information": {
                    "maxLength": 500,
                    "minLength": 1,
                    "type": "string",
                    "title": "Legal Information",
                    "nullable": true,
                    "description": "Legal Information used to generate and validate the invoice."
                  },
                  "contact_name": {
                    "maxLength": 100,
                    "minLength": 1,
                    "type": "string",
                    "title": "Contact Name",
                    "nullable": true,
                    "description": "Contact Name used to generate and validate the invoice."
                  },
                  "contact_department": {
                    "maxLength": 100,
                    "minLength": 1,
                    "type": "string",
                    "title": "Contact Department",
                    "nullable": true,
                    "description": "Contact Department used to generate and validate the invoice."
                  },
                  "phone": {
                    "maxLength": 50,
                    "minLength": 3,
                    "type": "string",
                    "title": "Phone",
                    "nullable": true,
                    "description": "Phone used to generate and validate the invoice."
                  },
                  "email": {
                    "maxLength": 254,
                    "minLength": 3,
                    "type": "string",
                    "title": "Email",
                    "nullable": true,
                    "description": "Email used to generate and validate the invoice."
                  }
                },
                "required": [
                  "name",
                  "address"
                ],
                "title": "Party",
                "type": "object",
                "description": "Party used to generate and validate the invoice."
              },
              "payee": {
                "additionalProperties": false,
                "properties": {
                  "name": {
                    "maxLength": 200,
                    "minLength": 1,
                    "title": "Name",
                    "type": "string",
                    "description": "Name used to generate and validate the invoice."
                  },
                  "address": {
                    "additionalProperties": false,
                    "properties": {
                      "line1": {
                        "maxLength": 100,
                        "minLength": 1,
                        "title": "Line1",
                        "type": "string",
                        "description": "Line1 used to generate and validate the invoice."
                      },
                      "line2": {
                        "maxLength": 100,
                        "type": "string",
                        "title": "Line2",
                        "nullable": true,
                        "description": "Line2 used to generate and validate the invoice."
                      },
                      "line3": {
                        "maxLength": 100,
                        "type": "string",
                        "title": "Line3",
                        "nullable": true,
                        "description": "Line3 used to generate and validate the invoice."
                      },
                      "city": {
                        "maxLength": 60,
                        "minLength": 1,
                        "title": "City",
                        "type": "string",
                        "description": "City used to generate and validate the invoice."
                      },
                      "postal_code": {
                        "maxLength": 20,
                        "minLength": 1,
                        "title": "Postal Code",
                        "type": "string",
                        "description": "Postal Code used to generate and validate the invoice."
                      },
                      "country_code": {
                        "maxLength": 2,
                        "minLength": 2,
                        "title": "Country Code",
                        "type": "string",
                        "description": "Country Code used to generate and validate the invoice."
                      },
                      "region": {
                        "maxLength": 60,
                        "type": "string",
                        "title": "Region",
                        "nullable": true,
                        "description": "Region used to generate and validate the invoice."
                      }
                    },
                    "required": [
                      "line1",
                      "city",
                      "postal_code",
                      "country_code"
                    ],
                    "title": "Address",
                    "type": "object",
                    "description": "Address used to generate and validate the invoice."
                  },
                  "trading_name": {
                    "maxLength": 200,
                    "minLength": 1,
                    "type": "string",
                    "title": "Trading Name",
                    "nullable": true,
                    "description": "Trading Name used to generate and validate the invoice."
                  },
                  "vat_id": {
                    "maxLength": 30,
                    "minLength": 2,
                    "type": "string",
                    "title": "Vat Id",
                    "nullable": true,
                    "description": "Vat Id used to generate and validate the invoice."
                  },
                  "tax_id": {
                    "maxLength": 40,
                    "minLength": 2,
                    "type": "string",
                    "title": "Tax Id",
                    "nullable": true,
                    "description": "Tax Id used to generate and validate the invoice."
                  },
                  "registration_id": {
                    "maxLength": 60,
                    "minLength": 1,
                    "type": "string",
                    "title": "Registration Id",
                    "nullable": true,
                    "description": "Registration Id used to generate and validate the invoice."
                  },
                  "registration_scheme": {
                    "maxLength": 35,
                    "minLength": 1,
                    "type": "string",
                    "title": "Registration Scheme",
                    "nullable": true,
                    "description": "Registration Scheme used to generate and validate the invoice."
                  },
                  "additional_identifiers": {
                    "items": {
                      "additionalProperties": false,
                      "properties": {
                        "value": {
                          "maxLength": 200,
                          "minLength": 1,
                          "title": "Value",
                          "type": "string",
                          "description": "Value used to generate and validate the invoice."
                        },
                        "scheme_id": {
                          "maxLength": 35,
                          "minLength": 1,
                          "type": "string",
                          "title": "Scheme Id",
                          "nullable": true,
                          "description": "Scheme Id used to generate and validate the invoice."
                        }
                      },
                      "required": [
                        "value"
                      ],
                      "type": "object"
                    },
                    "maxItems": 20,
                    "title": "Additional Identifiers",
                    "type": "array",
                    "description": "Additional Identifiers used to generate and validate the invoice."
                  },
                  "endpoint_id": {
                    "maxLength": 200,
                    "minLength": 1,
                    "type": "string",
                    "title": "Endpoint Id",
                    "nullable": true,
                    "description": "Endpoint Id used to generate and validate the invoice."
                  },
                  "endpoint_scheme": {
                    "maxLength": 35,
                    "minLength": 1,
                    "type": "string",
                    "title": "Endpoint Scheme",
                    "nullable": true,
                    "description": "Endpoint Scheme used to generate and validate the invoice."
                  },
                  "legal_information": {
                    "maxLength": 500,
                    "minLength": 1,
                    "type": "string",
                    "title": "Legal Information",
                    "nullable": true,
                    "description": "Legal Information used to generate and validate the invoice."
                  },
                  "contact_name": {
                    "maxLength": 100,
                    "minLength": 1,
                    "type": "string",
                    "title": "Contact Name",
                    "nullable": true,
                    "description": "Contact Name used to generate and validate the invoice."
                  },
                  "contact_department": {
                    "maxLength": 100,
                    "minLength": 1,
                    "type": "string",
                    "title": "Contact Department",
                    "nullable": true,
                    "description": "Contact Department used to generate and validate the invoice."
                  },
                  "phone": {
                    "maxLength": 50,
                    "minLength": 3,
                    "type": "string",
                    "title": "Phone",
                    "nullable": true,
                    "description": "Phone used to generate and validate the invoice."
                  },
                  "email": {
                    "maxLength": 254,
                    "minLength": 3,
                    "type": "string",
                    "title": "Email",
                    "nullable": true,
                    "description": "Email used to generate and validate the invoice."
                  }
                },
                "required": [
                  "name",
                  "address"
                ],
                "title": "Party",
                "type": "object",
                "nullable": true,
                "description": "Party used to generate and validate the invoice."
              },
              "seller_tax_representative": {
                "additionalProperties": false,
                "properties": {
                  "name": {
                    "maxLength": 200,
                    "minLength": 1,
                    "title": "Name",
                    "type": "string",
                    "description": "Name used to generate and validate the invoice."
                  },
                  "address": {
                    "additionalProperties": false,
                    "properties": {
                      "line1": {
                        "maxLength": 100,
                        "minLength": 1,
                        "title": "Line1",
                        "type": "string",
                        "description": "Line1 used to generate and validate the invoice."
                      },
                      "line2": {
                        "maxLength": 100,
                        "type": "string",
                        "title": "Line2",
                        "nullable": true,
                        "description": "Line2 used to generate and validate the invoice."
                      },
                      "line3": {
                        "maxLength": 100,
                        "type": "string",
                        "title": "Line3",
                        "nullable": true,
                        "description": "Line3 used to generate and validate the invoice."
                      },
                      "city": {
                        "maxLength": 60,
                        "minLength": 1,
                        "title": "City",
                        "type": "string",
                        "description": "City used to generate and validate the invoice."
                      },
                      "postal_code": {
                        "maxLength": 20,
                        "minLength": 1,
                        "title": "Postal Code",
                        "type": "string",
                        "description": "Postal Code used to generate and validate the invoice."
                      },
                      "country_code": {
                        "maxLength": 2,
                        "minLength": 2,
                        "title": "Country Code",
                        "type": "string",
                        "description": "Country Code used to generate and validate the invoice."
                      },
                      "region": {
                        "maxLength": 60,
                        "type": "string",
                        "title": "Region",
                        "nullable": true,
                        "description": "Region used to generate and validate the invoice."
                      }
                    },
                    "required": [
                      "line1",
                      "city",
                      "postal_code",
                      "country_code"
                    ],
                    "title": "Address",
                    "type": "object",
                    "description": "Address used to generate and validate the invoice."
                  },
                  "trading_name": {
                    "maxLength": 200,
                    "minLength": 1,
                    "type": "string",
                    "title": "Trading Name",
                    "nullable": true,
                    "description": "Trading Name used to generate and validate the invoice."
                  },
                  "vat_id": {
                    "maxLength": 30,
                    "minLength": 2,
                    "type": "string",
                    "title": "Vat Id",
                    "nullable": true,
                    "description": "Vat Id used to generate and validate the invoice."
                  },
                  "tax_id": {
                    "maxLength": 40,
                    "minLength": 2,
                    "type": "string",
                    "title": "Tax Id",
                    "nullable": true,
                    "description": "Tax Id used to generate and validate the invoice."
                  },
                  "registration_id": {
                    "maxLength": 60,
                    "minLength": 1,
                    "type": "string",
                    "title": "Registration Id",
                    "nullable": true,
                    "description": "Registration Id used to generate and validate the invoice."
                  },
                  "registration_scheme": {
                    "maxLength": 35,
                    "minLength": 1,
                    "type": "string",
                    "title": "Registration Scheme",
                    "nullable": true,
                    "description": "Registration Scheme used to generate and validate the invoice."
                  },
                  "additional_identifiers": {
                    "items": {
                      "additionalProperties": false,
                      "properties": {
                        "value": {
                          "maxLength": 200,
                          "minLength": 1,
                          "title": "Value",
                          "type": "string",
                          "description": "Value used to generate and validate the invoice."
                        },
                        "scheme_id": {
                          "maxLength": 35,
                          "minLength": 1,
                          "type": "string",
                          "title": "Scheme Id",
                          "nullable": true,
                          "description": "Scheme Id used to generate and validate the invoice."
                        }
                      },
                      "required": [
                        "value"
                      ],
                      "type": "object"
                    },
                    "maxItems": 20,
                    "title": "Additional Identifiers",
                    "type": "array",
                    "description": "Additional Identifiers used to generate and validate the invoice."
                  },
                  "endpoint_id": {
                    "maxLength": 200,
                    "minLength": 1,
                    "type": "string",
                    "title": "Endpoint Id",
                    "nullable": true,
                    "description": "Endpoint Id used to generate and validate the invoice."
                  },
                  "endpoint_scheme": {
                    "maxLength": 35,
                    "minLength": 1,
                    "type": "string",
                    "title": "Endpoint Scheme",
                    "nullable": true,
                    "description": "Endpoint Scheme used to generate and validate the invoice."
                  },
                  "legal_information": {
                    "maxLength": 500,
                    "minLength": 1,
                    "type": "string",
                    "title": "Legal Information",
                    "nullable": true,
                    "description": "Legal Information used to generate and validate the invoice."
                  },
                  "contact_name": {
                    "maxLength": 100,
                    "minLength": 1,
                    "type": "string",
                    "title": "Contact Name",
                    "nullable": true,
                    "description": "Contact Name used to generate and validate the invoice."
                  },
                  "contact_department": {
                    "maxLength": 100,
                    "minLength": 1,
                    "type": "string",
                    "title": "Contact Department",
                    "nullable": true,
                    "description": "Contact Department used to generate and validate the invoice."
                  },
                  "phone": {
                    "maxLength": 50,
                    "minLength": 3,
                    "type": "string",
                    "title": "Phone",
                    "nullable": true,
                    "description": "Phone used to generate and validate the invoice."
                  },
                  "email": {
                    "maxLength": 254,
                    "minLength": 3,
                    "type": "string",
                    "title": "Email",
                    "nullable": true,
                    "description": "Email used to generate and validate the invoice."
                  }
                },
                "required": [
                  "name",
                  "address"
                ],
                "title": "Party",
                "type": "object",
                "nullable": true,
                "description": "Party used to generate and validate the invoice."
              },
              "delivery_address": {
                "additionalProperties": false,
                "properties": {
                  "line1": {
                    "maxLength": 100,
                    "minLength": 1,
                    "title": "Line1",
                    "type": "string",
                    "description": "Line1 used to generate and validate the invoice."
                  },
                  "line2": {
                    "maxLength": 100,
                    "type": "string",
                    "title": "Line2",
                    "nullable": true,
                    "description": "Line2 used to generate and validate the invoice."
                  },
                  "line3": {
                    "maxLength": 100,
                    "type": "string",
                    "title": "Line3",
                    "nullable": true,
                    "description": "Line3 used to generate and validate the invoice."
                  },
                  "city": {
                    "maxLength": 60,
                    "minLength": 1,
                    "title": "City",
                    "type": "string",
                    "description": "City used to generate and validate the invoice."
                  },
                  "postal_code": {
                    "maxLength": 20,
                    "minLength": 1,
                    "title": "Postal Code",
                    "type": "string",
                    "description": "Postal Code used to generate and validate the invoice."
                  },
                  "country_code": {
                    "maxLength": 2,
                    "minLength": 2,
                    "title": "Country Code",
                    "type": "string",
                    "description": "Country Code used to generate and validate the invoice."
                  },
                  "region": {
                    "maxLength": 60,
                    "type": "string",
                    "title": "Region",
                    "nullable": true,
                    "description": "Region used to generate and validate the invoice."
                  }
                },
                "required": [
                  "line1",
                  "city",
                  "postal_code",
                  "country_code"
                ],
                "title": "Address",
                "type": "object",
                "nullable": true,
                "description": "Address used to generate and validate the invoice."
              },
              "delivery_location_id": {
                "additionalProperties": false,
                "properties": {
                  "value": {
                    "maxLength": 200,
                    "minLength": 1,
                    "title": "Value",
                    "type": "string",
                    "description": "Value used to generate and validate the invoice."
                  },
                  "scheme_id": {
                    "maxLength": 35,
                    "minLength": 1,
                    "type": "string",
                    "title": "Scheme Id",
                    "nullable": true,
                    "description": "Scheme Id used to generate and validate the invoice."
                  }
                },
                "required": [
                  "value"
                ],
                "title": "Identifier",
                "type": "object",
                "nullable": true,
                "description": "Identifier used to generate and validate the invoice."
              },
              "delivery_party_name": {
                "maxLength": 200,
                "minLength": 1,
                "type": "string",
                "title": "Delivery Party Name",
                "nullable": true,
                "description": "Delivery Party Name used to generate and validate the invoice."
              },
              "lines": {
                "items": {
                  "additionalProperties": false,
                  "properties": {
                    "id": {
                      "maxLength": 100,
                      "minLength": 1,
                      "type": "string",
                      "title": "Id",
                      "nullable": true,
                      "description": "Id used to generate and validate the invoice."
                    },
                    "name": {
                      "maxLength": 200,
                      "minLength": 1,
                      "type": "string",
                      "title": "Name",
                      "nullable": true,
                      "description": "Name used to generate and validate the invoice."
                    },
                    "description": {
                      "maxLength": 1000,
                      "minLength": 1,
                      "title": "Description",
                      "type": "string",
                      "description": "Description used to generate and validate the invoice."
                    },
                    "note": {
                      "maxLength": 500,
                      "minLength": 1,
                      "type": "string",
                      "title": "Note",
                      "nullable": true,
                      "description": "Note used to generate and validate the invoice."
                    },
                    "quantity": {
                      "pattern": "^-?(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
                      "type": "string",
                      "title": "Quantity",
                      "description": "Quantity used to generate and validate the invoice."
                    },
                    "unit_code": {
                      "default": "C62",
                      "maxLength": 3,
                      "minLength": 2,
                      "title": "Unit Code",
                      "type": "string",
                      "description": "Unit Code used to generate and validate the invoice."
                    },
                    "unit_price": {
                      "pattern": "^-?(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
                      "type": "string",
                      "title": "Unit Price",
                      "description": "Unit Price used to generate and validate the invoice."
                    },
                    "price_base_quantity": {
                      "pattern": "^-?(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
                      "type": "string",
                      "default": "1",
                      "title": "Price Base Quantity",
                      "description": "Price Base Quantity used to generate and validate the invoice."
                    },
                    "price_base_unit_code": {
                      "maxLength": 3,
                      "minLength": 2,
                      "type": "string",
                      "title": "Price Base Unit Code",
                      "nullable": true,
                      "description": "Price Base Unit Code used to generate and validate the invoice."
                    },
                    "gross_unit_price": {
                      "pattern": "^-?(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
                      "type": "string",
                      "title": "Gross Unit Price",
                      "nullable": true,
                      "description": "Gross Unit Price used to generate and validate the invoice."
                    },
                    "gross_price_discount": {
                      "pattern": "^-?(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
                      "type": "string",
                      "title": "Gross Price Discount",
                      "nullable": true,
                      "description": "Gross Price Discount used to generate and validate the invoice."
                    },
                    "tax_rate": {
                      "pattern": "^-?(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
                      "type": "string",
                      "title": "Tax Rate",
                      "description": "Tax Rate used to generate and validate the invoice."
                    },
                    "tax_category": {
                      "default": "S",
                      "maxLength": 3,
                      "minLength": 1,
                      "title": "Tax Category",
                      "type": "string",
                      "description": "Tax Category used to generate and validate the invoice."
                    },
                    "tax_exemption_reason": {
                      "maxLength": 500,
                      "type": "string",
                      "title": "Tax Exemption Reason",
                      "nullable": true,
                      "description": "Tax Exemption Reason used to generate and validate the invoice."
                    },
                    "tax_exemption_reason_code": {
                      "maxLength": 35,
                      "type": "string",
                      "title": "Tax Exemption Reason Code",
                      "nullable": true,
                      "description": "Tax Exemption Reason Code used to generate and validate the invoice."
                    },
                    "allowances_charges": {
                      "items": {
                        "additionalProperties": false,
                        "properties": {
                          "is_charge": {
                            "title": "Is Charge",
                            "type": "boolean",
                            "description": "Is Charge used to generate and validate the invoice."
                          },
                          "amount": {
                            "pattern": "^-?(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
                            "type": "string",
                            "title": "Amount",
                            "description": "Amount used to generate and validate the invoice."
                          },
                          "base_amount": {
                            "pattern": "^-?(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
                            "type": "string",
                            "title": "Base Amount",
                            "nullable": true,
                            "description": "Base Amount used to generate and validate the invoice."
                          },
                          "percentage": {
                            "pattern": "^-?(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
                            "type": "string",
                            "title": "Percentage",
                            "nullable": true,
                            "description": "Percentage used to generate and validate the invoice."
                          },
                          "reason": {
                            "maxLength": 500,
                            "minLength": 1,
                            "title": "Reason",
                            "type": "string",
                            "description": "Reason used to generate and validate the invoice."
                          },
                          "reason_code": {
                            "maxLength": 35,
                            "minLength": 1,
                            "type": "string",
                            "title": "Reason Code",
                            "nullable": true,
                            "description": "Reason Code used to generate and validate the invoice."
                          },
                          "tax_category": {
                            "maxLength": 3,
                            "minLength": 1,
                            "type": "string",
                            "title": "Tax Category",
                            "nullable": true,
                            "description": "Tax Category used to generate and validate the invoice."
                          },
                          "tax_rate": {
                            "pattern": "^-?(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
                            "type": "string",
                            "title": "Tax Rate",
                            "nullable": true,
                            "description": "Tax Rate used to generate and validate the invoice."
                          },
                          "tax_exemption_reason": {
                            "maxLength": 500,
                            "minLength": 1,
                            "type": "string",
                            "title": "Tax Exemption Reason",
                            "nullable": true,
                            "description": "Tax Exemption Reason used to generate and validate the invoice."
                          },
                          "tax_exemption_reason_code": {
                            "maxLength": 35,
                            "minLength": 1,
                            "type": "string",
                            "title": "Tax Exemption Reason Code",
                            "nullable": true,
                            "description": "Tax Exemption Reason Code used to generate and validate the invoice."
                          }
                        },
                        "required": [
                          "is_charge",
                          "amount",
                          "reason"
                        ],
                        "type": "object"
                      },
                      "maxItems": 100,
                      "title": "Allowances Charges",
                      "type": "array",
                      "description": "Allowances Charges used to generate and validate the invoice."
                    },
                    "period": {
                      "additionalProperties": false,
                      "properties": {
                        "start_date": {
                          "type": "string",
                          "title": "Start Date",
                          "nullable": true,
                          "description": "Start Date used to generate and validate the invoice.",
                          "editor": "datepicker",
                          "dateType": "absolute"
                        },
                        "end_date": {
                          "type": "string",
                          "title": "End Date",
                          "nullable": true,
                          "description": "End Date used to generate and validate the invoice.",
                          "editor": "datepicker",
                          "dateType": "absolute"
                        },
                        "description_code": {
                          "maxLength": 35,
                          "minLength": 1,
                          "type": "string",
                          "title": "Description Code",
                          "nullable": true,
                          "description": "Description Code used to generate and validate the invoice."
                        }
                      },
                      "title": "Period",
                      "type": "object",
                      "nullable": true,
                      "description": "Period used to generate and validate the invoice."
                    },
                    "accounting_cost": {
                      "maxLength": 200,
                      "minLength": 1,
                      "type": "string",
                      "title": "Accounting Cost",
                      "nullable": true,
                      "description": "Accounting Cost used to generate and validate the invoice."
                    },
                    "purchase_order_line_reference": {
                      "maxLength": 100,
                      "minLength": 1,
                      "type": "string",
                      "title": "Purchase Order Line Reference",
                      "nullable": true,
                      "description": "Purchase Order Line Reference used to generate and validate the invoice."
                    },
                    "object_identifier": {
                      "additionalProperties": false,
                      "properties": {
                        "value": {
                          "maxLength": 200,
                          "minLength": 1,
                          "title": "Value",
                          "type": "string",
                          "description": "Value used to generate and validate the invoice."
                        },
                        "scheme_id": {
                          "maxLength": 35,
                          "minLength": 1,
                          "type": "string",
                          "title": "Scheme Id",
                          "nullable": true,
                          "description": "Scheme Id used to generate and validate the invoice."
                        }
                      },
                      "required": [
                        "value"
                      ],
                      "title": "Identifier",
                      "type": "object",
                      "nullable": true,
                      "description": "Identifier used to generate and validate the invoice."
                    },
                    "seller_item_id": {
                      "maxLength": 100,
                      "minLength": 1,
                      "type": "string",
                      "title": "Seller Item Id",
                      "nullable": true,
                      "description": "Seller Item Id used to generate and validate the invoice."
                    },
                    "buyer_item_id": {
                      "maxLength": 100,
                      "minLength": 1,
                      "type": "string",
                      "title": "Buyer Item Id",
                      "nullable": true,
                      "description": "Buyer Item Id used to generate and validate the invoice."
                    },
                    "standard_item_id": {
                      "additionalProperties": false,
                      "properties": {
                        "value": {
                          "maxLength": 200,
                          "minLength": 1,
                          "title": "Value",
                          "type": "string",
                          "description": "Value used to generate and validate the invoice."
                        },
                        "scheme_id": {
                          "maxLength": 35,
                          "minLength": 1,
                          "type": "string",
                          "title": "Scheme Id",
                          "nullable": true,
                          "description": "Scheme Id used to generate and validate the invoice."
                        }
                      },
                      "required": [
                        "value"
                      ],
                      "title": "Identifier",
                      "type": "object",
                      "nullable": true,
                      "description": "Identifier used to generate and validate the invoice."
                    },
                    "classifications": {
                      "items": {
                        "additionalProperties": false,
                        "properties": {
                          "value": {
                            "maxLength": 200,
                            "minLength": 1,
                            "title": "Value",
                            "type": "string",
                            "description": "Value used to generate and validate the invoice."
                          },
                          "scheme_id": {
                            "maxLength": 35,
                            "minLength": 1,
                            "title": "Scheme Id",
                            "type": "string",
                            "description": "Scheme Id used to generate and validate the invoice."
                          },
                          "scheme_version": {
                            "maxLength": 35,
                            "minLength": 1,
                            "type": "string",
                            "title": "Scheme Version",
                            "nullable": true,
                            "description": "Scheme Version used to generate and validate the invoice."
                          }
                        },
                        "required": [
                          "value",
                          "scheme_id"
                        ],
                        "type": "object"
                      },
                      "maxItems": 20,
                      "title": "Classifications",
                      "type": "array",
                      "description": "Classifications used to generate and validate the invoice."
                    },
                    "attributes": {
                      "items": {
                        "additionalProperties": false,
                        "properties": {
                          "name": {
                            "maxLength": 100,
                            "minLength": 1,
                            "title": "Name",
                            "type": "string",
                            "description": "Name used to generate and validate the invoice."
                          },
                          "value": {
                            "maxLength": 500,
                            "minLength": 1,
                            "title": "Value",
                            "type": "string",
                            "description": "Value used to generate and validate the invoice."
                          }
                        },
                        "required": [
                          "name",
                          "value"
                        ],
                        "type": "object"
                      },
                      "maxItems": 50,
                      "title": "Attributes",
                      "type": "array",
                      "description": "Attributes used to generate and validate the invoice."
                    },
                    "origin_country_code": {
                      "maxLength": 2,
                      "minLength": 2,
                      "type": "string",
                      "title": "Origin Country Code",
                      "nullable": true,
                      "description": "Origin Country Code used to generate and validate the invoice."
                    }
                  },
                  "required": [
                    "description",
                    "quantity",
                    "unit_price",
                    "tax_rate"
                  ],
                  "type": "object"
                },
                "maxItems": 1000,
                "minItems": 1,
                "title": "Lines",
                "type": "array",
                "description": "Lines used to generate and validate the invoice."
              },
              "document_allowances_charges": {
                "items": {
                  "additionalProperties": false,
                  "properties": {
                    "is_charge": {
                      "title": "Is Charge",
                      "type": "boolean",
                      "description": "Is Charge used to generate and validate the invoice."
                    },
                    "amount": {
                      "pattern": "^-?(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
                      "type": "string",
                      "title": "Amount",
                      "description": "Amount used to generate and validate the invoice."
                    },
                    "base_amount": {
                      "pattern": "^-?(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
                      "type": "string",
                      "title": "Base Amount",
                      "nullable": true,
                      "description": "Base Amount used to generate and validate the invoice."
                    },
                    "percentage": {
                      "pattern": "^-?(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
                      "type": "string",
                      "title": "Percentage",
                      "nullable": true,
                      "description": "Percentage used to generate and validate the invoice."
                    },
                    "reason": {
                      "maxLength": 500,
                      "minLength": 1,
                      "title": "Reason",
                      "type": "string",
                      "description": "Reason used to generate and validate the invoice."
                    },
                    "reason_code": {
                      "maxLength": 35,
                      "minLength": 1,
                      "type": "string",
                      "title": "Reason Code",
                      "nullable": true,
                      "description": "Reason Code used to generate and validate the invoice."
                    },
                    "tax_category": {
                      "maxLength": 3,
                      "minLength": 1,
                      "type": "string",
                      "title": "Tax Category",
                      "nullable": true,
                      "description": "Tax Category used to generate and validate the invoice."
                    },
                    "tax_rate": {
                      "pattern": "^-?(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
                      "type": "string",
                      "title": "Tax Rate",
                      "nullable": true,
                      "description": "Tax Rate used to generate and validate the invoice."
                    },
                    "tax_exemption_reason": {
                      "maxLength": 500,
                      "minLength": 1,
                      "type": "string",
                      "title": "Tax Exemption Reason",
                      "nullable": true,
                      "description": "Tax Exemption Reason used to generate and validate the invoice."
                    },
                    "tax_exemption_reason_code": {
                      "maxLength": 35,
                      "minLength": 1,
                      "type": "string",
                      "title": "Tax Exemption Reason Code",
                      "nullable": true,
                      "description": "Tax Exemption Reason Code used to generate and validate the invoice."
                    }
                  },
                  "required": [
                    "is_charge",
                    "amount",
                    "reason"
                  ],
                  "type": "object"
                },
                "maxItems": 100,
                "title": "Document Allowances Charges",
                "type": "array",
                "description": "Document Allowances Charges used to generate and validate the invoice."
              },
              "payment": {
                "additionalProperties": false,
                "properties": {
                  "means_code": {
                    "default": "30",
                    "maxLength": 3,
                    "minLength": 1,
                    "title": "Means Code",
                    "type": "string",
                    "description": "Means Code used to generate and validate the invoice."
                  },
                  "means_text": {
                    "maxLength": 100,
                    "minLength": 1,
                    "type": "string",
                    "title": "Means Text",
                    "nullable": true,
                    "description": "Means Text used to generate and validate the invoice."
                  },
                  "reference": {
                    "maxLength": 140,
                    "type": "string",
                    "title": "Reference",
                    "nullable": true,
                    "description": "Reference used to generate and validate the invoice."
                  },
                  "account_id": {
                    "maxLength": 70,
                    "minLength": 1,
                    "type": "string",
                    "title": "Account Id",
                    "nullable": true,
                    "description": "Account Id used to generate and validate the invoice."
                  },
                  "account_name": {
                    "maxLength": 200,
                    "minLength": 1,
                    "type": "string",
                    "title": "Account Name",
                    "nullable": true,
                    "description": "Account Name used to generate and validate the invoice."
                  },
                  "iban": {
                    "maxLength": 34,
                    "minLength": 5,
                    "type": "string",
                    "title": "Iban",
                    "nullable": true,
                    "description": "Iban used to generate and validate the invoice."
                  },
                  "bic": {
                    "maxLength": 11,
                    "minLength": 8,
                    "type": "string",
                    "title": "Bic",
                    "nullable": true,
                    "description": "Bic used to generate and validate the invoice."
                  },
                  "bank_name": {
                    "maxLength": 200,
                    "minLength": 1,
                    "type": "string",
                    "title": "Bank Name",
                    "nullable": true,
                    "description": "Bank Name used to generate and validate the invoice."
                  },
                  "mandate_reference": {
                    "maxLength": 100,
                    "minLength": 1,
                    "type": "string",
                    "title": "Mandate Reference",
                    "nullable": true,
                    "description": "Mandate Reference used to generate and validate the invoice."
                  },
                  "creditor_identifier": {
                    "maxLength": 100,
                    "minLength": 1,
                    "type": "string",
                    "title": "Creditor Identifier",
                    "nullable": true,
                    "description": "Creditor Identifier used to generate and validate the invoice."
                  },
                  "payer_account_id": {
                    "maxLength": 70,
                    "minLength": 1,
                    "type": "string",
                    "title": "Payer Account Id",
                    "nullable": true,
                    "description": "Payer Account Id used to generate and validate the invoice."
                  },
                  "card_primary_account_number": {
                    "maxLength": 6,
                    "minLength": 4,
                    "type": "string",
                    "title": "Card Primary Account Number",
                    "nullable": true,
                    "description": "Card Primary Account Number used to generate and validate the invoice."
                  },
                  "card_holder_name": {
                    "maxLength": 100,
                    "minLength": 1,
                    "type": "string",
                    "title": "Card Holder Name",
                    "nullable": true,
                    "description": "Card Holder Name used to generate and validate the invoice."
                  }
                },
                "title": "Payment",
                "type": "object",
                "description": "Payment used to generate and validate the invoice."
              },
              "payment_terms": {
                "maxLength": 1000,
                "minLength": 1,
                "type": "string",
                "title": "Payment Terms",
                "nullable": true,
                "description": "Payment Terms used to generate and validate the invoice."
              },
              "prepaid_amount": {
                "pattern": "^-?(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
                "type": "string",
                "default": "0",
                "title": "Prepaid Amount",
                "description": "Prepaid Amount used to generate and validate the invoice."
              },
              "rounding_amount": {
                "pattern": "^-?(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
                "type": "string",
                "default": "0",
                "title": "Rounding Amount",
                "description": "Rounding Amount used to generate and validate the invoice."
              },
              "notes": {
                "items": {
                  "type": "string"
                },
                "maxItems": 20,
                "title": "Notes",
                "type": "array",
                "description": "Notes used to generate and validate the invoice."
              },
              "preceding_invoices": {
                "items": {
                  "additionalProperties": false,
                  "properties": {
                    "id": {
                      "maxLength": 200,
                      "minLength": 1,
                      "title": "Id",
                      "type": "string",
                      "description": "Id used to generate and validate the invoice."
                    },
                    "issue_date": {
                      "type": "string",
                      "title": "Issue Date",
                      "nullable": true,
                      "description": "Issue Date used to generate and validate the invoice.",
                      "editor": "datepicker",
                      "dateType": "absolute"
                    },
                    "type_code": {
                      "maxLength": 35,
                      "minLength": 1,
                      "type": "string",
                      "title": "Type Code",
                      "nullable": true,
                      "description": "Type Code used to generate and validate the invoice."
                    },
                    "description": {
                      "maxLength": 500,
                      "minLength": 1,
                      "type": "string",
                      "title": "Description",
                      "nullable": true,
                      "description": "Description used to generate and validate the invoice."
                    },
                    "id_scheme": {
                      "maxLength": 35,
                      "minLength": 1,
                      "type": "string",
                      "title": "Id Scheme",
                      "nullable": true,
                      "description": "Id Scheme used to generate and validate the invoice."
                    },
                    "attachment": {
                      "additionalProperties": false,
                      "properties": {
                        "filename": {
                          "maxLength": 200,
                          "minLength": 1,
                          "type": "string",
                          "title": "Filename",
                          "nullable": true,
                          "description": "Filename used to generate and validate the invoice."
                        },
                        "mime_type": {
                          "maxLength": 100,
                          "minLength": 3,
                          "type": "string",
                          "title": "Mime Type",
                          "nullable": true,
                          "description": "Mime Type used to generate and validate the invoice."
                        },
                        "description": {
                          "maxLength": 500,
                          "minLength": 1,
                          "type": "string",
                          "title": "Description",
                          "nullable": true,
                          "description": "Description used to generate and validate the invoice."
                        },
                        "content_base64": {
                          "type": "string",
                          "title": "Content Base64",
                          "nullable": true,
                          "description": "Content Base64 used to generate and validate the invoice."
                        },
                        "external_uri": {
                          "maxLength": 2000,
                          "minLength": 1,
                          "type": "string",
                          "title": "External Uri",
                          "nullable": true,
                          "description": "External Uri used to generate and validate the invoice."
                        }
                      },
                      "title": "Attachment",
                      "type": "object",
                      "nullable": true,
                      "description": "Attachment used to generate and validate the invoice."
                    }
                  },
                  "required": [
                    "id"
                  ],
                  "type": "object"
                },
                "maxItems": 100,
                "title": "Preceding Invoices",
                "type": "array",
                "description": "Preceding Invoices used to generate and validate the invoice."
              },
              "supporting_documents": {
                "items": {
                  "additionalProperties": false,
                  "properties": {
                    "id": {
                      "maxLength": 200,
                      "minLength": 1,
                      "title": "Id",
                      "type": "string",
                      "description": "Id used to generate and validate the invoice."
                    },
                    "issue_date": {
                      "type": "string",
                      "title": "Issue Date",
                      "nullable": true,
                      "description": "Issue Date used to generate and validate the invoice.",
                      "editor": "datepicker",
                      "dateType": "absolute"
                    },
                    "type_code": {
                      "maxLength": 35,
                      "minLength": 1,
                      "type": "string",
                      "title": "Type Code",
                      "nullable": true,
                      "description": "Type Code used to generate and validate the invoice."
                    },
                    "description": {
                      "maxLength": 500,
                      "minLength": 1,
                      "type": "string",
                      "title": "Description",
                      "nullable": true,
                      "description": "Description used to generate and validate the invoice."
                    },
                    "id_scheme": {
                      "maxLength": 35,
                      "minLength": 1,
                      "type": "string",
                      "title": "Id Scheme",
                      "nullable": true,
                      "description": "Id Scheme used to generate and validate the invoice."
                    },
                    "attachment": {
                      "additionalProperties": false,
                      "properties": {
                        "filename": {
                          "maxLength": 200,
                          "minLength": 1,
                          "type": "string",
                          "title": "Filename",
                          "nullable": true,
                          "description": "Filename used to generate and validate the invoice."
                        },
                        "mime_type": {
                          "maxLength": 100,
                          "minLength": 3,
                          "type": "string",
                          "title": "Mime Type",
                          "nullable": true,
                          "description": "Mime Type used to generate and validate the invoice."
                        },
                        "description": {
                          "maxLength": 500,
                          "minLength": 1,
                          "type": "string",
                          "title": "Description",
                          "nullable": true,
                          "description": "Description used to generate and validate the invoice."
                        },
                        "content_base64": {
                          "type": "string",
                          "title": "Content Base64",
                          "nullable": true,
                          "description": "Content Base64 used to generate and validate the invoice."
                        },
                        "external_uri": {
                          "maxLength": 2000,
                          "minLength": 1,
                          "type": "string",
                          "title": "External Uri",
                          "nullable": true,
                          "description": "External Uri used to generate and validate the invoice."
                        }
                      },
                      "title": "Attachment",
                      "type": "object",
                      "nullable": true,
                      "description": "Attachment used to generate and validate the invoice."
                    }
                  },
                  "required": [
                    "id"
                  ],
                  "type": "object"
                },
                "maxItems": 100,
                "title": "Supporting Documents",
                "type": "array",
                "description": "Supporting Documents used to generate and validate the invoice."
              },
              "extensions": {
                "type": "object",
                "additionalProperties": false,
                "properties": {
                  "ksef": {
                    "type": "object",
                    "additionalProperties": false,
                    "properties": {
                      "jst": {
                        "type": "boolean",
                        "title": "Jst",
                        "description": "Jst used to generate and validate the invoice."
                      },
                      "gv": {
                        "type": "boolean",
                        "title": "Gv",
                        "description": "Gv used to generate and validate the invoice."
                      },
                      "customer_number": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256,
                        "title": "Customer number",
                        "description": "Customer number used to generate and validate the invoice."
                      },
                      "document_type": {
                        "type": "string",
                        "enum": [
                          "VAT",
                          "KOR",
                          "ZAL",
                          "ROZ",
                          "UPR",
                          "KOR_ZAL",
                          "KOR_ROZ"
                        ],
                        "title": "Document type",
                        "description": "Document type used to generate and validate the invoice."
                      },
                      "issue_place": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256,
                        "title": "Issue place",
                        "description": "Issue place used to generate and validate the invoice."
                      },
                      "warehouse_documents": {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 256
                        },
                        "maxItems": 1000,
                        "title": "Warehouse documents",
                        "description": "Warehouse documents used to generate and validate the invoice."
                      },
                      "tax_codes": {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "minLength": 1
                        },
                        "maxItems": 10000,
                        "title": "Tax codes",
                        "description": "Tax codes used to generate and validate the invoice."
                      },
                      "line_metadata": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "additionalProperties": false,
                          "properties": {
                            "row_number": {
                              "type": "integer",
                              "minimum": 1,
                              "maximum": 999999,
                              "title": "Row number",
                              "description": "Row number used to generate and validate the invoice."
                            },
                            "uuid": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 50,
                              "title": "Uuid",
                              "description": "Uuid used to generate and validate the invoice."
                            },
                            "service_date": {
                              "type": "string",
                              "title": "Service date",
                              "description": "Service date used to generate and validate the invoice.",
                              "editor": "datepicker",
                              "dateType": "absolute"
                            },
                            "index": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 50,
                              "title": "Index",
                              "description": "Index used to generate and validate the invoice."
                            },
                            "gtin": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 20,
                              "title": "Gtin",
                              "description": "Gtin used to generate and validate the invoice."
                            },
                            "pkwiu": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 50,
                              "title": "Pkwiu",
                              "description": "Pkwiu used to generate and validate the invoice."
                            },
                            "cn": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 50,
                              "title": "Cn",
                              "description": "Cn used to generate and validate the invoice."
                            },
                            "pkob": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 50,
                              "title": "Pkob",
                              "description": "Pkob used to generate and validate the invoice."
                            },
                            "tax_rate_xii": {
                              "type": "string",
                              "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
                              "description": "Decimal string. JSON floating-point numbers are rejected.",
                              "title": "Tax rate xii"
                            },
                            "appendix_15": {
                              "type": "boolean",
                              "title": "Appendix 15",
                              "description": "Appendix 15 used to generate and validate the invoice."
                            },
                            "excise_amount": {
                              "type": "string",
                              "pattern": "^-?(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
                              "description": "Decimal string. JSON floating-point numbers are rejected.",
                              "title": "Excise amount"
                            },
                            "gtu": {
                              "type": "string",
                              "enum": [
                                "GTU_01",
                                "GTU_02",
                                "GTU_03",
                                "GTU_04",
                                "GTU_05",
                                "GTU_06",
                                "GTU_07",
                                "GTU_08",
                                "GTU_09",
                                "GTU_10",
                                "GTU_11",
                                "GTU_12",
                                "GTU_13"
                              ],
                              "title": "Gtu",
                              "description": "Gtu used to generate and validate the invoice."
                            },
                            "procedure": {
                              "type": "string",
                              "enum": [
                                "WSTO_EE",
                                "IED",
                                "TT_D",
                                "I_42",
                                "I_63",
                                "B_SPV",
                                "B_SPV_DOSTAWA",
                                "B_MPV_PROWIZJA"
                              ],
                              "title": "Procedure",
                              "description": "Procedure used to generate and validate the invoice."
                            },
                            "exchange_rate": {
                              "type": "string",
                              "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
                              "description": "Decimal string. JSON floating-point numbers are rejected.",
                              "title": "Exchange rate"
                            },
                            "before_correction": {
                              "type": "boolean",
                              "title": "Before correction",
                              "description": "Before correction used to generate and validate the invoice."
                            }
                          }
                        },
                        "maxItems": 10000,
                        "title": "Line metadata",
                        "description": "Line metadata used to generate and validate the invoice."
                      },
                      "tax_summary": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "additionalProperties": false,
                          "properties": {
                            "tax_code": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 8,
                              "title": "Tax code",
                              "description": "Tax code used to generate and validate the invoice."
                            },
                            "taxable_amount": {
                              "type": "string",
                              "pattern": "^-?(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
                              "description": "Decimal string. JSON floating-point numbers are rejected.",
                              "title": "Taxable amount"
                            },
                            "tax_amount": {
                              "type": "string",
                              "pattern": "^-?(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
                              "description": "Decimal string. JSON floating-point numbers are rejected.",
                              "title": "Tax amount"
                            },
                            "tax_amount_pln": {
                              "type": "string",
                              "pattern": "^-?(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
                              "description": "Decimal string. JSON floating-point numbers are rejected.",
                              "title": "Tax amount pln"
                            }
                          },
                          "required": [
                            "tax_code",
                            "taxable_amount"
                          ]
                        },
                        "maxItems": 13,
                        "title": "Tax summary",
                        "description": "Tax summary used to generate and validate the invoice."
                      },
                      "amount_due": {
                        "type": "string",
                        "pattern": "^-?(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
                        "description": "Decimal string. JSON floating-point numbers are rejected.",
                        "title": "Amount due"
                      },
                      "pln_tax_amounts": {
                        "type": "object",
                        "additionalProperties": false,
                        "properties": {
                          "P_14_1W": {
                            "type": "string",
                            "pattern": "^-?(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
                            "description": "Decimal string. JSON floating-point numbers are rejected.",
                            "title": "P 14 1w"
                          },
                          "P_14_2W": {
                            "type": "string",
                            "pattern": "^-?(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
                            "description": "Decimal string. JSON floating-point numbers are rejected.",
                            "title": "P 14 2w"
                          },
                          "P_14_3W": {
                            "type": "string",
                            "pattern": "^-?(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
                            "description": "Decimal string. JSON floating-point numbers are rejected.",
                            "title": "P 14 3w"
                          },
                          "P_14_4W": {
                            "type": "string",
                            "pattern": "^-?(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
                            "description": "Decimal string. JSON floating-point numbers are rejected.",
                            "title": "P 14 4w"
                          }
                        },
                        "title": "Pln tax amounts",
                        "description": "Pln tax amounts used to generate and validate the invoice."
                      },
                      "annotations": {
                        "type": "object",
                        "additionalProperties": false,
                        "properties": {
                          "cash_accounting": {
                            "type": "boolean",
                            "title": "Cash accounting",
                            "description": "Cash accounting used to generate and validate the invoice."
                          },
                          "self_billing": {
                            "type": "boolean",
                            "title": "Self billing",
                            "description": "Self billing used to generate and validate the invoice."
                          },
                          "reverse_charge": {
                            "type": "boolean",
                            "title": "Reverse charge",
                            "description": "Reverse charge used to generate and validate the invoice."
                          },
                          "split_payment": {
                            "type": "boolean",
                            "title": "Split payment",
                            "description": "Split payment used to generate and validate the invoice."
                          },
                          "triangular": {
                            "type": "boolean",
                            "title": "Triangular",
                            "description": "Triangular used to generate and validate the invoice."
                          },
                          "exemption_basis": {
                            "type": "object",
                            "additionalProperties": false,
                            "properties": {
                              "kind": {
                                "type": "string",
                                "enum": [
                                  "domestic",
                                  "eu",
                                  "other"
                                ],
                                "title": "Kind",
                                "description": "Kind used to generate and validate the invoice."
                              },
                              "text": {
                                "type": "string",
                                "minLength": 1,
                                "maxLength": 256,
                                "title": "Text",
                                "description": "Text used to generate and validate the invoice."
                              }
                            },
                            "required": [
                              "kind",
                              "text"
                            ],
                            "title": "Exemption basis",
                            "description": "Exemption basis used to generate and validate the invoice."
                          },
                          "margin": {
                            "type": "string",
                            "enum": [
                              "travel",
                              "used_goods",
                              "art",
                              "collectors"
                            ],
                            "title": "Margin",
                            "description": "Margin used to generate and validate the invoice."
                          }
                        },
                        "title": "Annotations",
                        "description": "Annotations used to generate and validate the invoice."
                      },
                      "correction": {
                        "type": "object",
                        "additionalProperties": false,
                        "properties": {
                          "reason": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 256,
                            "title": "Reason",
                            "description": "Reason used to generate and validate the invoice."
                          },
                          "type": {
                            "type": "string",
                            "enum": [
                              "1",
                              "2",
                              "3"
                            ],
                            "title": "Type",
                            "description": "Type used to generate and validate the invoice."
                          },
                          "references": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "additionalProperties": false,
                              "properties": {
                                "issue_date": {
                                  "type": "string",
                                  "title": "Issue date",
                                  "description": "Issue date used to generate and validate the invoice.",
                                  "editor": "datepicker",
                                  "dateType": "absolute"
                                },
                                "invoice_number": {
                                  "type": "string",
                                  "minLength": 1,
                                  "maxLength": 256,
                                  "title": "Invoice number",
                                  "description": "Invoice number used to generate and validate the invoice."
                                },
                                "ksef_number": {
                                  "type": "string",
                                  "minLength": 1,
                                  "maxLength": 64,
                                  "title": "Ksef number",
                                  "description": "Ksef number used to generate and validate the invoice."
                                },
                                "outside_ksef": {
                                  "type": "boolean",
                                  "title": "Outside ksef",
                                  "description": "Outside ksef used to generate and validate the invoice."
                                }
                              },
                              "required": [
                                "issue_date",
                                "invoice_number"
                              ]
                            },
                            "maxItems": 50000,
                            "minItems": 1,
                            "title": "References",
                            "description": "References used to generate and validate the invoice."
                          },
                          "period": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 256,
                            "title": "Period",
                            "description": "Period used to generate and validate the invoice."
                          },
                          "corrected_number": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 256,
                            "title": "Corrected number",
                            "description": "Corrected number used to generate and validate the invoice."
                          },
                          "previous_amount": {
                            "type": "string",
                            "pattern": "^-?(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
                            "description": "Decimal string. JSON floating-point numbers are rejected.",
                            "title": "Previous amount"
                          }
                        },
                        "required": [
                          "references"
                        ],
                        "title": "Correction",
                        "description": "Correction used to generate and validate the invoice."
                      },
                      "advance_payments": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "additionalProperties": false,
                          "properties": {
                            "date": {
                              "type": "string",
                              "title": "Date",
                              "description": "Date used to generate and validate the invoice.",
                              "editor": "datepicker",
                              "dateType": "absolute"
                            },
                            "amount": {
                              "type": "string",
                              "pattern": "^-?(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
                              "description": "Decimal string. JSON floating-point numbers are rejected.",
                              "title": "Amount"
                            },
                            "exchange_rate": {
                              "type": "string",
                              "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
                              "description": "Decimal string. JSON floating-point numbers are rejected.",
                              "title": "Exchange rate"
                            }
                          },
                          "required": [
                            "date",
                            "amount"
                          ]
                        },
                        "maxItems": 31,
                        "title": "Advance payments",
                        "description": "Advance payments used to generate and validate the invoice."
                      },
                      "advance_references": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "additionalProperties": false,
                          "properties": {
                            "ksef_number": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 64,
                              "title": "Ksef number",
                              "description": "Ksef number used to generate and validate the invoice."
                            },
                            "invoice_number": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 256,
                              "title": "Invoice number",
                              "description": "Invoice number used to generate and validate the invoice."
                            },
                            "outside_ksef": {
                              "type": "boolean",
                              "title": "Outside ksef",
                              "description": "Outside ksef used to generate and validate the invoice."
                            }
                          }
                        },
                        "maxItems": 100,
                        "title": "Advance references",
                        "description": "Advance references used to generate and validate the invoice."
                      },
                      "advance_exchange_rate": {
                        "type": "string",
                        "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
                        "description": "Decimal string. JSON floating-point numbers are rejected.",
                        "title": "Advance exchange rate"
                      },
                      "order": {
                        "type": "object",
                        "additionalProperties": false,
                        "properties": {
                          "total": {
                            "type": "string",
                            "pattern": "^-?(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
                            "description": "Decimal string. JSON floating-point numbers are rejected.",
                            "title": "Total"
                          },
                          "lines": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "additionalProperties": false,
                              "properties": {
                                "row_number": {
                                  "type": "integer",
                                  "minimum": 1,
                                  "title": "Row number",
                                  "description": "Row number used to generate and validate the invoice."
                                },
                                "uuid": {
                                  "type": "string",
                                  "minLength": 1,
                                  "maxLength": 50,
                                  "title": "Uuid",
                                  "description": "Uuid used to generate and validate the invoice."
                                },
                                "description": {
                                  "type": "string",
                                  "minLength": 1,
                                  "maxLength": 512,
                                  "title": "Description",
                                  "description": "Description used to generate and validate the invoice."
                                },
                                "index": {
                                  "type": "string",
                                  "minLength": 1,
                                  "maxLength": 50,
                                  "title": "Index",
                                  "description": "Index used to generate and validate the invoice."
                                },
                                "gtin": {
                                  "type": "string",
                                  "minLength": 1,
                                  "maxLength": 20,
                                  "title": "Gtin",
                                  "description": "Gtin used to generate and validate the invoice."
                                },
                                "pkwiu": {
                                  "type": "string",
                                  "minLength": 1,
                                  "maxLength": 50,
                                  "title": "Pkwiu",
                                  "description": "Pkwiu used to generate and validate the invoice."
                                },
                                "cn": {
                                  "type": "string",
                                  "minLength": 1,
                                  "maxLength": 50,
                                  "title": "Cn",
                                  "description": "Cn used to generate and validate the invoice."
                                },
                                "pkob": {
                                  "type": "string",
                                  "minLength": 1,
                                  "maxLength": 50,
                                  "title": "Pkob",
                                  "description": "Pkob used to generate and validate the invoice."
                                },
                                "unit": {
                                  "type": "string",
                                  "minLength": 1,
                                  "maxLength": 256,
                                  "title": "Unit",
                                  "description": "Unit used to generate and validate the invoice."
                                },
                                "quantity": {
                                  "type": "string",
                                  "pattern": "^-?(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
                                  "description": "Decimal string. JSON floating-point numbers are rejected.",
                                  "title": "Quantity"
                                },
                                "unit_price": {
                                  "type": "string",
                                  "pattern": "^-?(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
                                  "description": "Decimal string. JSON floating-point numbers are rejected.",
                                  "title": "Unit price"
                                },
                                "net_amount": {
                                  "type": "string",
                                  "pattern": "^-?(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
                                  "description": "Decimal string. JSON floating-point numbers are rejected.",
                                  "title": "Net amount"
                                },
                                "vat_amount": {
                                  "type": "string",
                                  "pattern": "^-?(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
                                  "description": "Decimal string. JSON floating-point numbers are rejected.",
                                  "title": "Vat amount"
                                },
                                "tax_code": {
                                  "type": "string",
                                  "enum": [
                                    "23",
                                    "22",
                                    "8",
                                    "7",
                                    "5",
                                    "4",
                                    "3",
                                    "0 KR",
                                    "0 WDT",
                                    "0 EX",
                                    "zw",
                                    "oo",
                                    "np I",
                                    "np II",
                                    "XII",
                                    "margin"
                                  ],
                                  "title": "Tax code",
                                  "description": "Tax code used to generate and validate the invoice."
                                },
                                "tax_rate_xii": {
                                  "type": "string",
                                  "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
                                  "description": "Decimal string. JSON floating-point numbers are rejected.",
                                  "title": "Tax rate xii"
                                },
                                "appendix_15": {
                                  "type": "boolean",
                                  "title": "Appendix 15",
                                  "description": "Appendix 15 used to generate and validate the invoice."
                                },
                                "gtu": {
                                  "type": "string",
                                  "enum": [
                                    "GTU_01",
                                    "GTU_02",
                                    "GTU_03",
                                    "GTU_04",
                                    "GTU_05",
                                    "GTU_06",
                                    "GTU_07",
                                    "GTU_08",
                                    "GTU_09",
                                    "GTU_10",
                                    "GTU_11",
                                    "GTU_12",
                                    "GTU_13"
                                  ],
                                  "title": "Gtu",
                                  "description": "Gtu used to generate and validate the invoice."
                                },
                                "procedure": {
                                  "type": "string",
                                  "enum": [
                                    "WSTO_EE",
                                    "IED",
                                    "TT_D",
                                    "B_SPV",
                                    "B_SPV_DOSTAWA",
                                    "B_MPV_PROWIZJA"
                                  ],
                                  "title": "Procedure",
                                  "description": "Procedure used to generate and validate the invoice."
                                },
                                "excise_amount": {
                                  "type": "string",
                                  "pattern": "^-?(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
                                  "description": "Decimal string. JSON floating-point numbers are rejected.",
                                  "title": "Excise amount"
                                },
                                "before_correction": {
                                  "type": "boolean",
                                  "title": "Before correction",
                                  "description": "Before correction used to generate and validate the invoice."
                                }
                              },
                              "required": [
                                "row_number",
                                "description",
                                "net_amount"
                              ]
                            },
                            "maxItems": 10000,
                            "minItems": 1,
                            "title": "Lines",
                            "description": "Lines used to generate and validate the invoice."
                          }
                        },
                        "required": [
                          "total",
                          "lines"
                        ],
                        "title": "Order",
                        "description": "Order used to generate and validate the invoice."
                      },
                      "payment_status": {
                        "type": "object",
                        "additionalProperties": false,
                        "properties": {
                          "kind": {
                            "type": "string",
                            "enum": [
                              "unpaid",
                              "paid",
                              "partial",
                              "paid_in_parts"
                            ],
                            "title": "Kind",
                            "description": "Kind used to generate and validate the invoice."
                          },
                          "date": {
                            "type": "string",
                            "title": "Date",
                            "description": "Date used to generate and validate the invoice.",
                            "editor": "datepicker",
                            "dateType": "absolute"
                          },
                          "parts": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "additionalProperties": false,
                              "properties": {
                                "amount": {
                                  "type": "string",
                                  "pattern": "^-?(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
                                  "description": "Decimal string. JSON floating-point numbers are rejected.",
                                  "title": "Amount"
                                },
                                "date": {
                                  "type": "string",
                                  "title": "Date",
                                  "description": "Date used to generate and validate the invoice.",
                                  "editor": "datepicker",
                                  "dateType": "absolute"
                                },
                                "payment_form": {
                                  "type": "string",
                                  "enum": [
                                    "1",
                                    "2",
                                    "3",
                                    "4",
                                    "5",
                                    "6",
                                    "7"
                                  ],
                                  "title": "Payment form",
                                  "description": "Payment form used to generate and validate the invoice."
                                },
                                "payment_other": {
                                  "type": "string",
                                  "minLength": 1,
                                  "maxLength": 256,
                                  "title": "Payment other",
                                  "description": "Payment other used to generate and validate the invoice."
                                }
                              },
                              "required": [
                                "amount",
                                "date"
                              ]
                            },
                            "maxItems": 100,
                            "minItems": 1,
                            "title": "Parts",
                            "description": "Parts used to generate and validate the invoice."
                          }
                        },
                        "required": [
                          "kind"
                        ],
                        "title": "Payment status",
                        "description": "Payment status used to generate and validate the invoice."
                      },
                      "payment_form": {
                        "type": "string",
                        "enum": [
                          "1",
                          "2",
                          "3",
                          "4",
                          "5",
                          "6",
                          "7"
                        ],
                        "title": "Payment form",
                        "description": "Payment form used to generate and validate the invoice."
                      },
                      "payment_other": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256,
                        "title": "Payment other",
                        "description": "Payment other used to generate and validate the invoice."
                      },
                      "attachment": {
                        "type": "object",
                        "additionalProperties": false,
                        "properties": {
                          "consent_confirmed": {
                            "type": "boolean",
                            "title": "Consent confirmed",
                            "description": "Consent confirmed used to generate and validate the invoice."
                          },
                          "blocks": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "additionalProperties": false,
                              "properties": {
                                "header": {
                                  "type": "string",
                                  "minLength": 1,
                                  "maxLength": 512,
                                  "title": "Header",
                                  "description": "Header used to generate and validate the invoice."
                                },
                                "metadata": {
                                  "type": "array",
                                  "items": {
                                    "type": "object",
                                    "additionalProperties": false,
                                    "properties": {
                                      "key": {
                                        "type": "string",
                                        "minLength": 1,
                                        "maxLength": 256,
                                        "title": "Key",
                                        "description": "Key used to generate and validate the invoice."
                                      },
                                      "value": {
                                        "type": "string",
                                        "minLength": 1,
                                        "maxLength": 256,
                                        "title": "Value",
                                        "description": "Value used to generate and validate the invoice."
                                      }
                                    },
                                    "required": [
                                      "key",
                                      "value"
                                    ]
                                  },
                                  "maxItems": 1000,
                                  "minItems": 1,
                                  "title": "Metadata",
                                  "description": "Metadata used to generate and validate the invoice."
                                },
                                "paragraphs": {
                                  "type": "array",
                                  "items": {
                                    "type": "string",
                                    "minLength": 1,
                                    "maxLength": 512
                                  },
                                  "maxItems": 10,
                                  "title": "Paragraphs",
                                  "description": "Paragraphs used to generate and validate the invoice."
                                },
                                "tables": {
                                  "type": "array",
                                  "items": {
                                    "type": "object",
                                    "additionalProperties": false,
                                    "properties": {
                                      "metadata": {
                                        "type": "array",
                                        "items": {
                                          "type": "object",
                                          "additionalProperties": false,
                                          "properties": {
                                            "key": {
                                              "type": "string",
                                              "minLength": 1,
                                              "maxLength": 256,
                                              "title": "Key",
                                              "description": "Key used to generate and validate the invoice."
                                            },
                                            "value": {
                                              "type": "string",
                                              "minLength": 1,
                                              "maxLength": 256,
                                              "title": "Value",
                                              "description": "Value used to generate and validate the invoice."
                                            }
                                          },
                                          "required": [
                                            "key",
                                            "value"
                                          ]
                                        },
                                        "maxItems": 1000,
                                        "title": "Metadata",
                                        "description": "Metadata used to generate and validate the invoice."
                                      },
                                      "description": {
                                        "type": "string",
                                        "minLength": 1,
                                        "maxLength": 512,
                                        "title": "Description",
                                        "description": "Description used to generate and validate the invoice."
                                      },
                                      "columns": {
                                        "type": "array",
                                        "items": {
                                          "type": "object",
                                          "additionalProperties": false,
                                          "properties": {
                                            "type": {
                                              "type": "string",
                                              "enum": [
                                                "date",
                                                "datetime",
                                                "dec",
                                                "int",
                                                "time",
                                                "txt"
                                              ],
                                              "title": "Type",
                                              "description": "Type used to generate and validate the invoice."
                                            },
                                            "value": {
                                              "type": "string",
                                              "minLength": 0,
                                              "maxLength": 256,
                                              "title": "Value",
                                              "description": "Value used to generate and validate the invoice."
                                            }
                                          },
                                          "required": [
                                            "type",
                                            "value"
                                          ]
                                        },
                                        "maxItems": 20,
                                        "minItems": 1,
                                        "title": "Columns",
                                        "description": "Columns used to generate and validate the invoice."
                                      },
                                      "rows": {
                                        "type": "array",
                                        "items": {
                                          "type": "array",
                                          "items": {
                                            "type": "string",
                                            "minLength": 0,
                                            "maxLength": 256
                                          }
                                        },
                                        "maxItems": 1000,
                                        "minItems": 1,
                                        "title": "Rows",
                                        "description": "Rows used to generate and validate the invoice."
                                      },
                                      "totals": {
                                        "type": "array",
                                        "items": {
                                          "type": "string",
                                          "minLength": 0,
                                          "maxLength": 256
                                        },
                                        "maxItems": 20,
                                        "title": "Totals",
                                        "description": "Totals used to generate and validate the invoice."
                                      }
                                    },
                                    "required": [
                                      "columns",
                                      "rows"
                                    ]
                                  },
                                  "maxItems": 1000,
                                  "title": "Tables",
                                  "description": "Tables used to generate and validate the invoice."
                                }
                              },
                              "required": [
                                "metadata"
                              ]
                            },
                            "maxItems": 1000,
                            "minItems": 1,
                            "title": "Blocks",
                            "description": "Blocks used to generate and validate the invoice."
                          }
                        },
                        "required": [
                          "consent_confirmed",
                          "blocks"
                        ],
                        "title": "Attachment",
                        "description": "Attachment used to generate and validate the invoice."
                      }
                    },
                    "required": [
                      "jst",
                      "gv"
                    ],
                    "description": "Strict Polish FA(3) options. Unknown nested fields are rejected.",
                    "title": "Ksef"
                  }
                },
                "required": [
                  "ksef"
                ],
                "description": "Product-specific options. Unknown fields are rejected.",
                "title": "Extensions"
              }
            },
            "additionalProperties": false
          },
          "invoices": {
            "title": "Batch invoices",
            "minItems": 1,
            "maxItems": 100,
            "type": "array",
            "description": "Optional batch of up to 100 invoices. Do not use with invoice.",
            "items": {
              "additionalProperties": false,
              "properties": {
                "invoice_number": {
                  "maxLength": 60,
                  "minLength": 1,
                  "title": "Invoice Number",
                  "type": "string",
                  "description": "Invoice Number used to generate and validate the invoice."
                },
                "document_kind": {
                  "default": "invoice",
                  "enum": [
                    "invoice",
                    "credit_note"
                  ],
                  "title": "Document Kind",
                  "type": "string",
                  "description": "Document Kind used to generate and validate the invoice."
                },
                "issue_date": {
                  "title": "Issue Date",
                  "type": "string",
                  "description": "Issue Date used to generate and validate the invoice.",
                  "editor": "datepicker",
                  "dateType": "absolute"
                },
                "due_date": {
                  "type": "string",
                  "title": "Due Date",
                  "nullable": true,
                  "description": "Due Date used to generate and validate the invoice.",
                  "editor": "datepicker",
                  "dateType": "absolute"
                },
                "tax_point_date": {
                  "type": "string",
                  "title": "Tax Point Date",
                  "nullable": true,
                  "description": "Tax Point Date used to generate and validate the invoice.",
                  "editor": "datepicker",
                  "dateType": "absolute"
                },
                "tax_point_date_code": {
                  "maxLength": 35,
                  "minLength": 1,
                  "type": "string",
                  "title": "Tax Point Date Code",
                  "nullable": true,
                  "description": "Tax Point Date Code used to generate and validate the invoice."
                },
                "delivery_date": {
                  "type": "string",
                  "title": "Delivery Date",
                  "nullable": true,
                  "description": "Delivery Date used to generate and validate the invoice.",
                  "editor": "datepicker",
                  "dateType": "absolute"
                },
                "invoice_period": {
                  "additionalProperties": false,
                  "properties": {
                    "start_date": {
                      "type": "string",
                      "title": "Start Date",
                      "nullable": true,
                      "description": "Start Date used to generate and validate the invoice.",
                      "editor": "datepicker",
                      "dateType": "absolute"
                    },
                    "end_date": {
                      "type": "string",
                      "title": "End Date",
                      "nullable": true,
                      "description": "End Date used to generate and validate the invoice.",
                      "editor": "datepicker",
                      "dateType": "absolute"
                    },
                    "description_code": {
                      "maxLength": 35,
                      "minLength": 1,
                      "type": "string",
                      "title": "Description Code",
                      "nullable": true,
                      "description": "Description Code used to generate and validate the invoice."
                    }
                  },
                  "title": "Period",
                  "type": "object",
                  "nullable": true,
                  "description": "Period used to generate and validate the invoice."
                },
                "delivery_period": {
                  "additionalProperties": false,
                  "properties": {
                    "start_date": {
                      "type": "string",
                      "title": "Start Date",
                      "nullable": true,
                      "description": "Start Date used to generate and validate the invoice.",
                      "editor": "datepicker",
                      "dateType": "absolute"
                    },
                    "end_date": {
                      "type": "string",
                      "title": "End Date",
                      "nullable": true,
                      "description": "End Date used to generate and validate the invoice.",
                      "editor": "datepicker",
                      "dateType": "absolute"
                    },
                    "description_code": {
                      "maxLength": 35,
                      "minLength": 1,
                      "type": "string",
                      "title": "Description Code",
                      "nullable": true,
                      "description": "Description Code used to generate and validate the invoice."
                    }
                  },
                  "title": "Period",
                  "type": "object",
                  "nullable": true,
                  "description": "Period used to generate and validate the invoice."
                },
                "currency": {
                  "default": "EUR",
                  "maxLength": 3,
                  "minLength": 3,
                  "title": "Currency",
                  "type": "string",
                  "description": "Currency used to generate and validate the invoice."
                },
                "tax_currency": {
                  "maxLength": 3,
                  "minLength": 3,
                  "type": "string",
                  "title": "Tax Currency",
                  "nullable": true,
                  "description": "Tax Currency used to generate and validate the invoice."
                },
                "tax_currency_tax_amount": {
                  "pattern": "^-?(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
                  "type": "string",
                  "title": "Tax Currency Tax Amount",
                  "nullable": true,
                  "description": "Tax Currency Tax Amount used to generate and validate the invoice."
                },
                "invoice_type_code": {
                  "default": "380",
                  "maxLength": 3,
                  "minLength": 2,
                  "title": "Invoice Type Code",
                  "type": "string",
                  "description": "Invoice Type Code used to generate and validate the invoice."
                },
                "buyer_reference": {
                  "maxLength": 100,
                  "type": "string",
                  "title": "Buyer Reference",
                  "nullable": true,
                  "description": "Buyer Reference used to generate and validate the invoice."
                },
                "purchase_order_reference": {
                  "maxLength": 100,
                  "type": "string",
                  "title": "Purchase Order Reference",
                  "nullable": true,
                  "description": "Purchase Order Reference used to generate and validate the invoice."
                },
                "sales_order_reference": {
                  "maxLength": 100,
                  "type": "string",
                  "title": "Sales Order Reference",
                  "nullable": true,
                  "description": "Sales Order Reference used to generate and validate the invoice."
                },
                "contract_reference": {
                  "maxLength": 100,
                  "type": "string",
                  "title": "Contract Reference",
                  "nullable": true,
                  "description": "Contract Reference used to generate and validate the invoice."
                },
                "project_reference": {
                  "maxLength": 100,
                  "type": "string",
                  "title": "Project Reference",
                  "nullable": true,
                  "description": "Project Reference used to generate and validate the invoice."
                },
                "project_name": {
                  "maxLength": 200,
                  "type": "string",
                  "title": "Project Name",
                  "nullable": true,
                  "description": "Project Name used to generate and validate the invoice."
                },
                "tender_reference": {
                  "maxLength": 100,
                  "type": "string",
                  "title": "Tender Reference",
                  "nullable": true,
                  "description": "Tender Reference used to generate and validate the invoice."
                },
                "receiving_advice_reference": {
                  "maxLength": 100,
                  "type": "string",
                  "title": "Receiving Advice Reference",
                  "nullable": true,
                  "description": "Receiving Advice Reference used to generate and validate the invoice."
                },
                "despatch_advice_reference": {
                  "maxLength": 100,
                  "type": "string",
                  "title": "Despatch Advice Reference",
                  "nullable": true,
                  "description": "Despatch Advice Reference used to generate and validate the invoice."
                },
                "accounting_cost": {
                  "maxLength": 200,
                  "type": "string",
                  "title": "Accounting Cost",
                  "nullable": true,
                  "description": "Accounting Cost used to generate and validate the invoice."
                },
                "seller": {
                  "additionalProperties": false,
                  "properties": {
                    "name": {
                      "maxLength": 200,
                      "minLength": 1,
                      "title": "Name",
                      "type": "string",
                      "description": "Name used to generate and validate the invoice."
                    },
                    "address": {
                      "additionalProperties": false,
                      "properties": {
                        "line1": {
                          "maxLength": 100,
                          "minLength": 1,
                          "title": "Line1",
                          "type": "string",
                          "description": "Line1 used to generate and validate the invoice."
                        },
                        "line2": {
                          "maxLength": 100,
                          "type": "string",
                          "title": "Line2",
                          "nullable": true,
                          "description": "Line2 used to generate and validate the invoice."
                        },
                        "line3": {
                          "maxLength": 100,
                          "type": "string",
                          "title": "Line3",
                          "nullable": true,
                          "description": "Line3 used to generate and validate the invoice."
                        },
                        "city": {
                          "maxLength": 60,
                          "minLength": 1,
                          "title": "City",
                          "type": "string",
                          "description": "City used to generate and validate the invoice."
                        },
                        "postal_code": {
                          "maxLength": 20,
                          "minLength": 1,
                          "title": "Postal Code",
                          "type": "string",
                          "description": "Postal Code used to generate and validate the invoice."
                        },
                        "country_code": {
                          "maxLength": 2,
                          "minLength": 2,
                          "title": "Country Code",
                          "type": "string",
                          "description": "Country Code used to generate and validate the invoice."
                        },
                        "region": {
                          "maxLength": 60,
                          "type": "string",
                          "title": "Region",
                          "nullable": true,
                          "description": "Region used to generate and validate the invoice."
                        }
                      },
                      "required": [
                        "line1",
                        "city",
                        "postal_code",
                        "country_code"
                      ],
                      "title": "Address",
                      "type": "object",
                      "description": "Address used to generate and validate the invoice."
                    },
                    "trading_name": {
                      "maxLength": 200,
                      "minLength": 1,
                      "type": "string",
                      "title": "Trading Name",
                      "nullable": true,
                      "description": "Trading Name used to generate and validate the invoice."
                    },
                    "vat_id": {
                      "maxLength": 30,
                      "minLength": 2,
                      "type": "string",
                      "title": "Vat Id",
                      "nullable": true,
                      "description": "Vat Id used to generate and validate the invoice."
                    },
                    "tax_id": {
                      "maxLength": 40,
                      "minLength": 2,
                      "type": "string",
                      "title": "Tax Id",
                      "nullable": true,
                      "description": "Tax Id used to generate and validate the invoice."
                    },
                    "registration_id": {
                      "maxLength": 60,
                      "minLength": 1,
                      "type": "string",
                      "title": "Registration Id",
                      "nullable": true,
                      "description": "Registration Id used to generate and validate the invoice."
                    },
                    "registration_scheme": {
                      "maxLength": 35,
                      "minLength": 1,
                      "type": "string",
                      "title": "Registration Scheme",
                      "nullable": true,
                      "description": "Registration Scheme used to generate and validate the invoice."
                    },
                    "additional_identifiers": {
                      "items": {
                        "additionalProperties": false,
                        "properties": {
                          "value": {
                            "maxLength": 200,
                            "minLength": 1,
                            "title": "Value",
                            "type": "string",
                            "description": "Value used to generate and validate the invoice."
                          },
                          "scheme_id": {
                            "maxLength": 35,
                            "minLength": 1,
                            "type": "string",
                            "title": "Scheme Id",
                            "nullable": true,
                            "description": "Scheme Id used to generate and validate the invoice."
                          }
                        },
                        "required": [
                          "value"
                        ],
                        "type": "object"
                      },
                      "maxItems": 20,
                      "title": "Additional Identifiers",
                      "type": "array",
                      "description": "Additional Identifiers used to generate and validate the invoice."
                    },
                    "endpoint_id": {
                      "maxLength": 200,
                      "minLength": 1,
                      "type": "string",
                      "title": "Endpoint Id",
                      "nullable": true,
                      "description": "Endpoint Id used to generate and validate the invoice."
                    },
                    "endpoint_scheme": {
                      "maxLength": 35,
                      "minLength": 1,
                      "type": "string",
                      "title": "Endpoint Scheme",
                      "nullable": true,
                      "description": "Endpoint Scheme used to generate and validate the invoice."
                    },
                    "legal_information": {
                      "maxLength": 500,
                      "minLength": 1,
                      "type": "string",
                      "title": "Legal Information",
                      "nullable": true,
                      "description": "Legal Information used to generate and validate the invoice."
                    },
                    "contact_name": {
                      "maxLength": 100,
                      "minLength": 1,
                      "type": "string",
                      "title": "Contact Name",
                      "nullable": true,
                      "description": "Contact Name used to generate and validate the invoice."
                    },
                    "contact_department": {
                      "maxLength": 100,
                      "minLength": 1,
                      "type": "string",
                      "title": "Contact Department",
                      "nullable": true,
                      "description": "Contact Department used to generate and validate the invoice."
                    },
                    "phone": {
                      "maxLength": 50,
                      "minLength": 3,
                      "type": "string",
                      "title": "Phone",
                      "nullable": true,
                      "description": "Phone used to generate and validate the invoice."
                    },
                    "email": {
                      "maxLength": 254,
                      "minLength": 3,
                      "type": "string",
                      "title": "Email",
                      "nullable": true,
                      "description": "Email used to generate and validate the invoice."
                    }
                  },
                  "required": [
                    "name",
                    "address"
                  ],
                  "title": "Party",
                  "type": "object",
                  "description": "Party used to generate and validate the invoice."
                },
                "buyer": {
                  "additionalProperties": false,
                  "properties": {
                    "name": {
                      "maxLength": 200,
                      "minLength": 1,
                      "title": "Name",
                      "type": "string",
                      "description": "Name used to generate and validate the invoice."
                    },
                    "address": {
                      "additionalProperties": false,
                      "properties": {
                        "line1": {
                          "maxLength": 100,
                          "minLength": 1,
                          "title": "Line1",
                          "type": "string",
                          "description": "Line1 used to generate and validate the invoice."
                        },
                        "line2": {
                          "maxLength": 100,
                          "type": "string",
                          "title": "Line2",
                          "nullable": true,
                          "description": "Line2 used to generate and validate the invoice."
                        },
                        "line3": {
                          "maxLength": 100,
                          "type": "string",
                          "title": "Line3",
                          "nullable": true,
                          "description": "Line3 used to generate and validate the invoice."
                        },
                        "city": {
                          "maxLength": 60,
                          "minLength": 1,
                          "title": "City",
                          "type": "string",
                          "description": "City used to generate and validate the invoice."
                        },
                        "postal_code": {
                          "maxLength": 20,
                          "minLength": 1,
                          "title": "Postal Code",
                          "type": "string",
                          "description": "Postal Code used to generate and validate the invoice."
                        },
                        "country_code": {
                          "maxLength": 2,
                          "minLength": 2,
                          "title": "Country Code",
                          "type": "string",
                          "description": "Country Code used to generate and validate the invoice."
                        },
                        "region": {
                          "maxLength": 60,
                          "type": "string",
                          "title": "Region",
                          "nullable": true,
                          "description": "Region used to generate and validate the invoice."
                        }
                      },
                      "required": [
                        "line1",
                        "city",
                        "postal_code",
                        "country_code"
                      ],
                      "title": "Address",
                      "type": "object",
                      "description": "Address used to generate and validate the invoice."
                    },
                    "trading_name": {
                      "maxLength": 200,
                      "minLength": 1,
                      "type": "string",
                      "title": "Trading Name",
                      "nullable": true,
                      "description": "Trading Name used to generate and validate the invoice."
                    },
                    "vat_id": {
                      "maxLength": 30,
                      "minLength": 2,
                      "type": "string",
                      "title": "Vat Id",
                      "nullable": true,
                      "description": "Vat Id used to generate and validate the invoice."
                    },
                    "tax_id": {
                      "maxLength": 40,
                      "minLength": 2,
                      "type": "string",
                      "title": "Tax Id",
                      "nullable": true,
                      "description": "Tax Id used to generate and validate the invoice."
                    },
                    "registration_id": {
                      "maxLength": 60,
                      "minLength": 1,
                      "type": "string",
                      "title": "Registration Id",
                      "nullable": true,
                      "description": "Registration Id used to generate and validate the invoice."
                    },
                    "registration_scheme": {
                      "maxLength": 35,
                      "minLength": 1,
                      "type": "string",
                      "title": "Registration Scheme",
                      "nullable": true,
                      "description": "Registration Scheme used to generate and validate the invoice."
                    },
                    "additional_identifiers": {
                      "items": {
                        "additionalProperties": false,
                        "properties": {
                          "value": {
                            "maxLength": 200,
                            "minLength": 1,
                            "title": "Value",
                            "type": "string",
                            "description": "Value used to generate and validate the invoice."
                          },
                          "scheme_id": {
                            "maxLength": 35,
                            "minLength": 1,
                            "type": "string",
                            "title": "Scheme Id",
                            "nullable": true,
                            "description": "Scheme Id used to generate and validate the invoice."
                          }
                        },
                        "required": [
                          "value"
                        ],
                        "type": "object"
                      },
                      "maxItems": 20,
                      "title": "Additional Identifiers",
                      "type": "array",
                      "description": "Additional Identifiers used to generate and validate the invoice."
                    },
                    "endpoint_id": {
                      "maxLength": 200,
                      "minLength": 1,
                      "type": "string",
                      "title": "Endpoint Id",
                      "nullable": true,
                      "description": "Endpoint Id used to generate and validate the invoice."
                    },
                    "endpoint_scheme": {
                      "maxLength": 35,
                      "minLength": 1,
                      "type": "string",
                      "title": "Endpoint Scheme",
                      "nullable": true,
                      "description": "Endpoint Scheme used to generate and validate the invoice."
                    },
                    "legal_information": {
                      "maxLength": 500,
                      "minLength": 1,
                      "type": "string",
                      "title": "Legal Information",
                      "nullable": true,
                      "description": "Legal Information used to generate and validate the invoice."
                    },
                    "contact_name": {
                      "maxLength": 100,
                      "minLength": 1,
                      "type": "string",
                      "title": "Contact Name",
                      "nullable": true,
                      "description": "Contact Name used to generate and validate the invoice."
                    },
                    "contact_department": {
                      "maxLength": 100,
                      "minLength": 1,
                      "type": "string",
                      "title": "Contact Department",
                      "nullable": true,
                      "description": "Contact Department used to generate and validate the invoice."
                    },
                    "phone": {
                      "maxLength": 50,
                      "minLength": 3,
                      "type": "string",
                      "title": "Phone",
                      "nullable": true,
                      "description": "Phone used to generate and validate the invoice."
                    },
                    "email": {
                      "maxLength": 254,
                      "minLength": 3,
                      "type": "string",
                      "title": "Email",
                      "nullable": true,
                      "description": "Email used to generate and validate the invoice."
                    }
                  },
                  "required": [
                    "name",
                    "address"
                  ],
                  "title": "Party",
                  "type": "object",
                  "description": "Party used to generate and validate the invoice."
                },
                "payee": {
                  "additionalProperties": false,
                  "properties": {
                    "name": {
                      "maxLength": 200,
                      "minLength": 1,
                      "title": "Name",
                      "type": "string",
                      "description": "Name used to generate and validate the invoice."
                    },
                    "address": {
                      "additionalProperties": false,
                      "properties": {
                        "line1": {
                          "maxLength": 100,
                          "minLength": 1,
                          "title": "Line1",
                          "type": "string",
                          "description": "Line1 used to generate and validate the invoice."
                        },
                        "line2": {
                          "maxLength": 100,
                          "type": "string",
                          "title": "Line2",
                          "nullable": true,
                          "description": "Line2 used to generate and validate the invoice."
                        },
                        "line3": {
                          "maxLength": 100,
                          "type": "string",
                          "title": "Line3",
                          "nullable": true,
                          "description": "Line3 used to generate and validate the invoice."
                        },
                        "city": {
                          "maxLength": 60,
                          "minLength": 1,
                          "title": "City",
                          "type": "string",
                          "description": "City used to generate and validate the invoice."
                        },
                        "postal_code": {
                          "maxLength": 20,
                          "minLength": 1,
                          "title": "Postal Code",
                          "type": "string",
                          "description": "Postal Code used to generate and validate the invoice."
                        },
                        "country_code": {
                          "maxLength": 2,
                          "minLength": 2,
                          "title": "Country Code",
                          "type": "string",
                          "description": "Country Code used to generate and validate the invoice."
                        },
                        "region": {
                          "maxLength": 60,
                          "type": "string",
                          "title": "Region",
                          "nullable": true,
                          "description": "Region used to generate and validate the invoice."
                        }
                      },
                      "required": [
                        "line1",
                        "city",
                        "postal_code",
                        "country_code"
                      ],
                      "title": "Address",
                      "type": "object",
                      "description": "Address used to generate and validate the invoice."
                    },
                    "trading_name": {
                      "maxLength": 200,
                      "minLength": 1,
                      "type": "string",
                      "title": "Trading Name",
                      "nullable": true,
                      "description": "Trading Name used to generate and validate the invoice."
                    },
                    "vat_id": {
                      "maxLength": 30,
                      "minLength": 2,
                      "type": "string",
                      "title": "Vat Id",
                      "nullable": true,
                      "description": "Vat Id used to generate and validate the invoice."
                    },
                    "tax_id": {
                      "maxLength": 40,
                      "minLength": 2,
                      "type": "string",
                      "title": "Tax Id",
                      "nullable": true,
                      "description": "Tax Id used to generate and validate the invoice."
                    },
                    "registration_id": {
                      "maxLength": 60,
                      "minLength": 1,
                      "type": "string",
                      "title": "Registration Id",
                      "nullable": true,
                      "description": "Registration Id used to generate and validate the invoice."
                    },
                    "registration_scheme": {
                      "maxLength": 35,
                      "minLength": 1,
                      "type": "string",
                      "title": "Registration Scheme",
                      "nullable": true,
                      "description": "Registration Scheme used to generate and validate the invoice."
                    },
                    "additional_identifiers": {
                      "items": {
                        "additionalProperties": false,
                        "properties": {
                          "value": {
                            "maxLength": 200,
                            "minLength": 1,
                            "title": "Value",
                            "type": "string",
                            "description": "Value used to generate and validate the invoice."
                          },
                          "scheme_id": {
                            "maxLength": 35,
                            "minLength": 1,
                            "type": "string",
                            "title": "Scheme Id",
                            "nullable": true,
                            "description": "Scheme Id used to generate and validate the invoice."
                          }
                        },
                        "required": [
                          "value"
                        ],
                        "type": "object"
                      },
                      "maxItems": 20,
                      "title": "Additional Identifiers",
                      "type": "array",
                      "description": "Additional Identifiers used to generate and validate the invoice."
                    },
                    "endpoint_id": {
                      "maxLength": 200,
                      "minLength": 1,
                      "type": "string",
                      "title": "Endpoint Id",
                      "nullable": true,
                      "description": "Endpoint Id used to generate and validate the invoice."
                    },
                    "endpoint_scheme": {
                      "maxLength": 35,
                      "minLength": 1,
                      "type": "string",
                      "title": "Endpoint Scheme",
                      "nullable": true,
                      "description": "Endpoint Scheme used to generate and validate the invoice."
                    },
                    "legal_information": {
                      "maxLength": 500,
                      "minLength": 1,
                      "type": "string",
                      "title": "Legal Information",
                      "nullable": true,
                      "description": "Legal Information used to generate and validate the invoice."
                    },
                    "contact_name": {
                      "maxLength": 100,
                      "minLength": 1,
                      "type": "string",
                      "title": "Contact Name",
                      "nullable": true,
                      "description": "Contact Name used to generate and validate the invoice."
                    },
                    "contact_department": {
                      "maxLength": 100,
                      "minLength": 1,
                      "type": "string",
                      "title": "Contact Department",
                      "nullable": true,
                      "description": "Contact Department used to generate and validate the invoice."
                    },
                    "phone": {
                      "maxLength": 50,
                      "minLength": 3,
                      "type": "string",
                      "title": "Phone",
                      "nullable": true,
                      "description": "Phone used to generate and validate the invoice."
                    },
                    "email": {
                      "maxLength": 254,
                      "minLength": 3,
                      "type": "string",
                      "title": "Email",
                      "nullable": true,
                      "description": "Email used to generate and validate the invoice."
                    }
                  },
                  "required": [
                    "name",
                    "address"
                  ],
                  "title": "Party",
                  "type": "object",
                  "nullable": true,
                  "description": "Party used to generate and validate the invoice."
                },
                "seller_tax_representative": {
                  "additionalProperties": false,
                  "properties": {
                    "name": {
                      "maxLength": 200,
                      "minLength": 1,
                      "title": "Name",
                      "type": "string",
                      "description": "Name used to generate and validate the invoice."
                    },
                    "address": {
                      "additionalProperties": false,
                      "properties": {
                        "line1": {
                          "maxLength": 100,
                          "minLength": 1,
                          "title": "Line1",
                          "type": "string",
                          "description": "Line1 used to generate and validate the invoice."
                        },
                        "line2": {
                          "maxLength": 100,
                          "type": "string",
                          "title": "Line2",
                          "nullable": true,
                          "description": "Line2 used to generate and validate the invoice."
                        },
                        "line3": {
                          "maxLength": 100,
                          "type": "string",
                          "title": "Line3",
                          "nullable": true,
                          "description": "Line3 used to generate and validate the invoice."
                        },
                        "city": {
                          "maxLength": 60,
                          "minLength": 1,
                          "title": "City",
                          "type": "string",
                          "description": "City used to generate and validate the invoice."
                        },
                        "postal_code": {
                          "maxLength": 20,
                          "minLength": 1,
                          "title": "Postal Code",
                          "type": "string",
                          "description": "Postal Code used to generate and validate the invoice."
                        },
                        "country_code": {
                          "maxLength": 2,
                          "minLength": 2,
                          "title": "Country Code",
                          "type": "string",
                          "description": "Country Code used to generate and validate the invoice."
                        },
                        "region": {
                          "maxLength": 60,
                          "type": "string",
                          "title": "Region",
                          "nullable": true,
                          "description": "Region used to generate and validate the invoice."
                        }
                      },
                      "required": [
                        "line1",
                        "city",
                        "postal_code",
                        "country_code"
                      ],
                      "title": "Address",
                      "type": "object",
                      "description": "Address used to generate and validate the invoice."
                    },
                    "trading_name": {
                      "maxLength": 200,
                      "minLength": 1,
                      "type": "string",
                      "title": "Trading Name",
                      "nullable": true,
                      "description": "Trading Name used to generate and validate the invoice."
                    },
                    "vat_id": {
                      "maxLength": 30,
                      "minLength": 2,
                      "type": "string",
                      "title": "Vat Id",
                      "nullable": true,
                      "description": "Vat Id used to generate and validate the invoice."
                    },
                    "tax_id": {
                      "maxLength": 40,
                      "minLength": 2,
                      "type": "string",
                      "title": "Tax Id",
                      "nullable": true,
                      "description": "Tax Id used to generate and validate the invoice."
                    },
                    "registration_id": {
                      "maxLength": 60,
                      "minLength": 1,
                      "type": "string",
                      "title": "Registration Id",
                      "nullable": true,
                      "description": "Registration Id used to generate and validate the invoice."
                    },
                    "registration_scheme": {
                      "maxLength": 35,
                      "minLength": 1,
                      "type": "string",
                      "title": "Registration Scheme",
                      "nullable": true,
                      "description": "Registration Scheme used to generate and validate the invoice."
                    },
                    "additional_identifiers": {
                      "items": {
                        "additionalProperties": false,
                        "properties": {
                          "value": {
                            "maxLength": 200,
                            "minLength": 1,
                            "title": "Value",
                            "type": "string",
                            "description": "Value used to generate and validate the invoice."
                          },
                          "scheme_id": {
                            "maxLength": 35,
                            "minLength": 1,
                            "type": "string",
                            "title": "Scheme Id",
                            "nullable": true,
                            "description": "Scheme Id used to generate and validate the invoice."
                          }
                        },
                        "required": [
                          "value"
                        ],
                        "type": "object"
                      },
                      "maxItems": 20,
                      "title": "Additional Identifiers",
                      "type": "array",
                      "description": "Additional Identifiers used to generate and validate the invoice."
                    },
                    "endpoint_id": {
                      "maxLength": 200,
                      "minLength": 1,
                      "type": "string",
                      "title": "Endpoint Id",
                      "nullable": true,
                      "description": "Endpoint Id used to generate and validate the invoice."
                    },
                    "endpoint_scheme": {
                      "maxLength": 35,
                      "minLength": 1,
                      "type": "string",
                      "title": "Endpoint Scheme",
                      "nullable": true,
                      "description": "Endpoint Scheme used to generate and validate the invoice."
                    },
                    "legal_information": {
                      "maxLength": 500,
                      "minLength": 1,
                      "type": "string",
                      "title": "Legal Information",
                      "nullable": true,
                      "description": "Legal Information used to generate and validate the invoice."
                    },
                    "contact_name": {
                      "maxLength": 100,
                      "minLength": 1,
                      "type": "string",
                      "title": "Contact Name",
                      "nullable": true,
                      "description": "Contact Name used to generate and validate the invoice."
                    },
                    "contact_department": {
                      "maxLength": 100,
                      "minLength": 1,
                      "type": "string",
                      "title": "Contact Department",
                      "nullable": true,
                      "description": "Contact Department used to generate and validate the invoice."
                    },
                    "phone": {
                      "maxLength": 50,
                      "minLength": 3,
                      "type": "string",
                      "title": "Phone",
                      "nullable": true,
                      "description": "Phone used to generate and validate the invoice."
                    },
                    "email": {
                      "maxLength": 254,
                      "minLength": 3,
                      "type": "string",
                      "title": "Email",
                      "nullable": true,
                      "description": "Email used to generate and validate the invoice."
                    }
                  },
                  "required": [
                    "name",
                    "address"
                  ],
                  "title": "Party",
                  "type": "object",
                  "nullable": true,
                  "description": "Party used to generate and validate the invoice."
                },
                "delivery_address": {
                  "additionalProperties": false,
                  "properties": {
                    "line1": {
                      "maxLength": 100,
                      "minLength": 1,
                      "title": "Line1",
                      "type": "string",
                      "description": "Line1 used to generate and validate the invoice."
                    },
                    "line2": {
                      "maxLength": 100,
                      "type": "string",
                      "title": "Line2",
                      "nullable": true,
                      "description": "Line2 used to generate and validate the invoice."
                    },
                    "line3": {
                      "maxLength": 100,
                      "type": "string",
                      "title": "Line3",
                      "nullable": true,
                      "description": "Line3 used to generate and validate the invoice."
                    },
                    "city": {
                      "maxLength": 60,
                      "minLength": 1,
                      "title": "City",
                      "type": "string",
                      "description": "City used to generate and validate the invoice."
                    },
                    "postal_code": {
                      "maxLength": 20,
                      "minLength": 1,
                      "title": "Postal Code",
                      "type": "string",
                      "description": "Postal Code used to generate and validate the invoice."
                    },
                    "country_code": {
                      "maxLength": 2,
                      "minLength": 2,
                      "title": "Country Code",
                      "type": "string",
                      "description": "Country Code used to generate and validate the invoice."
                    },
                    "region": {
                      "maxLength": 60,
                      "type": "string",
                      "title": "Region",
                      "nullable": true,
                      "description": "Region used to generate and validate the invoice."
                    }
                  },
                  "required": [
                    "line1",
                    "city",
                    "postal_code",
                    "country_code"
                  ],
                  "title": "Address",
                  "type": "object",
                  "nullable": true,
                  "description": "Address used to generate and validate the invoice."
                },
                "delivery_location_id": {
                  "additionalProperties": false,
                  "properties": {
                    "value": {
                      "maxLength": 200,
                      "minLength": 1,
                      "title": "Value",
                      "type": "string",
                      "description": "Value used to generate and validate the invoice."
                    },
                    "scheme_id": {
                      "maxLength": 35,
                      "minLength": 1,
                      "type": "string",
                      "title": "Scheme Id",
                      "nullable": true,
                      "description": "Scheme Id used to generate and validate the invoice."
                    }
                  },
                  "required": [
                    "value"
                  ],
                  "title": "Identifier",
                  "type": "object",
                  "nullable": true,
                  "description": "Identifier used to generate and validate the invoice."
                },
                "delivery_party_name": {
                  "maxLength": 200,
                  "minLength": 1,
                  "type": "string",
                  "title": "Delivery Party Name",
                  "nullable": true,
                  "description": "Delivery Party Name used to generate and validate the invoice."
                },
                "lines": {
                  "items": {
                    "additionalProperties": false,
                    "properties": {
                      "id": {
                        "maxLength": 100,
                        "minLength": 1,
                        "type": "string",
                        "title": "Id",
                        "nullable": true,
                        "description": "Id used to generate and validate the invoice."
                      },
                      "name": {
                        "maxLength": 200,
                        "minLength": 1,
                        "type": "string",
                        "title": "Name",
                        "nullable": true,
                        "description": "Name used to generate and validate the invoice."
                      },
                      "description": {
                        "maxLength": 1000,
                        "minLength": 1,
                        "title": "Description",
                        "type": "string",
                        "description": "Description used to generate and validate the invoice."
                      },
                      "note": {
                        "maxLength": 500,
                        "minLength": 1,
                        "type": "string",
                        "title": "Note",
                        "nullable": true,
                        "description": "Note used to generate and validate the invoice."
                      },
                      "quantity": {
                        "pattern": "^-?(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
                        "type": "string",
                        "title": "Quantity",
                        "description": "Quantity used to generate and validate the invoice."
                      },
                      "unit_code": {
                        "default": "C62",
                        "maxLength": 3,
                        "minLength": 2,
                        "title": "Unit Code",
                        "type": "string",
                        "description": "Unit Code used to generate and validate the invoice."
                      },
                      "unit_price": {
                        "pattern": "^-?(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
                        "type": "string",
                        "title": "Unit Price",
                        "description": "Unit Price used to generate and validate the invoice."
                      },
                      "price_base_quantity": {
                        "pattern": "^-?(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
                        "type": "string",
                        "default": "1",
                        "title": "Price Base Quantity",
                        "description": "Price Base Quantity used to generate and validate the invoice."
                      },
                      "price_base_unit_code": {
                        "maxLength": 3,
                        "minLength": 2,
                        "type": "string",
                        "title": "Price Base Unit Code",
                        "nullable": true,
                        "description": "Price Base Unit Code used to generate and validate the invoice."
                      },
                      "gross_unit_price": {
                        "pattern": "^-?(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
                        "type": "string",
                        "title": "Gross Unit Price",
                        "nullable": true,
                        "description": "Gross Unit Price used to generate and validate the invoice."
                      },
                      "gross_price_discount": {
                        "pattern": "^-?(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
                        "type": "string",
                        "title": "Gross Price Discount",
                        "nullable": true,
                        "description": "Gross Price Discount used to generate and validate the invoice."
                      },
                      "tax_rate": {
                        "pattern": "^-?(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
                        "type": "string",
                        "title": "Tax Rate",
                        "description": "Tax Rate used to generate and validate the invoice."
                      },
                      "tax_category": {
                        "default": "S",
                        "maxLength": 3,
                        "minLength": 1,
                        "title": "Tax Category",
                        "type": "string",
                        "description": "Tax Category used to generate and validate the invoice."
                      },
                      "tax_exemption_reason": {
                        "maxLength": 500,
                        "type": "string",
                        "title": "Tax Exemption Reason",
                        "nullable": true,
                        "description": "Tax Exemption Reason used to generate and validate the invoice."
                      },
                      "tax_exemption_reason_code": {
                        "maxLength": 35,
                        "type": "string",
                        "title": "Tax Exemption Reason Code",
                        "nullable": true,
                        "description": "Tax Exemption Reason Code used to generate and validate the invoice."
                      },
                      "allowances_charges": {
                        "items": {
                          "additionalProperties": false,
                          "properties": {
                            "is_charge": {
                              "title": "Is Charge",
                              "type": "boolean",
                              "description": "Is Charge used to generate and validate the invoice."
                            },
                            "amount": {
                              "pattern": "^-?(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
                              "type": "string",
                              "title": "Amount",
                              "description": "Amount used to generate and validate the invoice."
                            },
                            "base_amount": {
                              "pattern": "^-?(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
                              "type": "string",
                              "title": "Base Amount",
                              "nullable": true,
                              "description": "Base Amount used to generate and validate the invoice."
                            },
                            "percentage": {
                              "pattern": "^-?(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
                              "type": "string",
                              "title": "Percentage",
                              "nullable": true,
                              "description": "Percentage used to generate and validate the invoice."
                            },
                            "reason": {
                              "maxLength": 500,
                              "minLength": 1,
                              "title": "Reason",
                              "type": "string",
                              "description": "Reason used to generate and validate the invoice."
                            },
                            "reason_code": {
                              "maxLength": 35,
                              "minLength": 1,
                              "type": "string",
                              "title": "Reason Code",
                              "nullable": true,
                              "description": "Reason Code used to generate and validate the invoice."
                            },
                            "tax_category": {
                              "maxLength": 3,
                              "minLength": 1,
                              "type": "string",
                              "title": "Tax Category",
                              "nullable": true,
                              "description": "Tax Category used to generate and validate the invoice."
                            },
                            "tax_rate": {
                              "pattern": "^-?(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
                              "type": "string",
                              "title": "Tax Rate",
                              "nullable": true,
                              "description": "Tax Rate used to generate and validate the invoice."
                            },
                            "tax_exemption_reason": {
                              "maxLength": 500,
                              "minLength": 1,
                              "type": "string",
                              "title": "Tax Exemption Reason",
                              "nullable": true,
                              "description": "Tax Exemption Reason used to generate and validate the invoice."
                            },
                            "tax_exemption_reason_code": {
                              "maxLength": 35,
                              "minLength": 1,
                              "type": "string",
                              "title": "Tax Exemption Reason Code",
                              "nullable": true,
                              "description": "Tax Exemption Reason Code used to generate and validate the invoice."
                            }
                          },
                          "required": [
                            "is_charge",
                            "amount",
                            "reason"
                          ],
                          "type": "object"
                        },
                        "maxItems": 100,
                        "title": "Allowances Charges",
                        "type": "array",
                        "description": "Allowances Charges used to generate and validate the invoice."
                      },
                      "period": {
                        "additionalProperties": false,
                        "properties": {
                          "start_date": {
                            "type": "string",
                            "title": "Start Date",
                            "nullable": true,
                            "description": "Start Date used to generate and validate the invoice.",
                            "editor": "datepicker",
                            "dateType": "absolute"
                          },
                          "end_date": {
                            "type": "string",
                            "title": "End Date",
                            "nullable": true,
                            "description": "End Date used to generate and validate the invoice.",
                            "editor": "datepicker",
                            "dateType": "absolute"
                          },
                          "description_code": {
                            "maxLength": 35,
                            "minLength": 1,
                            "type": "string",
                            "title": "Description Code",
                            "nullable": true,
                            "description": "Description Code used to generate and validate the invoice."
                          }
                        },
                        "title": "Period",
                        "type": "object",
                        "nullable": true,
                        "description": "Period used to generate and validate the invoice."
                      },
                      "accounting_cost": {
                        "maxLength": 200,
                        "minLength": 1,
                        "type": "string",
                        "title": "Accounting Cost",
                        "nullable": true,
                        "description": "Accounting Cost used to generate and validate the invoice."
                      },
                      "purchase_order_line_reference": {
                        "maxLength": 100,
                        "minLength": 1,
                        "type": "string",
                        "title": "Purchase Order Line Reference",
                        "nullable": true,
                        "description": "Purchase Order Line Reference used to generate and validate the invoice."
                      },
                      "object_identifier": {
                        "additionalProperties": false,
                        "properties": {
                          "value": {
                            "maxLength": 200,
                            "minLength": 1,
                            "title": "Value",
                            "type": "string",
                            "description": "Value used to generate and validate the invoice."
                          },
                          "scheme_id": {
                            "maxLength": 35,
                            "minLength": 1,
                            "type": "string",
                            "title": "Scheme Id",
                            "nullable": true,
                            "description": "Scheme Id used to generate and validate the invoice."
                          }
                        },
                        "required": [
                          "value"
                        ],
                        "title": "Identifier",
                        "type": "object",
                        "nullable": true,
                        "description": "Identifier used to generate and validate the invoice."
                      },
                      "seller_item_id": {
                        "maxLength": 100,
                        "minLength": 1,
                        "type": "string",
                        "title": "Seller Item Id",
                        "nullable": true,
                        "description": "Seller Item Id used to generate and validate the invoice."
                      },
                      "buyer_item_id": {
                        "maxLength": 100,
                        "minLength": 1,
                        "type": "string",
                        "title": "Buyer Item Id",
                        "nullable": true,
                        "description": "Buyer Item Id used to generate and validate the invoice."
                      },
                      "standard_item_id": {
                        "additionalProperties": false,
                        "properties": {
                          "value": {
                            "maxLength": 200,
                            "minLength": 1,
                            "title": "Value",
                            "type": "string",
                            "description": "Value used to generate and validate the invoice."
                          },
                          "scheme_id": {
                            "maxLength": 35,
                            "minLength": 1,
                            "type": "string",
                            "title": "Scheme Id",
                            "nullable": true,
                            "description": "Scheme Id used to generate and validate the invoice."
                          }
                        },
                        "required": [
                          "value"
                        ],
                        "title": "Identifier",
                        "type": "object",
                        "nullable": true,
                        "description": "Identifier used to generate and validate the invoice."
                      },
                      "classifications": {
                        "items": {
                          "additionalProperties": false,
                          "properties": {
                            "value": {
                              "maxLength": 200,
                              "minLength": 1,
                              "title": "Value",
                              "type": "string",
                              "description": "Value used to generate and validate the invoice."
                            },
                            "scheme_id": {
                              "maxLength": 35,
                              "minLength": 1,
                              "title": "Scheme Id",
                              "type": "string",
                              "description": "Scheme Id used to generate and validate the invoice."
                            },
                            "scheme_version": {
                              "maxLength": 35,
                              "minLength": 1,
                              "type": "string",
                              "title": "Scheme Version",
                              "nullable": true,
                              "description": "Scheme Version used to generate and validate the invoice."
                            }
                          },
                          "required": [
                            "value",
                            "scheme_id"
                          ],
                          "type": "object"
                        },
                        "maxItems": 20,
                        "title": "Classifications",
                        "type": "array",
                        "description": "Classifications used to generate and validate the invoice."
                      },
                      "attributes": {
                        "items": {
                          "additionalProperties": false,
                          "properties": {
                            "name": {
                              "maxLength": 100,
                              "minLength": 1,
                              "title": "Name",
                              "type": "string",
                              "description": "Name used to generate and validate the invoice."
                            },
                            "value": {
                              "maxLength": 500,
                              "minLength": 1,
                              "title": "Value",
                              "type": "string",
                              "description": "Value used to generate and validate the invoice."
                            }
                          },
                          "required": [
                            "name",
                            "value"
                          ],
                          "type": "object"
                        },
                        "maxItems": 50,
                        "title": "Attributes",
                        "type": "array",
                        "description": "Attributes used to generate and validate the invoice."
                      },
                      "origin_country_code": {
                        "maxLength": 2,
                        "minLength": 2,
                        "type": "string",
                        "title": "Origin Country Code",
                        "nullable": true,
                        "description": "Origin Country Code used to generate and validate the invoice."
                      }
                    },
                    "required": [
                      "description",
                      "quantity",
                      "unit_price",
                      "tax_rate"
                    ],
                    "type": "object"
                  },
                  "maxItems": 1000,
                  "minItems": 1,
                  "title": "Lines",
                  "type": "array",
                  "description": "Lines used to generate and validate the invoice."
                },
                "document_allowances_charges": {
                  "items": {
                    "additionalProperties": false,
                    "properties": {
                      "is_charge": {
                        "title": "Is Charge",
                        "type": "boolean",
                        "description": "Is Charge used to generate and validate the invoice."
                      },
                      "amount": {
                        "pattern": "^-?(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
                        "type": "string",
                        "title": "Amount",
                        "description": "Amount used to generate and validate the invoice."
                      },
                      "base_amount": {
                        "pattern": "^-?(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
                        "type": "string",
                        "title": "Base Amount",
                        "nullable": true,
                        "description": "Base Amount used to generate and validate the invoice."
                      },
                      "percentage": {
                        "pattern": "^-?(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
                        "type": "string",
                        "title": "Percentage",
                        "nullable": true,
                        "description": "Percentage used to generate and validate the invoice."
                      },
                      "reason": {
                        "maxLength": 500,
                        "minLength": 1,
                        "title": "Reason",
                        "type": "string",
                        "description": "Reason used to generate and validate the invoice."
                      },
                      "reason_code": {
                        "maxLength": 35,
                        "minLength": 1,
                        "type": "string",
                        "title": "Reason Code",
                        "nullable": true,
                        "description": "Reason Code used to generate and validate the invoice."
                      },
                      "tax_category": {
                        "maxLength": 3,
                        "minLength": 1,
                        "type": "string",
                        "title": "Tax Category",
                        "nullable": true,
                        "description": "Tax Category used to generate and validate the invoice."
                      },
                      "tax_rate": {
                        "pattern": "^-?(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
                        "type": "string",
                        "title": "Tax Rate",
                        "nullable": true,
                        "description": "Tax Rate used to generate and validate the invoice."
                      },
                      "tax_exemption_reason": {
                        "maxLength": 500,
                        "minLength": 1,
                        "type": "string",
                        "title": "Tax Exemption Reason",
                        "nullable": true,
                        "description": "Tax Exemption Reason used to generate and validate the invoice."
                      },
                      "tax_exemption_reason_code": {
                        "maxLength": 35,
                        "minLength": 1,
                        "type": "string",
                        "title": "Tax Exemption Reason Code",
                        "nullable": true,
                        "description": "Tax Exemption Reason Code used to generate and validate the invoice."
                      }
                    },
                    "required": [
                      "is_charge",
                      "amount",
                      "reason"
                    ],
                    "type": "object"
                  },
                  "maxItems": 100,
                  "title": "Document Allowances Charges",
                  "type": "array",
                  "description": "Document Allowances Charges used to generate and validate the invoice."
                },
                "payment": {
                  "additionalProperties": false,
                  "properties": {
                    "means_code": {
                      "default": "30",
                      "maxLength": 3,
                      "minLength": 1,
                      "title": "Means Code",
                      "type": "string",
                      "description": "Means Code used to generate and validate the invoice."
                    },
                    "means_text": {
                      "maxLength": 100,
                      "minLength": 1,
                      "type": "string",
                      "title": "Means Text",
                      "nullable": true,
                      "description": "Means Text used to generate and validate the invoice."
                    },
                    "reference": {
                      "maxLength": 140,
                      "type": "string",
                      "title": "Reference",
                      "nullable": true,
                      "description": "Reference used to generate and validate the invoice."
                    },
                    "account_id": {
                      "maxLength": 70,
                      "minLength": 1,
                      "type": "string",
                      "title": "Account Id",
                      "nullable": true,
                      "description": "Account Id used to generate and validate the invoice."
                    },
                    "account_name": {
                      "maxLength": 200,
                      "minLength": 1,
                      "type": "string",
                      "title": "Account Name",
                      "nullable": true,
                      "description": "Account Name used to generate and validate the invoice."
                    },
                    "iban": {
                      "maxLength": 34,
                      "minLength": 5,
                      "type": "string",
                      "title": "Iban",
                      "nullable": true,
                      "description": "Iban used to generate and validate the invoice."
                    },
                    "bic": {
                      "maxLength": 11,
                      "minLength": 8,
                      "type": "string",
                      "title": "Bic",
                      "nullable": true,
                      "description": "Bic used to generate and validate the invoice."
                    },
                    "bank_name": {
                      "maxLength": 200,
                      "minLength": 1,
                      "type": "string",
                      "title": "Bank Name",
                      "nullable": true,
                      "description": "Bank Name used to generate and validate the invoice."
                    },
                    "mandate_reference": {
                      "maxLength": 100,
                      "minLength": 1,
                      "type": "string",
                      "title": "Mandate Reference",
                      "nullable": true,
                      "description": "Mandate Reference used to generate and validate the invoice."
                    },
                    "creditor_identifier": {
                      "maxLength": 100,
                      "minLength": 1,
                      "type": "string",
                      "title": "Creditor Identifier",
                      "nullable": true,
                      "description": "Creditor Identifier used to generate and validate the invoice."
                    },
                    "payer_account_id": {
                      "maxLength": 70,
                      "minLength": 1,
                      "type": "string",
                      "title": "Payer Account Id",
                      "nullable": true,
                      "description": "Payer Account Id used to generate and validate the invoice."
                    },
                    "card_primary_account_number": {
                      "maxLength": 6,
                      "minLength": 4,
                      "type": "string",
                      "title": "Card Primary Account Number",
                      "nullable": true,
                      "description": "Card Primary Account Number used to generate and validate the invoice."
                    },
                    "card_holder_name": {
                      "maxLength": 100,
                      "minLength": 1,
                      "type": "string",
                      "title": "Card Holder Name",
                      "nullable": true,
                      "description": "Card Holder Name used to generate and validate the invoice."
                    }
                  },
                  "title": "Payment",
                  "type": "object",
                  "description": "Payment used to generate and validate the invoice."
                },
                "payment_terms": {
                  "maxLength": 1000,
                  "minLength": 1,
                  "type": "string",
                  "title": "Payment Terms",
                  "nullable": true,
                  "description": "Payment Terms used to generate and validate the invoice."
                },
                "prepaid_amount": {
                  "pattern": "^-?(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
                  "type": "string",
                  "default": "0",
                  "title": "Prepaid Amount",
                  "description": "Prepaid Amount used to generate and validate the invoice."
                },
                "rounding_amount": {
                  "pattern": "^-?(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
                  "type": "string",
                  "default": "0",
                  "title": "Rounding Amount",
                  "description": "Rounding Amount used to generate and validate the invoice."
                },
                "notes": {
                  "items": {
                    "type": "string"
                  },
                  "maxItems": 20,
                  "title": "Notes",
                  "type": "array",
                  "description": "Notes used to generate and validate the invoice."
                },
                "preceding_invoices": {
                  "items": {
                    "additionalProperties": false,
                    "properties": {
                      "id": {
                        "maxLength": 200,
                        "minLength": 1,
                        "title": "Id",
                        "type": "string",
                        "description": "Id used to generate and validate the invoice."
                      },
                      "issue_date": {
                        "type": "string",
                        "title": "Issue Date",
                        "nullable": true,
                        "description": "Issue Date used to generate and validate the invoice.",
                        "editor": "datepicker",
                        "dateType": "absolute"
                      },
                      "type_code": {
                        "maxLength": 35,
                        "minLength": 1,
                        "type": "string",
                        "title": "Type Code",
                        "nullable": true,
                        "description": "Type Code used to generate and validate the invoice."
                      },
                      "description": {
                        "maxLength": 500,
                        "minLength": 1,
                        "type": "string",
                        "title": "Description",
                        "nullable": true,
                        "description": "Description used to generate and validate the invoice."
                      },
                      "id_scheme": {
                        "maxLength": 35,
                        "minLength": 1,
                        "type": "string",
                        "title": "Id Scheme",
                        "nullable": true,
                        "description": "Id Scheme used to generate and validate the invoice."
                      },
                      "attachment": {
                        "additionalProperties": false,
                        "properties": {
                          "filename": {
                            "maxLength": 200,
                            "minLength": 1,
                            "type": "string",
                            "title": "Filename",
                            "nullable": true,
                            "description": "Filename used to generate and validate the invoice."
                          },
                          "mime_type": {
                            "maxLength": 100,
                            "minLength": 3,
                            "type": "string",
                            "title": "Mime Type",
                            "nullable": true,
                            "description": "Mime Type used to generate and validate the invoice."
                          },
                          "description": {
                            "maxLength": 500,
                            "minLength": 1,
                            "type": "string",
                            "title": "Description",
                            "nullable": true,
                            "description": "Description used to generate and validate the invoice."
                          },
                          "content_base64": {
                            "type": "string",
                            "title": "Content Base64",
                            "nullable": true,
                            "description": "Content Base64 used to generate and validate the invoice."
                          },
                          "external_uri": {
                            "maxLength": 2000,
                            "minLength": 1,
                            "type": "string",
                            "title": "External Uri",
                            "nullable": true,
                            "description": "External Uri used to generate and validate the invoice."
                          }
                        },
                        "title": "Attachment",
                        "type": "object",
                        "nullable": true,
                        "description": "Attachment used to generate and validate the invoice."
                      }
                    },
                    "required": [
                      "id"
                    ],
                    "type": "object"
                  },
                  "maxItems": 100,
                  "title": "Preceding Invoices",
                  "type": "array",
                  "description": "Preceding Invoices used to generate and validate the invoice."
                },
                "supporting_documents": {
                  "items": {
                    "additionalProperties": false,
                    "properties": {
                      "id": {
                        "maxLength": 200,
                        "minLength": 1,
                        "title": "Id",
                        "type": "string",
                        "description": "Id used to generate and validate the invoice."
                      },
                      "issue_date": {
                        "type": "string",
                        "title": "Issue Date",
                        "nullable": true,
                        "description": "Issue Date used to generate and validate the invoice.",
                        "editor": "datepicker",
                        "dateType": "absolute"
                      },
                      "type_code": {
                        "maxLength": 35,
                        "minLength": 1,
                        "type": "string",
                        "title": "Type Code",
                        "nullable": true,
                        "description": "Type Code used to generate and validate the invoice."
                      },
                      "description": {
                        "maxLength": 500,
                        "minLength": 1,
                        "type": "string",
                        "title": "Description",
                        "nullable": true,
                        "description": "Description used to generate and validate the invoice."
                      },
                      "id_scheme": {
                        "maxLength": 35,
                        "minLength": 1,
                        "type": "string",
                        "title": "Id Scheme",
                        "nullable": true,
                        "description": "Id Scheme used to generate and validate the invoice."
                      },
                      "attachment": {
                        "additionalProperties": false,
                        "properties": {
                          "filename": {
                            "maxLength": 200,
                            "minLength": 1,
                            "type": "string",
                            "title": "Filename",
                            "nullable": true,
                            "description": "Filename used to generate and validate the invoice."
                          },
                          "mime_type": {
                            "maxLength": 100,
                            "minLength": 3,
                            "type": "string",
                            "title": "Mime Type",
                            "nullable": true,
                            "description": "Mime Type used to generate and validate the invoice."
                          },
                          "description": {
                            "maxLength": 500,
                            "minLength": 1,
                            "type": "string",
                            "title": "Description",
                            "nullable": true,
                            "description": "Description used to generate and validate the invoice."
                          },
                          "content_base64": {
                            "type": "string",
                            "title": "Content Base64",
                            "nullable": true,
                            "description": "Content Base64 used to generate and validate the invoice."
                          },
                          "external_uri": {
                            "maxLength": 2000,
                            "minLength": 1,
                            "type": "string",
                            "title": "External Uri",
                            "nullable": true,
                            "description": "External Uri used to generate and validate the invoice."
                          }
                        },
                        "title": "Attachment",
                        "type": "object",
                        "nullable": true,
                        "description": "Attachment used to generate and validate the invoice."
                      }
                    },
                    "required": [
                      "id"
                    ],
                    "type": "object"
                  },
                  "maxItems": 100,
                  "title": "Supporting Documents",
                  "type": "array",
                  "description": "Supporting Documents used to generate and validate the invoice."
                },
                "extensions": {
                  "type": "object",
                  "additionalProperties": false,
                  "properties": {
                    "ksef": {
                      "type": "object",
                      "additionalProperties": false,
                      "properties": {
                        "jst": {
                          "type": "boolean",
                          "title": "Jst",
                          "description": "Jst used to generate and validate the invoice."
                        },
                        "gv": {
                          "type": "boolean",
                          "title": "Gv",
                          "description": "Gv used to generate and validate the invoice."
                        },
                        "customer_number": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 256,
                          "title": "Customer number",
                          "description": "Customer number used to generate and validate the invoice."
                        },
                        "document_type": {
                          "type": "string",
                          "enum": [
                            "VAT",
                            "KOR",
                            "ZAL",
                            "ROZ",
                            "UPR",
                            "KOR_ZAL",
                            "KOR_ROZ"
                          ],
                          "title": "Document type",
                          "description": "Document type used to generate and validate the invoice."
                        },
                        "issue_place": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 256,
                          "title": "Issue place",
                          "description": "Issue place used to generate and validate the invoice."
                        },
                        "warehouse_documents": {
                          "type": "array",
                          "items": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 256
                          },
                          "maxItems": 1000,
                          "title": "Warehouse documents",
                          "description": "Warehouse documents used to generate and validate the invoice."
                        },
                        "tax_codes": {
                          "type": "array",
                          "items": {
                            "type": "string",
                            "minLength": 1
                          },
                          "maxItems": 10000,
                          "title": "Tax codes",
                          "description": "Tax codes used to generate and validate the invoice."
                        },
                        "line_metadata": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "additionalProperties": false,
                            "properties": {
                              "row_number": {
                                "type": "integer",
                                "minimum": 1,
                                "maximum": 999999,
                                "title": "Row number",
                                "description": "Row number used to generate and validate the invoice."
                              },
                              "uuid": {
                                "type": "string",
                                "minLength": 1,
                                "maxLength": 50,
                                "title": "Uuid",
                                "description": "Uuid used to generate and validate the invoice."
                              },
                              "service_date": {
                                "type": "string",
                                "title": "Service date",
                                "description": "Service date used to generate and validate the invoice.",
                                "editor": "datepicker",
                                "dateType": "absolute"
                              },
                              "index": {
                                "type": "string",
                                "minLength": 1,
                                "maxLength": 50,
                                "title": "Index",
                                "description": "Index used to generate and validate the invoice."
                              },
                              "gtin": {
                                "type": "string",
                                "minLength": 1,
                                "maxLength": 20,
                                "title": "Gtin",
                                "description": "Gtin used to generate and validate the invoice."
                              },
                              "pkwiu": {
                                "type": "string",
                                "minLength": 1,
                                "maxLength": 50,
                                "title": "Pkwiu",
                                "description": "Pkwiu used to generate and validate the invoice."
                              },
                              "cn": {
                                "type": "string",
                                "minLength": 1,
                                "maxLength": 50,
                                "title": "Cn",
                                "description": "Cn used to generate and validate the invoice."
                              },
                              "pkob": {
                                "type": "string",
                                "minLength": 1,
                                "maxLength": 50,
                                "title": "Pkob",
                                "description": "Pkob used to generate and validate the invoice."
                              },
                              "tax_rate_xii": {
                                "type": "string",
                                "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
                                "description": "Decimal string. JSON floating-point numbers are rejected.",
                                "title": "Tax rate xii"
                              },
                              "appendix_15": {
                                "type": "boolean",
                                "title": "Appendix 15",
                                "description": "Appendix 15 used to generate and validate the invoice."
                              },
                              "excise_amount": {
                                "type": "string",
                                "pattern": "^-?(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
                                "description": "Decimal string. JSON floating-point numbers are rejected.",
                                "title": "Excise amount"
                              },
                              "gtu": {
                                "type": "string",
                                "enum": [
                                  "GTU_01",
                                  "GTU_02",
                                  "GTU_03",
                                  "GTU_04",
                                  "GTU_05",
                                  "GTU_06",
                                  "GTU_07",
                                  "GTU_08",
                                  "GTU_09",
                                  "GTU_10",
                                  "GTU_11",
                                  "GTU_12",
                                  "GTU_13"
                                ],
                                "title": "Gtu",
                                "description": "Gtu used to generate and validate the invoice."
                              },
                              "procedure": {
                                "type": "string",
                                "enum": [
                                  "WSTO_EE",
                                  "IED",
                                  "TT_D",
                                  "I_42",
                                  "I_63",
                                  "B_SPV",
                                  "B_SPV_DOSTAWA",
                                  "B_MPV_PROWIZJA"
                                ],
                                "title": "Procedure",
                                "description": "Procedure used to generate and validate the invoice."
                              },
                              "exchange_rate": {
                                "type": "string",
                                "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
                                "description": "Decimal string. JSON floating-point numbers are rejected.",
                                "title": "Exchange rate"
                              },
                              "before_correction": {
                                "type": "boolean",
                                "title": "Before correction",
                                "description": "Before correction used to generate and validate the invoice."
                              }
                            }
                          },
                          "maxItems": 10000,
                          "title": "Line metadata",
                          "description": "Line metadata used to generate and validate the invoice."
                        },
                        "tax_summary": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "additionalProperties": false,
                            "properties": {
                              "tax_code": {
                                "type": "string",
                                "minLength": 1,
                                "maxLength": 8,
                                "title": "Tax code",
                                "description": "Tax code used to generate and validate the invoice."
                              },
                              "taxable_amount": {
                                "type": "string",
                                "pattern": "^-?(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
                                "description": "Decimal string. JSON floating-point numbers are rejected.",
                                "title": "Taxable amount"
                              },
                              "tax_amount": {
                                "type": "string",
                                "pattern": "^-?(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
                                "description": "Decimal string. JSON floating-point numbers are rejected.",
                                "title": "Tax amount"
                              },
                              "tax_amount_pln": {
                                "type": "string",
                                "pattern": "^-?(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
                                "description": "Decimal string. JSON floating-point numbers are rejected.",
                                "title": "Tax amount pln"
                              }
                            },
                            "required": [
                              "tax_code",
                              "taxable_amount"
                            ]
                          },
                          "maxItems": 13,
                          "title": "Tax summary",
                          "description": "Tax summary used to generate and validate the invoice."
                        },
                        "amount_due": {
                          "type": "string",
                          "pattern": "^-?(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
                          "description": "Decimal string. JSON floating-point numbers are rejected.",
                          "title": "Amount due"
                        },
                        "pln_tax_amounts": {
                          "type": "object",
                          "additionalProperties": false,
                          "properties": {
                            "P_14_1W": {
                              "type": "string",
                              "pattern": "^-?(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
                              "description": "Decimal string. JSON floating-point numbers are rejected.",
                              "title": "P 14 1w"
                            },
                            "P_14_2W": {
                              "type": "string",
                              "pattern": "^-?(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
                              "description": "Decimal string. JSON floating-point numbers are rejected.",
                              "title": "P 14 2w"
                            },
                            "P_14_3W": {
                              "type": "string",
                              "pattern": "^-?(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
                              "description": "Decimal string. JSON floating-point numbers are rejected.",
                              "title": "P 14 3w"
                            },
                            "P_14_4W": {
                              "type": "string",
                              "pattern": "^-?(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
                              "description": "Decimal string. JSON floating-point numbers are rejected.",
                              "title": "P 14 4w"
                            }
                          },
                          "title": "Pln tax amounts",
                          "description": "Pln tax amounts used to generate and validate the invoice."
                        },
                        "annotations": {
                          "type": "object",
                          "additionalProperties": false,
                          "properties": {
                            "cash_accounting": {
                              "type": "boolean",
                              "title": "Cash accounting",
                              "description": "Cash accounting used to generate and validate the invoice."
                            },
                            "self_billing": {
                              "type": "boolean",
                              "title": "Self billing",
                              "description": "Self billing used to generate and validate the invoice."
                            },
                            "reverse_charge": {
                              "type": "boolean",
                              "title": "Reverse charge",
                              "description": "Reverse charge used to generate and validate the invoice."
                            },
                            "split_payment": {
                              "type": "boolean",
                              "title": "Split payment",
                              "description": "Split payment used to generate and validate the invoice."
                            },
                            "triangular": {
                              "type": "boolean",
                              "title": "Triangular",
                              "description": "Triangular used to generate and validate the invoice."
                            },
                            "exemption_basis": {
                              "type": "object",
                              "additionalProperties": false,
                              "properties": {
                                "kind": {
                                  "type": "string",
                                  "enum": [
                                    "domestic",
                                    "eu",
                                    "other"
                                  ],
                                  "title": "Kind",
                                  "description": "Kind used to generate and validate the invoice."
                                },
                                "text": {
                                  "type": "string",
                                  "minLength": 1,
                                  "maxLength": 256,
                                  "title": "Text",
                                  "description": "Text used to generate and validate the invoice."
                                }
                              },
                              "required": [
                                "kind",
                                "text"
                              ],
                              "title": "Exemption basis",
                              "description": "Exemption basis used to generate and validate the invoice."
                            },
                            "margin": {
                              "type": "string",
                              "enum": [
                                "travel",
                                "used_goods",
                                "art",
                                "collectors"
                              ],
                              "title": "Margin",
                              "description": "Margin used to generate and validate the invoice."
                            }
                          },
                          "title": "Annotations",
                          "description": "Annotations used to generate and validate the invoice."
                        },
                        "correction": {
                          "type": "object",
                          "additionalProperties": false,
                          "properties": {
                            "reason": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 256,
                              "title": "Reason",
                              "description": "Reason used to generate and validate the invoice."
                            },
                            "type": {
                              "type": "string",
                              "enum": [
                                "1",
                                "2",
                                "3"
                              ],
                              "title": "Type",
                              "description": "Type used to generate and validate the invoice."
                            },
                            "references": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "additionalProperties": false,
                                "properties": {
                                  "issue_date": {
                                    "type": "string",
                                    "title": "Issue date",
                                    "description": "Issue date used to generate and validate the invoice.",
                                    "editor": "datepicker",
                                    "dateType": "absolute"
                                  },
                                  "invoice_number": {
                                    "type": "string",
                                    "minLength": 1,
                                    "maxLength": 256,
                                    "title": "Invoice number",
                                    "description": "Invoice number used to generate and validate the invoice."
                                  },
                                  "ksef_number": {
                                    "type": "string",
                                    "minLength": 1,
                                    "maxLength": 64,
                                    "title": "Ksef number",
                                    "description": "Ksef number used to generate and validate the invoice."
                                  },
                                  "outside_ksef": {
                                    "type": "boolean",
                                    "title": "Outside ksef",
                                    "description": "Outside ksef used to generate and validate the invoice."
                                  }
                                },
                                "required": [
                                  "issue_date",
                                  "invoice_number"
                                ]
                              },
                              "maxItems": 50000,
                              "minItems": 1,
                              "title": "References",
                              "description": "References used to generate and validate the invoice."
                            },
                            "period": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 256,
                              "title": "Period",
                              "description": "Period used to generate and validate the invoice."
                            },
                            "corrected_number": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 256,
                              "title": "Corrected number",
                              "description": "Corrected number used to generate and validate the invoice."
                            },
                            "previous_amount": {
                              "type": "string",
                              "pattern": "^-?(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
                              "description": "Decimal string. JSON floating-point numbers are rejected.",
                              "title": "Previous amount"
                            }
                          },
                          "required": [
                            "references"
                          ],
                          "title": "Correction",
                          "description": "Correction used to generate and validate the invoice."
                        },
                        "advance_payments": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "additionalProperties": false,
                            "properties": {
                              "date": {
                                "type": "string",
                                "title": "Date",
                                "description": "Date used to generate and validate the invoice.",
                                "editor": "datepicker",
                                "dateType": "absolute"
                              },
                              "amount": {
                                "type": "string",
                                "pattern": "^-?(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
                                "description": "Decimal string. JSON floating-point numbers are rejected.",
                                "title": "Amount"
                              },
                              "exchange_rate": {
                                "type": "string",
                                "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
                                "description": "Decimal string. JSON floating-point numbers are rejected.",
                                "title": "Exchange rate"
                              }
                            },
                            "required": [
                              "date",
                              "amount"
                            ]
                          },
                          "maxItems": 31,
                          "title": "Advance payments",
                          "description": "Advance payments used to generate and validate the invoice."
                        },
                        "advance_references": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "additionalProperties": false,
                            "properties": {
                              "ksef_number": {
                                "type": "string",
                                "minLength": 1,
                                "maxLength": 64,
                                "title": "Ksef number",
                                "description": "Ksef number used to generate and validate the invoice."
                              },
                              "invoice_number": {
                                "type": "string",
                                "minLength": 1,
                                "maxLength": 256,
                                "title": "Invoice number",
                                "description": "Invoice number used to generate and validate the invoice."
                              },
                              "outside_ksef": {
                                "type": "boolean",
                                "title": "Outside ksef",
                                "description": "Outside ksef used to generate and validate the invoice."
                              }
                            }
                          },
                          "maxItems": 100,
                          "title": "Advance references",
                          "description": "Advance references used to generate and validate the invoice."
                        },
                        "advance_exchange_rate": {
                          "type": "string",
                          "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
                          "description": "Decimal string. JSON floating-point numbers are rejected.",
                          "title": "Advance exchange rate"
                        },
                        "order": {
                          "type": "object",
                          "additionalProperties": false,
                          "properties": {
                            "total": {
                              "type": "string",
                              "pattern": "^-?(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
                              "description": "Decimal string. JSON floating-point numbers are rejected.",
                              "title": "Total"
                            },
                            "lines": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "additionalProperties": false,
                                "properties": {
                                  "row_number": {
                                    "type": "integer",
                                    "minimum": 1,
                                    "title": "Row number",
                                    "description": "Row number used to generate and validate the invoice."
                                  },
                                  "uuid": {
                                    "type": "string",
                                    "minLength": 1,
                                    "maxLength": 50,
                                    "title": "Uuid",
                                    "description": "Uuid used to generate and validate the invoice."
                                  },
                                  "description": {
                                    "type": "string",
                                    "minLength": 1,
                                    "maxLength": 512,
                                    "title": "Description",
                                    "description": "Description used to generate and validate the invoice."
                                  },
                                  "index": {
                                    "type": "string",
                                    "minLength": 1,
                                    "maxLength": 50,
                                    "title": "Index",
                                    "description": "Index used to generate and validate the invoice."
                                  },
                                  "gtin": {
                                    "type": "string",
                                    "minLength": 1,
                                    "maxLength": 20,
                                    "title": "Gtin",
                                    "description": "Gtin used to generate and validate the invoice."
                                  },
                                  "pkwiu": {
                                    "type": "string",
                                    "minLength": 1,
                                    "maxLength": 50,
                                    "title": "Pkwiu",
                                    "description": "Pkwiu used to generate and validate the invoice."
                                  },
                                  "cn": {
                                    "type": "string",
                                    "minLength": 1,
                                    "maxLength": 50,
                                    "title": "Cn",
                                    "description": "Cn used to generate and validate the invoice."
                                  },
                                  "pkob": {
                                    "type": "string",
                                    "minLength": 1,
                                    "maxLength": 50,
                                    "title": "Pkob",
                                    "description": "Pkob used to generate and validate the invoice."
                                  },
                                  "unit": {
                                    "type": "string",
                                    "minLength": 1,
                                    "maxLength": 256,
                                    "title": "Unit",
                                    "description": "Unit used to generate and validate the invoice."
                                  },
                                  "quantity": {
                                    "type": "string",
                                    "pattern": "^-?(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
                                    "description": "Decimal string. JSON floating-point numbers are rejected.",
                                    "title": "Quantity"
                                  },
                                  "unit_price": {
                                    "type": "string",
                                    "pattern": "^-?(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
                                    "description": "Decimal string. JSON floating-point numbers are rejected.",
                                    "title": "Unit price"
                                  },
                                  "net_amount": {
                                    "type": "string",
                                    "pattern": "^-?(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
                                    "description": "Decimal string. JSON floating-point numbers are rejected.",
                                    "title": "Net amount"
                                  },
                                  "vat_amount": {
                                    "type": "string",
                                    "pattern": "^-?(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
                                    "description": "Decimal string. JSON floating-point numbers are rejected.",
                                    "title": "Vat amount"
                                  },
                                  "tax_code": {
                                    "type": "string",
                                    "enum": [
                                      "23",
                                      "22",
                                      "8",
                                      "7",
                                      "5",
                                      "4",
                                      "3",
                                      "0 KR",
                                      "0 WDT",
                                      "0 EX",
                                      "zw",
                                      "oo",
                                      "np I",
                                      "np II",
                                      "XII",
                                      "margin"
                                    ],
                                    "title": "Tax code",
                                    "description": "Tax code used to generate and validate the invoice."
                                  },
                                  "tax_rate_xii": {
                                    "type": "string",
                                    "pattern": "^(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
                                    "description": "Decimal string. JSON floating-point numbers are rejected.",
                                    "title": "Tax rate xii"
                                  },
                                  "appendix_15": {
                                    "type": "boolean",
                                    "title": "Appendix 15",
                                    "description": "Appendix 15 used to generate and validate the invoice."
                                  },
                                  "gtu": {
                                    "type": "string",
                                    "enum": [
                                      "GTU_01",
                                      "GTU_02",
                                      "GTU_03",
                                      "GTU_04",
                                      "GTU_05",
                                      "GTU_06",
                                      "GTU_07",
                                      "GTU_08",
                                      "GTU_09",
                                      "GTU_10",
                                      "GTU_11",
                                      "GTU_12",
                                      "GTU_13"
                                    ],
                                    "title": "Gtu",
                                    "description": "Gtu used to generate and validate the invoice."
                                  },
                                  "procedure": {
                                    "type": "string",
                                    "enum": [
                                      "WSTO_EE",
                                      "IED",
                                      "TT_D",
                                      "B_SPV",
                                      "B_SPV_DOSTAWA",
                                      "B_MPV_PROWIZJA"
                                    ],
                                    "title": "Procedure",
                                    "description": "Procedure used to generate and validate the invoice."
                                  },
                                  "excise_amount": {
                                    "type": "string",
                                    "pattern": "^-?(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
                                    "description": "Decimal string. JSON floating-point numbers are rejected.",
                                    "title": "Excise amount"
                                  },
                                  "before_correction": {
                                    "type": "boolean",
                                    "title": "Before correction",
                                    "description": "Before correction used to generate and validate the invoice."
                                  }
                                },
                                "required": [
                                  "row_number",
                                  "description",
                                  "net_amount"
                                ]
                              },
                              "maxItems": 10000,
                              "minItems": 1,
                              "title": "Lines",
                              "description": "Lines used to generate and validate the invoice."
                            }
                          },
                          "required": [
                            "total",
                            "lines"
                          ],
                          "title": "Order",
                          "description": "Order used to generate and validate the invoice."
                        },
                        "payment_status": {
                          "type": "object",
                          "additionalProperties": false,
                          "properties": {
                            "kind": {
                              "type": "string",
                              "enum": [
                                "unpaid",
                                "paid",
                                "partial",
                                "paid_in_parts"
                              ],
                              "title": "Kind",
                              "description": "Kind used to generate and validate the invoice."
                            },
                            "date": {
                              "type": "string",
                              "title": "Date",
                              "description": "Date used to generate and validate the invoice.",
                              "editor": "datepicker",
                              "dateType": "absolute"
                            },
                            "parts": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "additionalProperties": false,
                                "properties": {
                                  "amount": {
                                    "type": "string",
                                    "pattern": "^-?(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?$",
                                    "description": "Decimal string. JSON floating-point numbers are rejected.",
                                    "title": "Amount"
                                  },
                                  "date": {
                                    "type": "string",
                                    "title": "Date",
                                    "description": "Date used to generate and validate the invoice.",
                                    "editor": "datepicker",
                                    "dateType": "absolute"
                                  },
                                  "payment_form": {
                                    "type": "string",
                                    "enum": [
                                      "1",
                                      "2",
                                      "3",
                                      "4",
                                      "5",
                                      "6",
                                      "7"
                                    ],
                                    "title": "Payment form",
                                    "description": "Payment form used to generate and validate the invoice."
                                  },
                                  "payment_other": {
                                    "type": "string",
                                    "minLength": 1,
                                    "maxLength": 256,
                                    "title": "Payment other",
                                    "description": "Payment other used to generate and validate the invoice."
                                  }
                                },
                                "required": [
                                  "amount",
                                  "date"
                                ]
                              },
                              "maxItems": 100,
                              "minItems": 1,
                              "title": "Parts",
                              "description": "Parts used to generate and validate the invoice."
                            }
                          },
                          "required": [
                            "kind"
                          ],
                          "title": "Payment status",
                          "description": "Payment status used to generate and validate the invoice."
                        },
                        "payment_form": {
                          "type": "string",
                          "enum": [
                            "1",
                            "2",
                            "3",
                            "4",
                            "5",
                            "6",
                            "7"
                          ],
                          "title": "Payment form",
                          "description": "Payment form used to generate and validate the invoice."
                        },
                        "payment_other": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 256,
                          "title": "Payment other",
                          "description": "Payment other used to generate and validate the invoice."
                        },
                        "attachment": {
                          "type": "object",
                          "additionalProperties": false,
                          "properties": {
                            "consent_confirmed": {
                              "type": "boolean",
                              "title": "Consent confirmed",
                              "description": "Consent confirmed used to generate and validate the invoice."
                            },
                            "blocks": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "additionalProperties": false,
                                "properties": {
                                  "header": {
                                    "type": "string",
                                    "minLength": 1,
                                    "maxLength": 512,
                                    "title": "Header",
                                    "description": "Header used to generate and validate the invoice."
                                  },
                                  "metadata": {
                                    "type": "array",
                                    "items": {
                                      "type": "object",
                                      "additionalProperties": false,
                                      "properties": {
                                        "key": {
                                          "type": "string",
                                          "minLength": 1,
                                          "maxLength": 256,
                                          "title": "Key",
                                          "description": "Key used to generate and validate the invoice."
                                        },
                                        "value": {
                                          "type": "string",
                                          "minLength": 1,
                                          "maxLength": 256,
                                          "title": "Value",
                                          "description": "Value used to generate and validate the invoice."
                                        }
                                      },
                                      "required": [
                                        "key",
                                        "value"
                                      ]
                                    },
                                    "maxItems": 1000,
                                    "minItems": 1,
                                    "title": "Metadata",
                                    "description": "Metadata used to generate and validate the invoice."
                                  },
                                  "paragraphs": {
                                    "type": "array",
                                    "items": {
                                      "type": "string",
                                      "minLength": 1,
                                      "maxLength": 512
                                    },
                                    "maxItems": 10,
                                    "title": "Paragraphs",
                                    "description": "Paragraphs used to generate and validate the invoice."
                                  },
                                  "tables": {
                                    "type": "array",
                                    "items": {
                                      "type": "object",
                                      "additionalProperties": false,
                                      "properties": {
                                        "metadata": {
                                          "type": "array",
                                          "items": {
                                            "type": "object",
                                            "additionalProperties": false,
                                            "properties": {
                                              "key": {
                                                "type": "string",
                                                "minLength": 1,
                                                "maxLength": 256,
                                                "title": "Key",
                                                "description": "Key used to generate and validate the invoice."
                                              },
                                              "value": {
                                                "type": "string",
                                                "minLength": 1,
                                                "maxLength": 256,
                                                "title": "Value",
                                                "description": "Value used to generate and validate the invoice."
                                              }
                                            },
                                            "required": [
                                              "key",
                                              "value"
                                            ]
                                          },
                                          "maxItems": 1000,
                                          "title": "Metadata",
                                          "description": "Metadata used to generate and validate the invoice."
                                        },
                                        "description": {
                                          "type": "string",
                                          "minLength": 1,
                                          "maxLength": 512,
                                          "title": "Description",
                                          "description": "Description used to generate and validate the invoice."
                                        },
                                        "columns": {
                                          "type": "array",
                                          "items": {
                                            "type": "object",
                                            "additionalProperties": false,
                                            "properties": {
                                              "type": {
                                                "type": "string",
                                                "enum": [
                                                  "date",
                                                  "datetime",
                                                  "dec",
                                                  "int",
                                                  "time",
                                                  "txt"
                                                ],
                                                "title": "Type",
                                                "description": "Type used to generate and validate the invoice."
                                              },
                                              "value": {
                                                "type": "string",
                                                "minLength": 0,
                                                "maxLength": 256,
                                                "title": "Value",
                                                "description": "Value used to generate and validate the invoice."
                                              }
                                            },
                                            "required": [
                                              "type",
                                              "value"
                                            ]
                                          },
                                          "maxItems": 20,
                                          "minItems": 1,
                                          "title": "Columns",
                                          "description": "Columns used to generate and validate the invoice."
                                        },
                                        "rows": {
                                          "type": "array",
                                          "items": {
                                            "type": "array",
                                            "items": {
                                              "type": "string",
                                              "minLength": 0,
                                              "maxLength": 256
                                            }
                                          },
                                          "maxItems": 1000,
                                          "minItems": 1,
                                          "title": "Rows",
                                          "description": "Rows used to generate and validate the invoice."
                                        },
                                        "totals": {
                                          "type": "array",
                                          "items": {
                                            "type": "string",
                                            "minLength": 0,
                                            "maxLength": 256
                                          },
                                          "maxItems": 20,
                                          "title": "Totals",
                                          "description": "Totals used to generate and validate the invoice."
                                        }
                                      },
                                      "required": [
                                        "columns",
                                        "rows"
                                      ]
                                    },
                                    "maxItems": 1000,
                                    "title": "Tables",
                                    "description": "Tables used to generate and validate the invoice."
                                  }
                                },
                                "required": [
                                  "metadata"
                                ]
                              },
                              "maxItems": 1000,
                              "minItems": 1,
                              "title": "Blocks",
                              "description": "Blocks used to generate and validate the invoice."
                            }
                          },
                          "required": [
                            "consent_confirmed",
                            "blocks"
                          ],
                          "title": "Attachment",
                          "description": "Attachment used to generate and validate the invoice."
                        }
                      },
                      "required": [
                        "jst",
                        "gv"
                      ],
                      "description": "Strict Polish FA(3) options. Unknown nested fields are rejected.",
                      "title": "Ksef"
                    }
                  },
                  "required": [
                    "ksef"
                  ],
                  "description": "Product-specific options. Unknown fields are rejected.",
                  "title": "Extensions"
                }
              },
              "required": [
                "invoice_number",
                "issue_date",
                "seller",
                "buyer",
                "lines"
              ],
              "type": "object"
            }
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}