Note: The Get Paid Invoice APIs aren't yet available for all sites. The APIs are available for new sites, and Wix is migrating existing sites. Calls for a site that Wix hasn't migrated yet fail with a 428 error. You don't need to do anything: migration enables access automatically.
The Invoices API allows you to create, manage, and track business invoices. It supports detailed line items, customer information, payment terms, and automated calculations for taxes and totals.
With the Invoices API, you can:
Invoices are created with a reference type that determines their behavior. You can create STANDALONE and AUTO_CHARGE invoices through this API. After creation, the type can't be changed:
STANDALONE: An invoice you create independently, as opposed to order invoices created automatically by Wix eCommerce. When the first payment is made, a Wix eCommerce order is created automatically to process the transaction. You can set limitActions to true to prevent other apps from modifying the invoice.AUTO_CHARGE: An invoice with automatic charges. After the invoice is paid, Wix automatically generates and charges subsequent invoices on the configured billing cycle. Subscription settings are managed in Wix eCommerce automations.ORDER: An invoice created for an existing Wix eCommerce order. Its lifecycle is bound to that order. Only Wix eCommerce can create order invoices.Invoices progress through a unified lifecycle from DRAFT through PUBLISHED to PAID or VOIDED. Available actions are determined by the invoice's current status. Status qualifiers such as SENT, VIEWED, and OVERDUE provide additional context and are system-managed. For full details, see Invoice Lifecycle and Status Qualifiers.
For AUTO_CHARGE invoices, voiding an individual invoice does not cancel the subscription — subsequent invoices continue to be generated and charged. To stop the billing cycle, cancel the subscription through Wix eCommerce automations.
Invoices support deposit payments and pre-creation calculations. When a deposit is configured, the checkout presents the deposit amount as the initial payment—subsequent payments cover the remaining balance. Call Calculate Invoice to preview totals, taxes, and available shipping options before creating or updating an invoice. For details on deposits and total fields, see Invoice Calculations.
The invoice's activityInfo field tracks when the invoice was last sent, who it was sent to, and when it was last viewed. Send Invoice updates this automatically. For invoices sent or displayed outside of Wix, see Track invoice activity outside of Wix.
It's important to note the following points before starting to code:
reference.standaloneReference.orderId and is used for all subsequent payments.DRAFT status. Afterward, they can be archived.PARTIALLY_PAID, PAID, or VOIDED.contactId from the Contacts API.currency is set at creation, defaulting to the site's currency, and can't be changed.contactIds are specified. An invoice can be sent to a maximum of 5 distinct contacts.Last updated: 7 September 2026