Skip to content

V2 invoice line amounts are decimal strings

The amounts in invoice line_items.data are now decimal strings in major currency units, like the other invoice amounts: tax_included_unit_amount, tax_included_amount, voucher_applied, line_total, and tax_breakdown.total_tax and tax_breakdown.unit_tax. 4900 becomes "49.00". tax_breakdown.rate becomes a decimal-string percentage: 20.0 becomes "20.000".

This V2 change shipped before general availability, so it applies in place to V2 REST responses and V2 webhook payloads. V1 is unchanged. See Dates, time zones and amounts for the rules it follows.