{"$schema":"https://json-schema.org/draft/2020-12/schema","title":"Receipt — Reçu ou quittance / Ontvangstbewijs (BE)","description":"Belgian receipt (quittance) of a payee that acknowledges a payment: the payee's identification, the payer, the amount received, the payment method, what the payment pays and the balance still due as the payee states it. It is not the VAT note or receipt of art. 22 of royal decree no. 1. Nothing is computed or defaulted.","type":"object","additionalProperties":false,"required":["company","payer","receipt"],"properties":{"company":{"type":"object","additionalProperties":false,"properties":{"name":{"type":"string","description":"Name or company name of the enterprise."},"legal_form":{"type":"string","description":"Legal form (for example SRL, SA), as the enterprise writes it."},"enterprise_number":{"type":"string","pattern":"^[01][0-9]{3}\\.[0-9]{3}\\.[0-9]{3}$","description":"Belgian enterprise number (KBO/BCE), written 0123.456.789 (Code of economic law art. III.25, al. 1)."},"vat_number":{"type":"string","pattern":"^BE[01][0-9]{9}$","description":"Belgian VAT number, written BE0123456789 (leave out if the enterprise has none)."},"address":{"type":"string","description":"Street and number (domiciliation, Code of economic law art. III.25, al. 2)."},"postal_code":{"type":"string","description":"Postal code."},"commune":{"type":"string","description":"Municipality."},"rpm_court":{"type":"string","description":"Enterprise court of the registered seat (legal persons: CSA art. 2:20, 5°)."},"email":{"type":"string","description":"E-mail address."},"website":{"type":"string","description":"Website of the enterprise."},"phone":{"type":"string","description":"Telephone number."},"iban":{"type":"string","description":"IBAN of a payment account the enterprise holds (Code of economic law art. III.25, al. 2)."},"bic":{"type":"string","description":"BIC of that account."},"in_liquidation":{"type":"boolean","description":"Whether the company is in liquidation (CSA art. 2:20, 7°); printed only when true."},"logo_base64":{"type":"string","description":"Logo of the issuer as a base64-encoded PNG or JPEG (validated by the renderer)."}},"description":"The payee that issues the receipt.","required":["name","enterprise_number","address","postal_code","commune","iban"]},"payer":{"type":"object","additionalProperties":false,"properties":{"name":{"type":"string","description":"Name of the payer."},"address":{"type":"string","description":"Street and number."},"postal_code":{"type":"string","description":"Postal code."},"commune":{"type":"string","description":"Municipality."},"enterprise_number":{"type":"string","pattern":"^[01][0-9]{3}\\.[0-9]{3}\\.[0-9]{3}$","description":"Enterprise number of a business payer, written 0123.456.789."}},"description":"Who paid.","required":["name"]},"receipt":{"type":"object","additionalProperties":false,"properties":{"number":{"type":"string","description":"Number of the receipt."},"date":{"type":"string","format":"date","description":"Date of the receipt."},"amount":{"type":["string","number"],"description":"Amount received."},"amount_in_words":{"type":"string","description":"The amount in words, typed by the user; never generated."},"currency":{"type":"string","description":"Currency of the amount, as typed (no default)."},"payment_method":{"type":"string","enum":["cash","card","bank_transfer","cheque","other"],"description":"Payment method: cash, card, bank_transfer, cheque, other."},"reference":{"type":"string","description":"Reference of the transaction or communication."},"discharges":{"type":"string","description":"What the payment pays (invoice number, deposit, instalment ...)."},"document_references":{"type":"array","items":{"type":"string"},"description":"References of the documents the payment relates to."},"remaining_due":{"type":["string","number"],"description":"Balance still due after this payment, as typed; never computed."},"place":{"type":"string","description":"Place where the receipt is issued."}},"description":"The receipt.","required":["number","date","amount","currency","payment_method","discharges"]},"signatory":{"type":"object","additionalProperties":false,"properties":{"name":{"type":"string","description":"Name of the signatory."},"title":{"type":"string","description":"Function of the signatory."}},"description":"Who signs for the payee."}}}