Billing & Invoicing
Billing invoices against CRM Accounts directly — there’s no separate “customer” record to keep in sync. Every invoice belongs to an Account, and can optionally trace back to the Deal it closed from.
Invoices
Each invoice gets a server-assigned sequential number (INV-000001, …,
per organization) — you never set this yourself. A number is never reused,
even if the invoice is deleted, and two invoices can never share one. total, amount_paid, and
amount_credited are always computed server-side from the invoice’s line
items, payments, and credit notes; a balance_due field reflects what’s
left (it can go negative on overpayment).
Status moves as money moves:
You choose Draft, Pending, Sent or Cancelled; Partially paid and Paid follow the payments you record and can’t be set by hand. A cancelled invoice stays cancelled, and an invoice with payments must have them refunded before it can be cancelled. An invoice needs at least one line before it can be sent. Once an invoice is sent, its lines are locked — issue a credit note or a new invoice instead — and a cancelled invoice takes no payments. Cancelling or deleting a sent invoice puts the stock it took back.
Line items (InvoiceItem) carry quantity, price, and an optional discount
percentage; taxable_value and line_total are computed, not entered. A
line item can also be seeded automatically from a rebilled Expense — see
Expense Management.
Payments
Recording a payment against an invoice updates its balance and status
immediately — this is a manual recording flow (you record that money came
in), not a live payment-gateway integration. Send an idempotency_key with a
payment and a repeat of the same request (a double click, a retry after a lost
response) returns the payment already recorded instead of recording the money
twice; the Record Payment form does this for you. A payment’s method and
status are tracked for your records; unsettled statuses are failed,
cancelled, refunded, and voided.
Gateway webhooks
If you connect your own Razorpay or Stripe account (Billing > Settings > Gateways), the gateway tells Moyo when a customer has paid by calling a webhook URL, and the payment is recorded on the invoice automatically.
- Add the gateway with its API key and its webhook signing secret.
- Copy the Webhook URL shown on the gateway’s card and paste it into the webhook settings in your Razorpay or Stripe dashboard. Subscribe to the payment-captured (Razorpay) or checkout/payment-succeeded (Stripe) events.
- Use the same signing secret in both places.
Each gateway has its own URL; the long random part of it identifies your workspace, so don’t share it. Moyo checks every event’s signature against your secret, ignores an event it has already processed, and ignores any event that refers to an invoice outside your workspace. Disabling or deleting the gateway stops its URL from working. A gateway added without a signing secret shows a warning, and events sent to it are rejected until you add one.
Credit and debit notes
A credit note reduces what’s owed on an invoice — for a return, a discount after the sale, or a billing mistake — without editing the original invoice. A debit note does the opposite: it adds to what’s owed, for something the invoice under-charged (freight, a price correction).
On an invoice, choose Credit note or Debit note:
- Credit note by units. Enter how many units of each invoice line you are crediting. The note takes the price and GST rate from that line and reverses the tax the same way the invoice charged it (CGST + SGST, or IGST). You can’t credit more units than were sold, counting earlier credit notes.
- Credit note by amount. The original flat amount and reason still work. It carries no tax detail, so it can’t be split into taxable value and GST on your returns.
- Debit note. Enter what is being charged, its price and GST rate. Tax is worked out like an invoice line. A debit note can’t be a flat amount.
Pick a reason (sales return, post-sale discount, deficiency in services,
correction in invoice, change in place of supply, finalisation of provisional
assessment, other); the GST portal asks for it. Credit notes are numbered
CN-, debit notes DN-, each in its own series. Both download as a PDF from
the notes table. A debit note on a paid invoice reopens it as partly paid.
A credit note doesn’t put stock back: if goods came back, adjust the stock yourself.
GST (India)
Set your business’s GST details once under Billing settings → GST: your GSTIN, legal name and registration type. Moyo checks the GSTIN’s format and check character, and reads your state from its first two digits.
Add a customer’s GSTIN, PAN, legal name and registration type on their account (see CRM). Then, on an invoice line, choose a tax rate — for example 18% — and Moyo works out the tax:
- Customer in your state → the rate is split into CGST and SGST (9% + 9% for 18%).
- Customer in another state → IGST at the full rate.
- SEZ or overseas customers are charged IGST, or no tax under a Letter of Undertaking (see below).
The invoice shows the place of supply, both GSTINs and the CGST, SGST and IGST totals; its total includes the GST. By default the place of supply is the state of the customer’s GSTIN; change it on the invoice if the supply is made somewhere else, and the tax re-splits immediately. Each tax component is rounded to the paisa on its own, as on the GST portal.
A few rules to know:
- GST is only calculated on lines that have a tax rate. Invoices without one are unchanged.
- If your GSTIN isn’t set, or the place of supply can’t be worked out, adding a GST line is refused with a message saying what to fix.
- A composition or unregistered business can’t charge GST, so those lines are refused.
- The GSTINs on an invoice are recorded when GST is applied, so changing a customer’s or your own GSTIN later doesn’t quietly rewrite invoices that already went out.
Print layout. A GST invoice prints as a tax invoice with your name, address and GSTIN, the customer’s GSTIN, the place of supply, the CGST / SGST / IGST per line, the total in words and a signature block. Quotations and proforma invoices print your own business details (not Moyo’s) and the customer’s GSTIN.
Proforma to invoice. If you are GST-registered, converting a proforma keeps its taxed lines as GST lines, so the invoice splits CGST+SGST or IGST for the actual place of supply. If that can’t be worked out (for example the customer has no GSTIN), the conversion is refused with a message saying what to fix, and nothing is created. Without a GST profile, conversion works as before.
Special supplies. On a draft invoice, Type of supply is set from the customer’s registration:
“Without payment” needs your LUT number under Billing settings → GST; the invoice is refused until it is set. Those lines keep their GST rate (so they are reported) but charge no tax, and the invoice prints the LUT declaration. You can also tick Tax payable by the customer (reverse charge) on a regular supply: the tax is shown and reported but isn’t added to the invoice total, and the PDF says “Reverse charge: Yes”. Reverse charge isn’t available for exports or SEZ supplies. The type of supply is locked once the invoice is sent.
Not covered yet: composition-scheme Bills of Supply, deemed exports, exempt and non-GST supply types, LUT validity dates, e-invoicing (IRN) and e-way bills.
GST returns (GSTR-1 and GSTR-3B)
Billing → Reports → GST returns prepares a month’s outward-supply returns from your invoices and notes, for you to review and upload on the GST portal. Moyo does not file anything.
- GSTR-1 is split into the portal’s tables: B2B, B2C large (inter-state to an unregistered customer above ₹2.5 lakh), B2C small, credit/debit notes to registered and unregistered customers, exports, nil-rated, HSN summary and documents issued. Download it as the portal JSON or as an Excel workbook with one sheet per table.
- GSTR-3B gives the outward figures of section 3.1, net of credit and debit notes. Input tax credit (section 4) isn’t produced, because Moyo doesn’t track purchase GST.
A month includes invoices that are not draft or cancelled (by invoice date) and
notes (by issue date), in your timezone. Items that need attention — a line
without an HSN code, a customer without a GSTIN who should have one — are listed
as warnings before you download. Amendments to earlier months aren’t produced.
It needs your GSTIN under Billing settings → GST, and isn’t available to
composition dealers. Requires the billing:report:export permission.
E-invoicing (IRN) and e-way bills are planned.
Invoice PDFs
Open an invoice and choose PDF to download it as a PDF file. It carries your logo (PNG or JPEG), business name, address and GSTIN, the customer’s details, each line with its GST split, the totals, the amount in words (INR) and a signature block. Anyone with the export invoices permission can download it. Print opens the same document in your browser for printing.
Getting paid by UPI
Under Billing settings > UPI, enter your UPI ID (for example
business@okaxis) and the name customers should see. Rupee invoices then carry
a QR code, on the PDF and on the payment page. It asks for the balance due
(so a part-paid invoice asks for what is left) and puts the invoice number in
the payment note. The QR is left off for invoices that aren’t in INR or that
are already paid.
Use the Test QR on the settings page to scan it with your own app and check the name and account before you send invoices.
A QR payment goes to your account directly, so Moyo isn’t told when it arrives. Open the invoice, record the payment with method UPI and the 12-digit transaction reference (UTR) from your bank or UPI app. Payments taken through a connected gateway are recorded automatically as before.
Receivables aging, DSO and statements
Billing > Reports > Receivables aging & DSO groups every customer’s outstanding invoice balance into current, 0-30, 31-60, 61-90 and 90+ days overdue, based on each invoice’s due date. Click a customer’s row to see the invoices behind the total. Days Sales Outstanding (DSO) is shown alongside it, over a trailing 90-day window by default.
A customer’s account page has a Statement of account button: a PDF with their opening balance, every invoice, payment and credit note in date order, a running balance, and a closing balance - which always matches the outstanding balance shown on the account, because both are computed from the same invoice, payment and credit-note rows.
Billing dashboard
The Billing home is a dashboard. You need the billing:report:view
permission to see it.
- Collected this month and Invoiced this month show the change against last month. When last month had nothing to compare to, it says “No prior period data” instead of an invented percentage.
- Outstanding is what customers still owe across issued, unpaid invoices after payments and credit notes, so it always matches the receivables aging total. A draft hasn’t been issued to anyone, so it isn’t counted. The line beneath shows how much of it is overdue.
- Days to get paid is your DSO over the last 90 days.
- Cash in vs. invoiced charts payments received against invoices issued. Switch between a week, a month, six months and a year. Months and days follow your timezone.
- Who owes you, and for how long buckets open invoices by lateness and links to the full aging report. Chase these first ranks the customers with the most overdue and how old their oldest debt is.
- Invoice status, Quotations to invoices (the last 90 days) and Next recurring invoices round it out.
If your open invoices are in more than one currency, a note says the totals add the amounts without converting them.
Figures are cached for up to 30 seconds. Anything you do in Billing refreshes them straight away; payments that arrive through a customer’s pay link or a gateway webhook, and invoices generated by the recurring scheduler, can take up to 30 seconds to show.
Recording a payment against a draft invoice moves it out of draft (to Partially paid or Paid) and, like marking it Sent, takes stock for any product lines.
Sharing invoices
Email (on the invoice page) sends the customer the invoice as a PDF
attachment with a link to view and pay it online. It goes out under your
business name, replies come back to you, and you can add CC addresses and a
short message. The customer’s email address from their account is filled in;
you can send to other addresses instead. If the invoice is still a draft it
becomes Sent once the email has gone, which is also when stock moves; if the
email fails nothing changes and you can try again. The subject and body can be
customised under Settings > Email templates (“Invoice Sent to Customer”). A
double click or a retry sends once. Needs billing:invoice:edit, and the server
needs outgoing email configured.
Send via WhatsApp (on the invoice page) sends the customer the invoice PDF and, if anything is still owed, a link to pay it - through an approved WhatsApp template, using your connected WhatsApp Business number (Settings > WhatsApp) and a template created under CRM > Conversations > Templates. If either isn’t set up, the button tells you what to do instead of failing silently. The send appears on the customer’s WhatsApp conversation, where its delivered/read status is tracked the same way any other WhatsApp message’s is.
Recurring invoices
A recurring profile bills an account on a schedule — weekly, monthly, quarterly, half-yearly or yearly — until its end date or maximum number of invoices. Moyo generates each invoice automatically on the day it falls due (checked hourly), exactly once per period: if someone clicks Run due or Generate for the same profile at the same moment, only one invoice is created. With auto-send on, generated invoices start as Sent; otherwise they start as Draft. An item’s quantity can be fractional (0.5 hours); invoice lines hold whole quantities, so a fractional item bills as one line for the exact amount (quantity × unit price). A taxed item bills its tax too: as GST lines for a GST-registered seller, otherwise as a single tax-inclusive line. A profile that starts on the 31st returns to the 31st after a shorter month.
A profile that is more than three days overdue — for example one that was paused and resumed, or created with a past start date — is not billed automatically. Run due under Billing → Recurring catches it up, one invoice per missed period.
Billing settings
Configure these once per organization, under Settings → Billing:
Related
- CRM — invoices bill an Account, and can link back to the Deal that closed
- Expense Management — billable expenses rebill onto an invoice as a line item
- Data Import & Export — bulk-import invoices from a CSV/XLSX file