export declare enum InvoiceItemError { /** * The request tried to delete an invoice item, but the invoice item was not found. The request was rejected. Corrective action: Determine whether the invoice item was already deleted, and why there were multiple requests to delete it. */ ERROR_DELETE_INVOICE_ITEMS = "ERROR_DELETE_INVOICE_ITEMS", /** * The request tried to retrieve an invoice item, but the invoice item was not found. The request was rejected. Corrective action: Use a valid invoice item ID. */ ERROR_GET_INVOICE_ITEMS = "ERROR_GET_INVOICE_ITEMS", /** * The request tried to create an invoice item, but the amount was not was not clear. The request was rejected. Corrective action: Specify the 'amount' field, or specify both 'unit_amount' and 'quantity'. */ ERROR_INVOICE_ITEM_AMOUNT_PARAM = "ERROR_INVOICE_ITEM_AMOUNT_PARAM", /** * The request tried to create an invoice item, but there is no upcoming scheduled invoice with matching currency. The request was rejected. Corrective action: For 'currency', use the currency of the subscription's plan. */ ERROR_INVOICE_ITEM_CURRENCY_MISMATCH = "ERROR_INVOICE_ITEM_CURRENCY_MISMATCH", /** * The request tried to create a Invoice item with, but there is no upcoming scheduled invoice with matching currency to be added to . The request was rejected. Corrective action: Create invoice item with matching subscription's plan currency. */ ERROR_INVOICE_ITEM_CURRENCY_NO_MATCHING_UPCOMING_INVOICE = "ERROR_INVOICE_ITEM_CURRENCY_NO_MATCHING_UPCOMING_INVOICE", /** * The request attempted an operation that requires an invoice item, but the invoice item was not found. The request was rejected. Corrective action: Use the ID of a valid invoice item. */ ERROR_INVOICE_ITEM_NOT_FOUND = "ERROR_INVOICE_ITEM_NOT_FOUND", /** * The request tried to create an invoice item for a payout subscription, but this action is not possible. The request was rejected. Corrective action: None. Determine why an attempt was made to create an invoice item for a payout subscription. */ ERROR_INVOICE_ITEM_SUBSCRIPTION_TYPE = "ERROR_INVOICE_ITEM_SUBSCRIPTION_TYPE", /** * The request tried to update or delete an invoice item, but the invoice item could not be found. The request was rejected. Corrective action: Use the correct ID for a valid invoice item. */ INVALID_INVOICE_ITEM_ID = "INVALID_INVOICE_ITEM_ID" } //# sourceMappingURL=InvoiceItemError.d.ts.map