Skip to content
CWPControl Web PanelDocumentation
  1. Home
  2. Docs
  3. CWP Billing
  4. Billing and payments
  5. Invoices, payments and taxes

Invoices, payments and taxes

Updated

Invoices are created automatically for orders and renewals, or by staff. Clients pay them in the client area with any active payment gateway or with account credit. A paid invoice is never changed. Corrections and refunds are made with credit notes.

Where to find it: Invoices, Transactions and Billing settings in the left menu.

An invoice in the admin area

The invoice page

BoxWhat you can do
StatusUnpaid, Paid, Cancelled, Refunded (and Collections for imported WHMCS invoices)
Due dateChange the due date.
Payment methodThe gateway preselected for the client. Change (updates the gateway fee).
Add lineAdd a description and an amount (incl. tax) to an unpaid invoice.
Add paymentRecord a payment received outside the billing, for example a bank transfer: amount, method, transaction ID, fee.
Apply creditPay the invoice, or part of it, from the account credit.
Credit noteIssue credit note: the amount and reason; optionally refund it at the gateway or put it on the account credit.
E-mail to clientSend the invoice again.
Delete invoiceOnly for an invoice nothing was paid on, for example one created by mistake. Use Cancelled for invoices the client has already seen.

Invoice lines of services show the service period, for example (2026-11-07 – 2026-12-07), also on the PDF.

The PDF invoice uses the company details from Billing settings → Invoice issuer, with your logo and the footer.

Logo. Upload it under Billing settings → Invoice issuer → Logo: PNG or JPEG (with the PHP GD extension also GIF and WebP), at most 2 MB and 4000 × 4000 px. A wide logo of about 600 × 150 px with a transparent or white background looks best. It is printed at the top left of every invoice and credit-note PDF (at most 18 mm high and 70 mm wide), on the web invoice and in the header of the default client area. Tick Remove the logo to go back to the company name only. By default, invoice e-mails have the PDF attached.

Create an invoice by hand

Invoices → New invoice: enter the client ID, the due date and one line per item as Description | amount.

Payments and refunds

Gateway payments are recorded automatically (webhook or callback). Every payment is a transaction under Transactions, with the gateway fee if you set one.

Refund: open the invoice and issue a credit note with Refund at the gateway. Stripe and PayPal payments are refunded through their API. The credit note documents the refund. A partial refund is possible.

Account credit

Clients can pay in advance with Add funds (enable it in Billing settings → Account credit). Set the minimum, the maximum per payment and the maximum balance there. Credit comes from these sources:

  • add funds;
  • downgrades;
  • overpayments;
  • credit notes.

It is applied automatically to new renewal invoices (setting Apply credit automatically). Credit never pays a gateway fee: when credit pays part of an invoice, the fee is computed again on what is left to pay, and an invoice fully paid by credit has no fee.

Credit notes

A credit note reduces an issued invoice, for example for a refund, a correction or a goodwill credit. It has its own number series, for example CN-2026-17, and is part of the accounting export.

Taxes

The tax of an invoice is decided in this order:

  1. A tax-exempt client pays 0 % (tick Tax exempt on the client).
  2. EU reverse charge: if you and the client are in different EU countries and the client’s VAT number is valid in VIES, the rate is 0 % and the invoice carries the reverse-charge note. Your country must be set in Billing settings → Taxes → Seller country.
  3. Otherwise the rule for the client’s country applies, or the default tax name and rate.

Notes on invoices (Billing settings → Taxes) print a text at the bottom of invoices and credit notes for a group of clients, for example a reverse-charge statement or the legal basis for 0 % VAT. Each note is for one of: All clients, EU business (VAT number), EU, no VAT number, Outside the EU, or Countries listed (for example HU, DE). {tax_id} in the text becomes the client’s VAT number. Empty the text to remove a note.

Invoice numbers

Billing settings → Invoices:

  • the number format with {year}, {month} and {n}, for example {year}-{n} → 2026-153;
  • the next number;
  • the due days for manual invoices.

Numbers are given in sequence when the invoice is created.

Cancelling unpaid invoices

Billing settings → Automation → Cancel unpaid invoices … days after due cancels invoices that stay unpaid this many days after the due date, so reminders stop. Partly paid invoices stay. 0 = never.

Late fees

Billing settings → Late fees: add a percentage or a fixed amount the given number of days after the due date, with an optional minimum. The fee is added to the invoice once. Clients in a client group with no late fees never get one.

Card payment retries (dunning)

Invoices of clients with a saved card (Stripe) are charged on the due date. When the charge fails, the card is tried again on the days set in Billing settings → Card payment retries, counted from the due date. The default 1,3,5,7 means four retries in the first week. The client gets the payment failed e-mail (and an SMS, when SMS notices are on) after the first failure, so they can update the card, and after the last one, not after every retry. Leave the field empty for the old rule: a retry every other day, up to the number of attempts set below it.

Quotes

A quote is an offer for work or services that the client accepts online. Quotes in the left menu lists them; New quote is also on the client page.

  1. Choose the client, a subject and the Valid until date, and add lines (description, quantity, unit price, taxed or not). Tax follows the client’s country and VAT status, as on invoices.
  2. Save and send to the client gives the quote its number (Q1, Q2 … — prefix and next number in Billing settings → Quotes) and e-mails the link. Drafts are never shown to the client.
  3. The client opens the quote in the client area and accepts it by typing their name and confirming, or declines it with an optional reason. The name, time and IP address of the acceptance are stored on the quote, and staff with invoice rights get an e-mail.
  4. With Create and send the invoice as soon as the client accepts a quote on (default), the invoice is created and e-mailed at once. Otherwise staff click Create invoice on the quote.

Sent quotes past their date become Expired in the daily run. An accepted, declined or expired quote can no longer be changed.

Common problems

ProblemCause and solution
A payment arrived, but the invoice is still unpaidThe webhook did not reach the billing. Check Gateway log, and the webhook URL and secret at the gateway. You can record the payment by hand with Add payment and the gateway’s transaction ID.
The invoice has the wrong taxCheck the client’s country and VAT number, and the seller country in Billing settings. VIES must confirm the VAT number.
Wrong company data on the PDFBilling settings → Invoice issuer, or the brand’s own data with several brands.

Related