{
  "x402Version": 2,
  "id": 52791,
  "slug": "52791",
  "resource": "https://api.ibancheck.co.uk/api/generate-efactura-ubl",
  "description": "Convert JSON invoice into valid European Standard EN 16931 / CIUS-RO ANAF UBL 2.1 XML e-Factura",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x70F3FBde8f5d4D861a5Aa8427EC5c28DDA9fE7c7",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "30000",
      "amountUsd": 0.03,
      "maxTimeoutSeconds": 120
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "currency": "RON",
            "customer": {
              "address": "Bulevardul Unirii 10",
              "cif": "2816464",
              "city": "Bacau",
              "countryCode": "RO",
              "name": "Client SRL"
            },
            "invoiceNumber": "FACT-2026-001",
            "lines": [
              {
                "name": "Servicii Consultanta AI",
                "quantity": 1,
                "taxRatePercent": 19,
                "unitPrice": 2500
              }
            ],
            "supplier": {
              "address": "Strada Exemplu 1",
              "cif": "14399840",
              "city": "Bucuresti",
              "countryCode": "RO",
              "iban": "RO49AAAA1B31007593840000",
              "name": "Furnizor SRL"
            }
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "formattedXmlSize": "3.53 KB",
            "invoiceNumber": "FACT-2026-001",
            "totals": {
              "currency": "RON",
              "linesCount": 1,
              "totalGross": 2975,
              "totalNet": 2500,
              "totalVat": 475
            },
            "validationReport": {
              "hasValidCustomerCif": true,
              "hasValidSupplierCif": true,
              "hasValidSupplierIban": true,
              "isCiusRoCompliant": true,
              "isEn16931Compliant": true,
              "schemaErrors": [],
              "validationScope": "structural-local",
              "warnings": [
                "Notă: \"isCiusRoCompliant\"/\"isEn16931Compliant\" verifică doar prezența câmpurilor obligatorii și plaje numerice valide — NU validează integral regulile de business BR-* din EN 16931/CIUS-RO. Nu folosiți acest flag ca singură confirmare \"gata de trimis la ANAF\"."
              ]
            },
            "xmlBytesCount": 3616,
            "xmlUblContent": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Invoice xmlns=\"urn:oasis:names:specification:ubl:schema:xsd:Invoice-2\" xmlns:cac=\"urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2\" xmlns:cbc=\"urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2\">\n  <cbc:CustomizationID>urn:cen.eu:en16931:2017#compliant#urn:efactura.mfinante.ro:CIUS-RO:1.0.1</cbc:CustomizationID>\n  <cbc:ProfileID>urn:fdc:peppol.eu:2017:poacc:billing:01:1.0</cbc:ProfileID>\n  <cbc:ID>FACT-2026-001</cbc:ID>\n  <cbc:IssueDate>2026-10-06</cbc:IssueDate>\n  <cbc:DueDate>2026-10-06</cbc:DueDate>\n  <cbc:Inv…"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "properties": {
                  "currency": {
                    "enum": [
                      "RON",
                      "EUR",
                      "USD"
                    ]
                  },
                  "customer": {
                    "type": "object"
                  },
                  "invoiceNumber": {
                    "maxLength": 100,
                    "type": "string"
                  },
                  "lines": {
                    "maxItems": 1000,
                    "type": "array"
                  },
                  "supplier": {
                    "type": "object"
                  }
                },
                "required": [
                  "invoiceNumber",
                  "currency",
                  "supplier",
                  "customer",
                  "lines"
                ]
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "api.ibancheck.co.uk",
  "lastUpdated": "2026-10-06T16:12:33.871Z",
  "quality": {
    "calls30d": 1,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-10-06T16:12:33.498Z"
  },
  "metadata": {
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "currency": "RON",
              "customer": {
                "address": "Bulevardul Unirii 10",
                "cif": "2816464",
                "city": "Bacau",
                "countryCode": "RO",
                "name": "Client SRL"
              },
              "invoiceNumber": "FACT-2026-001",
              "lines": [
                {
                  "name": "Servicii Consultanta AI",
                  "quantity": 1,
                  "taxRatePercent": 19,
                  "unitPrice": 2500
                }
              ],
              "supplier": {
                "address": "Strada Exemplu 1",
                "cif": "14399840",
                "city": "Bucuresti",
                "countryCode": "RO",
                "iban": "RO49AAAA1B31007593840000",
                "name": "Furnizor SRL"
              }
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "formattedXmlSize": "3.53 KB",
              "invoiceNumber": "FACT-2026-001",
              "totals": {
                "currency": "RON",
                "linesCount": 1,
                "totalGross": 2975,
                "totalNet": 2500,
                "totalVat": 475
              },
              "validationReport": {
                "hasValidCustomerCif": true,
                "hasValidSupplierCif": true,
                "hasValidSupplierIban": true,
                "isCiusRoCompliant": true,
                "isEn16931Compliant": true,
                "schemaErrors": [],
                "validationScope": "structural-local",
                "warnings": [
                  "Notă: \"isCiusRoCompliant\"/\"isEn16931Compliant\" verifică doar prezența câmpurilor obligatorii și plaje numerice valide — NU validează integral regulile de business BR-* din EN 16931/CIUS-RO. Nu folosiți acest flag ca singură confirmare \"gata de trimis la ANAF\"."
                ]
              },
              "xmlBytesCount": 3616,
              "xmlUblContent": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Invoice xmlns=\"urn:oasis:names:specification:ubl:schema:xsd:Invoice-2\" xmlns:cac=\"urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2\" xmlns:cbc=\"urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2\">\n  <cbc:CustomizationID>urn:cen.eu:en16931:2017#compliant#urn:efactura.mfinante.ro:CIUS-RO:1.0.1</cbc:CustomizationID>\n  <cbc:ProfileID>urn:fdc:peppol.eu:2017:poacc:billing:01:1.0</cbc:ProfileID>\n  <cbc:ID>FACT-2026-001</cbc:ID>\n  <cbc:IssueDate>2026-10-06</cbc:IssueDate>\n  <cbc:DueDate>2026-10-06</cbc:DueDate>\n  <cbc:Inv…"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "properties": {
                    "currency": {
                      "enum": [
                        "RON",
                        "EUR",
                        "USD"
                      ]
                    },
                    "customer": {
                      "type": "object"
                    },
                    "invoiceNumber": {
                      "maxLength": 100,
                      "type": "string"
                    },
                    "lines": {
                      "maxItems": 1000,
                      "type": "array"
                    },
                    "supplier": {
                      "type": "object"
                    }
                  },
                  "required": [
                    "invoiceNumber",
                    "currency",
                    "supplier",
                    "customer",
                    "lines"
                  ]
                },
                "bodyType": {
                  "enum": [
                    "json",
                    "form-data",
                    "text"
                  ],
                  "type": "string"
                },
                "method": {
                  "enum": [
                    "POST"
                  ],
                  "type": "string"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method",
                "bodyType",
                "body"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "api.ibancheck.co.uk",
    "manifest_name": "api.ibancheck.co.uk",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-13T15:56:53.641Z"
  },
  "exampleResponse": {
    "example": {},
    "type": "string"
  }
}