{"$schema":"https://json-schema.org/draft/2020-12/schema","title":"First payment reminder to a consumer — Premier rappel / Eerste herinnering (BE)","description":"The first reminder an enterprise sends to a consumer whose debt was not paid when due: the amount still due and the damages clause that will be claimed, the creditor's identification, the description of each product and its due date, the payment period in calendar days and how it starts. Every amount and the period are given by the user; nothing is computed.","type":"object","additionalProperties":false,"required":["company","consumer","reminder"],"properties":{"company":{"type":"object","additionalProperties":false,"required":["name","enterprise_number","address","postal_code","commune","iban"],"description":"The enterprise that issues the document (the creditor).","properties":{"name":{"type":"string","description":"Name or company name of the enterprise."},"legal_form":{"type":"string","description":"Legal form (for example SRL, SA, SC), as the enterprise writes it."},"enterprise_number":{"type":"string","description":"Belgian enterprise number (KBO/BCE), written 0123.456.789.","pattern":"^[01][0-9]{3}\\.[0-9]{3}\\.[0-9]{3}$"},"vat_number":{"type":"string","description":"Belgian VAT number, written BE0123456789 (leave out if the enterprise has none).","pattern":"^BE[01][0-9]{9}$"},"address":{"type":"string","description":"Street and number."},"postal_code":{"type":"string","description":"Postal code."},"commune":{"type":"string","description":"Municipality."},"phone":{"type":"string","description":"Telephone number."},"email":{"type":"string","description":"E-mail address."},"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."}}},"consumer":{"type":"object","additionalProperties":false,"required":["name"],"description":"The consumer the reminder is sent to.","properties":{"name":{"type":"string","description":"Name of the consumer."},"address":{"type":"string","description":"Street and number."},"postal_code":{"type":"string","description":"Postal code."},"commune":{"type":"string","description":"Municipality."},"email":{"type":"string","description":"E-mail address (for a reminder sent electronically)."}}},"reminder":{"type":"object","additionalProperties":false,"required":["date","sending_method","debts","total_due","payment_period_days","indemnity_clause"],"description":"The reminder itself.","properties":{"date":{"type":"string","format":"date","description":"Date on which the reminder is sent."},"sending_method":{"type":"string","enum":["post","electronic"],"description":"post: sent by post; electronic: sent electronically."},"reference":{"type":"string","description":"The creditor's reference."},"debts":{"type":"array","minItems":1,"description":"The unpaid amounts.","items":{"type":"object","additionalProperties":false,"required":["description","due_date","amount_due"],"properties":{"description":{"type":"string","description":"Description of the product (goods or service) that gave rise to the debt."},"document_number":{"type":"string","description":"Number of the invoice or other document."},"document_date":{"type":"string","format":"date","description":"Date of that document."},"due_date":{"type":"string","format":"date","description":"Date on which the amount fell due."},"amount_due":{"type":["string","number"],"description":"Amount still due for this product."}}}},"total_due":{"type":["string","number"],"description":"Total amount still due."},"payment_period_days":{"type":"integer","minimum":14,"description":"Payment period in calendar days, as the creditor grants it (at least fourteen)."},"indemnity_clause":{"type":"string","enum":["none","flat_amount","interest","flat_amount_and_interest"],"description":"The damages clause of the contract that will be claimed if the debt is not paid within the period: none, a flat amount, late-payment interest, or both."},"flat_amount":{"type":["string","number"],"description":"Amount of the flat-rate compensation the clause provides."},"interest_rate_pct":{"type":["string","number"],"description":"Late-payment interest rate the clause provides, in percent."},"interest_rate_period":{"type":"string","enum":["year","month"],"description":"The period the interest rate applies to, as the clause states it: per year or per month."},"payment_reference":{"type":"string","description":"Reference to quote with the payment."}},"allOf":[{"if":{"properties":{"indemnity_clause":{"enum":["flat_amount","flat_amount_and_interest"]}},"required":["indemnity_clause"]},"then":{"required":["flat_amount"]}},{"if":{"properties":{"indemnity_clause":{"enum":["interest","flat_amount_and_interest"]}},"required":["indemnity_clause"]},"then":{"required":["interest_rate_pct","interest_rate_period"]}}]},"signature":{"type":"object","additionalProperties":false,"description":"Who signs the reminder for the creditor.","properties":{"signatory_name":{"type":"string","description":"Name of the person who signs."},"signatory_title":{"type":"string","description":"Function of that person."}}}}}