Skip to content

Commit

Permalink
Running generate
Browse files Browse the repository at this point in the history
  • Loading branch information
samlown committed Feb 27, 2025
1 parent b5113d7 commit 28f30d9
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 6 deletions.
3 changes: 2 additions & 1 deletion data/addons/es-verifactu-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,8 @@
"schema": "bill/invoice",
"extensions": [
"es-verifactu-doc-type"
]
],
"copy_tax": true
}
]
}
5 changes: 5 additions & 0 deletions data/schemas/bill/correction-options.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,11 @@
"$ref": "https://gobl.org/draft-0/tax/extensions",
"title": "Extensions",
"description": "Extensions for region specific requirements that may be added in the preceding\nor at the document level, according to the local rules."
},
"copy_tax": {
"type": "boolean",
"title": "Copy Tax Totals",
"description": "CopyTax when true will copy the tax totals from the previous document to the\npreceding document data."
}
},
"type": "object",
Expand Down
5 changes: 0 additions & 5 deletions data/schemas/bill/payment.json
Original file line number Diff line number Diff line change
Expand Up @@ -438,11 +438,6 @@
"title": "Credit",
"description": "Amount received by the customer in case of refunds."
},
"tax": {
"$ref": "https://gobl.org/draft-0/tax/total",
"title": "Tax",
"description": "Tax total breakdown from the original document, only if required by a specific tax regime\nor addon."
},
"total": {
"$ref": "https://gobl.org/draft-0/num/amount",
"title": "Total",
Expand Down
10 changes: 10 additions & 0 deletions data/schemas/org/document-ref.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@
"title": "Code",
"description": "Source document's code or other identifier."
},
"currency": {
"$ref": "https://gobl.org/draft-0/currency/code",
"title": "Currency",
"description": "Currency used in the document, if different from the default currency."
},
"lines": {
"items": {
"type": "integer"
Expand Down Expand Up @@ -76,6 +81,11 @@
"title": "URL",
"description": "Link to the source document."
},
"tax": {
"$ref": "https://gobl.org/draft-0/tax/total",
"title": "Tax",
"description": "Tax total breakdown from the original document in the provided currency. Should\nonly be included if required by a specific tax regime or addon."
},
"ext": {
"$ref": "https://gobl.org/draft-0/tax/extensions",
"title": "Extensions",
Expand Down
5 changes: 5 additions & 0 deletions data/schemas/tax/addon-def.json
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,11 @@
"type": "array",
"title": "Stamps",
"description": "Stamps that must be copied from the preceding document."
},
"copy_tax": {
"type": "boolean",
"title": "Copy Tax Totals",
"description": "Copy tax from the preceding document to the document ref."
}
},
"type": "object",
Expand Down
5 changes: 5 additions & 0 deletions data/schemas/tax/regime-def.json
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,11 @@
"type": "array",
"title": "Stamps",
"description": "Stamps that must be copied from the preceding document."
},
"copy_tax": {
"type": "boolean",
"title": "Copy Tax Totals",
"description": "Copy tax from the preceding document to the document ref."
}
},
"type": "object",
Expand Down

0 comments on commit 28f30d9

Please sign in to comment.