Name | Type | Description | Notes |
---|---|---|---|
invoice_id | String | The invoice unique identifier, created by Lago. | |
items | Array<CreditNoteEstimateInputCreditNoteItemsInner> | The list of credit note’s items. |
require 'lago_ruby'
instance = LagoAPI::CreditNoteEstimateInputCreditNote.new(
invoice_id: 1a901a90-1a90-1a90-1a90-1a901a901a90,
items: [{"fee_id":"1a901a90-1a90-1a90-1a90-1a901a901a90","amount_cents":10},{"fee_id":"1a901a90-1a90-1a90-1a90-1a901a901a91","amount_cents":5}]
)