Description
HULO Business Credit lets your business customers buy now and pay later on invoice, on any WordPress site. Take invoice payments online with HULO Payments, our own payments plugin, or record the money that arrives by bank transfer, cheque or any other way.
You open a credit account for a WordPress user (or approve their application), with a credit limit and payment terms. You raise invoices for them, with lines, a purchase order number and terms, and the invoices count against the limit. Customers see their account, invoices, payments and statements on a page of your site. An invoice paid online through HULO Payments is settled automatically; money you record is allocated to the oldest invoices first.
Credit accounts
- Credit accounts for WordPress users: limit, net terms, grace days, purchase-order requirement, company, company number, VAT number and billing e-mail.
- Permanent and temporary limit changes, with a limit history and an event log on every account.
- Suspend, reactivate or close an account; a periodic credit review date with a “review due” flag.
- Company accounts: add colleagues as buyers (see and pay invoices) or viewers (see invoices and statements).
- Applications: customers apply from the account page; you approve with a limit and terms, or reject with a note. You can also record an application for a customer.
Invoices and money
- Invoices raised by you, with lines, purchase order and terms, numbered with your prefix (for example
INV-000042). Due date = issue date + terms. Statuses: open, part paid, paid, overdue, written off, void. - Invoices count against the credit limit. A suspended account cannot be invoiced; an invoice that would take an account over its limit, onto an account with overdue invoices, or without the purchase order number the account requires, is refused unless you tick the override.
- Settlements: record payments by bank transfer, card, direct debit, cheque, cash or other, allocated oldest-due-first or to a chosen invoice. Overpayments, and money you choose to hold as funds, stay on the account and pay its open invoices automatically: at the next daily pass, and as soon as a new invoice is raised.
- Refund a settlement, withdraw held funds, raise a credit note, add a fee, write off or void an invoice. Every movement is in the account’s ledger.
- Statements for any period (this month so far unless you pick one): opening balance, running lines, closing balance and the aging at the statement date, in the admin and on the customer’s account page, with a printable version. Held funds applied to an invoice show as one line without amounts, so the totals are what was invoiced and paid.
- A daily pass (Action Scheduler or WP-Cron) marks overdue invoices, ends temporary limits, flags accounts due a review (on the Overview and the Accounts tab) and applies held funds. Send a payment reminder from any invoice with one click.
- An overview under HULO → Business credit: exposure, overdue, due in 7 days, funds held, money collected, aging and the largest exposures.
- A Business Credit widget on the WordPress dashboard: what is outstanding and overdue, applications waiting, and the last 7 days’ invoiced, collected and reminders sent.
- A REST API under
/wp-json/hulo-business-credit/v1/for scripts and headless sites. Customers (signed in) read their own account, invoices and invoice detail, payments, ledger and statement, apply for or withdraw an application and get a pay link for an invoice. Administrators list, read and change accounts, limits, members, invoices, settlements and applications and the settings, with the same checks as the admin screens.
The customer’s account page
- Add the
[hulo_business_credit]shortcode or the “HULO business credit account” block to any page (a “Credit account” page is created when you activate the plugin). - Signed-in customers see their credit available, invoices with their lines, payments and statements; the account holder and buyers also see the people on the account. Visitors get a sign-in form.
- E-mails for invoices, payments received, reminders, suspensions, applications and new members, and a notice to you of each new application, sent by your site with
wp_mail()as HTML with a plain-text version. Your logo (or site name), an accent colour and your e-mail footer can be set. You can preview and test each one.
Online payment with HULO Payments (optional)
With the free HULO Payments plugin installed, customers pay an open invoice from its page, and you can create a pay link for any open invoice to send to the customer. The invoice is settled the moment HULO Payments reports the payment, and the same payment is never booked twice. Without it, customers pay by the instructions you put on invoices and statements, and you record the money.
With WooCommerce (optional)
- Pay on account at checkout for the account holder and the account’s buyers, in the classic checkout and the Checkout block, with a purchase order field. The order is paid at once and an invoice is raised against the customer’s credit account.
- Refunding an order paid on account raises a credit note; cancelling an unpaid on-account order voids its invoice.
- Invoice details on the thank-you page, order e-mails and the order screen, and a Business credit page under My Account.
- Accounts use the shop’s currency, and e-mails go through the shop’s mailer, in its e-mail template.
Pro add-on
Everything above is free, with no limits. HULO Business Credit Pro is a separate add-on from huloglobal.com that adds auto-approval rules for applications, credit invitations on pre-agreed terms, an automatic reminder schedule with late fees and auto-suspend, monthly statement e-mails, one pay link for several invoices and prepaid top-ups, payment plans, company members managed by the account holder, a reward points programme and CSV exports.
External services
This plugin does not connect to any external service and loads no remote files.
- E-mails are sent by your own site through
wp_mail()(on a shop, through the shop’s mailer), to the addresses on your credit accounts and to the notification address you set. - Online invoice payment is optional and handled by the separate HULO Payments plugin. When it is installed and a customer pays an invoice (or you create a pay link), this plugin passes the amount, currency, invoice number and the customer’s name and e-mail address to HULO Payments on your own site, which then takes the payment with the payment provider you set up there. HULO Payments documents its own external services.
- The “Learn more” link at the bottom of the Settings tab opens huloglobal.com; nothing is sent unless you click it.
Installation
- Install HULO Business Credit from Plugins → Add New, or upload the zip, and activate it. A “Credit account” page with the account block is created for you.
- Go to HULO → Business credit → Settings (or click Settings under the plugin on the Plugins screen): set your currency, default terms, invoice prefix, the notification e-mail and how customers should pay you (the remittance text).
- Open an account for a user on the Accounts tab, then raise invoices from the account screen.
- Optional: install HULO Payments so customers can pay invoices online. On a shop, also enable Pay on account under WooCommerce → Settings → Payments.
FAQ
Do I need WooCommerce?
No. Accounts, invoices, statements, settlements, applications and the customer account page all work on plain WordPress, and customers can pay invoices online with HULO Payments. You need it only for the shop features listed above, such as Pay on account at checkout.
How do customers pay their invoices?
Online through HULO Payments, which settles the invoice automatically, or by the payment instructions you set (bank transfer and so on), after which you record the payment.
Can a customer with an overdue invoice keep buying on account?
No. An overdue invoice puts the account on hold for new invoices and orders on account until it is settled or written off. You can still raise an invoice on purpose by ticking the override.
Who can see a credit account?
The account holder and the colleagues you add to it. Buyers can pay invoices online (and, on a shop, order on account); viewers only see invoices and statements. Other signed-in users see only their own account or the application form, and visitors see a sign-in form.
Is my data deleted when I delete the plugin?
Only if you tick “Delete all business credit data when the plugin is deleted” in the settings. Then the accounts, invoices, ledger and settings are removed, and the “Credit account” page goes to the trash (unless you have added your own content to it). Otherwise the accounts, invoices and ledger stay in the database.
Which currency are accounts in?
The currency you set under Settings (GBP until you change it); on a shop, the shop’s currency. Each account keeps the currency it was opened in once it has invoices or payments. When you change the currency (under Settings, or the shop’s currency), accounts with nothing booked yet change with it.
Does the plugin send data anywhere?
No. It makes no requests to outside services. See “External services” below.
Screenshots






Changelog
0.1.5
- Each pay link is for one invoice and is booked on that invoice. The dashboard widget counts the payment reminders actually sent. The customer forms and REST routes also check the user’s capability.
0.1.4
- E-mails redesigned: a clean card with your logo or site name, an accent bar, a heading for each e-mail, invoice details and “How to pay” in boxes, a warning box on overdue reminders and suspensions, a button to the invoice or account, the sign-off with your reply-to address, and your e-mail footer. Notices to you use a compact version. Every e-mail now has a plain-text version as well. With WooCommerce active, e-mails keep the shop’s e-mail template, with the new content styling inside it.
- New optional settings: e-mail accent colour (by default WooCommerce’s e-mail base colour, or blue without WooCommerce) and e-mail logo (by default your site logo or site icon).
- Security: paying an invoice from the account page now has the same rules as the REST route: a viewer on the account cannot create a payment link, and each customer can create at most 20 payment links an hour.
0.1.3
- A Business Credit dashboard widget: outstanding and overdue, applications waiting, and the last 7 days’ invoiced, collected and reminders sent.
- Customer REST routes: one invoice with its lines and ledger (
/my/invoices/{id}), a pay link for one invoice (/my/invoices/{id}/pay-link, with HULO Payments; viewers cannot pay), payments (/my/settlements), the ledger (/my/ledger), the latest application (/my/application) and withdrawing a pending one (/my/application/withdraw). They return only what the customer may see and only for their own account. - Admin REST routes under
/admin/: accounts (list, read, open, change, status, limit, review, members, ledger, statement, limit history, events, apply held funds, withdraw funds), invoices (list, read, raise with lines, fee, write-off, void, credit note, reminder, pay link), settlements (list, read, record, refund), applications (list, read, record, approve, reject), the settings and the daily pass. Writes run the same code and checks as the admin forms. - The REST application route (
/my/apply) has the same limit as the form: five applications an hour per user and address.
0.1.2
- The admin page no longer shows a box about the Pro add-on; the Settings tab has one plain line about it instead.
- The daily pass summary lists reminder, fee, suspension and statement counts only when something did them.
- Internal: helpers that only the separate add-on used (reminder schedule, late-fee and statement-day maths, the auto-approval customer figures) moved into that add-on.
0.1.1
- Security: held funds are applied to invoices under the account lock and each amount is claimed with a conditional update, so the same money can never settle two invoices (parallel orders, online payments and the daily pass).
- Security: client IP addresses (used for rate limits and recorded with applications) are the direct connection unless you list your proxy or CDN under the new “Trusted proxies” setting; for X-Forwarded-For the right-most address that is not a trusted proxy is used.
- Security: the “added to a credit account” e-mail no longer has the customer-typed company name in its subject, and links and web addresses are removed from it in the body.
- Security: the customer REST routes (
/my/account,/my/invoices,/my/statement,/my/apply) return only what the customer may see. Your review notes, account and invoice notes, the admin user name that approved or decided, and the applicant’s IP address are no longer included. - Admin forms and the REST application route read and sanitise each declared field (never a whole request); every database query is prepared, with table names as
%iplaceholders; the printable statement’s stylesheet and script are files registered with WordPress, and inline styles moved to the plugin’s stylesheets. - Paying an invoice online redirects with
wp_safe_redirect(); the sign-in form on the account page returns to the same page on sites installed in a subdirectory; upgrades no longer add another “Credit account” page, and activation leaves the account page alone when it is set to “none”; approval e-mails and messages mention Pay on account at checkout only on a shop; the Business credit box shows only on orders paid on account. - The account block can be set to wide or full width (the page created on activation uses it at wide width) and selects and moves like any block in the editor. Overview figures show at full size, an account’s “Terms and details” and “Money in” sit side by side, amount fields are labelled, statements no longer wrap dates and amounts or repeat “Invoice raised” on every invoice line, and invoices that are not for an order leave out the empty Order details.
- Amounts typed into the admin forms are read the way people write them: “2,500.00”, “1.234,56”, “2 500,50”, “£2,500” and the site’s own decimal separator. Text that is not an amount is refused with a message instead of being saved as another figure (on sites without a shop “2,500.00” used to become 2.50).
- On a shop, My Account → Business credit works straight after activation and after an update from 0.1.0: the rewrite rules are saved on the next request, once the endpoint is registered, and again whenever the plugin version changes.
- The statement period form works with Plain permalinks, and a past period’s statement shows the aging at the period’s last day instead of today’s. Statements open on this month so far instead of last month, so a new account’s first statement shows its invoices, and the REST statement’s
todate includes that whole day, as on the account page. Held funds applied to an invoice are one statement line without amounts (they used to appear as an adjustment and a payment, which counted the money twice in the totals and showed an internal settlement number). - Invoices you raise are e-mailed as invoices, with their lines (orders paid on account keep the order wording); the notification address gets its own new-application e-mail; when an invoice you raise is refused, the notice is written for you, not for the customer; the admin invoice screen lists the invoice lines and its ledger shows the invoice number.
- Activating or reinstalling uses a published page that already shows the account (one left by an earlier install, or one you made with the block or the
[hulo_business_credit]shortcode) instead of adding another “Credit account” page; a page with only the shortcode used to be missed during activation. - The invoice note in the admin is labelled “Internal note (not shown to the customer)”, which it always was, and the notes that do appear on the customer’s statement (payment, refund and withdrawal notes, credit note, fee, write-off and void reasons) say so.
- Statement lines read the way a customer expects: a refund booked without a note is just “Refund” (it showed “Refund — Refund”), and money held on the account or returned from it reads “Held as funds on account” and “Funds on account returned” instead of “Unallocated — credit on account” and “Refund of unallocated credit”.
- On sites without a shop, customer e-mails and pages no longer talk about ordering on account, which needs a checkout: the suspension e-mail and the account page’s overdue notice say that new invoices cannot be raised, the rejection e-mail no longer mentions “our other payment methods”, and a buyer is described as someone who sees and pays the account’s invoices (in the new-member e-mail and the admin role choice).
- E-mail previews and test e-mails use a due date that fits the e-mail: today for “due today” and 14 days ago for the overdue reminder (the overdue sample was dated two weeks ahead).
- Changing the currency in the settings (or the shop’s currency) also moves the accounts that have no invoices or payments yet, and applications waiting for a decision, so accounts opened before the currency was set are not left in GBP. Accounts with invoices or payments keep the currency their ledger is in. The Accounts tab says which currency new accounts are opened in.
- The Money in form says that funds held on an account pay its open invoices automatically, at the next daily pass and whenever an invoice is raised (“Hold as funds” read as if the money would wait).
- With “Delete all business credit data” ticked, deleting the plugin also moves the “Credit account” page to the trash, unless you have added your own content to it. The setting and the FAQ say so.
- A Settings link under the plugin on the Plugins screen.
- Invoice numbers are taken with portable SQL (no MySQL-only LAST_INSERT_ID()), so invoices can also be raised on SQLite sites such as WordPress Playground; parallel requests still never get the same number.
0.1.0
- First release: credit accounts and limits, applications, invoices raised by hand with lines, settlements and allocation, credit notes, prepaid funds, statements, the customer account page (shortcode and block), online invoice payment through HULO Payments, company members, the daily pass and manual reminders. With WooCommerce: Pay on account at checkout, invoices for orders, refunds as credit notes, My Account.
