TaxRate
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
サービスの料金をユーザーに請求する際に適用される税率。販売者単位またはサービス単位で設定できます。
JSON 表現 |
{
"microPercent": integer
} |
フィールド |
microPercent |
integer
税率(1% を 100 万分の 1 とする単位)。実際には小数点以下 6 桁を表すことになります。たとえば、税率が 7.253% の場合は、このフィールドは 7253000 に設定します。 このフィールドを未設定か 0 に設定した場合、この販売者が提供するサービスに対してユーザーに請求される合計金額は、Service.price で指定された価格になります。サービスの価格は、税金が免除されているか、適用される税金がすでに含まれているとみなされます。税金が別項目でユーザーに表示されることはありません。 このフィールドがゼロ以外の値に設定されている場合、その販売者が提供するサービスの合計価格には、サービスの価格と税金(ここで指定された税率を基に算出)が含まれます。最小通貨単位の端数(1 セントの端数など)は、最近接偶数に丸められます。税金は別項目でユーザーに表示されます。
|
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-07-25 UTC。
[null,null,["最終更新日 2025-07-25 UTC。"],[[["\u003cp\u003eTax rate is represented in millionths of a percent, allowing for six decimal places of precision (e.g., 7.253% is represented as 7253000).\u003c/p\u003e\n"],["\u003cp\u003eIf \u003ccode\u003emicroPercent\u003c/code\u003e is 0 or not set, the service price is considered tax-inclusive or exempt, and no separate tax is charged or displayed.\u003c/p\u003e\n"],["\u003cp\u003eWhen \u003ccode\u003emicroPercent\u003c/code\u003e is any non-zero value, the total price includes the service price plus calculated tax, displayed as a separate line item to the user.\u003c/p\u003e\n"],["\u003cp\u003eTaxes are calculated using the provided \u003ccode\u003emicroPercent\u003c/code\u003e and rounded to the nearest even value in the smallest currency unit.\u003c/p\u003e\n"]]],[],null,["# TaxRate\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\nA tax rate applied when charging the user for a service, and which can be set on either a per merchant, or per service basis.\n\n| JSON representation |\n|-------------------------------------|\n| ``` { \"microPercent\": integer } ``` |\n\n| Fields ||\n|------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `micro``Percent` | `integer` A tax rate in millionths of one percent, effectively giving 6 decimals of precision. For example, if the tax rate is 7.253%, this field should be set to 7253000. If this field is left unset or set to 0, the total price charged to a user for any service provided by this merchant is the exact price specified by Service.price. The service price is assumed to be exempt from or already inclusive of applicable taxes. Taxes will not be shown to the user as a separate line item. If this field is set to any nonzero value, the total price charged to a user for any service provided by this merchant will include the service price plus the tax assessed using the tax rate provided here. Fractions of the smallest currency unit (for example, fractions of one cent) will be rounded using nearest even rounding. Taxes will be shown to the user as a separate line item. |"]]