provider Invoices POST /ar/invoices
@utdk/mercury /ar/invoices
Create an invoice
Create a new invoice for the organization

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.

createinvoice
POST/ar/invoices
Create a new invoice for the organization

Input

required

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

required

Emails to be CCed on invoice notifications/reminders.

required

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

required
required
required

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

required

The payer facing invoice number/identifier.

required

The line items for the invoice

Memo for the payer of the invoice.

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. Virtual accounts are safer and are preferred in most cases.

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.createinvoice()