← Back to AI Agent Scenarios

SCENARIO 19·Finance·Standardized task

Every billing amount must be calculated by rule and checked again

Before submitting a billing request, finance must calculate the amount according to established rules. Staff organize quantities and unit prices, apply the agreed conditions, calculate the amount to bill, and attach the calculation details.

The rules are fixed, but every item must be recalculated and then checked again. If a number is wrong, staff must follow up with the other party and reconcile the accounts again. The main problem with this work is that repetition makes it easy to lose focus.

At a glance

How it was done

  1. Organize quantities and unit prices
  2. Calculate in Excel under agreed terms
  3. Attach details and check again
  4. Confirm and submit billing request

Where it gets stuck

The rules are fixed, but every item must be recalculated and then checked again. The repetition makes it easy to lose focus. If a number is wrong, staff must follow up with the other party and reconcile the accounts again.

With an AI Agent

  1. Organize quantities and unit prices
  2. Calculate in Excel under agreed terms
  3. Attach details and check again
  4. Confirm and submit billing requestHuman approval

The AI Agent organizes quantities, unit prices, and conditions according to the rules and produces calculation details. It includes a formula for every amount and separately flags rule violations. The billing request is submitted only after finance confirms it.

01

How it was done

  1. 01Organize the quantities and unit prices for this billing request
  2. 02Calculate the billing amount in Excel based on the agreed conditions
  3. 03Attach the calculation details and check them again
  4. 04Submit the billing request after confirmation
請款規則_範例機械.pdf1 / 1
Example Precision Fasteners
Billing Rules for Example Machinery
No.
EX-SC-2026-003
Basis
2026 Supply Contract between Example Precision Fasteners and Example Machinery (Contract No. EX-SC-2026-003)
Effective period
2026-01-01 to 2026-12-31
Issued by
Finance Department
ClauseItemRule
1Billing periodBilling occurs once a month and covers only shipments with a customer acceptance date from the 1st through the last day of that month
!2Acceptance numberEvery shipment must have a customer acceptance number before it can be billed. Shipments without an acceptance number cannot be billed in the current period and must be included in the next period after the customer provides one
3Billing quantityCalculate by subtracting the returned quantity from the accepted quantity
4Unit priceUse the contract unit price in the appendix, in New Taiwan dollars, excluding tax
!5Volume discountWhen the monthly billing quantity for the same part number reaches 10,000 units or more, calculate that part number's monthly amount at 98% of the standard amount. Calculate the cumulative quantity after deducting returns
6Amount calculationAmount per item = billing quantity × unit price, rounded to the nearest dollar. Business tax is 5%, calculated from the discounted total excluding tax and rounded to the nearest dollar
7Calculation detailsThe billing request must include calculations for each item and subtotals by part number for customer verification
Appendix: Contract unit prices (New Taiwan dollars, excluding tax)
Part numberItem nameUnit price (dollars)
HB-M8-30Hex socket bolt M8×302.85
HB-M10-40Hex socket bolt M10×404.60
NT-M8Hex nut M80.62
FW-M8Flat washer M80.28
FB-M10-30Flange bolt M10×303.65
TR-M10-1000Fully threaded rod M10×100038.00
1 / 1
ERPSales › Shipments and Acceptance
Shipment and Acceptance Details
CustomerExample MachineryShipment date2026-09-01 to 2026-09-30Part numberHB-M8-30, NT-M8, FW-M8, TR-M10-1000Sort byShipment number
Shipment numberShipment datePart numberCustomer acceptance numberAcceptance dateAccepted quantityReturned quantity
DN-2609-0012026-09-02HB-M8-30RC-26092012026-09-034,0000
DN-2609-0022026-09-02NT-M8RC-26092022026-09-035,0000
DN-2609-0032026-09-04FW-M8RC-26092032026-09-056,0000
DN-2609-0052026-09-09HB-M8-30RC-26092052026-09-103,0000
!DN-2609-0062026-09-10NT-M8RC-26092062026-09-115,200500
DN-2609-0082026-09-15TR-M10-1000RC-26092082026-09-162000
!DN-2609-0092026-09-16HB-M8-30RC-26092092026-09-173,0000
≠DN-2609-0102026-09-17FW-M8(blank)(blank)5,0000
DN-2609-0132026-09-24FW-M8RC-26092132026-09-253,9000
≠DN-2609-0142026-09-29TR-M10-1000RC-26100012026-10-011500
DN-2609-0152026-09-26NT-M8RC-26092152026-09-282000
11 rowsPage 1 of 1
Illustration only. Only shipments for four part numbers are shown. The system screen is sorted by shipment number, so the same part number appears across several rows. One shipment has no acceptance number, and one was accepted in October. HB-M8-30 totals exactly 10,000 units and qualifies for the discount. NT-M8 totals 10,400 units before returns but falls just short after deducting 500 returned units. For FW-M8, the shipment without an acceptance number must first be excluded to show that it does not meet the threshold.
02

With an AI Agent

  1. 01
    What it doesCheck each item against the rules
    Standard appliedThe acceptance date must be within the current month, and every item must have an acceptance number. List noncompliant items separately, state which clause they violate and which period they should enter, and exclude them from the current period's amount
    OutputBillable details and rule violation list
  2. 02
    What it doesCalculate each amount
    Standard appliedBilling quantity = accepted quantity − returned quantity. Amount = billing quantity × contract unit price, rounded to the nearest dollar. Show the formula for every item
    OutputItemized calculation details
  3. 03
    What it doesApply volume discounts by part number
    Standard appliedApply the discount only when the monthly cumulative quantity for the same part number reaches the threshold after deducting returns and excluding noncompliant shipments. Show formulas for the discount and tax so finance can verify them directly
    OutputPart-number subtotals, discounted total excluding tax, tax, and grand total
  4. 04
    What it doesSend to finance for confirmation
    Standard appliedFinance decides whether to first confirm the noncompliant item with the other party
    OutputSubmit the billing request only after finance confirms the calculation details
Human approval
Step 4 remains with finance. The AI Agent includes a formula for every amount calculated under the rules, so finance can verify it directly. The billing request is submitted only after finance confirms the calculation results.
Platform modules used
Skills

This task is different from invoice matching and document recognition and data entry. Invoice matching compares invoices with goods receipt details in the ERP. Document recognition and data entry enter document data into the system. This task calculates billing amounts according to rules. We recommend not assigning recognition, calculation, and approval to the model in one step. Separate them so each stage remains clear.

Screenshots show the Traditional Chinese interface.

01Upload Billing Rules and Shipment Details

EgentWrX conversation screen: A staff member uploads the billing rules and September shipment details. The instruction says to check the acceptance date and acceptance number for each item, deduct returns from the billing quantity, and show formulas for every amount, discount, and tax calculation.
  1. 1Upload the billing rules and September shipment details.
  2. 2Check the acceptance date and acceptance number for each item. List noncompliant items separately and exclude them from the current period.
  3. 3The billing quantity equals the accepted quantity minus the returned quantity.
  4. 4Show the formula for every amount, including the discount and tax formulas.

02Processing

EgentWrX processing screen: The AI Agent reads the billing rules and analyzes the shipment details. The expanded calculation process applies contract unit prices, includes only compliant shipments, and applies a discount only when the cumulative quantity for the same part number reaches the threshold.
  1. 1Read the rules and analyze the shipment details in 5 steps.
  2. 2Apply contract unit prices and round to the nearest dollar.
  3. 3Include only the 13 compliant items in the calculation. First exclude the item without an acceptance number and the item accepted in October.
  4. 4Apply the 98% rate only when the cumulative quantity for the same part number reaches 10,000 units.

03Part-Number Subtotals and Rule Violations

EgentWrX results screen: The cumulative quantities and discount decisions for three part numbers. Only one part number reaches the threshold exactly and receives the discount. Below, two noncompliant shipments are listed with the violated clauses and the recommended billing periods.
  1. 1The cumulative quantity is exactly 10,000 units. Under the rule's inclusive threshold, it qualifies for a discount of 570 dollars.
  2. 2After excluding the item without an acceptance number, the total is 9,900 units, so no discount applies.
  3. 3Under Clause 2, the shipment without an acceptance number cannot be billed. A person decides whether to confirm it with the customer first.
  4. 4Under Clause 1, the shipment accepted in October is included in October.

04Amount Settlement and Formulas

EgentWrX results screen: The discounted total excluding tax, business tax, and total including tax. The tax is calculated to a decimal value before rounding, with the formula shown. Two items requiring human attention appear at the end.
  1. 1The discounted total excluding tax is 65,985 dollars.
  2. 2The total including tax is 69,284 dollars.
  3. 3Calculate the business tax to a decimal value before rounding. The formula appears below the table.
  4. 4List the two items requiring human attention. A person decides whether to request the missing acceptance number.
03

Numbers

Estimated monthly time savings after routine adoption: 0.5 to 1 hour

0.5–1hoursEstimated monthly time savings for billing calculations after routine adoption

Source: An unnamed automotive parts manufacturer advised by Intellicon Solutions

04

FAQ

How is this different from invoice matching and document recognition and data entry?
Each task covers a different step. Invoice matching compares invoices with goods receipt details in the ERP. Document recognition and data entry enter document data into the system. This task calculates billing amounts according to established rules. The three tasks can run in sequence or be used separately.
Could the AI calculate the amount incorrectly?
Yes. That is why every amount includes a formula that finance can verify directly. If the rules are incorrect, the calculated amounts will also be incorrect. Finance must therefore confirm the billing rules first, and the billing request is submitted only after finance confirms the calculation details.
What if each customer has different billing terms?
Organize each customer's terms as rules in the AI SOP and apply the appropriate rules during calculation. If a situation is not covered by the rules, the AI Agent flags it for finance to decide. It does not apply the closest rule on its own.
30 minutes to map out which work to hand to AI first

Want every employee to have their own AI teammate?

A consultant will be in touch shortly.