PR #89 includes the following updates:
Bug Fixes
- Addressed a potential
Divide by 0error in calculatingunit_amountin thestripe__line_item_enhancedmodel. Now, if the denominatorinvoice_line_item.quantityis 0,unit_amountwill also be 0.
Under the Hood
- Expanded the
consistency_line_item_enhanced_counttest to also validate potential changes tounit_amountsums. - Adjusted the
invoice_line_itemseed data to include cases wherequantity= 0 in order to test the above bug fix.
Full Changelog: v0.14.0...v0.14.1