check_tax
Validate Japanese invoice registration numbers against NTA registry, determine source-withholding applicability, and compute withholding amount for AI/API payments. Ensures tax compliance in one call.
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 |
|---|---|---|---|
| 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. | |
| grossAmountJpy | Yes | Gross transaction amount in JPY, tax inclusive. |