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.
Invoice settings control how invoice numbers are generated for a site. Each site has a single invoice settings entity that's automatically available. No creation step is required. You can retrieve and update the settings at any time.
With the Invoices Settings API, you can:
Invoice numbers are formatted as {prefix}{nextNumber}{suffix}. For example, with prefix INV-, next number 1001, and suffix -2024, the invoice number is INV-1001-2024. Only 1 prefix and suffix are active at a time. Each prefix has its own independent counter—switching to a different prefix starts a new sequence for that prefix. If you switch back to a previously used prefix, its counter continues from the highest number already issued for that prefix.
It's important to note the following points before starting to code:
nextNumber lower than the highest number already used for the current prefix.Last updated: 21 August 2026