(subtotal, discounts, VAT, total)curl --location 'https://api.zid.sa/v1/managers/reverse-credit-note/totals' \
--header 'Authorization: {{Autherization}}' \
--header 'X-MANAGER-TOKEN: {{Access-Token}}' \
--header 'Accept-Language: en' \
--header 'Accept: application/json' \
--form 'order_id="64085792"' \
--form 'is_partial="1"' \
--form 'products[0][order_product_id]="110166397"' \
--form 'products[0][quantity]="1"'{
"invoice": [
{
"code": "sub_totals",
"value": 173.5304338832,
"value_string": "173.53 SAR",
"title": "Sub Total"
},
{
"code": "discounts",
"value": 0,
"value_string": "0.00 SAR",
"title": "Discount"
},
{
"code": "sub_total_after_discounts",
"value": 173.5304338832,
"value_string": "173.53 SAR",
"title": "Subtotal After Discounts"
},
{
"code": "vat",
"value": 26.02956508248,
"value_string": "26.03 SAR",
"title": "VAT (%15)"
},
{
"code": "total",
"value": 199.55999896568,
"value_string": "199.56 SAR",
"title": "Total"
}
]
}