File size: 2,977 Bytes
8143f06
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "object",
  "description": "An Italian monthly payslip (busta paga / cedolino) showing employee/employer header fields, a VOCE/DESCRIZIONE table of pay and deduction lines, and the gross/net totals.",
  "properties": {
    "employeeName": {
      "type": "string",
      "description": "The employee name as printed in the COGNOME E NOME field, without the employee code."
    },
    "employerName": {
      "type": "string",
      "description": "The employer / company name as printed in the DITTA header field."
    },
    "codiceFiscale": {
      "type": "string",
      "description": "The employee tax code (CODICE FISCALE) exactly as printed."
    },
    "payPeriod": {
      "type": "string",
      "description": "The pay period (MESE DI RETRIBUZIONE) exactly as printed, e.g. month and year."
    },
    "payLines": {
      "type": "array",
      "description": "One object per printed row of the VOCE/DESCRIZIONE table; each row has a code and an Italian description, and may carry an earning (COMPETENZE) and/or a deduction (TRATTENUTE) amount.",
      "items": {
        "type": "object",
        "properties": {
          "voce": {
            "type": "string",
            "description": "The VOCE code printed at the start of the row, kept exactly as printed."
          },
          "description": {
            "type": "string",
            "description": "The DESCRIZIONE label of the row exactly as printed in Italian; this is the matching key for the row."
          },
          "unitaDiMisura": {
            "type": "string",
            "description": "The unit of measure (Unita' di misura) for the row exactly as printed, or null when blank."
          },
          "quantita": {
            "type": "number",
            "description": "The Quantita' column value for the row as a number, or null when blank."
          },
          "base": {
            "type": "number",
            "description": "The Base column value for the row as a number, or null when blank."
          },
          "trattenute": {
            "type": "number",
            "description": "The deduction amount in the TRATTENUTE column for the row as a number, or null when there is no deduction on this row."
          },
          "competenze": {
            "type": "number",
            "description": "The earning amount in the COMPETENZE column for the row as a number, or null when there is no earning on this row."
          }
        }
      }
    },
    "totaleCompetenze": {
      "type": "number",
      "description": "The total earnings (TOTALE COMPETENZE) as a number without separators."
    },
    "totaleTrattenute": {
      "type": "number",
      "description": "The total deductions (TOTALE TRATTENUTE) as a number without separators."
    },
    "nettoInBusta": {
      "type": "number",
      "description": "The net pay (NETTO IN BUSTA) as a number without separators."
    }
  }
}