Belgian Bank Statement to CODA v2.8 Converter & FPS Finance Belcotax 281.50 Engine
process_be_coda_belcotaxProcesses Belgian back-office accounting & tax compliance offline (XXE/depth safe): converts ISO 20022 camt.053 bank statements or structured transactions into strict 128-character CRLF-terminated Febelfin CODA v2.8 files with exact BigInt milli-unit arithmetic and OGM/VCS Mod-97 extraction, or validates/generates FPS Finance Belcotax-on-web Form 281.50 XML with KBO/NN Mod-97 checksums (including post-2000 "2"+digits rule) and Art. 57 / Art. 219 WIB 92 Secret Commissions tax risk assessment.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| xml | No | Raw FPS Finance Belcotax-on-web Form 281.50 XML document (for validate_belcotax, no DOCTYPE/ENTITY). | |
| action | Yes | Operation mode: "generate_coda", "validate_belcotax", or "generate_belcotax". | |
| bankId | No | Optional 3-digit Belgian bank identifier override. | |
| debtor | No | Belcotax-on-web Form 281.50 debtor (<Aangifte>) details; defaults to sender if omitted. | |
| fiches | No | Optional top-level Belcotax 281.50 fiches array when buildInput is omitted. | |
| sender | No | Belcotax-on-web Form 281.50 sender (<Verzending>) identification & contact details. | |
| camtXml | No | Raw ISO 20022 camt.053 XML to convert to Febelfin CODA v2.8 (for generate_coda). | |
| currency | No | 3-letter ISO currency code (default: "EUR"). | EUR |
| kboNumber | No | Optional 10-digit Belgian KBO/BCE number for CODA Record 0. | |
| typeEnvoi | No | Optional Belcotax submission type ("0"=original, "1"=rectification). | |
| accountBic | No | Account bank BIC (up to 11 chars). | |
| buildInput | No | Structured Belcotax 281.50 XML builder input for action="generate_belcotax". | |
| incomeYear | No | Belcotax income year (2020–2027). | |
| accountIban | No | Belgian (BE) or foreign account IBAN (required for generate_coda unless present in camtXml). | |
| openingDate | No | Opening balance date (YYYY-MM-DD, DD-MM-YYYY, or DDMMYY). | |
| creationDate | No | Optional top-level Belcotax creation date when buildInput is omitted. | |
| languageCode | No | Optional Belcotax language code ("1"=NL, "2"=FR, "3"=DE). | |
| transactions | No | Structured bank movements for generate_coda (alternative to camtXml). | |
| fileReference | No | Optional 10-character CODA file reference. | |
| statementDate | No | Statement creation/closing date (YYYY-MM-DD, DD-MM-YYYY, or DDMMYY). | |
| openingBalance | No | Opening balance for CODA Record 1 (negative allowed for debit balance). | |
| sequenceNumber | No | CODA statement sequence number (1–999). | |
| accountHolderName | No | Account holder name for CODA Record 0. | |
| accountDescription | No | Optional 35-character account description for CODA Record 1. |