-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
14 changed files
with
1,497 additions
and
7 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"$schema": "https://gobl.org/draft-0/envelope", | ||
"head": { | ||
"uuid": "8a51fd30-2a27-11ee-be56-0242ac120002", | ||
"dig": { | ||
"alg": "sha256", | ||
"val": "45ac3115c8569a1789e58af8d0dc91ef3baa1fb71daaf38f5aef94f82b4d0033" | ||
}, | ||
"draft": true | ||
}, | ||
"doc": { | ||
"$schema": "https://gobl.org/draft-0/note/message", | ||
"title": "Test Message", | ||
"content": "We hope you like this test message!" | ||
} | ||
} |
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,108 @@ | ||
{ | ||
"$schema": "https://gobl.org/draft-0/envelope", | ||
"head": { | ||
"uuid": "8a51fd30-2a27-11ee-be56-0242ac120002", | ||
"dig": { | ||
"alg": "sha256", | ||
"val": "5fff065413fac95076f9ee278ee219b351da74f6251244aa7accc6f6a57ae471" | ||
}, | ||
"draft": true | ||
}, | ||
"doc": { | ||
"$schema": "https://gobl.org/draft-0/bill/invoice", | ||
"series": "SETT", | ||
"code": "1234", | ||
"type": "standard", | ||
"currency": "COP", | ||
"issue_date": "2021-01-01", | ||
"supplier": { | ||
"name": "EXAMPLE SUPPLIER S.A.S.", | ||
"tax_id": { | ||
"country": "CO", | ||
"zone": "11001", | ||
"type": "tin", | ||
"code": "9014514812" | ||
} | ||
}, | ||
"customer": { | ||
"name": "EXAMPLE CUSTOMER S.A.S.", | ||
"tax_id": { | ||
"country": "CO", | ||
"zone": "11001", | ||
"type": "tin", | ||
"code": "9014514805" | ||
}, | ||
"addresses": [ | ||
{ | ||
"street": "CRA 8 113 31 OF 703", | ||
"locality": "Bogotá, D.C.", | ||
"region": "Bogotá", | ||
"country": "CO" | ||
} | ||
], | ||
"emails": [ | ||
{ | ||
"addr": "[email protected]" | ||
} | ||
], | ||
"telephones": [ | ||
{ | ||
"num": "3114131811" | ||
} | ||
] | ||
}, | ||
"lines": [ | ||
{ | ||
"i": 1, | ||
"quantity": "1", | ||
"item": { | ||
"name": "Servicios Mes de Julio 2022", | ||
"price": "200000.00" | ||
}, | ||
"sum": "200000.00", | ||
"taxes": [ | ||
{ | ||
"cat": "VAT", | ||
"percent": "19%" | ||
} | ||
], | ||
"total": "200000.00" | ||
} | ||
], | ||
"payment": { | ||
"terms": { | ||
"key": "", | ||
"due_dates": [ | ||
{ | ||
"date": "2021-01-01", | ||
"amount": "238000.00", | ||
"percent": "100%" | ||
} | ||
] | ||
} | ||
}, | ||
"totals": { | ||
"sum": "200000.00", | ||
"total": "200000.00", | ||
"taxes": { | ||
"categories": [ | ||
{ | ||
"code": "VAT", | ||
"rates": [ | ||
{ | ||
"base": "200000.00", | ||
"percent": "19%", | ||
"amount": "38000.00" | ||
} | ||
], | ||
"amount": "38000.00" | ||
} | ||
], | ||
"sum": "38000.00" | ||
}, | ||
"tax": "38000.00", | ||
"total_with_tax": "238000.00", | ||
"payable": "238000.00" | ||
} | ||
} | ||
} |
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,137 @@ | ||
{ | ||
"$schema": "https://gobl.org/draft-0/envelope", | ||
"head": { | ||
"uuid": "8a51fd30-2a27-11ee-be56-0242ac120002", | ||
"dig": { | ||
"alg": "sha256", | ||
"val": "f1d54d434ba07ddd90f33d711f6a6725a80228f80cd831f11fcaa21357796571" | ||
}, | ||
"draft": true | ||
}, | ||
"doc": { | ||
"$schema": "https://gobl.org/draft-0/bill/invoice", | ||
"code": "SAMPLE-001", | ||
"type": "standard", | ||
"currency": "EUR", | ||
"issue_date": "2022-02-01", | ||
"supplier": { | ||
"name": "MªF. Services", | ||
"tax_id": { | ||
"country": "ES", | ||
"code": "58384285G" | ||
}, | ||
"people": [ | ||
{ | ||
"name": { | ||
"given": "MARIA FRANCISCA", | ||
"surname": "MONTERO", | ||
"surname2": "ESTEBAN" | ||
} | ||
} | ||
], | ||
"addresses": [ | ||
{ | ||
"num": "9", | ||
"street": "CAMÍ MADRID", | ||
"locality": "CANENA", | ||
"region": "JAÉN", | ||
"code": "23480", | ||
"country": "ES" | ||
} | ||
], | ||
"emails": [ | ||
{ | ||
"addr": "[email protected]" | ||
} | ||
] | ||
}, | ||
"customer": { | ||
"name": "Sample Consumer", | ||
"tax_id": { | ||
"country": "ES", | ||
"code": "54387763P" | ||
} | ||
}, | ||
"lines": [ | ||
{ | ||
"i": 1, | ||
"quantity": "20", | ||
"item": { | ||
"name": "Development services", | ||
"price": "90.00", | ||
"unit": "h" | ||
}, | ||
"sum": "1800.00", | ||
"discounts": [ | ||
{ | ||
"percent": "10%", | ||
"amount": "180.00", | ||
"reason": "Special discount" | ||
} | ||
], | ||
"taxes": [ | ||
{ | ||
"cat": "VAT", | ||
"rate": "standard", | ||
"percent": "21.0%" | ||
}, | ||
{ | ||
"cat": "IRPF", | ||
"percent": "15.0%" | ||
} | ||
], | ||
"total": "1620.00" | ||
} | ||
], | ||
"payment": { | ||
"terms": { | ||
"key": "instant" | ||
}, | ||
"instructions": { | ||
"key": "credit-transfer", | ||
"credit_transfer": [ | ||
{ | ||
"iban": "ES06 0128 0011 3901 0008 1391", | ||
"name": "Bankinter" | ||
} | ||
] | ||
} | ||
}, | ||
"totals": { | ||
"sum": "1620.00", | ||
"total": "1620.00", | ||
"taxes": { | ||
"categories": [ | ||
{ | ||
"code": "VAT", | ||
"rates": [ | ||
{ | ||
"key": "standard", | ||
"base": "1620.00", | ||
"percent": "21.0%", | ||
"amount": "340.20" | ||
} | ||
], | ||
"amount": "340.20" | ||
}, | ||
{ | ||
"code": "IRPF", | ||
"retained": true, | ||
"rates": [ | ||
{ | ||
"base": "1620.00", | ||
"percent": "15.0%", | ||
"amount": "243.00" | ||
} | ||
], | ||
"amount": "243.00" | ||
} | ||
], | ||
"sum": "97.20" | ||
}, | ||
"tax": "97.20", | ||
"total_with_tax": "1717.20", | ||
"payable": "1717.20" | ||
} | ||
} | ||
} |
Oops, something went wrong.