TaxRate
Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Tarif pajak yang diterapkan saat menagih pengguna untuk layanan, dan yang dapat ditetapkan per penjual atau per layanan.
Representasi JSON |
{
"microPercent": integer
} |
Kolom |
microPercent |
integer
Tarif pajak dalam sepersejuta persen, yang pada dasarnya memberikan 6 desimal presisi. Misalnya, jika tarif pajak adalah 7,253%, kolom ini harus ditetapkan ke 7253000. Jika kolom ini tidak ditetapkan atau ditetapkan ke 0, total harga yang ditagihkan kepada pengguna untuk layanan apa pun yang disediakan oleh penjual ini adalah harga persis yang ditentukan oleh Service.price. Harga layanan diasumsikan bebas dari atau sudah termasuk pajak yang berlaku. Pajak tidak akan ditampilkan kepada pengguna sebagai item baris terpisah. Jika kolom ini ditetapkan ke nilai selain nol, total harga yang ditagihkan kepada pengguna untuk layanan apa pun yang disediakan oleh penjual ini akan mencakup harga layanan ditambah pajak yang dihitung menggunakan tarif pajak yang diberikan di sini. Pecahan dari satuan mata uang terkecil (misalnya, pecahan dari satu sen) akan dibulatkan menggunakan pembulatan genap terdekat. Pajak akan ditampilkan kepada pengguna sebagai item baris terpisah.
|
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2025-07-25 UTC.
[null,null,["Terakhir diperbarui pada 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. |"]]