post_quebec_invoice_compliance_check
Verifies GST/QST were calculated correctly per Revenu Quebec's current (non-compounded) formula, and flags whether a French invoice version is present per Charter of the French Language s.57/89/91. Pure arithmetic + text check; not legal or tax advice.
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": {
"subtotal": "<subtotal>",
"gst_amount": "<gst_amount>",
"qst_amount": "<qst_amount>"
},
"name": "post_quebec_invoice_compliance_check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| subtotal | Yes | Pre-tax subtotal in CAD. | |
| gst_amount | Yes | GST amount as shown on the invoice. | |
| qst_amount | Yes | QST amount as shown on the invoice. | |
| french_text | No | The invoice's French text, if any (optional -- its absence is itself flagged). | |
| english_text | No | The invoice's primary/other-language text (optional but needed for the language check). |