You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One can work around this by abandoning the TransactionBuilder or by breaking into the model a bit.
This could be done with conditions for item info, but a simple pass for all items is:
Happy to move this elsewhere if there's a formal process for submitting issues.
Problem statement
The TransactionBuilder doesn't support the
taxIncluded
attribute which is requiredon a per-line item basis if used. See full docs here: https://developer.avalara.com/avatax/dev-guide/customizing-transaction/using-tax-included/
Desired Behavior
As a user of the transaction builder I would like to be able to use something like the following
or (less ideal)
Workaround
One can work around this by abandoning the TransactionBuilder or by breaking into the model a bit.
This could be done with conditions for item info, but a simple pass for all items is:
Notes
It's worth noting two items related to this:
Suggestion for improving might be to do three, backwards-compatible steps to align all three:
with_exempt_line
callswith_line
with minimal alteration (quantity=1 for backwards compatibility, tax_code=None)tax_included
towith_line
I'd be happy to PR if you would be amenable.
The text was updated successfully, but these errors were encountered: