Taxes and Regulations

Some countries require extra fields in your payment requests to comply with local tax law or payment regulation. This page lists those requirements by country, with the fields to send and the values they accept.

CountryRequirementFields
UruguayDeclare the IVA rate when IVA applies. Apply a tax benefit law when the transaction qualifies.rates, regional_regulation_code
SpainAuthenticate the cardholder under PSD2, or request an SCA exemption.sca_exemption (optional)

Uruguay

Uruguay requires you to declare the Value Added Tax (IVA, Impuesto al Valor Agregado) on every transaction where it applies. Some transactions also qualify for a tax benefit under Uruguayan law.

You send both in the data.additional_data object of the Create a payment request:
JSON
{ "data": { "additional_data": { "rates": [ { "key": "iva", "value": 22 } ], "regional_regulation_code": [ { "code": "17934", "invoice": "846352" } ] } } }

The example shows only the Uruguay fields. Send the rest of the payment request as usual.

Send the IVA Rate

Send the rates array on every transaction in Uruguay that carries IVA. Each item in the array declares one tax rate.
The API doesn't reject a request without rates. Getnet then processes the transaction with an IVA rate of 0. An explicit "value": 0 is different: the API rejects it, so leave rates out instead.
FieldTypeRequiredDescription
ratesArrayYes, when IVA appliesTax rates that apply to the transaction.
rates[].keyStringYesTax identifier. Send exactly iva, in lowercase. Getnet ignores any other key, including IVA.
rates[].valueNumberYesTax rate as a percentage, greater than 0. Send 22, not 0.22. Decimals are accepted.
Set value to the IVA category that applies to the transaction:
IVA categoryRateWhat to send
Standard22%"value": 22
Reduced10%"value": 10
Exempt0%An empty rates array, or no rates field.
information icon
Important: Don't send "value": 0 for an exempt transaction. The API rejects it with HTTP 400.
You can also send other rates when they apply, such as a promotional rate. Getnet doesn't restrict value to the standard and reduced rates.

Apply a Tax Benefit Law

Send regional_regulation_code when a transaction qualifies for a tax benefit or special regulatory treatment under Uruguayan law. Getnet reads the law code and applies the matching discount or treatment during processing.

Omit the field when the transaction doesn't qualify. Send it only for transactions in Uruguay.

FieldTypeRequiredDescription
regional_regulation_codeArrayNoTax benefit law that applies to the transaction. Send one item.
regional_regulation_code[].codeStringYesLaw code. See the supported codes in the next table.
regional_regulation_code[].invoiceStringNoFiscal document tied to the transaction. See Link an invoice below.

Getnet supports the following law codes:

CodeApplies to
17934Credit and debit cards
19210Debit cards only

Getnet ignores any other code and applies no discount.

Getnet doesn't check the code against the card type. Send 19210 only when the payment uses a debit card.
The invoice field ties the payment to an invoice, receipt, or internal fiscal document. It gives you traceability between the payment and the document behind the tax benefit.
  • When you send invoice, Getnet stores the value exactly as you send it.
  • When you omit it, Getnet fills it with the first 9 characters of your order_id. If order_id is shorter, Getnet uses the whole value.
information icon
Important: An invoice that Getnet generates is for internal traceability only. It has no fiscal validity, no legal effect, and no link to any Uruguayan tax authority. It doesn't replace any fiscal declaration you must file.
The invoice value must follow these rules:
RuleDetail
LengthUp to 9 characters.
FormatAlphanumeric. Numeric values are recommended.
QuantityOne invoice per transaction.
ContentA real invoice, receipt, or internal unique identifier. Don't send fictitious or generic values.

Spain

Spain applies the EU Revised Payment Services Directive (PSD2). PSD2 requires Strong Customer Authentication (SCA) for most online card payments in the European Economic Area (EEA). Its SCA requirements have applied since 14 September 2019.

In Global API, you meet SCA with 3D Secure (3DS) authentication. Every card payment in Spain must go through 3DS, unless you request an exemption and the issuer accepts it. To set up 3DS, see Create a 3DS-authenticated payment.

Meet SCA Requirements

SCA verifies the cardholder with at least two independent factors, each from a different category:

FactorDescriptionExamples
KnowledgeSomething the cardholder knowsPassword, PIN
PossessionSomething the cardholder hasMobile device, hardware token
InherenceSomething the cardholder isFingerprint, facial recognition

This is two-factor authentication (2FA). Because the factors are independent, a single compromised factor isn't enough to authorize a payment.

SCA applies when the cardholder:

  • Initiates an electronic payment, such as an online card payment or a bank transfer.
  • Accesses their payment account online.
  • Takes any remote action that carries a risk of payment fraud or abuse.

Request an SCA Exemption

PSD2 defines exemptions that skip cardholder authentication when the fraud risk is low. Exemptions reduce friction at checkout for low-risk payments.

Send the exemption in the data.payment.sca_exemption field of the Create a payment request. The field is optional. Omit it when you authenticate the payment with 3DS.
JSON
{ "data": { "payment": { "sca_exemption": "TRA" } } }

The field accepts the following values. Send them in uppercase, exactly as listed:

ValueExemption
LWVLow value
TRATransaction risk analysis
CORCorporate payment
MITCharge on a stored card
ATDAdditional transaction data
Any other value, including a lowercase one such as tra, returns HTTP 400 with error PAYMENTS-066. See Errors.
information icon
Important: The card issuer decides whether to accept an exemption. Even when you request one, the issuer can still require SCA based on its own risk assessment.

Transaction risk analysis (TRA)

A payment can skip SCA when both the payment service provider (PSP) and the issuer keep their fraud rates under the following thresholds. Both must also run real-time risk analysis.

Maximum fraud rateMaximum payment amount
0.13%€100
0.06%€250
0.01%€500

If either the PSP or the issuer exceeds these rates, the issuer can reject the exemption and require SCA.

TRA is usually preferred over the low-value exemption. It covers higher amounts and has no limit on consecutive uses.

Low value (LWV)

Payments of €30 or less can skip SCA. The issuer requires SCA again when either limit is reached:

  • 5 consecutive exempted payments without authentication.
  • More than €100 in cumulative exempted payments.

The issuer tracks these limits and can request SCA before they're reached.

Corporate payment (COR)

Payments with corporate cards, made through channels that consumers can't access, can skip SCA. Acceptance depends on the issuer's policy.

Charge on a stored card (MIT)

The MIT exemption covers a charge you start without the cardholder present, such as a charge on a stored card. These charges are technically outside SCA scope, but issuers usually handle them as an exemption.

A charge qualifies when both conditions are met:

  • The first transaction, when you stored the card, was authenticated with SCA.
  • The cardholder agreed to future charges. This agreement is called a mandate.

Recurring payments for a fixed amount and frequency need SCA only on the first payment. Later charges are exempt when they match the original terms and the cardholder consented to them.

As with every exemption, the issuer can reject the charge and request SCA.

Recognize Other Exemptions

Some payments can skip SCA without a value in sca_exemption:
  • Trusted beneficiaries: The cardholder can add you to a trusted list kept by their bank. The issuer can then skip SCA on your payments. This depends on issuer support and the cardholder's opt-in.
  • Mail order and telephone order (MO/TO): Payments where you collect card details by mail or phone are outside SCA scope. You must flag these payments as MO/TO.