FeaturedFinance Ops#Skills#Python#Invoice#Finance#Calculation#Agent

Invoice Total Calculator (Agent Skill)

An agent runs a bundled Python skill that computes line totals, discount, tax, and the grand total from invoice items.

Workflow at a glance

The full canvas, before you import it

Click any node to see its config.

#Skills#Python#Invoice#Finance#Calculation#Agent

Click a node to select it — same as the Heym editor; the panel shows its settings.

3 nodes · Free & source-available

Invoice Total Calculator (Agent Skill)

Get invoice math right every time. This Heym Agent Skill takes a list of line items plus optional tax and discount, and a bundled Python tool computes line totals, the discount, the tax, and the grand total — exact, repeatable arithmetic the model never has to do.

What this workflow does

  1. invoiceInput holds line items, tax rate, and discount percent
  2. invoiceAgent calls the bundled invoice_line_total skill
  3. The skill computes per-line totals, subtotal, discount, tax, and total
  4. invoiceResult returns the full breakdown

Why a skill

Money math belongs in code, not in a language model. The skill returns precise rounded figures every run. No API key required.

Setup

Open invoiceAgent, pick an LLM credential, edit the line items, and run. Line items are JSON objects with description, quantity, and unit_price.

How to import this template

  1. 1Click Import → Copy JSON on this page.
  2. 2Open your Heym and navigate to a workflow canvas.
  3. 3PressCmd+V/Ctrl+V— nodes appear instantly.
  4. 4Add your API keys in the node config panels and click Run.
More workflow templates
View all templates