Skip to content

Commit

Permalink
Allows for multiple sales taxes (#6092)
Browse files Browse the repository at this point in the history
  • Loading branch information
darcys22 authored Dec 6, 2022
1 parent 9f3b383 commit 2964190
Showing 1 changed file with 27 additions and 1 deletion.
28 changes: 27 additions & 1 deletion EIPS/eip-5570.md
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,11 @@ The JSON schema is composed of 2 parts. The root schema contains high level deta
"description": "Digital signature by the vendor of receipts data",
"type": "string"
}
"extra": {
"title": "Extra",
"description": "Extra information about the business/receipt as needed",
"type": "string"
}
}
}
```
Expand Down Expand Up @@ -218,7 +223,28 @@ The JSON schema is composed of 2 parts. The root schema contains high level deta
"tax": {
"title": "Tax",
"description": "Amount of tax charged for unit",
"type": "number"
"type": "array",
"items": {
"type": "object",
"required": ["name", "rate", "amount"],
"properties": {
"name": {
"title": "Name of Tax",
"description": "GST/PST etc",
"type": "string"
},
"rate": {
"title": "Tax Rate",
"description": "Tax rate as a percentage",
"type": "number"
},
"amount": {
"title": "Tax Amount",
"description": "Total amount of tax charged",
"type": "number"
}
}
}
},
"quantity": {
"title": "Quantity",
Expand Down

0 comments on commit 2964190

Please sign in to comment.