Fix to allow free items on invoices with $0 totals and no shipping to be submitted during queue processing.
Fixes Error: Lines is expected to be between 1 and 15000
When free items were on an order that did not have shipping there
were no lines attached to the invoices submitted. That sent an empty
array which caused the error. Lines is a required parameter of the
GetTaxRequest method, but the amount of a line is allowed to be 0.
This change allows for the inclusion of $0 line items on invoices
and credit memos where they were previously excluded.
Fix to allow free items on invoices with $0 totals and no shipping to be submitted during queue processing.
This should address Issue #46
API References for the GetTaxRequest: https://developer.avalara.com/avatax/api-reference/tax/soap/