generate_pint_ae_xml
Converts invoice JSON into a UBL 2.1 PINT AE XML stub after running a 51-field compliance checklist. Use strict mode to block XML generation when mandatory fields are incomplete.
Instructions
Generate a UBL 2.1 PINT AE-shaped Invoice/CreditNote XML stub from invoice JSON. Runs the 51-field checklist first; with strict=true refuses to emit XML when mandatory applicable fields are incomplete.
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": {
"invoiceData": "<invoiceData>"
},
"name": "generate_pint_ae_xml"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| strict | No | If true, do not generate XML when checklist has gaps (default false) | |
| invoiceData | Yes |