After a tax engine upgrade, AP invoices from foreign suppliers land on a tax hold with a blank name
Rules that mark lines as "no tax" can behave differently after an engine or adapter upgrade: the adapter treats a no-tax response with no rate code as an error and places a hold. A 0% rate override fixes it.
By Herb Park, Clarent Technologies
Symptom
Right after an engine or adapter upgrade, AP invoices from foreign suppliers in one operating unit go on hold. The hold is placed by the tax integration’s user and its name shows blank in the Invoice Workbench. Nothing else changed.
- Invoice: INV-30451; Supplier country: DE; Hold name: ; Held by: TAX_INTERFACE; Hold date: Day after upgrade
- Invoice: INV-30452; Supplier country: FR; Hold name: ; Held by: TAX_INTERFACE; Hold date: Day after upgrade
- Invoice: INV-30458; Supplier country: JP; Hold name: ; Held by: TAX_INTERFACE; Hold date: Day after upgrade
- Invoice: INV-30460; Supplier country: US; Hold name: (no hold); Held by: ; Hold date:
- (1) The hold name is blank because the adapter's custom hold code is missing from the AP lookup codes. The integration user placed it.
- (2) Domestic invoices in the same operating unit validate as before.
What it usually means
A rule sets the lines to no tax (an "is no tax" style flag) rather than calculating at 0%. The old adapter accepted that response; after the upgrade, a no-tax response with no rate code is treated as an error and the adapter places its own hold. The hold code is a custom one that was never added to the AP lookup codes, which is why its name is blank.
How to confirm it
- Pull the request and response for one held invoice (how).
- In the response, check whether the lines are flagged no-tax with no rate code.
- Find the rule that sets the flag and check when it last changed. Usually it did not; the adapter did.
- Look up the hold code in the AP lookups to see why it renders blank.
Fix
- Before: no-tax flag: <Line id="1"> <IsNoTax>true</IsNoTax> (no rate code) <TaxAmount>0.00</TaxAmount> </Line>
- After: 0% rate override: <Line id="1"> <TaxRate>0.00</TaxRate> <TaxRateCode>ZERO</TaxRateCode> <TaxAmount>0.00</TaxAmount> </Line>
- (1) The rule marks the line as no tax, so nothing is calculated.
- (2) With no rate code, the upgraded adapter treats the response as an error and places a hold.
- (3) A 0% override still produces zero tax, and the response now carries a rate code.
- Change the rule to apply a 0% rate override instead of the no-tax flag, so the response carries a rate code.
- Re-validate the held invoices.
- Add the custom hold code to the AP lookup codes so it displays a readable name next time.
How to prevent it
- Before an upgrade, list every rule that uses no-tax or exempt flags and test those cases in the upgraded test environment.
- Include held-invoice scenarios (foreign supplier, exempt, out of scope) in the upgrade regression pack.