Skip to content

Commit

Permalink
Updating examples with charge quantity and rate
Browse files Browse the repository at this point in the history
  • Loading branch information
samlown committed Mar 6, 2025
1 parent d807a53 commit 3d983b0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion examples/mx/invoice-ieps.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ lines:
- code: "IEPS"
percent: "25%"
- code: "IEPS"
amount: "0.40"
quantity: "0.400" # litres
rate: "1.00" # price per litre
taxes:
- cat: "VAT"
rate: "standard"
Expand Down
4 changes: 3 additions & 1 deletion examples/mx/out/invoice-ieps.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"uuid": "8a51fd30-2a27-11ee-be56-0242ac120002",
"dig": {
"alg": "sha256",
"val": "74ea4b2d90fe23739b4593c937125316720a192e69859a044ed167e5f3425701"
"val": "345c1f4117675519c295f2b21d29155c643a72feec6d937d318892d306ac304d"
}
},
"doc": {
Expand Down Expand Up @@ -71,6 +71,8 @@
},
{
"code": "IEPS",
"quantity": "0.400",
"rate": "1.00",
"amount": "0.40"
}
],
Expand Down

0 comments on commit 3d983b0

Please sign in to comment.