agentshield_invoice
Check an invoice before sending or paying: net + VAT = gross, VAT rate, IBAN, VAT id, date, number. Optional registry=1 asks EU VIES. Returns ok and failed fields. Price 0.03 USDC. Paid with x402: an unpaid call returns the PaymentRequired challenge; send the signed payment in params._meta["x402/payment"] and call again.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"net": "<net>",
"gross": "<gross>"
},
"name": "agentshield_invoice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| net | Yes | Net amount | |
| vat | No | VAT amount | |
| date | No | Optional YYYY-MM-DD | |
| iban | No | Optional IBAN | |
| rate | No | Optional VAT percent | |
| gross | Yes | Gross amount | |
| vatid | No | Optional VAT id | |
| number | No | Optional invoice number | |
| country | No | Seller country code | |
| currency | No | Currency code | |
| registry | No | Set to 1 to also ask EU VIES for the VAT id |