Releases: customink/vertex_client
Releases · customink/vertex_client
Invoice payload posting_date param
Align code with tag / release
Fix issue with v0.11.2 misalignment between code and tag / release version.
Account for country in fallback state tax rate determination
Take country code into account when determining applicable state tax rate in fallback quotation context.
Remove international fallback rates
- Remove international quotation fallback rates to match Vertex level discontinuation of international sales tax collection
- Adjust domestic quotation fallback rates to better match current Vertex rates
- Fix GitHub Actions CI test failures (lock Rack version, require OpenStruct, use
underscoreinstead ofsnakecase, use Checkout V4 instead of V3)
Add compatibility with circuitbox v2.0.0
What's Changed
Full Changelog: v0.10.2...v0.11.0
APO fallback rates, graceful unrecognized US states
Adds APO fallback rates, and prevents raising an error when providing unrecognized US states.
See #67 for more details.
Don't require postal_code for non-US locations
Changes
- loosen quotation validation rules to only require
postal_codeforUSbased locations
Support specific shipping terms and physical origins for line items
Changes
- quotation payload supports
:delivery_termparam to pick shipping terms that should be applied to the particular quotation request selleroverride within aline_itemobject can now include aphysical_originwhich allows Vertex to calculate sales tax for the particularline_itemcorrectly (if the Vertex account has been set up to support this - VAT collection registrations for the supported countries...)
Quotation Fallback Fix
Changes
- Coerce the total_tax to a decimal before attempting to round it
- Add regression tests for empty quotes around subtotal and total_tax in the fallback response object
EU VAT calculation
Adds support for calculating VAT for EU countries with predefined quotation fallbacks. Changes validation criteria for addresses when raising Vertex::ValidationError.