Hi Team,
When putting a bill/adjustment i am specifying my tax catagory, but its just defaulting to the default tax cat set on the tax zone id on the vendor. No matter what i do.
if i set the vendor tax zone id’s default taxcat to nothing, i get no taxcat on the bill lines.
Working with overheads for now, with no inv code on lines! (PO is fine because you select tax cat on the line items in the PO.)
ive tried adding these to the header also;
"IsTaxValid" => [ "value" => false],
"TaxZoneID" => [ "value" => "MYWANTED ZONE ID"],
confirmed my tax catagories exist in the tax zone used...
and my detail lines as follows;
"InventoryID" => ["value" => null]
"LineType" => ["value" => "MiscCharge"] - was told to add this by GPT, no effect
"UOM" => ["value" => "EA"], - UOM mandatory for tax apparently
"TaxAmount" => ["value" => number_format((float) $InvoiceLine['TaxItemAmount'],5,".","")] - tried with or without this
"TaxCatagory" => ["value" => “my Tax Cat”]
ive also tried with or without TaxAmount included on the lines also, but its all zeros no matter what.
Any ideas?