-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
IT: adding codice fiscale label for party identities (#9)
* IT: adding codice fiscale label for party identities * Adding missing italian example
- Loading branch information
Showing
16 changed files
with
493 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,145 @@ | ||
{ | ||
"$schema": "https://gobl.org/draft-0/envelope", | ||
"head": { | ||
"uuid": "8a51fd30-2a27-11ee-be56-0242ac120002", | ||
"dig": { | ||
"alg": "sha256", | ||
"val": "277eb3247d67ce9de6feef8bec4d710e1a1f10feae546ab9da138e62dd6b1cc1" | ||
}, | ||
"draft": true | ||
}, | ||
"doc": { | ||
"$schema": "https://gobl.org/draft-0/bill/invoice", | ||
"uuid": "3aea7b56-59d8-4beb-90bd-f8f280d852a0", | ||
"type": "standard", | ||
"series": "SAMPLE", | ||
"code": "002", | ||
"issue_date": "2023-05-21", | ||
"currency": "EUR", | ||
"tax": { | ||
"prices_include": "VAT" | ||
}, | ||
"supplier": { | ||
"name": "Hotel California", | ||
"tax_id": { | ||
"country": "IT", | ||
"code": "12345678903" | ||
}, | ||
"addresses": [ | ||
{ | ||
"num": "102", | ||
"street": "Via California", | ||
"locality": "Palermo", | ||
"region": "PA", | ||
"code": "33213", | ||
"country": "IT" | ||
} | ||
], | ||
"registration": { | ||
"capital": "50000.00", | ||
"currency": "EUR", | ||
"office": "RM", | ||
"entry": "123456" | ||
} | ||
}, | ||
"customer": { | ||
"name": "Mela S.r.l.", | ||
"tax_id": { | ||
"country": "IT" | ||
}, | ||
"identities": [ | ||
{ | ||
"key": "it-fiscal-code", | ||
"code": "RSSGNN60R30H501U" | ||
} | ||
], | ||
"inboxes": [ | ||
{ | ||
"key": "it-sdi-code", | ||
"code": "M5UXCR5" | ||
} | ||
], | ||
"addresses": [ | ||
{ | ||
"num": "23", | ||
"street": "Via dei Mille", | ||
"locality": "Firenze", | ||
"region": "FI", | ||
"code": "00100", | ||
"country": "IT" | ||
} | ||
] | ||
}, | ||
"lines": [ | ||
{ | ||
"i": 1, | ||
"quantity": "1", | ||
"item": { | ||
"name": "Tassa di Soggiorno", | ||
"price": "1.00" | ||
}, | ||
"sum": "1.00", | ||
"taxes": [ | ||
{ | ||
"cat": "VAT", | ||
"rate": "exempt", | ||
"ext": { | ||
"it-sdi-nature": "N4" | ||
} | ||
} | ||
], | ||
"total": "1.00" | ||
}, | ||
{ | ||
"i": 2, | ||
"quantity": "1", | ||
"item": { | ||
"name": "Camera Matrimoniale", | ||
"price": "125.00" | ||
}, | ||
"sum": "125.00", | ||
"taxes": [ | ||
{ | ||
"cat": "VAT", | ||
"rate": "intermediate", | ||
"percent": "10.0%" | ||
} | ||
], | ||
"total": "125.00" | ||
} | ||
], | ||
"totals": { | ||
"sum": "126.00", | ||
"tax_included": "11.36", | ||
"total": "114.64", | ||
"taxes": { | ||
"categories": [ | ||
{ | ||
"code": "VAT", | ||
"rates": [ | ||
{ | ||
"key": "exempt", | ||
"ext": { | ||
"it-sdi-nature": "N4" | ||
}, | ||
"base": "1.00", | ||
"amount": "0.00" | ||
}, | ||
{ | ||
"key": "intermediate", | ||
"base": "113.64", | ||
"percent": "10.0%", | ||
"amount": "11.36" | ||
} | ||
], | ||
"amount": "11.36" | ||
} | ||
], | ||
"sum": "11.36" | ||
}, | ||
"tax": "11.36", | ||
"total_with_tax": "126.00", | ||
"payable": "126.00" | ||
} | ||
} | ||
} |
Oops, something went wrong.