validate_fa2_invoice
Validate KSeF FA(2) XML invoices by running XSD validation and Polish business-rule checks, returning errors and warnings.
Instructions
Validate a KSeF FA(2) XML invoice.
Runs XSD validation (when the official schema is present) and Polish business-rule checks. Returns a DocumentValidationResult with errors and warnings.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| xml_content | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| valid | Yes | ||
| errors | No | ||
| metadata | No | ||
| warnings | No |