{"ok":true,"site":{"host":"e-nvoice.pages.dev","url":"https://e-nvoice.pages.dev/","type":"live","desc":"e-nvoice","tools":[{"name":"calculate_invoice_totals","kind":"act","impl":"imperative","description":"Calculates HT subtotal, total VAT amount, and TTC total for invoice items.","annotations":{"readOnlyHint":false,"untrustedContentHint":true},"inputSchema":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR","USD","GBP","CHF"],"default":"EUR"},"items":{"type":"array","items":{"type":"object","properties":{"quantity":{"type":"number"},"unitPrice":{"type":"number"},"vatRate":{"type":"number"}},"required":["quantity","unitPrice","vatRate"]}}},"required":["items"]},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute"},{"name":"validate_invoice_data","kind":"act","impl":"imperative","description":"Validates invoice fields against Factur-X / EN 16931 requirements.","annotations":{"readOnlyHint":false,"untrustedContentHint":true},"inputSchema":{"type":"object","properties":{"number":{"type":"string"},"date":{"type":"string"},"seller":{"type":"object","properties":{"name":{"type":"string"},"siret":{"type":"string"},"vatNumber":{"type":"string"},"iban":{"type":"string"},"bic":{"type":"string"},"bankName":{"type":"string"}},"required":["name"]},"buyer":{"type":"object","properties":{"name":{"type":"string"},"siret":{"type":"string"},"vatNumber":{"type":"string"},"taxId":{"type":"string"}},"required":["name"]},"buyerType":{"type":"string","enum":["business","individual"]},"currency":{"type":"string","enum":["EUR","USD","GBP","CHF"]},"purchaseOrder":{"type":"string","description":"Order / Commitment Ref (EJ) for French public sector / Chorus Pro (BT-13)"},"serviceCode":{"type":"string","description":"Service Code for French public sector entities (DefinedTradeContact/DepartmentName)"},"items":{"type":"array"}},"required":["number","date","seller","buyer","items"]},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute"},{"name":"generate_facturx_xml","kind":"act","impl":"imperative","description":"Generates raw Factur-X / EN 16931 XML string for an invoice.","annotations":{"readOnlyHint":false,"untrustedContentHint":true},"inputSchema":{"type":"object","properties":{"invoice":{"type":"object"}},"required":["invoice"]},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute"},{"name":"generate_facturx_invoice","kind":"act","impl":"imperative","description":"Generates and downloads the complete Factur-X hybrid PDF file.","annotations":{"readOnlyHint":false,"untrustedContentHint":true},"inputSchema":{"type":"object","properties":{"number":{"type":"string"},"date":{"type":"string"},"dueDate":{"type":"string"},"currency":{"type":"string","enum":["EUR","USD","GBP","CHF"]},"buyerType":{"type":"string","enum":["business","individual"]},"purchaseOrder":{"type":"string","description":"Order / Commitment Ref (EJ) for French public sector / Chorus Pro (BT-13)"},"serviceCode":{"type":"string","description":"Service Code for French public sector entities (DefinedTradeContact/DepartmentName)"},"seller":{"type":"object","properties":{"name":{"type":"string"},"siret":{"type":"string"},"vatNumber":{"type":"string"},"iban":{"type":"string"},"bic":{"type":"string"},"bankName":{"type":"string"}},"required":["name"]},"buyer":{"type":"object","properties":{"name":{"type":"string"},"siret":{"type":"string"},"vatNumber":{"type":"string"},"taxId":{"type":"string"}},"required":["name"]},"items":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string"},"quantity":{"type":"number"},"unitPrice":{"type":"number"},"vatRate":{"type":"number"},"unitCode":{"type":"string"}},"required":["description","quantity","unitPrice","vatRate"]}},"lang":{"type":"string","enum":["fr","en"]}},"required":["number","date","seller","buyer","items"]},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute"}],"category":"Productivity & Business","favicon":"/favicons/e-nvoice.pages.dev.svg","apiSurface":"spec","toolCount":4}}