Fixing common Vertex and Avalara problems
A practitioner guide to the problems tax teams hit most often on Vertex O Series and Avalara AvaTax: how each engine is called from SAP, Oracle, NetSuite and Dynamics 365, where the logs live, the documented error codes, and how to open a support case that gets answered.
By Herb Park, Clarent Technologies
The short answer
Vertex O Series and Avalara AvaTax fail in a small number of repeatable ways. The engine could not place an address. The product or service has no taxability mapping, or the wrong one. An exemption certificate exists but did not attach to the transaction. The legal entity is not registered or has no nexus where the sale landed. The document was calculated but never stored for reporting, or stored twice. The connection timed out and the ERP did something else. Each of these has a signature you can read from the request and response for a single bad document.
This guide covers both engines in depth: how each is called from SAP and Oracle (and AvaTax from NetSuite and Dynamics 365), what to pull for a bad transaction, the common problem patterns with cause, confirmation, fix and owner, the error codes the vendors document, and how to open a support case. It is part of the journey for teams fixing the engine they already own. If you are still working out whether the problem is in the ERP, the connector or the engine, start with how to triage a tax issue and come back here.
- Address or jurisdiction not found: ERP master data Usually; Engine configuration Sometimes; Connector and integration Sometimes; Vendor content Sometimes
- Wrong rate on a product family (Taxability mapping): ERP master data Often; Engine configuration Usually; Connector and integration Sometimes; Vendor content Sometimes
- Exempt customer charged tax: ERP master data Often; Engine configuration Usually; Connector and integration Often; Vendor content Rarely
- No tax where tax is due (Nexus or registration): ERP master data Rarely; Engine configuration Usually; Connector and integration Sometimes; Vendor content Rarely
- Document missing from reports: ERP master data Rarely; Engine configuration Sometimes; Connector and integration Usually; Vendor content Rarely
- Duplicate or stale document: ERP master data Rarely; Engine configuration Sometimes; Connector and integration Usually; Vendor content Rarely
- Cents-level differences (Rounding and currency): ERP master data Rarely; Engine configuration Often; Connector and integration Usually; Vendor content Rarely
- Use tax accrual does not match: ERP master data Often; Engine configuration Often; Connector and integration Often; Vendor content Rarely
- Timeouts and fallback tax: ERP master data Rarely; Engine configuration Sometimes; Connector and integration Usually; Vendor content Sometimes
- Result changed after an update: ERP master data Rarely; Engine configuration Often; Connector and integration Often; Vendor content Often
Recommendations
- Pull one document end to end before you escalate. ERP document number, the request the connector sent, the response it received, and what the engine stored.
- Read the response for the reason. Both engines return jurisdiction-level detail, the rule or tax code applied, and exempt and non-taxable amounts. The reason for a zero or a wrong rate is usually in the payload.
- Check mapping and setup before content. Product taxability mapping, customer codes, company and nexus or registration setup cause far more tickets than a wrong vendor rate.
- Reconcile engine to ledger every period. Missing, uncommitted and duplicate documents are cheap to fix in the month and expensive after a return is filed.
- Decide your outage behavior on purpose. Neither vendor queues your calls for you. Know whether your ERP blocks the document, posts zero or uses a fallback, and how you true it up.
- Keep a log of solved cases. Recurring issues come back with staff turnover. Our casebook and the tax error lookup show the shape of a useful record.
What to pull for a bad transaction
The same five things solve most cases on either engine. Collect them once, for one document, and attach them to anything you send to IT, your integrator or the vendor.
| Item | Why it matters | Vertex O Series | Avalara AvaTax |
|---|---|---|---|
| Document identity | Lets everyone find the same record | ERP document number, passed as documentNumber, plus posting date and company code | Document code, document type, company code and document date |
| Request | Shows what the ERP really sent | XML or JSON from the connector log, the SAP integration flow log or the Accelerator+ log | JSON from the connector log, or the reconstructed call from the AuditTransaction API |
| Response | Shows what the engine decided and why | Jurisdictions, rates, rule identifiers, taxable, non-taxable and exempt amounts | Jurisdiction lines, tax code used, exempt amounts and the messages collection |
| Stored record | Shows what will be reported | Tax Journal entry and the Audit report, which shows the Tax Area IDs used | Transaction in the Avalara portal with its status (Committed, Uncommitted, Voided) |
| Expected result | Turns a complaint into a testable claim | Jurisdiction, rate or exemption you expected and the reason | Same |
Vertex O Series: how it is called and where the logs live
O Series runs in three deployment forms that Vertex names in its developer documentation: O Series Cloud, O Series On-Demand (a dedicated host per customer) and O Series On-Premise (your own server). The API paths are the same and the host differs. That matters for troubleshooting because the first question from Vertex support is which deployment and which version you run, and because on-premise and on-demand customers control when data updates are applied.
- ERP document: Order, billing, PO, supplier invoice
- SAP RFC tax interface: Logs: SM59 test, SE37 test, Accelerator+ log
- S/4HANA Cloud iFlows: Logs: Message Processing Log, app F3085
- Oracle connector: Logs: connector log, Oracle tax lines
- Vertex O Series: Tax area, taxability mapping, rules, rates
- Tax Journal: Invoice messages stored for reporting
- Audit report: Tax Area IDs and impositions per line
- Response to ERP: Tax by jurisdiction level
From SAP
- SAP ECC and S/4HANA private cloud or on-premise. SAP's standard tax interface calls the external system through an RFC destination. The calls you will see named in dumps and KBAs are
RFC_DETERMINE_JURISDICTION(address to jurisdiction code),RFC_CALCULATE_TAXES_DOC(calculation),RFC_UPDATE_TAXES_DOC(write to the engine's audit record at posting) andRFC_FORCE_TAXES_DOC(write SAP's amounts when they differ). SAP's knowledge base article on an external tax partner that is not calculating points first at theSM59connection. - Vertex Accelerator+ for SAP ERP. Vertex sells this add-on for SAP ECC and S/4HANA (private cloud and on-premise). It adds data mapping inside SAP, transaction logs that show field values and the changes it made, and a Queue Maintenance Tool that finds and removes blocking transactions and reprocesses them after correction. If you own it, its log is the fastest way to see the mapped request.
- SAP S/4HANA Cloud Public Edition. SAP exits pricing at the external tax condition and calls communication scenario
SAP_COM_0177, which sends a SOAP message to the partner's integration flow. Vertex's configuration guide names the flows: Calculate Taxes, Post SAP Calculated Taxes, Post Vertex Calculated Taxes and Determine Jurisdiction Code. SAP's Manage External Tax Postings app (F3085) shows the status of update and force-update calls and is where you look for documents that calculated but did not post to the engine.
From Oracle
- Oracle Fusion Cloud ERP. Oracle describes partner calculation as a cloud-to-cloud connection with no integration components installed on the Oracle side. Vertex's product for this is the Vertex Accelerator for Oracle Cloud ERP, which Vertex says collects and augments ERP data for each transaction across order to cash (quotes, orders, AR transactions, credit and debit memos) and procure to pay (requisitions, purchase orders, AP invoices, expense reports, cancellations and reversals).
- Oracle E-Business Suite R12. Vertex describes a prebuilt connector covering Order Management, AR invoices, credit and debit memos, RMAs, purchase orders and AP invoices. Oracle's E-Business Tax documentation describes the general pattern for tax service providers: a provider-specific tax regime with state, county and city taxes, and a service subscription for each operating unit or legal entity that should call the provider. Oracle documents that pattern for the older Vertex Q Series integration. Where your O Series connector follows it, an operating unit with no subscription does not call the provider, so check subscriptions when one org alone has no tax.
Drill-down: reading SAP integration flow logs for a Vertex call
In the SAP Integration Suite tenant that hosts the Vertex flows, the default log level is Info, which records the least. Vertex's guide recommends raising the flow to Debug for troubleshooting, which adds processing steps and the location of the error to the Message Processing Log. Trace records every step with payloads and switches itself off after 10 minutes. Vertex advises against Trace in production unless needed because it slows processing and fills log storage.
- Reproduce Set the Calculate Taxes flow to Debug, then re-run pricing on the SAP document so a fresh message is produced.
- Find the message In Monitor, filter by time and status, open the message and go to the Logs section. Use the text view, or the step view at Debug or Trace level to see headers, properties and the XML sent to Vertex.
- Check posting separately A document can calculate and still fail to post. Check the Post flows and the Manage External Tax Postings app for the same document.
- Export Download the log file. Vertex's guide asks you to send it with the support request.
Vertex O Series: common problem patterns
| Symptom | Likely cause | How to confirm | Fix | Who fixes it |
|---|---|---|---|---|
| Calculation fails with a tax area message, or SAP shows FS 861 | Postal code and city do not agree, jurisdiction code is missing or has the wrong structure | Run the address in the O Series tax area lookup. In SAP, test RFC_DETERMINE_JURISDICTION in SE37 against the Vertex destination | Correct the master data address. In SAP check the jurisdiction structure and default codes | Master data team, SAP tax configurator |
| One product family taxed at the full rate everywhere | Taxability driver not created or not mapped to a taxability category | Compare the product or product class value in the request with the drivers and mappings in O Series | Create the driver and map it to the right category, with a start date that covers the documents | Tax analyst who owns O Series configuration |
| Exempt customer charged tax | Customer code or class in the request does not match the customer record that holds the certificate, or the certificate does not cover the jurisdiction or date | Check the customer code sent, the certificate jurisdiction and effective dates, and whether the request carried an exemption certificate number | Align the customer code, extend or replace the certificate, or pass the certificate number from the ERP | Tax analyst, with ERP customer master |
| No tax in a state or country where you collect | Taxpayer has no registration for that jurisdiction, or the company code maps to the wrong taxpayer | Check the taxpayer in the request and its registrations | Add the registration, or correct the company to taxpayer mapping | Tax analyst |
| Document calculated but not in the Tax Journal | Connector sent a Quotation message, or the posting step failed or was blocked | Check the message type in the log. In SAP check the update queue, Accelerator+ queue tool or app F3085 | Clear the blocking entry and reprocess, or correct the connector setting that chooses the message type | IT or integrator |
| A configuration change works in the tester and not from the ERP | Rule caching in the calculation engine, or the change was made in a different partition or environment | Compare the same request in the test tool and through the connector | Refresh the cache per Vertex documentation, confirm the environment | O Series administrator |
| Unit-based tax error on freight or fee lines | Line sent with a quantity of zero where a per-unit rule applies | Look for the zero-quantity message in the connector log | Send a quantity, or add a rule that sets it for those product classes | Integrator, tax analyst |
Address and tax area failures
O Series taxes by Tax Area ID, a Vertex number for a unique set of jurisdictions. A request either carries a Tax Area ID the ERP stored earlier or carries an address that O Series resolves during the call. Vertex notes that an address lookup can return more than one tax area, in which case something has to choose. Two designs follow, and they fail differently. Stored Tax Area IDs go stale when boundaries change (Vertex updates its jurisdiction data monthly and publishes an API that lists changed tax areas). Addresses resolved at call time fail when the city and postal code do not agree.
Oracle's troubleshooting page for its Vertex interface quotes the message you will see for the second case: No tax areas were found during the lookup. The address fields are inconsistent for the specified asOfDate. Its advice is the right first step on any platform: put the address into the Vertex tax area lookup tool and correct the postal code at the source.
Drill-down: SAP error FS 861 with Vertex
SAP describes FS 861 as a generic error raised from RFC_CALCULATE_TAXES_DOC when external tax calculation is active. SAP's own checklist, in order:
- Confirm the company code country is one SAP supports for external tax systems. SAP Note 1738657 lists US, CA and PR.
- Check the jurisdiction code structure in
OBCO. SAP lists the Vertex default as 2,3,4,1. - For non-taxable scenarios check the default jurisdiction codes in
OBCLfor tax codes I0 and O0. The dummy code is also used for exports. - For exports check the customer's jurisdiction code. SAP Note 419124 lists
770000000as the Vertex export code. - Check SD pricing. Condition types UTXD (formula 500) and UTXE (formula 501) must be used together, and the external call happens once per document.
- Test the jurisdiction in
SE37withRFC_DETERMINE_JURISDICTION, setting the RFC target system to the Vertex destination. - If customizing is right, debug the call and read the output structures. SAP says errors that appear at jurisdiction level in the output belong to the tax vendor to analyze.
Taxability mapping and what overrides what
Vertex's model has three parts. A taxability driver is something from your business that affects taxability, most often a product or product class, sometimes a usage class. A taxability category is a Vertex-maintained (or user-defined) group of goods or services taxed alike. A taxability mapping joins the two. Vertex states it plainly: drivers alone mean nothing for calculation until they are mapped to a category. Its integration documentation for O Series Cloud adds the consequence: if no matching driver exists, a standard rate is used. There is no error. That is why an unmapped product family looks like 'Vertex has the wrong rate' when the request never told Vertex what the product was.
Vertex warns that user-defined categories are yours to maintain when the law changes, so check its own categories first. For a method to map a catalog and keep it mapped, see product taxability mapping strategy.
Drill-down: precedence rules Vertex documents publicly
- Product over product class. In the calculation request,
producttakes precedence overproductClass. If the ERP sends a material number that has no driver and a product class that has one, check which value O Series matched. - Request over stored customer data. Vertex states that values on the calculation request take precedence over customer records in O Series. A connector that always sends a customer class or an exemption flag will override what the tax team maintains in the engine.
- Certificate number implies exempt. Passing
exemptionCertificateNumbermarks the buyer exempt, andisTaxExemptis then set automatically. A connector that populates this field from a free-text ERP field will exempt customers by accident. - Class code and registration number do not mix. Vertex says not to pass a tax registration number with a customer
classCode, because a registration belongs to one customer and a class is many. - Explicit overrides.
taxOverrideforces a line TAXABLE or NONTAXABLE andsitusOverrideforces the taxing location. Search connector mappings for both before blaming a rule. - User rules are marked. In Vertex's marketplace integration the response carries a rule identifier, and Vertex notes that an identifier beginning with
uis a user-defined rule. When a result surprises you, check whether a Vertex rule or one of your own fired. - Tax Assist can change the input. Set
returnAssistedParametersIndicatorto true and the response lists the elements Tax Assist changed before calculation.
The full order in which O Series evaluates user rules, Vertex rules, customer exceptions and certificates is documented in Vertex Community behind a customer login. We could not read it and have left it out.
Documents missing from the Tax Journal
In the O Series seller API a Quotation estimates tax and is not stored. An Invoice calculates tax and is stored for reporting and remittance. A Distribute Tax message records a tax-only adjustment. When finance says the register does not match the ledger, find out which message type the connector sent for the document class in question. Pro forma invoices, contract billing drafts and credit memo requests are the usual places where a connector is configured to quote and never invoices.
In SAP's RFC design the calculation call and the audit update are separate. The update happens asynchronously at posting, and SAP forces its own amounts to the engine when they differ from the engine's, including when document currency and local currency differ. A blocked update queue leaves documents posted in SAP and absent in Vertex. Vertex's Queue Maintenance Tool in Accelerator+ exists for this, and S/4HANA Cloud customers have the Manage External Tax Postings app. The posting date also matters: if the request carries no postingDate, O Series uses the processing date, which can put a month-end document in the next period.
| Message or code | Where you see it | Meaning | First check |
|---|---|---|---|
| HTTP 400 Bad Request | O Series REST v2 response | Usually an invalid JSON payload | Read the errors array (code, message, target) in the response |
| HTTP 401 Unauthorized | O Series REST v2 response | Token missing or no longer valid | Token request, token caching and expiry in the connector |
| HTTP 403 Forbidden | O Series REST v2 response | Request understood and refused | User role and partition access for the calling user |
| HTTP 500 Internal Server Error | O Series REST v2 response | Server-side failure | Retry later, then contact Vertex Support if it persists |
No tax areas were found during the lookup. The address fields are inconsistent for the specified asOfDate. | Oracle connector trace | City and postal code do not resolve to a tax area | Vertex tax area lookup with the same address |
User login failed: invalid_user. | Oracle connector trace | Wrong user or password, or the user lacks access to the partition | Credentials and partition authority for the service user |
An unit based tax rule cannot be applied to a line item with a quantitiy of zero. | Oracle connector trace (spelling as documented) | Per-unit rule hit a zero quantity line | Quantity on freight and fee lines |
Failed to communicate with O Series: Read timed out | Vertex e-commerce and marketplace API | The call to O Series timed out | O Series availability and connector timeout setting |
| FS 861 | SAP message on the document | Generic failure from RFC_CALCULATE_TAXES_DOC | Jurisdiction code and structure, then the RFC output structures |
Avalara AvaTax: how it is called and where the logs live
AvaTax is a multi-tenant cloud service with a REST v2 API. Every ERP reaches it through a connector that builds a CreateTransaction request, and the connector's choices (document type, commit flag, customer code, item code, addresses) decide most outcomes. Avalara records every call. Its AuditTransaction API returns the server timestamp and duration and a reconstructed copy of the original request, which is useful when the ERP-side log has been purged.
- ERP document: Quote, order, invoice, credit memo, AP
- SAP connector: ECC add-on, BTP connector or iFlows
- Oracle connector: Fusion tax partner or EBS connector
- NetSuite bundle: AVATAX tax code, AvaTax tab
- Dynamics 365 connector: Avalara logs, reconciliation utility
- Order or invoice type?: Set by the connector
- Temporary: SalesOrder: estimate, not recorded
- Saved (uncommitted): SalesInvoice without commit
- Committed: Reported on returns
- Avalara portal: Transactions, status, Review This Calculation
From SAP
- Avalara for SAP ECC. Avalara's implementation guide covers RFC destinations (one for tax calculation, one for address validation), user exits in
MV45AFZZandRV60AFZZ, BAdI implementations, tax code mapping and connector setup on SAP BTP. SAP tax codes act as placeholders, which Avalara calls calling tax codes: they activate the tax module, the call goes out, and the connector replaces them with calculated values. A document with a tax code that is not a calling code never reaches AvaTax. - Avalara Global Connector for SAP. Avalara's connector for S/4HANA private cloud and SAP ECC built on SAP BTP. Avalara lists SD, MM, AP, AR and FI flows, a Flex Mapper tool for custom fields, and detailed transaction logs for each calculation. Those logs are your request and response.
- S/4HANA Cloud Public Edition. The same SAP mechanism as every partner: procedure
0TXUSX, communication arrangementSAP_COM_0177, and integration flows on SAP Integration Suite. Avalara's guide sets the jurisdiction code structure to 2 2 5 4. Flow logs are read the same way as described for Vertex above.
From Oracle, NetSuite and Dynamics 365
- Oracle Fusion Cloud ERP. Avalara's connector runs on Oracle Cloud Infrastructure and uses a tax service user in Oracle (Avalara recommends the exact username
Avalara.B2BService) with a custom role. Business units must subscribe to tax regimes, and Avalara returns results against those subscriptions. Behavior is tuned with configuration codes. Two worth knowing:AP_ZERO_SA_KEEP_UNCOMMITTEDcommits AP invoices only when self-assessed tax is above zero, andAR_IGNORE_CURR_CONV_ERRORdeals with Oracle errorZX-885763, raised because Avalara does not support currency conversion for multi-country taxes. - Oracle E-Business Suite. Oracle's validated integration data sheets describe AvaTax connectors for EBS 12.2 as web service calls from order to cash and procure to pay flows, with a custom schema for the connector's objects and AvaTax account details (URL, account number, license key, company code) read from profile options. We could read those sheets only as search extracts and could not open an Avalara EBS guide, so confirm log locations with Avalara for your connector version.
- NetSuite. The Avalara bundle is triggered by NetSuite tax codes. The customer's tax item must be
AVATAX(andAVATAX-CANfor Canada), the customer must be marked Taxable even when exempt so that Avalara decides taxability, and the default tax code in the Avalara configuration must beAVATAXin capitals. The AvaTax tab on a transaction shows the document date, tax date and messages. - Dynamics 365 Finance. Avalara's connector settings are maintained in the Avalara portal and synced to Dynamics every 15 minutes by default, so a setting changed a minute ago may not be active yet. The connector has logging options and an AvaTax Reconciliation utility that sorts documents into Reconciled, Missing in AvaTax, Missing in ERP, Date Mismatch and tax amount mismatches. Microsoft's Universal Tax Rate API page lists Avalara as planned and other vendors as available, as of the version we read, so expect the Avalara-built connector today.
Avalara AvaTax: common problem patterns
| Symptom | Likely cause | How to confirm | Fix | Who fixes it |
|---|---|---|---|---|
| Address error, or a rate that ignores the city | Address incomplete or not found, so AvaTax fell back to ZIP-level geography | Read messages in the response for the address error name and what it refers to | Send street, city, state and ZIP. Correct the master data. Use validation in the ERP | Master data team |
| Item taxed at full rate in every state | Item not mapped to an Avalara tax code, or the code sent is not recognized | Check the tax code on the transaction line in the portal | Map the item in the ERP or in AvaTax, then recalculate | Tax analyst |
| Exempt customer charged tax | Customer code on the transaction does not match the certificate, the exempt reason is not valid in that state, or the number has expired | Open the transaction and check the Exemption Applied field and the customer code | Align customer codes, fix the certificate, or use a supported exempt reason | Tax analyst, ERP customer master |
| Zero tax in a state where you collect | No nexus declared for the jurisdiction, or the wrong tax type selected | Check nexus settings for the company and the tax type | Add nexus with the right start date and tax type | Tax analyst |
| Invoice missing from the liability report | Document is uncommitted, was sent as an order type, or the commit step failed | Find the document in Transactions and read its status | Commit it, or fix the connector step that commits at posting | IT or integrator |
| Correction rejected | Document already committed (error 303) or locked on a filed return (error 1100) | Read the error number in the connector log | Adjust or void a committed document. For a locked one, post a reversing document | Tax analyst with IT |
| Everything fails in a refreshed sandbox | Production credentials were copied into the sandbox | Test connection from the connector settings | Enter AvaTax sandbox credentials | ERP administrator |
Committed, uncommitted, voided, locked
This is the area where AvaTax differs most from other engines and where most reconciliation gaps come from. A request with no type defaults to SalesOrder, which Avalara treats as an estimate and does not record. Invoice types (SalesInvoice, ReturnInvoice, PurchaseInvoice) are recorded. A recorded document is reported only once it is committed. Avalara's Help Center says the same from the user side: only Committed and Locked transactions are included in tax returns and standard liability reports.
| Status | What it means | On returns? | What you can do |
|---|---|---|---|
| Temporary | An order-type estimate. Not recorded in AvaTax | No | Nothing to fix. Send an invoice type when the document is real |
| Saved | A recorded invoice that is not yet posted or committed. Shown as Uncommitted in the portal | No | Re-send with the same code to replace it, change its code, or commit it |
| Posted | Saved and verified by a posting step, still not reportable | No | Commit it |
| Committed | Reportable. Its code is reserved | Yes | Adjust, void or uncommit. A second create with the same code fails |
| Locked | A committed document captured on a filed return | Yes | No changes. Post a reversing document |
| Adjusted | An older revision replaced by an adjustment. Kept for history | No | Read only |
| Cancelled | Voided. Kept for audit, shown as Voided in the portal | No | Its code can be used again by a new transaction |
Drill-down: duplicates, stale documents and corrections
- Why a correction fails with 303.
DocumentCodeConflictmeans the code matches an existing transaction. Avalara's explanation: a committed transaction is finalized and its code is reserved, while an uncommitted one can be updated by re-creating it with the same code. Connectors that should handle both cases use CreateOrAdjustTransaction. - Why a correction fails with 1100.
CannotModifyLockedTransactionmeans the document was reported on a filed return. Avalara's guidance is to create a reverse transaction with opposite amounts. - How duplicates and orphans arise. Two AvaTax documents with different codes for one ERP invoice, or one left uncommitted under an old number. The usual causes are a renumbering step or a connector that sends the order number at order time and the invoice number at billing, both as invoice types. Avalara's Oracle Fusion guide describes the renumbering case: with document sequencing, the document is created under the initial transaction number as Uncommitted, and a scheduled job reads Oracle's Tax Partner Reporting Synchronization Extract to apply the final number and commit. If that job does not run, the invoice stays uncommitted.
- How stale documents arise. An ERP invoice is cancelled or reversed and nothing voids the AvaTax document. Avalara requires connectors to support void where the platform supports it. The void code
DocVoidedmarks a committed document as voided. - Uncommit exists. A committed, unlocked document can be returned to uncommitted status, which is sometimes cleaner than void and re-create.
- Edits in the portal do not flow back. Avalara notes that editing a transaction in AvaTax does not change your business application. Fix the ERP and let the connector resend where you can.
Credit memos have their own traps on every engine, including tax date and matching to the original invoice. See credit memos and returns in tax engines.
Exemptions that do not apply
AvaTax has three ways to exempt a sale. An exemption number on the request flags the transaction exempt with any value at all, which leaves you nothing to show an auditor. An entity use code passes a coded reason such as federal government, resale or direct pay. A certificate in Avalara Exemption Certificate Management (ECM, which Avalara's developer pages also call CertCapture) is matched to the transaction by customer code, state and date range.
Avalara lists three reasons tax is charged to an exempt customer: the exempt reason is not supported, the customer code on the transaction does not match the customer on the certificate, or the exemption number is invalid or expired. The second is the one we see most across engines. The ERP sends a ship-to number or a sold-to number, the certificate is filed under the other, and nothing matches. Avalara's own troubleshooting steps say to copy the customer code from the transaction, search for it in ECM, and try close variants such as an extra leading zero.
Drill-down: entity use codes and forcing tax on an exempt customer
- Entity use codes follow the exempt reasons on the Streamlined Sales Tax certificate of exemption. An exemption applies only if the code is valid for the region of the sale. Avalara publishes a matrix by state that shows each code as taxable, exempt, partially taxable or not allowed.
- Some codes need a matching Avalara tax code on the line. Avalara's list notes that code H (agricultural) and code I (industrial production) produce a fully taxable result in states with no statutory exemption or reduced rate.
- The
Taxableentity use code overrides an exemption. It is how you charge tax on one order for a customer that has a certificate on file, without expiring the certificate. - In Canada, Avalara states that code C (tribal government) is the only exempt reason recognized for GST and all provinces. Others apply to GST or to specific provinces only.
- In NetSuite, leave the customer marked Taxable. Clearing the box stops Avalara from deciding and does not make the customer exempt in AvaTax.
- Error 188
EcmsDisabledand error 1205CertificatesNotSetupmean the company is not set up for certificates at all, which is a provisioning issue for the account administrator.
For how certificates should flow between the ERP, the certificate system and the engine, see exemption certificates and the tax engine.
Addresses, tax codes and nexus
- Addresses. Avalara requires at least state and postal code for US and Canadian addresses and says a full street address gives the best result. If an address cannot be fully resolved, AvaTax still calculates with the best geography it has. That is why a missing street line produces a plausible rate that is wrong for the city or district. The response
messagescollection names the problem. - Tax codes. Avalara's guidance to connector users is direct: if you do not map items to Avalara tax codes, each jurisdiction taxes all products and services at the standard rate. Clothing, food, software, freight and medical items are where this shows first.
- Nexus. Avalara's list of reasons for a wrong amount includes 'you have not established nexus in the tax jurisdiction' and the wrong tax type selected for a jurisdiction where you do have nexus. AvaTax calculates only where the company profile says you collect. A new state needs nexus in AvaTax as well as a registration with the state.
- Tax overrides. When the ERP sends a tax amount, AvaTax spreads it across jurisdictions in proportion to their rates, whatever the correct tax would have been. Avalara also states that overrides cannot be applied in states that follow Streamlined Sales Tax rules. An override hidden in a connector setting can make every reconciliation look slightly off.
| Number | Error code | Meaning | First check |
|---|---|---|---|
| 3 | CompanyInvalidException | The company does not exist | Company code in the connector settings against the AvaTax company |
| 30 | AuthenticationException | Credentials could not be validated | Account ID and license key, sandbox or production URL |
| 31 | AuthorizationException | Account not authorized for this API | Subscription and the service user role |
| 130 | JurisdictionNotFoundError | Jurisdiction not found | Address and any jurisdiction override on the request |
| 176 | NotEnoughAddressesInfo | Transaction needs origin and destination addresses | Ship-from mapping in the connector |
| 188 | EcmsDisabled | Account configuration does not permit exemption certificates | ECM setup for the company |
| 300 | GetTaxError | A problem creating the transaction | The detail messages returned with the error |
| 303 | DocumentCodeConflict | Code matches an existing transaction | Is the existing document committed? Adjust or void it |
| 304 | MissingAddress | Origin or destination address missing | Address mapping for that document type |
| 309 | InvalidAddress | Address is incomplete | State and postal code at minimum, full address preferred |
| 317 | InvalidPostalCode | Postal code not found | Postal code in master data, leading zeros |
| 1100 | CannotModifyLockedTransaction | Document was reported on a filed return | Post a reversing document in the current period |
| 1313 | TransactionIsCommitted | The API used only modifies uncommitted documents | Use adjust, or uncommit first |
| 1704 | TaxCodeAssociatedWithItemCodeNotFound | Tax code in the request could not be found | Tax code value mapped to the item |
| 1715 | RequestLimitExceeded | Too many requests submitted | Batch jobs and retry loops |
| 1716 | ConcurrentRequestLimitExceeded | The server is currently busy | Concurrency of batch invoicing runs |
Drill-down: address resolution messages
| Message name | What Avalara says it means | First check |
|---|---|---|
AddressRangeError | The address was found but the street number is outside the low and high range of the post office database | Street number, new construction not yet in postal data |
AddressUnknownStreetError | An exact match for the street name cannot be found | Spelling, and that the street exists in that ZIP code |
AddressNoStreetError | The ZIP code exists but no street there begins with the same letter | Typos in the street line, ZIP code that lost a leading zero |
AddressError | The address cannot be found | Whether a full address was sent |
Avalara also documents two plain-language messages users see in connectors: 'An Address is Incomplete or Invalid' (partial or unrecognized address, minimum state and postal code required) and 'There were multiple matches for the address' (several similar streets in one ZIP code, so add the directional and street type).
Problems both engines share
Rounding and currency differences
Cents-level differences between the engine and the ledger come from three places. First, rounding level: O Series has a roundAtLineLevel setting on the request. When false, which is the default, it rounds at invoice level and assigns the difference to the jurisdiction with the smallest rounding difference. When true it rounds each line and sums. If the ERP rounds per line and the engine per document, totals differ by a cent or two on long invoices. Second, the ERP posts amounts by jurisdiction level and the engine returns more levels than the ERP has accounts for. Third, currency: SAP forces its own amounts to the external system when document and local currency differ, and Avalara's Oracle connector documents that currency conversion for multi-country taxes is unsupported. Compare one document at line and jurisdiction level before treating a rounding difference as a calculation problem.
Use tax and AP accrual mismatches
On the purchase side the engine is asked a different question: given what the vendor charged, what should have been charged, and what do we accrue? Mismatches come from the facts sent, more than from rates. The ship-to on a purchase is a plant, cost center, asset or project, and SAP documents that when an asset, order or project has no jurisdiction code it uses the responsible cost center's. Vertex has separate buyer-side message types (purchase order, invoice verification, accrual and evaluated receipt settlement), and the connector must send the right one for each step. In AvaTax the document type must be a purchase type, and connector settings decide which AP invoices are committed. When accruals look wrong, check the ship-to used, the vendor-charged tax passed in, and the message or document type, in that order.
Timeouts and fallback behavior
Avalara states its position clearly: it does not queue transactions when the service cannot be reached, and your system must track invoices until service is restored. It describes two designs: block completion of the document until tax can be calculated, or use a fallback calculation and make up the difference later by sending the charged tax as an override or letting AvaTax recalculate. The same design choice exists on Vertex whatever the deployment. SAP documents timeout symptoms on the RFC path under high-volume API calls (KBA 3716072).
- Find out what your connector does today on a timeout: error to the user, zero tax, last known rate or a fallback table. Many teams learn this during the first outage.
- Watch for retry storms. A batch invoicing job that retries without waiting can trip AvaTax errors 1715 and 1716. Avalara's Communications API guide gives a pattern that works for any engine: retry, wait one second and retry, then wait several seconds and retry.
- After any outage, reconcile documents posted in the window. They are the ones most likely to be missing from the engine or carrying fallback tax.
- Check the vendor status page before opening a case. Avalara publishes availability and response times at its status site.
Differences after content or connector updates
A result that changed with no change on your side has a short list of causes. The vendor updated rates or boundaries (Vertex updates jurisdiction data monthly, and on-premise and on-demand customers apply data updates themselves, so test and production can sit on different content). A stored Tax Area ID or jurisdiction code is now out of date. A connector upgrade changed a default, such as which document types commit. In Dynamics 365 a portal setting synced on its 15-minute cycle. Or an ERP release changed what a standard field carries. Keep a small regression set of real documents with known answers and run it after every content, connector and ERP update. It turns 'something changed' into a named document and a diff between two requests.
How to open a vendor support case that gets answered
Vendor support can see what reached their engine. They cannot see your ERP, your connector mapping or your intent. A case that says 'tax is wrong on invoice 90012345' starts a week of questions. A case that carries one request, one response and a stated expectation can be answered on first read.
- 1. Tax: Pick one document, state expected tax
- 2. IT or integrator: Pull request and response
- 3. Tax: Rule out mapping and setup
- 4. IT or integrator: Reproduce in test, note versions
- 5. Tax: Open case with evidence attached
- 6. Vendor support: Triage and reproduce
- 7. Vendor support: Answer: config, defect or content
- 8. Tax: Apply fix, retest, record the case
What to attach
- Identity. Vertex: deployment (Cloud, On-Demand or On-Premise), O Series version, partition, taxpayer or company code. Avalara: account ID, company code, sandbox or production.
- One document. ERP document number, the engine's document number or code, document date and posting date.
- The request and the response, complete. From the connector log or integration flow log. For SAP integration flows, the downloaded Message Processing Log. Remove credentials before you attach anything.
- What you expected and why. The jurisdiction, rate or exemption you expected, with the statute, ruling or certificate you rely on.
- What you already checked. Address lookup result, the taxability mapping or tax code, the certificate and customer code, nexus or registration.
- Scope and timing. One document or many, first seen when, and what changed just before: content update, connector upgrade, ERP release, new product, new state.
- Connector details. Product name and version, and for SAP whether Accelerator+, the BTP connector or the standard RFC interface is in use.
When to bring in outside help
Most of what is in this guide can be handled by a tax analyst with read access to the connector logs and the engine. Some situations call for more.
- The same issue has come back three times. That is a design problem in the mapping or the integration, and fixing documents one at a time will not end it.
- Nobody can produce the request and response. If logging is off, purged or inaccessible, you need someone to set up tracing safely in production.
- The fix needs connector or ERP code. User exits, BAdIs, integration flow changes and Oracle extensions need a developer who knows the tax interface, with a tax person specifying the outcome.
- Ledger and engine have drifted for months. A reconciliation backlog across filed periods needs a plan for amended returns as well as a technical fix.
- You are about to migrate. An S/4HANA or Oracle Fusion move changes the connector under the engine. Decide whether to fix the engine you have or reconsider it, using how to choose a tax engine.
Vertex and Avalara both sell implementation and support services, and both have partner networks. An independent advisor is most useful when the question crosses the ERP, the connector and the engine, where each vendor can see only its own part. Clarent's own practice is mostly ONESOURCE on SAP and Oracle. For SAP and Oracle tax interface work, reconciliation design and triage across layers, see consulting, and we will say so if a Vertex or Avalara specialist is the better call. If you are not yet sure which layer owns the problem, the triage guide is the place to start.