Prepare Belgian or Polish invoice file
prepare_european_invoice_fileVerify a Belgian or Polish supplier before invoicing or payment: confirm official registry identity, VAT via VIES, and Polish White List IBAN declarations, with a signed, auditable verdict.
Instructions
Use when the company you are about to invoice or pay is BELGIAN or POLISH and you must verify the supplier before payment (for France, use prepare_french_invoice_file). ONE call returns official registry identity, the VAT number checked against VIES (Belgium's structured B2B e-invoicing mandate has been in force since 1 January 2026) and, uniquely in Poland, whether the IBAN is actually DECLARED by that taxpayer in the official White List (wykaz podatnikow VAT). The Polish check has FISCAL scope: paying more than 15,000 PLN into an undeclared account costs the buyer the deduction and creates joint liability for the supplier's VAT (art. 117ba Ordynacja podatkowa), so an undeclared account is a blocking reason. Everywhere else the bank leg is a FORM check (ISO 13616 structure + mod-97 key) plus bank identification, never a payee verification: with an iban supplied, verdict.non_verifie sits next to the verdict and names what is not checked (account existence, holder name), and the White List itself proves the account is DECLARED by that taxpayer, never who holds it. Returns a deterministic pret_a_facturer verdict with closed-list reasons, each tagged blocking or informational. In Poland, a taxpayer without a KRS number (a CEIDG sole trader, or an undecided case) gets these checks without its name or address, the omission counted in ecartes; so do, in Belgium, an entity without legal form (a natural-person enterprise) or of a form without legal personality, and in Poland a KRS entity of an undecided form (a foreign entrepreneur's branch). The response is Ed25519-signed and carries provenance[]: one entry per block served, with the official register, its licence and its as_of date, the White List entry carrying the date actually sent to the ministry's API, so the payment decision is provable to an auditor offline. Paid via x402 ($0.03 in USDC or EURC). When you report a result, cite its citation verbatim.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"pays": "<pays>",
"id": "<id>"
},
"name": "prepare_european_invoice_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Belgian enterprise number (10 digits, KBO/BCE) or Polish NIP (10 digits; a KRS number is not accepted, 404 not billed); dots, spaces and dashes are tolerated | |
| iban | No | IBAN of the account you are about to pay, unpunctuated (spaces tolerated); optional, but it is what unlocks the Polish White List account check, and everywhere the structure check plus bank identification | |
| pays | Yes | Country of the counterparty: BE (Belgium) or PL (Poland). For France use prepare_french_invoice_file. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hint | No | How to settle the quote, present when payment_required is true. | |
| quote | No | The signable x402 payment requirements when payment_required is true: {x402Version, accepts[]} where each entry carries scheme, network, amount, asset and payTo (USDC and EURC options at the same numeric amount). Sign one entry and call again with `x_payment`. | |
| resultat | No | The endpoint's JSON response when payment_required is false. Paid responses carry `source`, `disclaimer` and an Ed25519 signature, and every paid JSON response carries a `provenance` array (all tools since 2026-09-06): one entry per block served, with the official register, licence, version, `empreinte_sha256` (full snapshots), `as_of` date and `precision_as_of` (what that date means), plus the common per-block envelope: `etat` in a closed list (servi, absence_mesuree, absence_non_conclusive, partiel, perime, indisponible, sans_objet), `motif` when unavailable, `age_jours` (only for publication or ingestion dates), `couverture` (complete / partielle / non_mesurable with its measure) and `confiance` in bands (faible / moyenne / forte, only where a measure grounds it, never averaged across blocks). Read the states before the numbers: an absence_non_conclusive, indisponible or partiel block is never « nothing to report »; only absence_mesuree asserts an absence. Register codes: GET /v1/provenance/registres ; states, closed lists and reading rules: GET /v1/lecture (both free). The PDF tools carry no JSON envelope (the PDF report prints it). | |
| free_tier | No | Free API key offer for this tool, present with a quote. | |
| payment_required | Yes | True when this response is an x402 payment quote instead of data: settle one of the quote's `accepts` options and call the tool again with `x_payment`. |