Request forms · 6 fields
Payment request form template
For a company's accounts payable, or an organisation paying freelancers, volunteers' expenses or small suppliers. The person who is owed money states the invoice number, the amount and the due date, and finance gets one list to pay from.
Payment request
Live demo: try the fields. Submitting sends nothing.
02 / Field guide
Why these fields
Name
text · requiredRequired. The supplier or person to be paid.
Email
email · requiredRequired. Remittance advice and queries go to this address.
Invoice number
text · optionalOptional, since expense claims have none. Where there is an invoice, the number is what stops a double payment.
Amount due
number · requiredRequired number. Add step="0.01" and min="0.01", and state the currency in the label.
Due date
date · optionalOptional date. Compare it with the payment terms you agreed, not with the requester's hopes.
Notes
textarea · optionalOptional. Good for a purchase order number or the name of the person who ordered the work.
When to use it
Use it when payment claims arrive in different inboxes and some are paid late or twice. Give suppliers the link together with your purchase order.
The form announces a claim; it does not replace the invoice. Ask for the invoice itself by email or as an upload.
Privacy and GDPR
- Do not collect bank account numbers in this form. Take them from the invoice, and confirm any change of bank details by phone on a number you already have, because altered payment details are a classic fraud.
- Sole traders' invoices are personal data. Limit access to finance staff.
03 / Make it yours
Choose your stack. Copy your form.
Replace the example endpoint with your Formward endpoint, then adapt the fields to your needs.
<form action="https://forms.formward.eu/f/your-form-id" method="POST">
<label for="name">Name</label>
<input type="text" name="name" id="name" required />
<label for="email">Email</label>
<input type="email" name="email" id="email" required />
<label for="invoice_number">Invoice number</label>
<input type="text" name="invoice_number" id="invoice_number" />
<label for="amount">Amount due</label>
<input type="number" name="amount" id="amount" required />
<label for="due_date">Due date</label>
<input type="date" name="due_date" id="due_date" />
<label for="notes">Notes</label>
<textarea name="notes" id="notes"></textarea>
<input type="text" name="_gotcha" tabindex="-1" autocomplete="off" style="position:absolute;left:-9999px" aria-hidden="true" />
<button type="submit">Send</button>
</form>Accessibility
Accessible by default, and how to keep it that way
- Every field in the code has a visible label tied to it with for and id, so screen readers announce what to enter and a click on the label focuses the field.
- Required fields carry the required attribute, so the browser explains a missing answer before anything is sent. Say “required” in words as well; an asterisk or a colour alone is easy to miss.
- The spam trap field (_gotcha) is hidden from screen readers with aria-hidden and skipped by the Tab key, so people never meet it.
- In the JavaScript versions, show the confirmation or error in an element with role="status" so the result is announced, and keep the entered answers when sending fails.
Changed the fields? Paste your version into the HTML form tester to see exactly what it sends, or run it through the GDPR form checker.
04 / Implementation
How the code talks to Formward
Each form you create gets its own endpoint in the form https://forms.formward.eu/f/your-form-id. The HTML version posts to it directly and the browser is redirected to a thank-you page, so it works without JavaScript.
The Next.js version below sends the same fields with fetch and an Accept: application/json header. Formward then answers with { ok: true, id }, or an error body with 402 when the account is over its allowance and its Over limit folder is full, and 429 when the rate limit kicks in. See responses and status codes.
Next.js client component
"use client";
import { useState } from "react";
export function PaymentRequestForm() {
const [sent, setSent] = useState(false);
const [error, setError] = useState("");
async function onSubmit(e: React.FormEvent<HTMLFormElement>) {
e.preventDefault();
const form = e.currentTarget;
setError("");
try {
const res = await fetch("https://forms.formward.eu/f/your-form-id", {
method: "POST",
headers: { Accept: "application/json" },
body: new FormData(form),
});
if (res.ok) {
setSent(true);
form.reset();
return;
}
} catch {
// Network failure: fall through to the same message.
}
// The answers stay in the form so the visitor can try again.
setError("Sending failed. Please try again.");
}
if (sent) return <p role="status">Thanks! Your message has been sent.</p>;
return (
<form onSubmit={onSubmit}>
<label htmlFor="name">Name</label>
<input type="text" name="name" id="name" required />
<label htmlFor="email">Email</label>
<input type="email" name="email" id="email" required />
<label htmlFor="invoice_number">Invoice number</label>
<input type="text" name="invoice_number" id="invoice_number" />
<label htmlFor="amount">Amount due</label>
<input type="number" name="amount" id="amount" required />
<label htmlFor="due_date">Due date</label>
<input type="date" name="due_date" id="due_date" />
<label htmlFor="notes">Notes</label>
<textarea name="notes" id="notes" />
<input
type="text"
name="_gotcha"
tabIndex={-1}
autoComplete="off"
style={{ position: "absolute", left: "-9999px" }}
aria-hidden="true"
/>
<button type="submit">Send</button>
<p role="status">{error}</p>
</form>
);
}
Spam protection
- The generated code already includes the hidden _gotcha honeypot. Leave it in: a bot that fills it gets a normal success response, the submission is filed as spam and no email is sent.
- Every form has a per-IP rate limit, and you can restrict it to your own domains with the allowed-origins list in the form settings.
- Cloudflare Turnstile is optional and works on every plan, including Free. Turn it on in the form settings, add the widget to your markup and Formward checks the token server-side.
- The form settings can also reject disposable email addresses, which is worth turning on when a fake address would waste your time.
What happens after submit
- Each payment request is emailed to your notification address and stored in the dashboard on every plan.
- From Personal, export open requests as CSV for the weekly payment run.
- From Professional, a webhook can register the claim in your accounting system for approval.
Questions
- Can the invoice be attached as a PDF?
- Yes, with a file field on Professional or above; set accept=".pdf" on it. On other plans, have suppliers email the invoice and quote its number in the form.
- Can I use this form to ask my own customers to pay?
- It is built the other way round, for people requesting payment from you. To collect money from customers, send an invoice or a payment link from your invoicing tool.
Related
- Purchase request template
The approval before the purchase.
- Vendor application template
Taking on a new supplier.
- Refund request template
Money going back to a customer.
- Request templates
Requests of every kind.
Customize before publishing
- Remove fields you do not need and mark only essential answers as required.
- Replace placeholder wording with terms your audience already understands.
- Add your privacy notice, retention details and expected response time.
- Test keyboard focus, validation errors and the confirmation state on mobile.
Use this template
Create a free account and the form is set up from this template. Copy your endpoint and replace https://forms.formward.eu/f/your-form-id in the code above.