Inconsistency between Invoice Tax Status and Invoice Line Tax Status in Salesforce Billing
Last updated 14 days ago ·Reference W-8186185 ·Reported By 12 users
In Review
Summary
When an invoice is created, tax calculation automatically runs. For those who use a third party tax integration such as Avalara Tax, the tax calculation is not instantaneous since an asynchronous job is used to calculate the tax. With this, inconsistency in the tax status can be observed for Invoice and Invoice Line such that Invoice Tax Status holds a value of "Completed" while Invoice Line Tax Status is still in "Queued".
Repro
1. Have a third party tax integration for a product
2. Have an order that contains the product
3. Create an invoice from the order using "Bill Now"
4. Notice that Invoice Tax Status is Completed while Invoice Line Tax Status = Queued. You can observe this behavior if the asynchronous tax calculation does not complete right away.
Workaround
None. If you have an automation that depends on the Invoice Tax Status, it is best to add a delay in checking the Invoice Tax Status during invoice creation or invoice posting. This way, you allow for the asynchronous tax calculation to complete and update the Invoice Line successfully.
Any unreleased services, features, statuses, or dates referenced in this or other public statements are not currently available and may not be delivered on time or at all. Customers who purchase our services should make their purchase decisions based upon features that are currently available.
