@bebapps/rapyd-sdk
Version:
An un-official [Rapyd](https://rapyd.net) SDK for Node.js.
35 lines (34 loc) • 1.02 kB
text/typescript
export interface UpdateInvoiceRequest {
/**
* ID of the invoice you want to update.
*/
invoice: string;
/**
* The number of days after the creation of the invoice until payment is due.
*/
days_until_due?: number;
/**
* Description of the invoice.
*/
description?: string;
/**
* The date payment is due on this invoice. This value is calculated from the date the invoice is created, plus the number of days specified in the `days_until_due` field. Format is in [*Unix time*](ref:glossary).
*/
due_date?: number;
/**
* A JSON object defined by the client.
*/
metadata?: object;
/**
* Payment fields of `payment` object.
*/
payment_fields?: object;
/**
* Description of the invoice for the customer's credit card statement. Limited to 22 characters.
*/
statement_descriptor?: string;
/**
* The tax rate, defined as a percentage. You cannot change this value after payment on the invoice has been attempted or forgiven.
*/
tax_percent?: number;
};