> ## Documentation Index
> Fetch the complete documentation index at: https://sudomock.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> The base URL is https://api.sudomock.com.
> Authenticate every request with the x-api-key header. Keys begin with sm_.
> A render returns the finished image at data.print_files[0].export_path. A request sent with is_async true returns a job_id to poll at GET /api/v1/jobs/{job_id}.
> Prefer the official SDKs over hand-written HTTP calls: npm install sudomock for Node, pip install sudomock for Python.

# How to get an invoice

> Where invoices live and how to put a company on them.

Every subscription charge produces an invoice, and the billing portal is where
they live. Open the [Billing](https://sudomock.com/dashboard/billing) page, stay
on the plan tab and use **Manage** on the plan card. The portal that opens lists
your charges with the invoice for each one, and it holds your payment methods
and your plan as well, so it is also where a card is replaced before the next
renewal.

## Putting your company on the invoice

The payment page carries an optional business section. Turn it on and it
collects your company name and your VAT or tax identifier, and both are stored
on your billing profile rather than on that one payment. Every invoice issued
after that carries them automatically, so this is worth doing at the first
checkout if the charge belongs to a company.

An address entered at checkout is kept the same way, and updating it in the
portal updates what future invoices show.

## An invoice that was already issued without them

Invoices that went out before your company details existed cannot pick them up
on their own. Write to [hello@sudomock.com](mailto:hello@sudomock.com) with
the company name, the billing address and the VAT or tax number, and name the
months you need. We set the details on your billing profile and reissue those
invoices with them. The amounts and the payment status do not change, so nothing
further is due and the replacement stands in for the earlier copy.

## Top ups and credit packs

A pay as you go top up and an extra credit pack are single payments rather than
subscription charges. Both are listed on the billing page: extra credit
purchases have their own history, and the balance keeps a ledger of what was
added and when. An automatic top up also emails a receipt to the account
address, because that is the one charge nobody is present for.

If accounting needs one of these payments as a company invoice, email support
with the date and the amount and we will issue it.

## Before a renewal fails

An expired or replaced card is the usual reason an invoice goes unpaid, and the
portal is where you update it. Updating the card does not settle a charge that
has already failed, so if the billing page is offering you an open invoice to
pay, pay that one as well. The subscription carries on from there.

## What an invoice says about usage

An invoice shows what you paid for the period, not what you rendered inside it.
Usage lives on the [Billing](https://sudomock.com/dashboard/billing) page, where
the month's credits, the extra credit count and the balance ledger are kept, and
[Retrieve the current account](/docs/api-reference/account/retrieve-the-current-account)
reports the same figures to your own code.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.