Symptom
When saving a purchase order, an error occurs: "Error in external tax system: (5002) External: 5002 - VertexInvalidTaxAreaIdEx"
Environment
SAP S/4HANA Cloud Public Edition.
Reproducing the Issue
- Open a purchase order.
- Mark the deletion indicator for a limit item, or add a new line item to an existing purchase order.
- Choose Check or Save.
- Observe the error: "Error in external tax system: (5002) External: 5002 - VertexInvalidTaxAreaIdEx".
Cause
The tax jurisdiction code is time-dependent and not accepted by the tax partner.
Resolution
- Identify the tax jurisdiction code determined for the affected purchase order/item.
- Contact the external tax partner (for example, Vertex) to verify whether the jurisdiction code is valid and has not expired.
- Redetermine the tax jurisdiction code in the document or adjust the relevant master data so a valid code is used.
See Also
KBA 3513843 - VertexApplicationExceptionNo TaxAreas found
Keywords
external tax system error, 5002, vertexinvalidtaxareaidex, purchase order, limit po, deletion indicator, add po item, tax jurisdiction code, invalid jurisdiction, tax area id, vertex, external tax calculation, po change error, taxation error, usa tax integration, FS861 , KBA , XX-PART-TIF , Tax Interface (USA) , Problem
SAP Knowledge Base Article - Public