Skip to Content
Payrudder

Invoices and payments in the console

Read invoices, release or void one that waits, follow payments and make payment links.

The console shows the invoices Payrudder makes, the payments that settle them, and the links a customer pays through. How an invoice is made and paid is in the usage-based billing guide and Accept payments. The calls are in the API reference.

Every name in bold is a string of the English console. The page was written from the console's texts and its code, not by following it on a screen with a person. Where they differ, the console is right.

Invoices

In the sidebar, under Customers and billing, open Invoices: what this environment billed. Open one to see its lines and download the PDF.

The first invoice appears when a customer subscribes to a package with a fee, then one for each billing period (No invoices yet. The first is made when a customer subscribes to a package with a fee, then one for each billing period.). Before it has a number it is shown as Draft.

The list

PartWhat it holds
SearchNumber, customer id, period
FiltersA Status filter and a date range, which starts on the current month
ColumnsNumber, Customer, Period, Total (in the invoice's own currency), Status and Created

Rows come a page at a time (Previous and Next). Opening a row shows the invoice in a sheet that you can step through with the arrows without going back to the list.

What each status means

StatusMeaning
draftMade, not finalized.
openFinalized and waiting for the money. A payment that fails is retried by the schedule on the Pricing page.
paidSettled in full.
uncollectibleThe retries ran out.
voidCancelled, not owed.

One invoice

The sheet shows the number, the customer, the Period, the total and the status, and Open PDF (a link to the PDF that lasts a few minutes).

Under Lines each line has a Description, a Service period, a Quantity and an Amount, then the Total. A line is one of:

  • the fixed fee of the package,
  • usage per meter,
  • late usage for a closed period,
  • a correction,
  • a coupon,
  • tax.

If the lines come to less than nothing, the invoice is not charged a negative total: the sheet says the amount was added to the customer's credit balance.

Money received outside Payrudder (a bank transfer, cash) and recorded against the invoice is listed as Payments recorded by hand, with the Method, Amount, Received date, Reference, Note and who recorded it.

Recording a payment by hand, confirming or rejecting a bank transfer and the saga timeline of an invoice are operator tools, not on this sheet. A paid invoice's sheet has a Credit notes card to correct or refund it. Through the API, a credit note is issued with POST /v1/invoices/{id}/credit-notes and read with GET /v1/credit-notes, and the e-invoice documents are fetched with GET /v1/e-invoices/{id}/files/{kind} (see Tax and e-invoices).

Related lists what hangs off the invoice: its customer, the payment attempts made for it, its credit notes and the customer's subscriptions. Each row opens that record's sheet.

An invoice that waits

Two kinds of payment wait for somebody other than the provider, and the sheet says which.

Payrudder did not send the first charge to the payment provider because the payment gate said no. Either:

  • the customer is blocked for fraud or a chargeback (The customer is blocked for fraud or a chargeback. The invoice stays open and is charged as soon as the block is lifted.), or
  • the operator has put the environment on hold (suspended, frozen or banned): nothing is charged while it lasts.

The sheet shows On hold since and the Next check. Payrudder looks again every hour and charges the invoice as soon as nothing holds it.

An owner or an administrator has two buttons. Each asks first and names the amount.

  • Release the charge asks the gate again now and sends the charge if it lets the invoice through. It never overrides the gate: to charge a blocked customer, lift the block first.
  • Void invoice ends the invoice. Nothing was charged, so nothing is refunded.

A viewer sees why and has no button. While the operator has the environment on hold, nobody has one.

CallPurpose
GET /v1/invoices/{id}/payment-waitWhy the invoice waits
POST /v1/invoices/{id}/releaseRelease the charge
POST /v1/invoices/{id}/voidVoid the invoice

Both writes need the invoices:write permission, answer 409 billing.invoice.not_held for an invoice that is not held, and are recorded in the audit log.

Simulate a payment in the sandbox

An invoice of the sandbox has Simulate payment: Run this invoice's payment again as one of the scenarios. The customer keeps the scenario as their payment method. No real provider is called.

The scenarios are described in Test mode:

  • the charge succeeds,
  • every attempt is declined,
  • the first attempt is declined and the retry succeeds,
  • the provider fails twice and then succeeds,
  • the provider does not answer in time.

Payments

Payments, next to Invoices, lists charges and refunds, newest first, each with the outcome it settled on. Filter by status and type (Charge or Refund). View invoice opens the invoice a payment belongs to.

Payment links: A link the customer opens without signing in to pay. Anyone who has the link can pay; it stops working when it expires or is revoked.

Choose the kind

A link is one of three Kinds:

  • Open invoice: pays an invoice that is finalized and unpaid (Invoice id).
  • Fixed amount: an amount, a currency and What it is for. The invoice is made, and numbered, when the customer presses Continue on the page.
  • Credit pack: sells a credit pack (see Credits).

Set the options

  • Customer id (optional).
  • Valid for (days): a whole number from 1 to 365.
  • Single use (one paid invoice).
  • Promotion code (optional): the payer gets its discount without typing it and may type another.

Copy the link

Copy the link now: it is shown once and cannot be read back.

The list shows each link's Status (Active, Paid, Expired, Revoked), its Uses / paid and its expiry. Revoke stops a link at once; Unpaid invoices made from it are voided.

The same links are made with POST /v1/payment-links and, for an open invoice, POST /v1/invoices/{id}/links.

Next steps