# Invoices

> Bill a customer, send it by email or SMS, and get paid on a hosted page.

An invoice asks one customer to pay a set amount by a due date. You create it, Morzepay gives it a number and a payment link, and emails or texts it to your customer. They pay on a hosted page with mobile money, and both of you get a receipt.

### Create and send an invoice

- Start a new invoice

In the dashboard, go to **Invoices** and click **New invoice**.

- Add the customer

Enter their name. Add an email address to email the invoice, and a phone number to text it and to fill in the payment page for them.

- Add the lines

Add what you’re charging for, with a quantity and a unit price for each line. Add VAT or another tax as a percentage if you charge one. The total must be between UGX 500 and UGX 5,000,000.

- Check the details

Set the due date, the wallet it pays into and who pays the mobile money fee. Add a memo or footer if you like.

- Send it

Save it as a draft to finish later, or send it now by email, SMS or both. Sending gives the invoice its number and payment link.

### Invoice statuses

| Status | What it means | What you can do |
| draft | Being prepared. It has no number and can’t be paid yet. | Edit, delete, send |
| open | Sent and waiting for payment. Its content is fixed. | Resend, record a payment, void, mark uncollectible |
| paid | Paid on the hosted page, or marked paid by you. | Download the receipt |
| void | Cancelled. Kept for your records; the payment page says it was cancelled. | Nothing |
| uncollectible | Written off, but the customer can still pay it. | Void, record a payment |

An open invoice is **past due** after its due date. The **Past due** tab shows them all, so you know whom to remind.

To change an invoice that has been sent, void it and create a new one. That way the number your customer has always matches what they were asked to pay.

### Remind a customer

Open the invoice and send it again. Your customer gets the same link, so it doesn’t matter which message they use to pay.

### Record cash or bank payments

If a customer pays you outside Morzepay, open the invoice and mark it paid, with a note such as Cash at the shop. The invoice becomes `paid` and a receipt is issued, which you can email them. Your wallet balance doesn’t change, because the money didn’t come through Morzepay.

### Numbering and branding

Under **Invoices → Settings**, choose a prefix of 2 to 10 letters or digits. Invoices are then numbered like `NILE-0001` and receipts like `NILE-R0001`; test invoices have `TEST-` in front. You can also set the support email and phone shown on invoices (replies to invoice emails go to that email), a default footer, and the default number of days until an invoice is due (14 unless you change it).

### If a customer pays twice

Sometimes a customer pays an invoice that was already paid or voided, for example from an old message. The money still lands in your wallet and the payment shows in **Activity**. If you use webhooks, you also get an `invoice.overpaid` event. Refund the customer with a payout.

### Create invoices from your code or an AI app

- From your system: [POST`/v1/invoices`](https://morzepay.com/docs/api/create-invoice)

- By asking: “Invoice Kampala Coffee House UGX 180,000 for the machine service and email it.” See [Use with AI](https://morzepay.com/docs/ai).
