Agicap E-Invoicing (v1)

Manage e-invoicing flows

OpenAPI Specification

agicap-einvoicing-v1-openapi.json Raw ↑
{
 "components": {
  "schemas": {
   "AcknowledgementDetailResult": {
    "additionalProperties": false,
    "properties": {
     "businessTermCode": {
      "nullable": true,
      "type": "string"
     },
     "businessTermLabelFr": {
      "nullable": true,
      "type": "string"
     },
     "fixHintFr": {
      "nullable": true,
      "type": "string"
     },
     "item": {
      "nullable": true,
      "type": "string"
     },
     "level": {
      "$ref": "#/components/schemas/Level"
     },
     "reasonCode": {
      "minLength": 1,
      "type": "string"
     },
     "reasonMessage": {
      "minLength": 1,
      "type": "string"
     },
     "reasonMessageFr": {
      "nullable": true,
      "type": "string"
     },
     "ruleCode": {
      "nullable": true,
      "type": "string"
     },
     "sourcePath": {
      "nullable": true,
      "type": "string"
     }
    },
    "required": [
     "level",
     "reasonCode",
     "reasonMessage"
    ],
    "type": "object"
   },
   "AcknowledgementResult": {
    "additionalProperties": false,
    "properties": {
     "details": {
      "items": {
       "$ref": "#/components/schemas/AcknowledgementDetailResult"
      },
      "nullable": true,
      "type": "array"
     },
     "status": {
      "$ref": "#/components/schemas/FlowAckStatus"
     }
    },
    "required": [
     "status"
    ],
    "type": "object"
   },
   "AdditionalDocumentReference": {
    "additionalProperties": false,
    "properties": {
     "internalCustomerNumber": {
      "nullable": true,
      "type": "string"
     }
    },
    "type": "object"
   },
   "Allowance": {
    "additionalProperties": false,
    "properties": {
     "baseAmount": {
      "format": "double",
      "nullable": true,
      "type": "number"
     },
     "multiplierFactor": {
      "format": "double",
      "nullable": true,
      "type": "number"
     },
     "reason": {
      "nullable": true,
      "type": "string"
     },
     "reasonCode": {
      "nullable": true,
      "type": "string"
     },
     "taxCategoryCode": {
      "nullable": true,
      "type": "string"
     },
     "taxExclusiveAmount": {
      "format": "double",
      "nullable": true,
      "type": "number"
     },
     "taxRate": {
      "format": "double",
      "nullable": true,
      "type": "number"
     }
    },
    "type": "object"
   },
   "BillingServiceAddress": {
    "additionalProperties": false,
    "properties": {
     "addressLine1": {
      "nullable": true,
      "type": "string"
     },
     "addressLine2": {
      "nullable": true,
      "type": "string"
     },
     "addressLine3": {
      "nullable": true,
      "type": "string"
     },
     "city": {
      "nullable": true,
      "type": "string"
     },
     "countryCode": {
      "nullable": true,
      "type": "string"
     },
     "postalCode": {
      "nullable": true,
      "type": "string"
     },
     "region": {
      "nullable": true,
      "type": "string"
     }
    },
    "type": "object"
   },
   "BillingServiceContact": {
    "additionalProperties": false,
    "properties": {
     "email": {
      "nullable": true,
      "type": "string"
     },
     "name": {
      "nullable": true,
      "type": "string"
     },
     "telephone": {
      "nullable": true,
      "type": "string"
     }
    },
    "type": "object"
   },
   "Buyer": {
    "additionalProperties": false,
    "properties": {
     "address": {
      "$ref": "#/components/schemas/BuyerAddress"
     },
     "businessName": {
      "nullable": true,
      "type": "string"
     },
     "contact": {
      "$ref": "#/components/schemas/BuyerContact"
     },
     "electronicAddress": {
      "nullable": true,
      "type": "string"
     },
     "identifier": {
      "items": {
       "type": "string"
      },
      "nullable": true,
      "type": "array"
     },
     "legalRegistrationId": {
      "nullable": true,
      "type": "string"
     },
     "registrationName": {
      "nullable": true,
      "type": "string"
     },
     "vatId": {
      "nullable": true,
      "type": "string"
     }
    },
    "type": "object"
   },
   "BuyerAddress": {
    "additionalProperties": false,
    "properties": {
     "addressLine1": {
      "nullable": true,
      "type": "string"
     },
     "addressLine2": {
      "nullable": true,
      "type": "string"
     },
     "addressLine3": {
      "nullable": true,
      "type": "string"
     },
     "city": {
      "nullable": true,
      "type": "string"
     },
     "countryCode": {
      "nullable": true,
      "type": "string"
     },
     "postalCode": {
      "nullable": true,
      "type": "string"
     },
     "region": {
      "nullable": true,
      "type": "string"
     }
    },
    "type": "object"
   },
   "BuyerAgentAddress": {
    "additionalProperties": false,
    "properties": {
     "addressLine1": {
      "nullable": true,
      "type": "string"
     },
     "addressLine2": {
      "nullable": true,
      "type": "string"
     },
     "addressLine3": {
      "nullable": true,
      "type": "string"
     },
     "city": {
      "nullable": true,
      "type": "string"
     },
     "countryCode": {
      "nullable": true,
      "type": "string"
     },
     "postalCode": {
      "nullable": true,
      "type": "string"
     },
     "region": {
      "nullable": true,
      "type": "string"
     }
    },
    "type": "object"
   },
   "BuyerAgentContact": {
    "additionalProperties": false,
    "properties": {
     "email": {
      "nullable": true,
      "type": "string"
     },
     "name": {
      "nullable": true,
      "type": "string"
     },
     "telephone": {
      "nullable": true,
      "type": "string"
     }
    },
    "type": "object"
   },
   "BuyerContact": {
    "additionalProperties": false,
    "properties": {
     "email": {
      "nullable": true,
      "type": "string"
     },
     "name": {
      "nullable": true,
      "type": "string"
     },
     "telephone": {
      "nullable": true,
      "type": "string"
     }
    },
    "type": "object"
   },
   "Charge": {
    "additionalProperties": false,
    "properties": {
     "baseAmount": {
      "format": "double",
      "nullable": true,
      "type": "number"
     },
     "multiplierFactor": {
      "format": "double",
      "nullable": true,
      "type": "number"
     },
     "reason": {
      "nullable": true,
      "type": "string"
     },
     "reasonCode": {
      "nullable": true,
      "type": "string"
     },
     "taxCategoryCode": {
      "nullable": true,
      "type": "string"
     },
     "taxExclusiveAmount": {
      "format": "double",
      "nullable": true,
      "type": "number"
     },
     "taxRate": {
      "format": "double",
      "nullable": true,
      "type": "number"
     }
    },
    "type": "object"
   },
   "CurrencyCode": {
    "additionalProperties": false,
    "enum": [
     "AED",
     "AFN",
     "ALL",
     "AMD",
     "ANG",
     "AOA",
     "ARS",
     "AUD",
     "AWG",
     "AZN",
     "BAM",
     "BBD",
     "BDT",
     "BGN",
     "BHD",
     "BIF",
     "BMD",
     "BND",
     "BOB",
     "BOV",
     "BRL",
     "BSD",
     "BTN",
     "BWP",
     "BYN",
     "BZD",
     "CAD",
     "CDF",
     "CHE",
     "CHF",
     "CHW",
     "CLF",
     "CLP",
     "CNY",
     "COP",
     "COU",
     "CRC",
     "CUC",
     "CUP",
     "CVE",
     "CZK",
     "DJF",
     "DKK",
     "DOP",
     "DZD",
     "EGP",
     "ERN",
     "ETB",
     "EUR",
     "FJD",
     "FKP",
     "GBP",
     "GEL",
     "GHS",
     "GIP",
     "GMD",
     "GNF",
     "GTQ",
     "GYD",
     "HKD",
     "HNL",
     "HTG",
     "HUF",
     "IDR",
     "ILS",
     "INR",
     "IQD",
     "IRR",
     "ISK",
     "JMD",
     "JOD",
     "JPY",
     "KES",
     "KGS",
     "KHR",
     "KMF",
     "KPW",
     "KRW",
     "KWD",
     "KYD",
     "KZT",
     "LAK",
     "LBP",
     "LKR",
     "LRD",
     "LSL",
     "LYD",
     "MAD",
     "MDL",
     "MGA",
     "MKD",
     "MMK",
     "MNT",
     "MOP",
     "MRU",
     "MUR",
     "MVR",
     "MWK",
     "MXN",
     "MXV",
     "MYR",
     "MZN",
     "NAD",
     "NGN",
     "NIO",
     "NOK",
     "NPR",
     "NZD",
     "OMR",
     "PAB",
     "PEN",
     "PGK",
     "PHP",
     "PKR",
     "PLN",
     "PYG",
     "QAR",
     "RON",
     "RSD",
     "RUB",
     "RWF",
     "SAR",
     "SBD",
     "SCR",
     "SDG",
     "SEK",
     "SGD",
     "SHP",
     "SLE",
     "SOS",
     "SRD",
     "SSP",
     "STN",
     "SVC",
     "SYP",
     "SZL",
     "THB",
     "TJS",
     "TMT",
     "TND",
     "TOP",
     "TRY",
     "TTD",
     "TWD",
     "TZS",
     "UAH",
     "UGX",
     "USD",
     "USN",
     "UYI",
     "UYU",
     "UYW",
     "UZS",
     "VED",
     "VES",
     "VND",
     "VUV",
     "WST",
     "XAF",
     "XAG",
     "XAU",
     "XBA",
     "XBB",
     "XBC",
     "XBD",
     "XCD",
     "XDR",
     "XOF",
     "XPD",
     "XPF",
     "XPT",
     "XSU",
     "XTS",
     "XUA",
     "XXX",
     "YER",
     "ZAR",
     "ZMW",
     "ZWG",
     "ZWL"
    ],
    "type": "string"
   },
   "Delivery": {
    "additionalProperties": false,
    "properties": {
     "actualDeliveryDate": {
      "nullable": true,
      "type": "string"
     },
     "address": {
      "$ref": "#/components/schemas/DeliveryAddress"
     },
     "locationId": {
      "nullable": true,
      "type": "string"
     },
     "name": {
      "nullable": true,
      "type": "string"
     }
    },
    "type": "object"
   },
   "DeliveryAddress": {
    "additionalProperties": false,
    "properties": {
     "addressLine1": {
      "nullable": true,
      "type": "string"
     },
     "addressLine2": {
      "nullable": true,
      "type": "string"
     },
     "addressLine3": {
      "nullable": true,
      "type": "string"
     },
     "city": {
      "nullable": true,
      "type": "string"
     },
     "countryCode": {
      "nullable": true,
      "type": "string"
     },
     "postalCode": {
      "nullable": true,
      "type": "string"
     },
     "region": {
      "nullable": true,
      "type": "string"
     }
    },
    "type": "object"
   },
   "DirectDebit": {
    "additionalProperties": false,
    "properties": {
     "creditorIdentifier": {
      "nullable": true,
      "type": "string"
     },
     "debitedAccountIdentifier": {
      "nullable": true,
      "type": "string"
     },
     "mandateReference": {
      "nullable": true,
      "type": "string"
     }
    },
    "type": "object"
   },
   "Error": {
    "additionalProperties": false,
    "properties": {
     "errorCode": {
      "minLength": 1,
      "type": "string"
     },
     "errorMessage": {
      "nullable": true,
      "type": "string"
     }
    },
    "required": [
     "errorCode"
    ],
    "type": "object"
   },
   "ExtBillingService": {
    "additionalProperties": false,
    "properties": {
     "address": {
      "$ref": "#/components/schemas/BillingServiceAddress"
     },
     "businessName": {
      "nullable": true,
      "type": "string"
     },
     "contact": {
      "$ref": "#/components/schemas/BillingServiceContact"
     },
     "electronicAddress": {
      "nullable": true,
      "type": "string"
     },
     "identifier": {
      "items": {
       "type": "string"
      },
      "nullable": true,
      "type": "array"
     },
     "legalRegistrationId": {
      "nullable": true,
      "type": "string"
     },
     "registrationName": {
      "nullable": true,
      "type": "string"
     },
     "roleCode": {
      "nullable": true,
      "type": "string"
     },
     "vatId": {
      "nullable": true,
      "type": "string"
     }
    },
    "type": "object"
   },
   "ExtBuyerAgent": {
    "additionalProperties": false,
    "properties": {
     "address": {
      "$ref": "#/components/schemas/BuyerAgentAddress"
     },
     "businessName": {
      "nullable": true,
      "type": "string"
     },
     "contact": {
      "$ref": "#/components/schemas/BuyerAgentContact"
     },
     "electronicAddress": {
      "nullable": true,
      "type": "string"
     },
     "identifier": {
      "items": {
       "type": "string"
      },
      "nullable": true,
      "type": "array"
     },
     "legalRegistrationId": {
      "nullable": true,
      "type": "string"
     },
     "registrationName": {
      "nullable": true,
      "type": "string"
     },
     "roleCode": {
      "nullable": true,
      "type": "string"
     },
     "vatId": {
      "nullable": true,
      "type": "string"
     }
    },
    "type": "object"
   },
   "ExtInvoicePayer": {
    "additionalProperties": false,
    "properties": {
     "address": {
      "$ref": "#/components/schemas/InvoicePayerAddress"
     },
     "businessName": {
      "nullable": true,
      "type": "string"
     },
     "contact": {
      "$ref": "#/components/schemas/InvoicePayerContact"
     },
     "electronicAddress": {
      "nullable": true,
      "type": "string"
     },
     "identifier": {
      "items": {
       "type": "string"
      },
      "nullable": true,
      "type": "array"
     },
     "legalRegistrationId": {
      "nullable": true,
      "type": "string"
     },
     "registrationName": {
      "nullable": true,
      "type": "string"
     },
     "roleCode": {
      "nullable": true,
      "type": "string"
     },
     "vatId": {
      "nullable": true,
      "type": "string"
     }
    },
    "type": "object"
   },
   "ExtSellerAgent": {
    "additionalProperties": false,
    "properties": {
     "address": {
      "$ref": "#/components/schemas/SellerAgentAddress"
     },
     "businessName": {
      "nullable": true,
      "type": "string"
     },
     "contact": {
      "$ref": "#/components/schemas/SellerAgentContact"
     },
     "electronicAddress": {
      "nullable": true,
      "type": "string"
     },
     "identifier": {
      "items": {
       "type": "string"
      },
      "nullable": true,
      "type": "array"
     },
     "legalRegistrationId": {
      "nullable": true,
      "type": "string"
     },
     "registrationName": {
      "nullable": true,
      "type": "string"
     },
     "roleCode": {
      "nullable": true,
      "type": "string"
     },
     "vatId": {
      "nullable": true,
      "type": "string"
     }
    },
    "type": "object"
   },
   "FlowAckStatus": {
    "additionalProperties": false,
    "enum": [
     "Pending",
     "Ok",
     "Error",
     "Archived"
    ],
    "type": "string"
   },
   "FlowDirection": {
    "additionalProperties": false,
    "enum": [
     "In",
     "Out"
    ],
    "type": "string"
   },
   "FlowDocFormat": {
    "additionalProperties": false,
    "enum": [
     "Json",
     "UBL",
     "CII",
     "CDAR"
    ],
    "type": "string"
   },
   "FlowDocType": {
    "additionalProperties": false,
    "enum": [
     "Original",
     "Converted"
    ],
    "type": "string"
   },
   "FlowDto": {
    "additionalProperties": false,
    "properties": {
     "acknowledgement": {
      "$ref": "#/components/schemas/AcknowledgementResult"
     },
     "attachmentNumber": {
      "format": "int32",
      "nullable": true,
      "type": "integer"
     },
     "flowDirection": {
      "$ref": "#/components/schemas/FlowDirection"
     },
     "flowId": {
      "maxLength": 36,
      "nullable": true,
      "type": "string"
     },
     "flowProfile": {
      "$ref": "#/components/schemas/FlowProfile"
     },
     "flowSyntax": {
      "$ref": "#/components/schemas/FlowSyntax"
     },
     "flowType": {
      "$ref": "#/components/schemas/FlowType"
     },
     "submittedAt": {
      "format": "date-time",
      "type": "string"
     },
     "trackingId": {
      "nullable": true,
      "type": "string"
     },
     "updatedAt": {
      "format": "date-time",
      "type": "string"
     }
    },
    "required": [
     "acknowledgement",
     "flowId"
    ],
    "type": "object"
   },
   "FlowInfo": {
    "additionalProperties": false,
    "properties": {
     "entityId": {
      "format": "int32",
      "type": "integer"
     },
     "flowProfile": {
      "$ref": "#/components/schemas/FlowProfile"
     },
     "flowSyntax": {
      "$ref": "#/components/schemas/FlowSyntax"
     },
     "name": {
      "nullable": true,
      "type": "string"
     },
     "processingRule": {
      "$ref": "#/components/schemas/ProcessingRule"
     },
     "sha256": {
      "nullable": true,
      "pattern": "^[a-f0-9]{64}$",
      "type": "string"
     },
     "trackingId": {
      "nullable": true,
      "type": "string"
     }
    },
    "required": [
     "entityId",
     "flowSyntax"
    ],
    "type": "object"
   },
   "FlowMode": {
    "additionalProperties": false,
    "enum": [
     "Production",
     "Sandbox"
    ],
    "type": "string"
   },
   "FlowProfile": {
    "additionalProperties": false,
    "enum": [
     "Basic",
     "CIUS",
     "Extended-CTC-FR"
    ],
    "type": "string"
   },
   "FlowSyntax": {
    "additionalProperties": false,
    "enum": [
     "CII",
     "UBL",
     "Factur-X",
     "CDAR",
     "FRR",
     "PEPPOL_BIS_3.0",
     "JsonInvoice",
     "JsonLifecycle"
    ],
    "type": "string"
   },
   "FlowType": {
    "additionalProperties": false,
    "enum": [
     "CustomerInvoice",
     "SupplierInvoice",
     "CustomerInvoiceLC",
     "SupplierInvoiceLC",
     "TransactionReport",
     "PaymentReport"
    ],
    "type": "string"
   },
   "FullFlowInfo": {
    "additionalProperties": false,
    "properties": {
     "flowId": {
      "maxLength": 36,
      "nullable": true,
      "type": "string"
     },
     "flowProfile": {
      "$ref": "#/components/schemas/FlowProfile"
     },
     "flowSyntax": {
      "$ref": "#/components/schemas/FlowSyntax"
     },
     "name": {
      "minLength": 1,
      "type": "string"
     },
     "sha256": {
      "nullable": true,
      "pattern": "^[a-f0-9]{64}$",
      "type": "string"
     },
     "trackingId": {
      "nullable": true,
      "type": "string"
     }
    },
    "required": [
     "flowId",
     "flowSyntax",
     "name",
     "sha256"
    ],
    "type": "object"
   },
   "InvoicePayerAddress": {
    "additionalProperties": false,
    "properties": {
     "addressLine1": {
      "nullable": true,
      "type": "string"
     },
     "addressLine2": {
      "nullable": true,
      "type": "string"
     },
     "addressLine3": {
      "nullable": true,
      "type": "string"
     },
     "city": {
      "nullable": true,
      "type": "string"
     },
     "countryCode": {
      "nullable": true,
      "type": "string"
     },
     "postalCode": {
      "nullable": true,
      "type": "string"
     },
     "region": {
      "nullable": true,
      "type": "string"
     }
    },
    "type": "object"
   },
   "InvoicePayerContact": {
    "additionalProperties": false,
    "properties": {
     "email": {
      "nullable": true,
      "type": "string"
     },
     "name": {
      "nullable": true,
      "type": "string"
     },
     "telephone": {
      "nullable": true,
      "type": "string"
     }
    },
    "type": "object"
   },
   "Invoicee": {
    "additionalProperties": false,
    "properties": {
     "address": {
      "$ref": "#/components/schemas/InvoiceeAddress"
     },
     "businessName": {
      "nullable": true,
      "type": "string"
     },
     "contact": {
      "$ref": "#/components/schemas/InvoiceeContact"
     },
     "electronicAddress": {
      "nullable": true,
      "type": "string"
     },
     "identifier": {
      "items": {
       "type": "string"
      },
      "nullable": true,
      "type": "array"
     },
     "legalRegistrationId": {
      "nullable": true,
      "type": "string"
     },
     "registrationName": {
      "nullable": true,
      "type": "string"
     },
     "roleCode": {
      "nullable": true,
      "type": "string"
     },
     "vatId": {
      "nullable": true,
      "type": "string"
     }
    },
    "type": "object"
   },
   "InvoiceeAddress": {
    "additionalProperties": false,
    "properties": {
     "addressLine1": {
      "nullable": true,
      "type": "string"
     },
     "addressLine2": {
      "nullable": true,
      "type": "string"
     },
     "addressLine3": {
      "nullable": true,
      "type": "string"
     },
     "city": {
      "nullable": true,
      "type": "string"
     },
     "countryCode": {
      "nullable": true,
      "type": "string"
     },
     "postalCode": {
      "nullable": true,
      "type": "string"
     },
     "region": {
      "nullable": true,
      "type": "string"
     }
    },
    "type": "object"
   },
   "InvoiceeContact": {
    "additionalProperties": false,
    "properties": {
     "email": {
      "nullable": true,
      "type": "string"
     },
     "name": {
      "nullable": true,
      "type": "string"
     },
     "telephone": {
      "nullable": true,
      "type": "string"
     }
    },
    "type": "object"
   },
   "InvoicingPeriod": {
    "additionalProperties": false,
    "properties": {
     "endDate": {
      "nullable": true,
      "type": "string"
     },
     "startDate": {
      "nullable": true,
      "type": "string"
     }
    },
    "type": "object"
   },
   "Item": {
    "additionalProperties": false,
    "properties": {
     "attributes": {
      "items": {
       "$ref": "#/components/schemas/ItemAttribute"
      },
      "nullable": true,
      "type": "array"
     },
     "basePriceQuantity": {
      "format": "double",
      "nullable": true,
      "type": "number"
     },
     "basePriceQuantityUnit": {
      "nullable": true,
      "type": "string"
     },
     "buyersItemIdentification": {
      "nullable": true,
      "type": "string"
     },
     "commodityClassificationCode": {
      "nullable": true,
      "type": "string"
     },
     "description": {
      "nullable": true,
      "type": "string"
     },
     "grossPrice": {
      "format": "double",
      "nullable": true,
      "type": "number"
     },
     "name": {
      "nullable": true,
      "type": "string"
     },
     "netAmount": {
      "format": "double",
      "nullable": true,
      "type": "number"
     },
     "originCountryCode": {
      "nullable": true,
      "type": "string"
     },
     "priceDiscount": {
      "format": "double",
      "nullable": true,
      "type": "number"
     },
     "sellersItemIdentification": {
      "nullable": true,
      "type": "string"
     },
     "standardItemIdentification": {
      "nullable": true,
      "type": "string"
     },
     "taxCategoryCode": {
      "nullable": true,
      "type": "string"
     },
     "taxRate": {
      "format": "double",
      "nullable": true,
      "type": "number"
     }
    },
    "type": "object"
   },
   "ItemAttribute": {
    "additionalProperties": false,
    "properties": {
     "name": {
      "nullable": true,
      "type": "string"
     },
     "value": {
      "nullable": true,
      "type": "string"
     }
    },
    "type": "object"
   },
   "Level": {
    "additionalProperties": false,
    "enum": [
     "Error",
     "Warning"
    ],
    "type": "string"
   },
   "Line": {
    "additionalProperties": false,
    "properties": {
     "accountingCost": {
      "nullable": true,
      "type": "string"
     },
     "allowances": {
      "items": {
       "$ref": "#/components/schemas/LineAllowance"
      },
      "nullable": true,
      "type": "array"
     },
     "charges": {
      "items": {
       "$ref": "#/components/schemas/LineCharge"
      },
      "nullable": true,
      "type": "array"
     },
     "invoicedQuantity": {
      "format": "double",
      "nullable": true,
      "type": "number"
     },
     "item": {
      "$ref": "#/components/schemas/Item"
     },
     "lineId": {
      "nullable": true,
      "type": "string"
     },
     "lineNetAmount": {
      "format": "double",
      "nullable": true,
      "type": "number"
     },
     "linePeriod": {
      "$ref": "#/components/schemas/InvoicingPeriod"
     },
     "note": {
      "nullable": true,
      "type": "string"
     },
     "objectReference": {
      "nullable": true,
      "type": "string"
     },
     "purchaseOrderLineReference": {
      "nullable": true,
      "type": "string"
     },
     "purchaseOrderReference": {
      "nullable": true,
      "type": "string"
     },
     "unitOfMeasure": {
      "nullable": true,
      "type": "string"
     }
    },
    "type": "object"
   },
   "LineAllowance": {
    "additionalProperties": false,
    "properties": {
     "baseAmount": {
      "format": "double",
      "nullable": true,
      "type": "number"
     },
     "multiplierFactor": {
      "format": "double",
      "nullable": true,
      "type": "number"
     },
     "reason": {
      "nullable": true,
      "type": "string"
     },
     "reasonCode": {
      "nullable": true,
      "type": "string"
     },
     "taxExclusiveAmount": {
      "format": "double",
      "nullable": true,
      "type": "number"
     }
    },
    "type": "object"
   },
   "LineCharge": {
    "additionalProperties": false,
    "properties": {
     "baseAmount": {
      "format": "double",
      "nullable": true,
      "type": "number"
     },
     "multiplierFactor": {
      "format": "double",
      "nullable": true,
      "type": "number"
     },
     "reason": {
      "nullable": true,
      "type": "string"
     },
     "reasonCode": {
      "nullable": true,
      "type": "string"
     },
     "taxExclusiveAmount": {
      "format": "double",
      "nullable": true,
      "type": "number"
     }
    },
    "type": "object"
   },
   "Note": {
    "additionalProperties": false,
    "properties": {
     "noteCode": {
      "nullable": true,
      "type": "string"
     },
     "noteValue": {
      "nullable": true,
      "type": "string"
     }
    },
    "type": "object"
   },
   "Payee": {
    "additionalProperties": false,
    "properties": {
     "address": {
      "$ref": "#/components/schemas/PayeeAddress"
     },
     "contact": {
      "$ref": "#/components/schemas/PayeeContact"
     },
     "electronicAddress": {
      "nullable": true,
      "type": "string"
     },
     "identifier": {
      "items": {
       "type": "string"
      },
      "nullable": true,
      "type": "array"
     },
     "legalRegistrationId": {
      "nullable": true,
      "type": "string"
     },
     "name": {
      "nullable": true,
      "type": "string"
     },
     "roleCode": {
      "nullable": true,
      "type": "string"
     },
     "vatId": {
      "nullable": true,
      "type": "string"
     }
    },
    "type": "object"
   },
   "PayeeAddress": {
    "additionalProperties": false,
    "properties": {
     "addressLine1": {
      "nullable": true,
      "type": "string"
     },
     "addressLine2": {
      "nullable": true,
      "type": "string"
     },
     "addressLine3": {
      "nullable": true,
      "type": "string"
     },
     "city": {
      "nullable": true,
      "type": "string"
     },
     "countryCode": {
      "nullable": true,
      "type": "string"
     },
     "postalCode": {
      "nullable": true,
      "type": "string"
     },
     "region": {
      "nullable": true,
      "type": "string"
     }
    },
    "type": "object"
   },
   "PayeeContact": {
    "additionalProperties": false,
    "properties": {
     "email": {
      "nullable": true,
      "type": "string"
     },
     "name": {
      "nullable": true,
      "type": "string"
     },
     "telephone": {
      "nullable": true,
      "type": "string"
     }
    },
    "type": "object"
   },
   "PaymentCard": {
    "additionalProperties": false,
    "properties": {
     "accountIdentifier": {
      "nullable": true,
      "type": "string"
     },
     "accountName": {
      "nullable": true,
      "type": "string"
     },
     "networkId": {
      "nullable": true,
      "type": "string"
     }
    },
    "type": "object"
   },
   "PaymentMeans": {
    "additionalProperties": false,
    "properties": {
     "card": {
      "$ref": "#/components/schemas/PaymentCard"
     },
     "directDebit": {
      "$ref": "#/components/schemas/DirectDebit"
     },
     "meansDescription": {
      "nullable": true,
      "type": "string"
     },
     "meansValue": {
      "nullable": true,
      "type": "string"
     },
     "paymentId": {
      "nullable": true,
      "type": "string"
     },
     "transferAccount": {
      "$ref": "#/components/schemas/TransferAccount"
     }
    },
    "type": "object"
   },
   "PivotAttachment": {
    "additionalProperties": false,
    "properties": {
     "content": {
      "nullable": true,
      "type": "string"
     },
     "contentType": {
      "nullable": true,
      "type": "string"
     },
     "externalLocation": {
      "nullable": true,
      "type": "string"
     },
     "fileName": {
      "nullable": true,
      "type": "string"
     },
     "reference": {
      "nullable": true,
      "type": "string"
     },
     "supportingDocumentDescription": {
      "nullable": true,
      "type": "string"
     }
    },
    "type": "object"
   },
   "PivotInvoice": {
    "additionalProperties": false,
    "properties": {
     "accountingCost": {
      "nullable": true,
      "type": "string"
     },
     "additionalDocumentReference": {
      "$ref": "#/components/schemas/AdditionalDocumentReference"
     },
     "allowances": {
      "items": {
       "$ref": "#/components/schemas/Allowance"
      },
      "nullable": true,
      "type": "array"
     },
     "attachments": {
      "items": {
       "$ref": "#/components/schemas/PivotAttachment"
      },
      "nullable": true,
      "type": "array"
     },
     "businessProcessType": {
      "nullable": true,
      "type": "string"
     },
     "buyer": {
      "$ref": "#/components/schemas/Buyer"
     },
     "buyerAgent": {
      "$ref": "#/components/schemas/ExtBuyerAgent"
     },
     "buyerReference": {
      "nullable": true,
      "type": "string"
     },
     "charges": {
      "items": {
       "$ref": "#/components/schemas/Charge"
      },
      "nullable": true,
      "type": "array"
     },
     "contractReference": {
      "nullable": true,
      "type": "string"
     },
     "currencyCode": {
      "nullable": true,
      "type": "string"
     },
     "delivery": {
      "$ref": "#/components/schemas/Delivery"
     },
     "despatchDocumentReference": {
      "nullable": true,
      "type": "string"
     },
     "dueDate": {
      "nullable": true,
      "type": "string"
     },
     "invoiceNumber": {
      "nullable": true,
      "type": "string"
     },
     "invoiceType": {
      "nullable": true,
      "type": "string"
     },
     "invoicee": {
      "$ref": "#/components/schemas/Invoicee"
     },
     "invoicer": {
      "$ref": "#/components/schemas/ExtBillingService"
     },
     "invoicingPeriod": {
      "$ref": "#/components/schemas/InvoicingPeriod"
     },
     "issueDate": {
      "nullable": true,
      "type": "string"
     },
     "lines": {
      "items": {
       "$ref": "#/components/schemas/Line"
      },
      "nullable": true,
      "type": "array"
     },
     "note": {
      "items": {
       "$ref": "#/components/schemas/Note"
      },
      "nullable": true,
      "type": "array"
     },
     "originatorDocumentReference": {
      "nullable": true,
      "type": "string"
     },
     "payee": {
      "$ref": "#/components/schemas/Payee"
     },
     "payer": {
      "$ref": "#/components/schemas/ExtInvoicePayer"
     },
     "paymentMeans": {
      "$ref": "#/components/schemas/PaymentMeans"
     },
     "paymentTerms": {
      "nullable": true,
      "type": "string"
     },
     "precedingInvoices": {
      "items": {
       "$ref": "#/components/schemas/PrecedingInvoice"
      },
      "nullable": true,
      "type": "array"
     },
     "projectReference": {
      "nullable": true,
      "type": "string"
     },
     "purchaseOrderReference": {
      "nullable": true,
      "type": "string"
     },
     "receiptDocumentReference": {
      "nullable": true,
      "type": "string"
     },
     "salesOrderReference": {
      "nullable": true,
      "type": "string"
     },
     "seller": {
      "$ref": "#/components/schemas/Seller"
     },
     "sellerAgent": {
      "$ref": "#/components/schemas/ExtSellerAgent"
     },
     "sellerTaxRepresentative": {
      "$ref": "#/components/schemas/TaxRepresentative"
     },
     "specificationIdentifier": {
      "nullable": true,
      "type": "string"
     },
     "taxBreakdowns": {
      "items": {
       "$ref": "#/components/schemas/TaxBreakdown"
      },
      "nullable": true,
      "type": "array"
     },
     "taxCurrencyCode": {
      "nullable": true,
      "type": "string"
     },
     "taxPointDate": {
      "nullable": true,
      "type": "string"
     },
     "taxPointDateValu

# --- truncated at 32 KB (58 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/agicap/refs/heads/main/openapi/agicap-einvoicing-v1-openapi.json