-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for other taxes to myDATA Greece
- Loading branch information
Showing
7 changed files
with
361 additions
and
17 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
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
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
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
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,49 @@ | ||
$schema: "https://gobl.org/draft-0/bill/invoice" | ||
$addons: ["gr-mydata-v1"] | ||
uuid: "019035bd-4522-7eb3-83bf-9185ead05ee6" | ||
currency: "EUR" | ||
issue_date: "2022-02-01" | ||
series: "SAMPLE" | ||
code: "001" | ||
type: "other" | ||
tax: | ||
ext: | ||
"gr-mydata-invoice-type": "8.2" | ||
|
||
supplier: | ||
tax_id: | ||
country: "EL" | ||
code: "177472438" | ||
name: "Ελληνικά Τρόφιμα Α.Ε." | ||
emails: | ||
- addr: "hellenicfoods@example.com" | ||
addresses: | ||
- num: "12" | ||
street: "Λεωφόρος Βουλιαγμένης" | ||
locality: "Αθήνα" | ||
code: "11636" | ||
country: "GR" | ||
|
||
customer: | ||
tax_id: | ||
country: "EL" | ||
code: "841442160" | ||
name: "Αιγαίο Λιανική Α.Ε." | ||
emails: | ||
- addr: "aegeanretail@example.com" | ||
addresses: | ||
- num: "45" | ||
street: "Οδός Εγνατίας" | ||
locality: "Θεσσαλονίκη" | ||
code: "54625" | ||
country: "GR" | ||
|
||
charges: | ||
- reason: "Accommodation tax" | ||
amount: "3.00" | ||
ext: | ||
"gr-mydata-other-tax": "8" | ||
|
||
payment: | ||
instructions: | ||
key: cash |
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,96 @@ | ||
{ | ||
"$schema": "https://gobl.org/draft-0/envelope", | ||
"head": { | ||
"uuid": "8a51fd30-2a27-11ee-be56-0242ac120002", | ||
"dig": { | ||
"alg": "sha256", | ||
"val": "66ba51da8b4d361f1df79c094057ac3eade2f70680699a424531658c15c89631" | ||
} | ||
}, | ||
"doc": { | ||
"$schema": "https://gobl.org/draft-0/bill/invoice", | ||
"$regime": "EL", | ||
"$addons": [ | ||
"gr-mydata-v1" | ||
], | ||
"uuid": "019035bd-4522-7eb3-83bf-9185ead05ee6", | ||
"type": "other", | ||
"series": "SAMPLE", | ||
"code": "001", | ||
"issue_date": "2022-02-01", | ||
"currency": "EUR", | ||
"tax": { | ||
"ext": { | ||
"gr-mydata-invoice-type": "8.2" | ||
} | ||
}, | ||
"supplier": { | ||
"name": "Ελληνικά Τρόφιμα Α.Ε.", | ||
"tax_id": { | ||
"country": "EL", | ||
"code": "177472438" | ||
}, | ||
"addresses": [ | ||
{ | ||
"num": "12", | ||
"street": "Λεωφόρος Βουλιαγμένης", | ||
"locality": "Αθήνα", | ||
"code": "11636", | ||
"country": "GR" | ||
} | ||
], | ||
"emails": [ | ||
{ | ||
"addr": "hellenicfoods@example.com" | ||
} | ||
] | ||
}, | ||
"customer": { | ||
"name": "Αιγαίο Λιανική Α.Ε.", | ||
"tax_id": { | ||
"country": "EL", | ||
"code": "841442160" | ||
}, | ||
"addresses": [ | ||
{ | ||
"num": "45", | ||
"street": "Οδός Εγνατίας", | ||
"locality": "Θεσσαλονίκη", | ||
"code": "54625", | ||
"country": "GR" | ||
} | ||
], | ||
"emails": [ | ||
{ | ||
"addr": "aegeanretail@example.com" | ||
} | ||
] | ||
}, | ||
"charges": [ | ||
{ | ||
"i": 1, | ||
"reason": "Accommodation tax", | ||
"amount": "3.00", | ||
"ext": { | ||
"gr-mydata-other-tax": "8" | ||
} | ||
} | ||
], | ||
"payment": { | ||
"instructions": { | ||
"key": "cash", | ||
"ext": { | ||
"gr-mydata-payment-means": "3" | ||
} | ||
} | ||
}, | ||
"totals": { | ||
"sum": "0.00", | ||
"charge": "3.00", | ||
"total": "3.00", | ||
"tax": "0.00", | ||
"total_with_tax": "3.00", | ||
"payable": "3.00" | ||
} | ||
} | ||
} |
Oops, something went wrong.