lib/recurly/resources/invoice.rb in recurly-3.23.0 vs lib/recurly/resources/invoice.rb in recurly-3.24.0
- old
+ new
@@ -89,10 +89,10 @@
# @!attribute po_number
# @return [String] For manual invoicing, this identifies the PO number associated with the subscription.
define_attribute :po_number, String
# @!attribute previous_invoice_id
- # @return [String] On refund invoices, this value will exist and show the invoice ID of the purchase invoice the refund was created from.
+ # @return [String] On refund invoices, this value will exist and show the invoice ID of the purchase invoice the refund was created from. This field is only populated for sites without the [Only Bill What Changed](https://docs.recurly.com/docs/only-bill-what-changed) feature enabled. Sites with Only Bill What Changed enabled should use the [related_invoices endpoint](https://recurly.com/developers/api/v2019-10-10/index.html#operation/list_related_invoices) to see purchase invoices refunded by this invoice.
define_attribute :previous_invoice_id, String
# @!attribute refundable_amount
# @return [Float] The refundable amount on a charge invoice. It will be null for all other invoices.
define_attribute :refundable_amount, Float