You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How to set the invoice sales tax percentage through PHP code? I set the Tax Name with code but could not find any solution to set this percentage. I could not find any methods which set the percentage as well.
When querying the invoice record, the sales tax amount appears in the code below. However, I couldn’t find any field in this package where I can set the tax percentage.
$quickbooks_invoice = new \QuickBooks_QBXML_Object_Invoice();
$quickbooks_invoice_line->setTaxable();
$quickbooks_invoice->setSalesTaxItemFullName($sales_tax_item_name); //NJ Sales Tax
//HOW TO SET PERCENTAGE??
$quickbooks_invoice->setRatePercent(5);
OR
$quickbooks_invoice->setsalesTaxPercentage(5);
In XML SaleTaxPercentage shown in below tag
<SalesTaxPercentage>0.00</SalesTaxPercentage>
Does anyone know how to set this value?
The text was updated successfully, but these errors were encountered:
How to set the invoice sales tax percentage through PHP code? I set the Tax Name with code but could not find any solution to set this percentage. I could not find any methods which set the percentage as well.
When querying the invoice record, the sales tax amount appears in the code below. However, I couldn’t find any field in this package where I can set the tax percentage.
In XML SaleTaxPercentage shown in below tag
Does anyone know how to set this value?
The text was updated successfully, but these errors were encountered: