till_check_invoice
Check an invoice against the chain: settled (paid on-chain, field-for-field) / overdue / issued / not_observable (settles on a rail BIII cannot read — ask the merchant's books, never assume unpaid). If settled, returns the receipt for the registry.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | ||
| rail | No | optional — the SAME rail the invoice was created with. This tool rebuilds the invoice from these arguments, so a rail not passed here is a rail BIII cannot know about, and an off-chain invoice would be reported "overdue, unpaid" about a customer who has paid. | |
| number | No | ||
| dueDateMs | No | ||
| totalMicro | Yes | the invoice totalMicro | |
| merchantName | No | ||
| lookbackBlocks | No | default 43200 (~1 day on Base); invoices are slower than tills |