{
  "$comment": "Machine-readable companion to https://valem.run/calculators/bulgaria/net-salary. Formula, inputs, outputs, engine-verified test vectors, cited sources and the re-runnable Valem ModelSpec behind the page.",
  "url": "https://valem.run/calculators/bulgaria/net-salary",
  "dataUrl": "https://valem.run/calculators/bulgaria/net-salary.json",
  "license": {
    "name": "CC BY 4.0",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "attribution": "Bulgaria чиста заплата model by Valem (https://valem.run/calculators/bulgaria/net-salary), 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/bulgaria/net-salary/verify",
  "country": "bulgaria",
  "countryName": "Bulgaria",
  "formula": "net-salary",
  "formulaName": "Чиста заплата",
  "title": "Калкулатор Чиста Заплата — Bulgaria net salary",
  "answer": "Your Bulgarian net salary is gross minus 13.78% employee insurance (on a capped base) and a flat 10% income tax.",
  "lang": "en",
  "currency": "EUR",
  "taxYear": "2026",
  "verification": {
    "claim": "internal-consistency",
    "statement": "The Valem engine reproduces this model's stated formula through 2 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": 2,
    "ratesAreIllustrative": false,
    "sourcesCheckedOn": "2026-08-02"
  },
  "sources": [
    {
      "label": "НАП",
      "url": "https://nra.bg",
      "checked": "2026-08-02"
    },
    {
      "label": "НОИ",
      "url": "https://www.nssi.bg",
      "checked": "2026-08-02"
    }
  ],
  "terminalOutput": "netMonthly",
  "inputs": [
    {
      "name": "grossMonthly",
      "type": "number",
      "label": "Брутна заплата / месец (EUR)",
      "format": "currency",
      "minimum": 0
    }
  ],
  "outputs": [
    {
      "name": "insBase",
      "type": "number",
      "formula": "grossMonthly < $const.insCeiling ? grossMonthly : $const.insCeiling"
    },
    {
      "name": "insurance",
      "type": "number",
      "label": "Осигуровки (13,78%)",
      "format": "currency",
      "formula": "$round(insBase * $const.insRate, 2)"
    },
    {
      "name": "taxBase",
      "type": "number",
      "formula": "$round(grossMonthly - insurance, 2)"
    },
    {
      "name": "tax",
      "type": "number",
      "label": "Данък (10%)",
      "format": "currency",
      "formula": "$round(taxBase * $const.taxRate, 2)"
    },
    {
      "name": "netMonthly",
      "type": "number",
      "label": "Нето / месец",
      "format": "currency",
      "formula": "$round(grossMonthly - insurance - tax, 2)"
    }
  ],
  "testCases": [
    {
      "description": "S1 1,300 EUR",
      "given": {
        "grossMonthly": 1300
      },
      "expect": {
        "insurance": 179.14,
        "tax": 112.09,
        "netMonthly": 1008.77
      }
    },
    {
      "description": "S3 3,000 EUR — insurance base capped",
      "given": {
        "grossMonthly": 3000
      },
      "expect": {
        "insBase": 2300,
        "insurance": 316.94,
        "netMonthly": 2414.75
      }
    }
  ],
  "spec": {
    "id": "net-salary-bulgaria",
    "version": "1.0.0",
    "schema": {
      "type": "object",
      "properties": {
        "grossMonthly": {
          "type": "number",
          "minimum": 0
        },
        "insBase": {
          "type": "number",
          "readOnly": true
        },
        "insurance": {
          "type": "number",
          "readOnly": true
        },
        "taxBase": {
          "type": "number",
          "readOnly": true
        },
        "tax": {
          "type": "number",
          "readOnly": true
        },
        "netMonthly": {
          "type": "number",
          "readOnly": true
        }
      }
    },
    "constants": {
      "insRate": 0.1378,
      "insCeiling": 2300,
      "taxRate": 0.1
    },
    "defaultValues": [
      {
        "path": "$",
        "expr": "{ 'grossMonthly': 1300 }"
      }
    ],
    "derivations": [
      {
        "path": "$.insBase",
        "expr": "grossMonthly < $const.insCeiling ? grossMonthly : $const.insCeiling"
      },
      {
        "path": "$.insurance",
        "expr": "$round(insBase * $const.insRate, 2)"
      },
      {
        "path": "$.taxBase",
        "expr": "$round(grossMonthly - insurance, 2)"
      },
      {
        "path": "$.tax",
        "expr": "$round(taxBase * $const.taxRate, 2)"
      },
      {
        "path": "$.netMonthly",
        "expr": "$round(grossMonthly - insurance - tax, 2)"
      }
    ],
    "constraints": [],
    "metaDerivations": [],
    "viewDefinition": {
      "renderer": "builtin",
      "defaultView": "main",
      "views": [
        {
          "id": "main",
          "label": "Чиста заплата",
          "layout": "vertical",
          "components": [
            {
              "id": "gross",
              "type": "numericField",
              "label": "Брутна заплата / месец (EUR)",
              "bind": "$.grossMonthly"
            },
            {
              "id": "tiles",
              "type": "group",
              "layout": "horizontal",
              "components": [
                {
                  "id": "netM",
                  "type": "statTile",
                  "label": "Нето / месец",
                  "bind": "$.netMonthly",
                  "format": "currency",
                  "currency": "EUR"
                }
              ]
            },
            {
              "id": "breakdown",
              "type": "keyValueList",
              "label": "Разбивка",
              "items": [
                {
                  "label": "Бруто",
                  "bind": "$.grossMonthly",
                  "format": "currency",
                  "currency": "EUR"
                },
                {
                  "label": "Осигуровки (13,78%)",
                  "bind": "$.insurance",
                  "format": "currency",
                  "currency": "EUR"
                },
                {
                  "label": "Данък (10%)",
                  "bind": "$.tax",
                  "format": "currency",
                  "currency": "EUR"
                },
                {
                  "label": "Нето",
                  "bind": "$.netMonthly",
                  "format": "currency",
                  "currency": "EUR"
                }
              ]
            },
            {
              "id": "note",
              "type": "staticText",
              "text": "'България 2026 (евро): осигуровки на служителя 13,78% върху таван от 2300 EUR (от 01.08.2026), после плосък данък 10%. Оценка, не данъчен съвет.'"
            },
            {
              "id": "sources",
              "type": "sourceList",
              "label": "Източници",
              "items": [
                {
                  "label": "НАП",
                  "url": "https://nra.bg",
                  "date": "2026-08-02"
                },
                {
                  "label": "НОИ",
                  "url": "https://www.nssi.bg",
                  "date": "2026-08-02"
                }
              ]
            }
          ]
        }
      ]
    },
    "tests": [
      {
        "description": "S1 1,300 EUR",
        "given": {
          "$.grossMonthly": 1300
        },
        "expect": {
          "$.insurance": 179.14,
          "$.tax": 112.09,
          "$.netMonthly": 1008.77
        }
      },
      {
        "description": "S3 3,000 EUR — insurance base capped",
        "given": {
          "$.grossMonthly": 3000
        },
        "expect": {
          "$.insBase": 2300,
          "$.insurance": 316.94,
          "$.netMonthly": 2414.75
        }
      }
    ]
  }
}
