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.

The hold has a user and a date but no name A hold list after the upgrade (illustrative). A blank hold name placed by the integration user is the signature of this case.
  • 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

  1. Pull the request and response for one held invoice (how).
  2. In the response, check whether the lines are flagged no-tax with no rate code.
  3. Find the rule that sets the flag and check when it last changed. Usually it did not; the adapter did.
  4. Look up the hold code in the AP lookups to see why it renders blank.

Fix

A 0% rate override gives the adapter the rate code it now requires The same line before and after the rule change (illustrative; element names vary by engine). The tax amount is zero both times.
  • 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.

How to prevent it