Parse Fa2 Invoice
parse_fa2_invoiceParse Polish KSeF FA(2) XML invoices into structured dictionaries. Extract header, seller, buyer, invoice details, and line items for straightforward data handling.
Instructions
Parse a KSeF FA(2) XML invoice into a structured dictionary.
Returns a nested dict with 'header', 'seller', 'buyer', 'invoice', and 'lines' keys.
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": {
"xml_content": "<xml_content>"
},
"name": "parse_fa2_invoice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| xml_content | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||