TaxRate
Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
Un'aliquota fiscale applicata al momento dell'addebito all'utente di un servizio e che può essere impostata in base al commerciante o al servizio.
Rappresentazione JSON |
{
"microPercent": integer
} |
Campi |
microPercent |
integer
Un'aliquota fiscale in milionesimi dell'uno per cento, che fornisce effettivamente 6 decimali di precisione. Ad esempio, se l'aliquota fiscale è del 7,253%, questo campo deve essere impostato su 7253000. Se questo campo non viene configurato o viene impostato su 0, il prezzo totale addebitato a un utente per qualsiasi servizio fornito da questo commerciante corrisponde al prezzo esatto specificato da Service.price. Si presume che il prezzo del servizio sia esente o già comprensivo delle imposte applicabili. Le imposte non verranno mostrate all'utente come voce separata. Se questo campo è impostato su un valore diverso da zero, il prezzo totale addebitato a un utente per qualsiasi servizio fornito da questo commerciante includerà il prezzo del servizio più l'imposta valutata utilizzando l'aliquota fiscale fornita qui. Le frazioni dell'unità di valuta più piccola (ad esempio le frazioni di un centesimo) verranno arrotondate utilizzando l'arrotondamento al numero pari più vicino. Le imposte verranno mostrate all'utente come voce separata.
|
Salvo quando diversamente specificato, i contenuti di questa pagina sono concessi in base alla licenza Creative Commons Attribution 4.0, mentre gli esempi di codice sono concessi in base alla licenza Apache 2.0. Per ulteriori dettagli, consulta le norme del sito di Google Developers. Java è un marchio registrato di Oracle e/o delle sue consociate.
Ultimo aggiornamento 2025-07-25 UTC.
[null,null,["Ultimo aggiornamento 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. |"]]