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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| xml_content | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||