Payment Terms Calculator
Free to download on every platform. Comes pre-installed on BotFone, BotPad and BotFlip — with extra free apps included.
About this app
WHAT IT DOES
Payment Terms Calculator is a floating calculator panel that computes payment terms for invoices. Enter an invoice date and amount, and it calculates the net due date based on your payment terms (e.g., Net 30). It also shows early payment discount savings — how much you save by paying early (e.g., 2% 10 Net 30). It calculates late payment interest — what you would owe if you pay after the due date. It can auto-detect invoice date and amount from the current page, saving you from copying and pasting numbers.
WHERE IT RUNS
This script runs on any website you visit — invoice pages, accounting dashboards, billing portals, or any page where you need to calculate payment terms. It reads only the page you are looking at, never other tabs, bookmarks, or browser data.
HOW TO USE
Visit any invoice page with a date and total displayed. Click the Payment Terms Calculator panel button in the BotGentz extension toolbar. The panel appears at the edge of the page. If the invoice date and amount are detected, they auto-fill. If not, enter them manually. Set your payment terms: net days (e.g., 30), early discount percentage (e.g., 2%), discount days (e.g., 10), and late interest rate. The calculator updates the due date, discount savings, and late interest in real time. You can save your default terms — they persist across pages.
TECHNICAL MECHANISM
The calculator scans the page for invoice date using CSS selectors (like .invoice-date, [data-invoice-date]) and date pattern matching (MM/DD/YYYY, DD/MM/YYYY, month names). It detects invoice amount using selectors like .invoice-total, .grand-total, and regular expression matching for dollar amounts. The net due date is calculated by adding the net days to the invoice date. The early discount is calculated as (amount × discount %) and the discounted total is shown. Late interest is calculated as (amount × interest %). The entire calculation runs client-side — no data is sent anywhere.
THE PANEL
The panel is a floating overlay that you can drag anywhere on the screen by its header. It remembers its position per site so it reappears where you left it. The panel can be collapsed into a small handle to get it out of the way, and snapped to the edge of the page. It can be resized to fit your workflow. Press Escape to close the panel.
PLEASE NOTE
This script requires the free BotGentz extension to run. It reads only the page you are viewing — no data is stored or transmitted. The date and amount auto-detection works on many invoice pages but may not work on all sites. Default terms are saved locally and persist across pages. The calculator is for estimation purposes only — actual payment terms may vary based on contracts, jurisdiction, and other factors. Sites change — the script may need updates to match new site structures.