Indonesia

Read about the fields that are available in Indonesian invoices.

To support Indonesian tax, a new field is added to the invoice generated by the service.

From April 1, 2025, Indonesian tax rates will be calculated as follows:

  • A 12% VAT rate is applied to transactions related to digital goods (on non-luxury goods/services) to all customers (both B2C and B2B) who are based in Indonesia.
  • The tax base is adjusted to 11/12 of the selling price. This means the 12% rate is calculated on 11/12 of the selling price. This is only for tax purposes.

The Indonesian invoices now show the following:

  • 12% VAT rate
  • The TAX BASE (11/12) column that shows the adjusted tax base.
  • The total price is the selling price minus any discounts plus the tax amount.

Output fields

Invoice

The following field is added to invoices for Indonesia:

FieldDescription
TAX BASE (11/12)This field shows the revenue base for Indonesian invoices. It is derived from the transaction_lines.tax_component.revenue_base field in the API response.

API

The following fields are used to specify this information in the API response:

FieldDescription
transaction_lines.tax_components.tax_rateThis field shows the tax rate for the transaction line's tax component. It shows 12% for Indonesian transactions.
transaction_line.tax_rateThis field shows the tax rate for the transaction line. It shows 11% for Indonesian transactions. This is the adjusted rate that accounts for the tax base being 11/12.
transaction_lines.tax_components.calculated_tax_rateThis field shows the rate used for calculation and is 11% for Indonesian transactions. This also shows the adjusted rate that accounts for the tax base being 11/12.

The following snippet from a response shows the calculation:

        "tax_components": [
          {
            "revenue": 200,
            "revenue_base": 183.33,
            "percent_taxable": 0.916666666667,
            "calculated_tax_rate_used": true,
            "tax_name": "Standard VAT rate",
            "tax_amount": 22,
            "tax_rate": 12,
            "additional_currencies": {
              "invoice": {
                "revenue_base": 3018528.45,
                "tax_amount": 362230
              }
            },
            "calculated_tax_rate": 11
          }
        ],

Example invoice

The following is an example Indonesian invoice:

Example Indonesian Invoice

Example Indonesian Invoice

Example response

The following is an example API response for Indonesia:

{
  "transaction": {
    "confirm_timestamp": "2025-04-02T09:42:14Z",
    "fully_informative": false,
    "deducted_tax_amount": 0,
    "create_timestamp": "2025-04-02T09:42:14Z",
    "currency_code": "USD",
    "invoice_image_url": "{invoice_url}",
    "key": "TlvUAAEoF8bgKD6DkZhtn7QZ2M5s",
    "tax_number_service": "self-declaration",
    "invoice_address": {},
    "update_timestamp": 1743586934417,
    "tax_supported": true,
    "tax_entity_id": -270001,
    "invoice_capable": true,
    "transaction_lines": [
      {
        "product_type": "default",
        "deducted_tax_amount": 0,
        "deducted_tax_rate": 0,
        "tax_number_service": "self-declaration",
        "tax_supported": true,
        "unit_price": 100,
        "quantity": 1,
        "tax_region": "ID",
        "tax_components": [
          {
            "revenue": 100,
            "revenue_base": 91.67,
            "percent_taxable": 0.916666666667,
            "calculated_tax_rate_used": true,
            "tax_name": "Standard VAT rate",
            "tax_amount": 11,
            "tax_rate": 12,
            "additional_currencies": {
              "invoice": {
                "revenue_base": 1509346.55,
                "tax_amount": 181115
              }
            },
            "calculated_tax_rate": 11
          }
        ],
        "line_key": "2zco-yFUroxPQZPx",
        "tax_name": "Standard VAT rate",
        "amount": 100,
        "custom_id": "1743586919223",
        "line_num": 1,
        "tax_amount": 11,
        "tax_rate": 11,
        "additional_currencies": {
          "invoice": {
            "fx_rate": 16465,
            "fx_source": "source_indonesia",
            "amount": 1646500,
            "currency_code": "IDR",
            "total_amount": 1827615,
            "tax_amount": 181115
          }
        },
        "total_amount": 111,
        "tax_entity_name": "Indonesia",
        "tax_deducted": false,
        "tax_country_code": "ID"
      },
      {
        "product_type": "default",
        "deducted_tax_amount": 0,
        "deducted_tax_rate": 0,
        "tax_number_service": "self-declaration",
        "tax_supported": true,
        "unit_price": 200,
        "quantity": 1,
        "tax_region": "ID",
        "tax_components": [
          {
            "revenue": 200,
            "revenue_base": 183.33,
            "percent_taxable": 0.916666666667,
            "calculated_tax_rate_used": true,
            "tax_name": "Standard VAT rate",
            "tax_amount": 22,
            "tax_rate": 12,
            "additional_currencies": {
              "invoice": {
                "revenue_base": 3018528.45,
                "tax_amount": 362230
              }
            },
            "calculated_tax_rate": 11
          }
        ],
        "line_key": "NNqzvy0gMK4VQPwt",
        "tax_name": "Standard VAT rate",
        "amount": 200,
        "custom_id": "1743586928952",
        "line_num": 2,
        "tax_amount": 22,
        "tax_rate": 11,
        "additional_currencies": {
          "invoice": {
            "fx_rate": 16465,
            "fx_source": "source_indonesia",
            "amount": 3293000,
            "currency_code": "IDR",
            "total_amount": 3655230,
            "tax_amount": 362230
          }
        },
        "total_amount": 222,
        "tax_entity_name": "Indonesia",
        "tax_deducted": false,
        "tax_country_code": "ID"
      }
    ],
    "status": "C",
    "custom_fields": [],
    "shipment_country_data": {},
    "tax_region": "ID",
    "tax_components": [
      {
        "tax_name": "Standard VAT rate",
        "tax_rate": 12,
        "calculated_tax_rate": 11,
        "tax_amount": 33,
        "revenue_base": 275,
        "revenue": 300,
        "additional_currencies": {
          "invoice": {
            "revenue_base": 4527875,
            "tax_amount": 543345
          }
        }
      }
    ],
    "force_country_code": "ID",
    "countries": {
      "by_billing": {
        "code_long": "IDN",
        "codenum": "360",
        "currency": [
          "IDR"
        ],
        "tax_supported": true,
        "name": "Indonesia",
        "ccn3": "360",
        "tax_region": "ID",
        "cca3": "IDN",
        "callingCode": [
          "62"
        ],
        "tax_number_country_code": "ID",
        "code": "ID",
        "cca2": "ID"
      },
      "detected": {
        "code_long": "IDN",
        "codenum": "360",
        "currency": [
          "IDR"
        ],
        "tax_supported": true,
        "name": "Indonesia",
        "ccn3": "360",
        "tax_region": "ID",
        "cca3": "IDN",
        "callingCode": [
          "62"
        ],
        "tax_number_country_code": "ID",
        "code": "ID",
        "cca2": "ID"
      },
      "forced": {
        "code_long": "IDN",
        "codenum": "360",
        "currency": [
          "IDR"
        ],
        "tax_supported": true,
        "name": "Indonesia",
        "ccn3": "360",
        "tax_region": "ID",
        "cca3": "IDN",
        "callingCode": [
          "62"
        ],
        "tax_number_country_code": "ID",
        "code": "ID",
        "cca2": "ID"
      }
    },
    "tax_country_codes": "ID",
    "tax_engine": "taxamo",
    "product_classes": "D",
    "order_date": "2025-04-02T00:00:00Z",
    "kind": "id-b2c",
    "amount": 300,
    "buyer_ip": "",
    "billing_country_code": "ID",
    "tax_amount": 33,
    "additional_currencies": {
      "invoice": {
        "currency_code": "IDR",
        "fx_rate": 16465,
        "amount": 4939500,
        "tax_amount": 543345,
        "total_amount": 5482845,
        "fx_source": "source_indonesia"
      }
    },
    "invoice_place": "Default place for test mode",
    "total_amount": 333,
    "tax_location_id": -2700001,
    "tax_entity_name": "Indonesia",
    "evidence": {
      "by_ip": {
        "evidence_value": "",
        "evidence_type": "by-ip"
      },
      "by_billing": {
        "evidence_value": "ID",
        "used": true,
        "resolved_country_code": "ID",
        "evidence_type": "by-billing"
      },
      "forced": {
        "evidence_value": "ID",
        "used": true,
        "resolved_country_code": "ID",
        "evidence_type": "forced"
      }
    },
    "manual": false,
    "tax_timezone": "GMT",
    "merchant_id": 18949,
    "country_name": "Indonesia",
    "test": true,
    "tax_deducted": false,
    "tax_country_code": "ID"
  },
  "tax_required_fields": [],
  "storage_required_fields": []
}