Tax not added to Invoice
- July 6, 2022
- 1 reply
- 0 views
Hey,
We are using Quickbooks Online API to create Invoice. The Tax that we send in the invoice payload does not reflect on the Invoice and on the GET request. Please let us know if we are missing anything:
I have attached the POST payload used for creating the invoice and a screenshot of the Invoice itself:
Invoice POST Payload:
{
"TotalAmt": 841.91,
"TxnDate": "2022-06-20",
"domain": "QBO",
"SalesTermRef": {
"value": "2"
},
"Line": [{
"DetailType": "SalesItemLineDetail",
"Description": "FOR JOB-17. ;\n\n Job No:17 \nNotes-Completed",
"Amount": 525,mail
"SalesItemLineDetail": {
"ItemRef": {
"value": "32",
"name": "FOR JOB-17. Labour -Brandon Fountaine"
},
"UnitPrice": 150,
"Qty": 3.5,
"DiscountAmt": 0
}
},
{
"DetailType": "SalesItemLineDetail",
"Description": "FOR JOB-17. undefined",
"Amount": 260,
"SalesItemLineDetail": {
"ItemRef": {
"value": "25",
"name": "1CAM - Camera"
},
"UnitPrice": 130,
"Qty": 2,
"DiscountAmt": 0,
"TaxCodeRef": {
"value": "TAX"
}
}
},
{
"DetailType": "SubTotalLineDetail",
"Amount": 785,
"SubTotalLineDetail": {}
}
],
"DueDate": "2022-06-30",
"CustomerMemo": {},
"CustomerRef": {
"name": "Test Customer",
"value": "61"
},
"BillEmail": {
"Address": "[email address removed]"
},
"ShipAddr": {
"City": "city",
"Line1": "Test Customer",
"Line3": "1250 Waters Place, Bronx, NY, USA",
"PostalCode": "10461",
"Country": "United States"
},
"BillAddr": {
"City": "West Hollywood",
"Line1": "Test Customer",
"Line3": "8447 Santa Monica Blvd8447 Santa Monica Boulevard ",
"Country": "United States"
},
"ApplyTaxAfterDiscount": true,
"EmailStatus": "NotSet",
"TxnTaxDetail": {
"TotalTax": 56.91,
"TaxLine": [{
"Amount": 56.91,
"DetailType": "TaxLineDetail",
"TaxLineDetail": {
"TaxRateRef": {
"name": "7.25% Tax",
"value": "7"
},
"TaxPercent": 7.25
}
}]
},
"Id": "190",
"SyncToken": "3",
"DocNumber": "FiS-INV43"
}
