Skip to content

Commit 92489ba

Browse files
authored
Add "cash_tax" to invoice total request (PHNX-13678) (#23)
Motivation ---------- Hyfin has added this to the API so we can show the difference in tax for cash payments. Modifications ------------- Add the attribute and update descriptions. https://centeredge.atlassian.net/browse/PHNX-13678
1 parent cad7518 commit 92489ba

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

swagger.json

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -949,13 +949,19 @@
949949
"tax": {
950950
"type": "number",
951951
"format": "decimal",
952-
"description": "The tax amount on the invoice",
952+
"description": "The tax amount on the invoice when payment card price.",
953953
"default": 0
954954
},
955955
"total": {
956956
"type": "number",
957957
"format": "decimal",
958-
"description": "The total amount of the invoice (including tax)."
958+
"description": "The credit card price of the invoice (including tax)."
959+
},
960+
"cash_tax": {
961+
"type": "number",
962+
"format": "decimal",
963+
"description": "The tax amount on the invoice when paying the cash price.",
964+
"nullable": true
959965
},
960966
"cash_total": {
961967
"type": "number",

0 commit comments

Comments
 (0)