{"$schema":"https://json-schema.org/draft/2020-12/schema","title":"EC Sales List","description":"Goods-focused per-customer recapitulation of intra-community supplies. Several member states separate the 'EC Sales List' (ESL, goods-only) from the broader Art. 262 recapitulative statement that covers services; this template produces the ESL view specifically.","type":"object","required":["declarant","period","lines","totals"],"additionalProperties":false,"properties":{"declarant":{"type":"object","required":["name","vat_id"],"additionalProperties":false,"properties":{"name":{"type":"string"},"vat_id":{"type":"string"},"address":{"type":"string"},"contact_name":{"type":"string"},"contact_email":{"type":"string","format":"email"}}},"period":{"type":"object","required":["year"],"additionalProperties":false,"properties":{"year":{"type":"integer","minimum":2020,"maximum":2100},"month":{"type":"integer","minimum":1,"maximum":12},"quarter":{"type":"integer","minimum":1,"maximum":4}}},"lines":{"type":"array","minItems":1,"items":{"type":"object","required":["customer_country_code","customer_vat_id","value","indicator"],"additionalProperties":false,"properties":{"customer_country_code":{"type":"string","pattern":"^[A-Z]{2}$"},"customer_vat_id":{"type":"string"},"customer_name":{"type":"string"},"value":{"type":"number","minimum":0},"indicator":{"type":"string","enum":["0","2","3"],"description":"HMRC-style indicator: 0 = B2B supply of goods, 2 = triangular, 3 = services reverse-charged."}}}},"totals":{"type":"object","required":["currency","total"],"additionalProperties":false,"properties":{"currency":{"type":"string","pattern":"^[A-Z]{3}$"},"total":{"type":"number"},"line_count":{"type":"integer","minimum":0}}},"filed_on":{"type":"string","format":"date"},"reference":{"type":"string"},"correction":{"type":"boolean","description":"True if this filing corrects a previous submission."}}}