Billing document will not post: "tax statement item missing" because the ship-to has no state or postal code

With only a country and city on the ship-to, the engine cannot resolve a jurisdiction. It returns a successful-but-partial response with no tax detail, the ERP builds no tax line, and accounting rejects the document.

By Herb Park, Clarent Technologies

Symptom

A US billing document sits in the blocked billing list and will not release to accounting. FI raises FF805 "Tax statement item missing for tax code". Re-pricing does not help, and other invoices for the same customer post fine.

What it usually means

The engine was called but could not work out where the sale is taxed. The ship-to (and supply) address carries only a country and a city; with no state, postal code or geocode there is no jurisdiction. Some engines do not treat this as an error: ONESOURCE returns success and partial success, with no tax or jurisdiction block on the lines and every summary value at zero.

With no tax detail in the response, SAP creates no tax result condition, so the document has no tax line for its tax code and FI rejects it. A document that posts with zero tax is different: it still gets tax conditions with zero amounts, which give FI its tax line. "No tax" and "tax of zero" are not the same thing.

No tax and tax of zero take different paths to accounting Left: the incomplete address. Right, for contrast: a complete address where the tax is zero. Only the left path leaves the document without a tax line.
  • Ship-to: country, city only
  • Engine finds no jurisdiction
  • Success plus partial success: No tax or jurisdiction block on the lines
  • No tax condition in the ERP: The document has no tax line
  • FF805, document rejected
  • Complete address, zero tax
  • Tax detail returned at 0.00
  • Tax conditions at zero: FI still gets its tax line
  • Document posts

How to confirm it

  1. Pull the request and response for the document (how).
  2. In the request, check the ship-to and supply address on each line for missing state, postal code and geocode.
  3. In the response, look for the partial-success flag and lines without tax or jurisdiction blocks.
  4. Optional: re-run the same request in the engine’s test tool with the state and postal code added. If tax blocks come back, the cause is confirmed.
The request has no state or postal code, and the response has no tax block Request and response for one line (illustrative; element names vary by engine). Read the address in the request first, then look for the partial success flag.
  • Request: <Line id="10"> <ShipTo> <Country>US</Country> <City>Springfield</City> <State></State> <PostalCode></PostalCode> <Geocode></Geocode> </ShipTo> <GrossAmount>1500.00</GrossAmount> </Line>
  • Response: <RequestStatus isSuccess="true" isPartialSuccess="true"> </RequestStatus> <Line id="10"> <GrossAmount>1500.00</GrossAmount> (no tax or jurisdiction block) </Line> <TotalTaxAmount>0.00</TotalTaxAmount>
  • (1) State, postal code and geocode are empty, so the engine has nothing to resolve a jurisdiction from.
  • (2) The call is flagged as a success and as a partial success. No error comes back.
  • (3) The line carries no tax or jurisdiction detail, so the ERP builds no tax condition.
  • (4) A zero total here means nothing was calculated. It does not mean the sale is taxed at zero.

Fix

  1. Correct the ship-to address on the order and billing document; look especially for one-time or manually changed addresses.
  2. Re-price in a way that calls the engine again but keeps any manual price conditions, and confirm the tax conditions now carry jurisdiction detail.
  3. Release to accounting. Once the address is complete tax may actually be due, so have the tax team check the result.

If the address is complete in the ERP but arrives at the engine without a state, the problem is the connector’s address mapping, not master data.

How to prevent it