When using the AvaTax Node.js SDK, calling adjustTransaction fails silently if the transaction documentCode contains a # character. The SDK constructs the adjust URL without URL-encoding the transaction code, causing everything after # to be treated as a URL fragment and never sent to AvaTax.
I debugged the SDK internally and this is what failed-
When the doc code doesn't have a #, works just fine-
In my use case, we always use # in the doc code while creating transactions as I observed that unlike in case of adjustTransaction, SDK internally does not have doc code in URL for createTransaction.
Tested on versions - 25.11.0, 25.7.1
Tracking this with my primary account- @nishant-10
When using the AvaTax Node.js SDK, calling adjustTransaction fails silently if the transaction documentCode contains a # character. The SDK constructs the adjust URL without URL-encoding the transaction code, causing everything after # to be treated as a URL fragment and never sent to AvaTax.
I debugged the SDK internally and this is what failed-
When the doc code doesn't have a #, works just fine-
In my use case, we always use # in the doc code while creating transactions as I observed that unlike in case of adjustTransaction, SDK internally does not have doc code in URL for createTransaction.
Tested on versions - 25.11.0, 25.7.1
Tracking this with my primary account- @nishant-10