check_tax
Checks Japanese tax compliance on a single transaction: validates T-number, determines withholding applicability, and computes net payable.
Instructions
Run a Japanese tax compliance check on a single transaction. No authentication required.
Performs three checks in one call:
Validates the qualified-invoice registration number (T-number) against the NTA registry.
Determines whether source-withholding (ζΊζ³εΎ΄ε) applies based on the service description.
If withholding applies, computes the withholding amount and net payable.
Intended for Japanese corporations that pay AI / API services and need to file withholding correctly under the qualified-invoice (γ€γ³γγ€γΉεΆεΊ¦) regime.
Returns: { invoice: { valid, name, ... }, withholding: { required, rate, amount, net } } Errors: invalid registrationNumber returns invoice.valid = false (not an exception).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| grossAmountJpy | Yes | Gross transaction amount in JPY, tax inclusive. | |
| registrationNumber | Yes | Qualified-invoice registration number issued by the Japanese NTA (e.g. "T1234567890123"). | |
| serviceDescription | Yes | Plain-text description of what was purchased. Used to classify whether source-withholding applies. |