# Reconcile Invoice Totals Before Payment

Extracted invoice amounts may not add up to the stated total. Compare them with the expected total and flag differences outside your tolerance.

## Install

```bash
npx skillstore add requiredtruth/igneos-documents-invoice-total-audit
```

## Metadata

- Status: approved
- Slug: requiredtruth-igneos-documents-invoice-total-audit
- Skillstore revision: r1
- Version status: missing
- Tree hash: 7ae2d5a505d300503ff04b497f969108a9aa1ce1f44e06b1d33d27370e4a87f2
- Author: requiredtruth
- GitHub username: requiredtruth
- Repository: https://github.com/requiredtruth/igneos.systems/tree/269e35454f027590f9a407361acedd6815297764/skills/igneos-documents-invoice-total-audit
- Ref: a7e1b6770e0f18ed6d6658871407599a881aaf79
- Supported tools: Claude, Codex, Claude Code
- Audit status: complete
- Agent install advisory: allowed
- Manual install advisory: allowed
- Artifact signature: available
- Audit attestation: unavailable
- Human verification: not\_verified
- Risk factors: external\_commands, network
- Quality score: 63
- Public page: https://skillstore.pages.dev/skills/requiredtruth-igneos-documents-invoice-total-audit
- Manifest: https://skillstore.pages.dev/api/skills/requiredtruth-igneos-documents-invoice-total-audit/manifest

## Capabilities

- Calculate the expected total from the subtotal, tax, shipping, and discount.
- Report the difference between the expected total and the stated total.
- Return a match result using an optional tolerance that defaults to 0.01.
- Submit extracted amounts through the Igneos Systems HTTPS API or MCP tool.
- Document how to request an x402 quote and retain the payment receipt after a successful call.

## Use Cases

- Check a Vendor Invoice Before Review: Compare extracted amounts against the stated total and flag any discrepancy for review.
- Review Small Rounding Differences: Apply the team's tolerance to distinguish minor rounding differences from discrepancies that need investigation.
- Test an Invoice Extraction Workflow: Use sample amounts to check how a workflow handles both matching and mismatching totals.

## Prompt Templates

### Check One Invoice

```
Reconcile a subtotal of 100, tax of 8, shipping of 5, discount of 10, and stated total of 103. Use the default tolerance. Ask before sending the values or signing payment.
```

### Apply a Custom Tolerance

```
Use a tolerance of 0.05 to check these extracted amounts: [subtotal], [tax], [shipping], [discount], and [stated total]. Ask before sending the values or signing payment. Report the expected total, difference, and match result.
```

### Validate Extracted Fields Before Review

```
Review these extracted fields: [amounts]. Ask me to confirm any missing or ambiguous values. Once authorized to send the completed amounts, request a quote and ask before signing payment. Report discrepancies without approving the invoice.
```

### Review a Paid MCP Audit

```
After I approve sharing [amounts], request a quote using the Igneos Systems MCP tool. Show the quoted asset, recipient, amount, expiry, and resource. Obtain my approval before signing. Return the audit result and keep the receipt. Stop if payment status is uncertain.
```

## Limitations

- Requires extracted amounts and does not read invoice PDFs or images.
- Checks arithmetic only. It does not verify vendors, tax rules, or payment eligibility.
- Sends numeric invoice values to Igneos Systems and does not provide an offline mode.
- Requires a compatible x402 client and USDC for a paid call. The documented price is 0.005 USDC per call.

## Best Practices

- Verify all extracted amounts and use a single currency before requesting an audit.
- Share only the required numeric fields and obtain authorization before sending them to the service.
- Check the live quote against your approved spending limit and keep the receipt after a successful call.

## Anti Patterns

- Do not treat a matching total as authorization to pay the invoice.
- Do not guess missing amounts or send full invoices to the calculator.
- Do not sign a second payment when the first attempt has an uncertain outcome.

## Security Audit

- Audited at: 2026-12-05T10:02:18.51\+00:00
- Summary: The backticks are Markdown, and the calculator instructions do not perform system reconnaissance. The workflow sends invoice amounts to Igneos Systems through its API or MCP service and can trigger a signed USDC payment. It checks an approved spending limit but does not explicitly require consent to share invoice amounts or to sign when existing authorization is unclear.

## Stats

- Views: 0
- Downloads: 0
- Favorites: 0
- Popularity score: 0
