{"$schema":"https://json-schema.org/draft/2020-12/schema","title":"Journal de paie mensuel (BE) -- Loi 12.4.1965 Art. 9 + AR 8.8.1980","description":"Belgian monthly payroll journal per Loi 12.4.1965 Art. 9 and AR 8.8.1980. Mandatory monthly wage register showing all payroll movements per employee, per joint committee, with ONSS breakdown (employee 13.07% + employer ~25% CP200), professional withholding tax, BBSZ/CSSS, net pay, and balanced PCMN accounting entries. Retention 5 years after the year end (Art. 21 AR 8.8.1980).","type":"object","additionalProperties":false,"required":["letter","employer","social_secretariat","period","employees","accounting_entries","totals"],"properties":{"letter":{"type":"object","additionalProperties":false,"required":["place","date","language"],"properties":{"place":{"type":"string"},"date":{"type":"string","format":"date"},"language":{"type":"string","enum":["fr","nl","de","en"]}}},"employer":{"type":"object","additionalProperties":false,"required":["name","legal_form","address","bce_number","vat_number","onss_number","joint_committee"],"properties":{"name":{"type":"string","minLength":1},"legal_form":{"type":"string"},"address":{"type":"string"},"bce_number":{"type":"string","pattern":"^[0-9]{4}\\.[0-9]{3}\\.[0-9]{3}$","description":"Numero BCE/KBO format XXXX.XXX.XXX"},"vat_number":{"type":"string","pattern":"^BE0[0-9]{9}$","description":"Numero TVA/BTW format BE0XXXXXXXXX"},"onss_number":{"type":"string"},"joint_committee":{"type":"object","additionalProperties":false,"required":["number","name"],"properties":{"number":{"type":"string"},"name":{"type":"string"}}}}},"social_secretariat":{"type":"object","additionalProperties":false,"required":["name","approval_number"],"properties":{"name":{"type":"string"},"approval_number":{"type":"string"}}},"period":{"type":"object","additionalProperties":false,"required":["month","year"],"properties":{"month":{"type":"integer","minimum":1,"maximum":12,"description":"Mois civil (1=janvier ... 12=decembre)"},"year":{"type":"integer","minimum":2020,"maximum":2100}}},"employees":{"type":"array","description":"Detail par travailleur pour le mois concerne","minItems":1,"items":{"type":"object","additionalProperties":false,"required":["matricule","surname","given_name","national_register_number","status","function","gross_total_onss","onss_employee","onss_employer","taxable_amount","withholding_tax","net_paid"],"properties":{"matricule":{"type":"string"},"surname":{"type":"string","minLength":1},"given_name":{"type":"string","minLength":1},"national_register_number":{"type":"string","pattern":"^[0-9]{2}\\.[0-9]{2}\\.[0-9]{2}-[0-9]{3}\\.[0-9]{2}$"},"status":{"type":"string","enum":["arbeider","bediende","kaderlid","dienstbode","leerling"]},"regime":{"type":"string","enum":["voltijds","deeltijds"]},"function":{"type":"string"},"days_worked":{"type":"number","minimum":0},"gross_base":{"type":"number","minimum":0,"description":"Salaire de base brut"},"gross_overtime":{"type":"number","minimum":0,"description":"Heures supplementaires brutes"},"gross_premiums":{"type":"number","minimum":0,"description":"Primes et gratifications"},"gross_holiday_pay":{"type":"number","minimum":0,"description":"Pecule de vacances simple inclus"},"gross_year_end_premium":{"type":"number","minimum":0,"description":"Prime de fin d'annee si versee ce mois"},"gross_other":{"type":"number","minimum":0,"description":"ATN et autres composantes soumis ONSS"},"gross_total_onss":{"type":"number","minimum":0,"description":"Total brut soumis ONSS"},"onss_employee":{"type":"number","minimum":0,"description":"Cotisation ONSS personnelle 13,07%"},"werkbonus":{"type":"number","minimum":0,"description":"Reduction cotisation personnelle (bonus a l'emploi)"},"onss_employer":{"type":"number","minimum":0,"description":"Cotisation ONSS patronale brute (avant reductions groupes-cibles)"},"onss_employer_reductions":{"type":"number","minimum":0,"description":"Total reductions ONSS patronales (structural + groupes-cibles)"},"onss_employer_net":{"type":"number","minimum":0,"description":"Cotisation ONSS patronale nette apres reductions"},"taxable_amount":{"type":"number","description":"Montant imposable (brut ONSS - cotisation personnelle + ATN non soumis ONSS)"},"withholding_tax":{"type":"number","minimum":0,"description":"Precompte professionnel retenu"},"bbsz_csss":{"type":"number","minimum":0,"description":"Cotisation speciale SS Art. 106 Loi 30.3.94"},"meal_vouchers_employee":{"type":"number","minimum":0,"description":"Retenue part ouvriere titres-repas"},"advances":{"type":"number","minimum":0,"description":"Avances sur salaire"},"garnishments":{"type":"number","minimum":0,"description":"Saisies-arrets et cessions"},"net_allocated":{"type":"number","description":"Net alloue avant virement"},"net_paid":{"type":"number","description":"Net paye (vire sur compte IBAN)"},"iban":{"type":"string","pattern":"^BE[0-9]{14}$"}}}},"accounting_entries":{"type":"array","description":"Ecritures comptables PCMN generees pour ce journal de paie. L'ecriture doit etre balancee (total debit = total credit).","minItems":1,"items":{"type":"object","additionalProperties":false,"required":["account_code","account_name","debit","credit"],"properties":{"account_code":{"type":"string","pattern":"^[0-9]{6}$","description":"Code compte PCMN a 6 chiffres"},"account_name":{"type":"string","minLength":1},"debit":{"type":"number","minimum":0},"credit":{"type":"number","minimum":0},"note":{"type":"string","description":"Commentaire optionnel sur l'ecriture"}}}},"totals":{"type":"object","additionalProperties":false,"required":["employee_count","gross_total_onss","onss_employee","onss_employer_net","taxable_amount","withholding_tax","net_paid","accounting_debit","accounting_credit","balanced"],"properties":{"employee_count":{"type":"integer","minimum":1},"days_worked":{"type":"number","minimum":0},"gross_base":{"type":"number","minimum":0},"gross_overtime":{"type":"number","minimum":0},"gross_premiums":{"type":"number","minimum":0},"gross_holiday_pay":{"type":"number","minimum":0},"gross_year_end_premium":{"type":"number","minimum":0},"gross_other":{"type":"number","minimum":0},"gross_total_onss":{"type":"number","minimum":0},"onss_employee":{"type":"number","minimum":0},"werkbonus":{"type":"number","minimum":0},"onss_employer":{"type":"number","minimum":0},"onss_employer_reductions":{"type":"number","minimum":0},"onss_employer_net":{"type":"number","minimum":0},"taxable_amount":{"type":"number"},"withholding_tax":{"type":"number","minimum":0},"bbsz_csss":{"type":"number","minimum":0},"meal_vouchers_employee":{"type":"number","minimum":0},"net_paid":{"type":"number"},"accounting_debit":{"type":"number","minimum":0,"description":"Total debit des ecritures comptables"},"accounting_credit":{"type":"number","minimum":0,"description":"Total credit des ecritures comptables"},"balanced":{"type":"boolean","description":"True si accounting_debit == accounting_credit (ecriture comptable balancee)"}}}}}