{"$schema":"https://json-schema.org/draft/2020-12/schema","title":"Livre de paie (journal de paie mensuel)","description":"French monthly payroll journal consolidating payslip lines for all employees in a period. Employers must archive payroll records enabling justification of wages and contributions (C. trav. art. L3243-4, L8113-5; archival duty 5 years minimum).","type":"object","required":["employer","period","entries","totals","employer_costs"],"additionalProperties":false,"properties":{"employer":{"type":"object","required":["name","address","siret","urssaf"],"additionalProperties":false,"properties":{"name":{"type":"string","minLength":1},"legal_form":{"type":"string"},"address":{"type":"string","minLength":1},"siret":{"type":"string","pattern":"^[0-9]{14}$"},"urssaf":{"type":"string","minLength":1}}},"period":{"type":"object","required":["year","month","headcount"],"additionalProperties":false,"properties":{"year":{"type":"integer","minimum":2020,"maximum":2100},"month":{"type":"integer","minimum":1,"maximum":12},"headcount":{"type":"integer","minimum":0}}},"entries":{"type":"array","minItems":1,"items":{"type":"object","required":["full_name","nir","hours_worked","gross","employee_contributions","net_before_tax","pas","net_payable"],"additionalProperties":false,"properties":{"full_name":{"type":"string","minLength":1},"nir":{"type":"string","pattern":"^[12][0-9]{14}$"},"hours_worked":{"type":"number","minimum":0},"gross":{"type":"number","minimum":0},"employee_contributions":{"type":"number","minimum":0},"net_before_tax":{"type":"number","minimum":0},"pas":{"type":"number","minimum":0},"net_payable":{"type":"number"}}}},"totals":{"type":"object","required":["hours_worked","gross","employee_contributions","net_before_tax","pas","net_payable"],"additionalProperties":false,"properties":{"hours_worked":{"type":"number","minimum":0},"gross":{"type":"number","minimum":0},"employee_contributions":{"type":"number","minimum":0},"net_before_tax":{"type":"number","minimum":0},"pas":{"type":"number","minimum":0},"net_payable":{"type":"number","minimum":0}}},"employer_costs":{"type":"object","required":["gross_total","employer_contributions","total_employer_cost"],"additionalProperties":false,"properties":{"gross_total":{"type":"number","minimum":0},"employer_contributions":{"type":"number","minimum":0},"training_contribution":{"type":"number","minimum":0},"apprentice_tax":{"type":"number","minimum":0},"reductions":{"type":"number","minimum":0,"description":"Allègement général (Fillon) et autres réductions de charges"},"total_employer_cost":{"type":"number","minimum":0}}},"preparer":{"type":"object","required":["name","role"],"additionalProperties":false,"properties":{"name":{"type":"string","minLength":1},"role":{"type":"string","minLength":1},"date":{"type":"string","format":"date"}}}}}