{
  "$comment": "Machine-readable companion to https://valem.run/calculators/saudi-arabia/vat. Formula, inputs, outputs, engine-verified test vectors, cited sources and the re-runnable Valem ModelSpec behind the page.",
  "url": "https://valem.run/calculators/saudi-arabia/vat",
  "dataUrl": "https://valem.run/calculators/saudi-arabia/vat.json",
  "license": {
    "name": "CC BY 4.0",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "attribution": "Saudi Arabia vat model by Valem (https://valem.run/calculators/saudi-arabia/vat), CC BY 4.0.",
    "note": "Covers the model — the expression of each rule and the arrangement of the catalog. The rates and thresholds themselves are law and are not licensed by anyone; the cited sources are where they come from."
  },
  "verificationUrl": "https://valem.run/calculators/saudi-arabia/vat/verify",
  "country": "saudi-arabia",
  "countryName": "Saudi Arabia",
  "formula": "vat",
  "formulaName": "VAT",
  "title": "VAT Calculator Saudi Arabia 2026 — Add or Remove 15%",
  "answer": "Saudi VAT is 15%. Registration is mandatory once taxable supplies exceed SAR 375,000 over the preceding twelve months, voluntary from SAR 187,500, and unavailable below that.",
  "lang": "en",
  "currency": "SAR",
  "taxYear": "2026",
  "verification": {
    "claim": "internal-consistency",
    "statement": "The Valem engine reproduces this model's stated formula through 6 self-test cases (below, and re-runnable against the spec). That asserts internal consistency, NOT that the formula matches current law — the cited sources are the evidence for that, and carry the date each was last checked.",
    "selfTestCases": 6,
    "ratesAreIllustrative": false,
    "sourcesCheckedOn": "2026-10-05"
  },
  "sources": [
    {
      "label": "ZATCA - Guideline on Professional Services under VAT Provisions, 3rd version May 2026 (15%)",
      "url": "https://zatca.gov.sa/en/HelpCenter/guidelines/Documents/Guideline-on-Professional-Services-under-VAT-Provisions.pdf",
      "checked": "2026-10-05"
    },
    {
      "label": "ZATCA - same guideline, SAR 375,000 mandatory / SAR 187,500 voluntary thresholds",
      "url": "https://zatca.gov.sa/en/HelpCenter/guidelines/Documents/Guideline-on-Professional-Services-under-VAT-Provisions.pdf",
      "checked": "2026-10-05"
    }
  ],
  "terminalOutput": "registrationStatus",
  "headlineOutput": "vatAmount",
  "inputs": [
    {
      "name": "amount",
      "type": "number",
      "label": "Amount",
      "minimum": 0
    },
    {
      "name": "direction",
      "type": "string",
      "label": "Direction",
      "enum": [
        "add",
        "remove"
      ]
    },
    {
      "name": "annualTurnover",
      "type": "number",
      "label": "Taxable turnover, last 12 months",
      "minimum": 0
    },
    {
      "name": "reverseCharge",
      "type": "boolean",
      "label": "B2B reverse charge applies"
    }
  ],
  "outputs": [
    {
      "name": "rate",
      "type": "number",
      "formula": "$const.standardRate"
    },
    {
      "name": "effectiveRate",
      "type": "number",
      "formula": "reverseCharge ? 0 : rate"
    },
    {
      "name": "netAmount",
      "type": "number",
      "formula": "direction = 'remove' ? $round(amount / (1 + effectiveRate), 2) : $round(amount, 2)"
    },
    {
      "name": "vatAmount",
      "type": "number",
      "formula": "$round(netAmount * effectiveRate, 2)"
    },
    {
      "name": "grossAmount",
      "type": "number",
      "formula": "$round(netAmount + vatAmount, 2)"
    },
    {
      "name": "mustRegister",
      "type": "boolean",
      "formula": "annualTurnover > $const.registrationThreshold"
    },
    {
      "name": "registrationStatus",
      "type": "string",
      "formula": "annualTurnover > $const.registrationThreshold ? 'required' : annualTurnover > $const.registrationThresholdVoluntary ? 'optional' : 'not available'"
    }
  ],
  "testCases": [
    {
      "description": "S1 100.00 SAR net at 15%",
      "given": {
        "amount": 100,
        "direction": "add",
        "reverseCharge": false,
        "annualTurnover": 0
      },
      "expect": {
        "vatAmount": 15,
        "grossAmount": 115,
        "netAmount": 100
      }
    },
    {
      "description": "S2 115.00 SAR gross back to net",
      "given": {
        "amount": 115,
        "direction": "remove",
        "reverseCharge": false,
        "annualTurnover": 0
      },
      "expect": {
        "netAmount": 100,
        "vatAmount": 15
      }
    },
    {
      "description": "S3 reverse charge: the supplier charges no VAT",
      "given": {
        "amount": 100,
        "direction": "add",
        "reverseCharge": true,
        "annualTurnover": 0
      },
      "expect": {
        "vatAmount": 0,
        "grossAmount": 100
      }
    },
    {
      "description": "S4 above SAR 375,000: registration is required",
      "given": {
        "amount": 100,
        "direction": "add",
        "reverseCharge": false,
        "annualTurnover": 500000
      },
      "expect": {
        "mustRegister": true,
        "registrationStatus": "required"
      }
    },
    {
      "description": "S5 between the two figures: voluntary registration",
      "given": {
        "amount": 100,
        "direction": "add",
        "reverseCharge": false,
        "annualTurnover": 250000
      },
      "expect": {
        "mustRegister": false,
        "registrationStatus": "optional"
      }
    },
    {
      "description": "S6 below SAR 187,500: registration is not available",
      "given": {
        "amount": 100,
        "direction": "add",
        "reverseCharge": false,
        "annualTurnover": 120000
      },
      "expect": {
        "mustRegister": false,
        "registrationStatus": "not available"
      }
    }
  ],
  "spec": {
    "id": "vat-saudi-arabia",
    "version": "1.0.0",
    "schema": {
      "type": "object",
      "properties": {
        "amount": {
          "type": "number",
          "minimum": 0
        },
        "direction": {
          "type": "string",
          "enum": [
            "add",
            "remove"
          ]
        },
        "annualTurnover": {
          "type": "number",
          "minimum": 0
        },
        "reverseCharge": {
          "type": "boolean"
        },
        "rate": {
          "type": "number",
          "readOnly": true
        },
        "effectiveRate": {
          "type": "number",
          "readOnly": true
        },
        "netAmount": {
          "type": "number",
          "readOnly": true
        },
        "vatAmount": {
          "type": "number",
          "readOnly": true
        },
        "grossAmount": {
          "type": "number",
          "readOnly": true
        },
        "mustRegister": {
          "type": "boolean",
          "readOnly": true
        },
        "registrationStatus": {
          "type": "string",
          "readOnly": true
        }
      }
    },
    "constants": {
      "standardRate": 0.15,
      "registrationThreshold": 375000,
      "registrationThresholdVoluntary": 187500
    },
    "defaultValues": [
      {
        "path": "$",
        "expr": "{ 'amount': 100, 'direction': 'add', 'reverseCharge': false, 'annualTurnover': 0 }"
      }
    ],
    "derivations": [
      {
        "path": "$.rate",
        "expr": "$const.standardRate"
      },
      {
        "path": "$.effectiveRate",
        "expr": "reverseCharge ? 0 : rate"
      },
      {
        "path": "$.netAmount",
        "expr": "direction = 'remove' ? $round(amount / (1 + effectiveRate), 2) : $round(amount, 2)"
      },
      {
        "path": "$.vatAmount",
        "expr": "$round(netAmount * effectiveRate, 2)"
      },
      {
        "path": "$.grossAmount",
        "expr": "$round(netAmount + vatAmount, 2)"
      },
      {
        "path": "$.mustRegister",
        "expr": "annualTurnover > $const.registrationThreshold"
      },
      {
        "path": "$.registrationStatus",
        "expr": "annualTurnover > $const.registrationThreshold ? 'required' : annualTurnover > $const.registrationThresholdVoluntary ? 'optional' : 'not available'"
      }
    ],
    "constraints": [],
    "viewDefinition": {
      "renderer": "builtin",
      "defaultView": "main",
      "views": [
        {
          "id": "main",
          "label": "VAT",
          "layout": "vertical",
          "components": [
            {
              "id": "note",
              "type": "staticText",
              "text": "One rate of 15%, three times the UAE's despite both being GCC states that introduced VAT together: Saudi Arabia tripled it from 5% in July 2020 and the UAE did not follow. Like the UAE there are TWO registration figures - mandatory above SAR 375,000 of taxable supplies, voluntary from SAR 187,500, and no registration at all below that - so this page reports a status rather than a yes/no. One difference worth noting: the voluntary test can be met by taxable EXPENSES as well as supplies, which lets a business that is spending before it sells register and reclaim its input tax."
            },
            {
              "id": "inputs",
              "type": "fieldSet",
              "label": "Your figures",
              "components": [
                {
                  "id": "amount",
                  "type": "numericField",
                  "label": "Amount",
                  "bind": "$.amount",
                  "helperText": "Net amount when adding VAT, gross amount when removing it."
                },
                {
                  "id": "direction",
                  "type": "selectField",
                  "label": "Direction",
                  "bind": "$.direction",
                  "options": [
                    {
                      "value": "add",
                      "label": "Add VAT (net → gross)"
                    },
                    {
                      "value": "remove",
                      "label": "Remove VAT (gross → net)"
                    }
                  ]
                },
                {
                  "id": "reverseCharge",
                  "type": "checkboxField",
                  "label": "B2B reverse charge applies",
                  "bind": "$.reverseCharge",
                  "helperText": "The customer accounts for the VAT, so you charge none."
                },
                {
                  "id": "annualTurnover",
                  "type": "numericField",
                  "label": "Taxable turnover, last 12 months",
                  "bind": "$.annualTurnover",
                  "helperText": "Taxable supplies over the PRECEDING twelve months, which is what ZATCA measures - not a calendar year, so the test can trip in any month."
                }
              ]
            },
            {
              "id": "sep",
              "type": "separatorLine"
            },
            {
              "id": "vatTile",
              "type": "statTile",
              "label": "VAT",
              "value": "$.vatAmount"
            },
            {
              "id": "netTile",
              "type": "statTile",
              "label": "Net",
              "value": "$.netAmount"
            },
            {
              "id": "grossTile",
              "type": "statTile",
              "label": "Gross",
              "value": "$.grossAmount"
            },
            {
              "id": "breakdown",
              "type": "keyValueList",
              "label": "Detail",
              "items": [
                {
                  "label": "Rate applied",
                  "value": "$.effectiveRate"
                },
                {
                  "label": "Statutory rate",
                  "value": "$.rate"
                },
                {
                  "label": "Registration",
                  "value": "$.registrationStatus"
                }
              ]
            },
            {
              "id": "sources",
              "type": "sourceList",
              "label": "Sources",
              "layers": 2,
              "items": [
                {
                  "label": "ZATCA - Guideline on Professional Services under VAT Provisions, 3rd version May 2026 (15%)",
                  "url": "https://zatca.gov.sa/en/HelpCenter/guidelines/Documents/Guideline-on-Professional-Services-under-VAT-Provisions.pdf",
                  "date": "2026-10-05",
                  "covers": [
                    "standardRate"
                  ]
                },
                {
                  "label": "ZATCA - same guideline, SAR 375,000 mandatory / SAR 187,500 voluntary thresholds",
                  "url": "https://zatca.gov.sa/en/HelpCenter/guidelines/Documents/Guideline-on-Professional-Services-under-VAT-Provisions.pdf",
                  "date": "2026-10-05",
                  "covers": [
                    "registrationThreshold",
                    "registrationThresholdVoluntary"
                  ]
                }
              ]
            }
          ]
        }
      ]
    },
    "tests": [
      {
        "description": "S1 100.00 SAR net at 15%",
        "given": {
          "$.amount": 100,
          "$.direction": "add",
          "$.reverseCharge": false,
          "$.annualTurnover": 0
        },
        "expect": {
          "$.vatAmount": 15,
          "$.grossAmount": 115,
          "$.netAmount": 100
        }
      },
      {
        "description": "S2 115.00 SAR gross back to net",
        "given": {
          "$.amount": 115,
          "$.direction": "remove",
          "$.reverseCharge": false,
          "$.annualTurnover": 0
        },
        "expect": {
          "$.netAmount": 100,
          "$.vatAmount": 15
        }
      },
      {
        "description": "S3 reverse charge: the supplier charges no VAT",
        "given": {
          "$.amount": 100,
          "$.direction": "add",
          "$.reverseCharge": true,
          "$.annualTurnover": 0
        },
        "expect": {
          "$.vatAmount": 0,
          "$.grossAmount": 100
        }
      },
      {
        "description": "S4 above SAR 375,000: registration is required",
        "given": {
          "$.amount": 100,
          "$.direction": "add",
          "$.reverseCharge": false,
          "$.annualTurnover": 500000
        },
        "expect": {
          "$.mustRegister": true,
          "$.registrationStatus": "required"
        }
      },
      {
        "description": "S5 between the two figures: voluntary registration",
        "given": {
          "$.amount": 100,
          "$.direction": "add",
          "$.reverseCharge": false,
          "$.annualTurnover": 250000
        },
        "expect": {
          "$.mustRegister": false,
          "$.registrationStatus": "optional"
        }
      },
      {
        "description": "S6 below SAR 187,500: registration is not available",
        "given": {
          "$.amount": 100,
          "$.direction": "add",
          "$.reverseCharge": false,
          "$.annualTurnover": 120000
        },
        "expect": {
          "$.mustRegister": false,
          "$.registrationStatus": "not available"
        }
      }
    ]
  }
}
