provider Invoices POST /ar/invoices/{invoiceId}
@utdk/mercury /ar/invoices/{invoiceId}
Update an invoice
Update an existing invoice
invoiceId path required
string

Try it

Authentication
Configure credentials for Mercury API
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

updateinvoice
POST/ar/invoices/{invoiceId}
Update an existing invoice

Parameters

required

Input

required

Whether or not the invoice can be paid via ACH debit.

required

List of emails to be CCed on notifications/reminders.

required

Whether or not the invoice can be paid via credit card. Requires Stripe to be setup for the Mercury account.

required

Internal note for the invoice, visible by users in the organization but not visible to payers.

required
required

The invoice number.

required

The line items for the invoice

Memo for the payer of the invoice.

The purchase order number for the invoice if applicable.

required

Whether or not the invoice payment instructions will show the real account and routing number for the destination account or use virtual account numbers instead.

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import mercury from '@utdk/mercury';

await mercury.updateinvoice()