receipt-maker
Installation
SKILL.md
Receipt maker
Use the Receipt maker to preview the receipt and export a PDF or PNG of the recorded payment.
Identify the payment type
- For an invoice payment, get the invoice number, balance immediately before payment, currency, and amount received. Use that balance as the starting line and avoid adding invoice tax again.
- For a sale receipt, list goods or services, quantities, rates, and any applicable confirmed tax.
- Get who paid and who received it, the paid date, method, and a permitted reference such as check number, transfer reference, or the card's last four digits. Keep full payment credentials out of the receipt.
Calculate and verify
- Subtract the amount actually received from the applicable total. If it was a part payment, display the remaining balance. Mark paid in full only when the payment covers the balance.
- Check that the date and reference match the payment record. Return the receipt details and the remaining balance, then review the online preview before exporting.
- Keep the document focused on a payment already received. Use the invoice for payment terms or future amounts due.
Browser workflow
When the page exposes browser actions, use get_receipt to inspect the current receipt and update_receipt to apply confirmed payment details. Verify the date, amount, and remaining balance before exporting.