View Source ExOAPI.Stripe.SDK.Invoiceitems (exoapi_stripe v0.1.1)
Link to this section Summary
Functions
description: <p>Deletes an invoice item, removing it from an invoice. Deleting invoice items is only possible when they’re not attached to invoices, or if it’s attached to a draft invoice.</p>
description: <p>Returns a list of your invoice items. Invoice items are returned sorted by creation date, with the most recently created invoice items appearing first.</p>
description: <p>Retrieves the invoice item with the given ID.</p>
description: <p>Creates an item to be added to a draft invoice (up to 250 items per invoice). If no invoice is specified, the item will be on the next invoice created for the customer specified.</p>
description: <p>Updates the amount or description of an invoice item on an upcoming invoice. Updating an invoice item is only possible before the invoice it’s attached to is closed.</p>
Link to this section Types
@type get_invoiceitems_invoiceitem_opts() :: {:expand, String.t()}
Link to this section Functions
@spec delete_invoiceitems_invoiceitem( client :: ExOAPI.Client.t(), body :: map(), invoiceitem :: String.t() ) :: {:ok, any()} | {:error, any()}
description: <p>Deletes an invoice item, removing it from an invoice. Deleting invoice items is only possible when they’re not attached to invoices, or if it’s attached to a draft invoice.</p>
@spec get_invoiceitems(client :: ExOAPI.Client.t(), [get_invoiceitems_opts()]) :: {:ok, any()} | {:error, any()}
description: <p>Returns a list of your invoice items. Invoice items are returned sorted by creation date, with the most recently created invoice items appearing first.</p>
@spec get_invoiceitems_invoiceitem( client :: ExOAPI.Client.t(), invoiceitem :: String.t(), [get_invoiceitems_invoiceitem_opts()] ) :: {:ok, any()} | {:error, any()}
description: <p>Retrieves the invoice item with the given ID.</p>
@spec post_invoiceitems(client :: ExOAPI.Client.t(), body :: map()) :: {:ok, any()} | {:error, any()}
description: <p>Creates an item to be added to a draft invoice (up to 250 items per invoice). If no invoice is specified, the item will be on the next invoice created for the customer specified.</p>
@spec post_invoiceitems_invoiceitem( client :: ExOAPI.Client.t(), body :: map(), invoiceitem :: String.t() ) :: {:ok, any()} | {:error, any()}
description: <p>Updates the amount or description of an invoice item on an upcoming invoice. Updating an invoice item is only possible before the invoice it’s attached to is closed.</p>