[
  {
    "why": "a JSON number instead of an exact decimal",
    "set": {
      "net_amount": {
        "value": -14.81,
        "currency": "EUR",
        "scale": 2
      }
    }
  },
  {
    "why": "malformed currency",
    "set": {
      "net_amount": {
        "currency": "Euros",
        "scale": 8,
        "value": "-14.81481468"
      }
    }
  },
  {
    "why": "scale disagrees with the decimal",
    "set": {
      "net_amount": {
        "currency": "EUR",
        "scale": 2,
        "value": "-14.81481468"
      }
    }
  },
  {
    "why": "invalid calendar date",
    "set": {
      "service_period": {
        "from": "2026-07-01",
        "to": "2026-02-30",
        "zone": "Europe/Berlin"
      }
    }
  },
  {
    "why": "reversed period",
    "set": {
      "service_period": {
        "from": "2026-07-01",
        "to": "2026-01-01",
        "zone": "Europe/Berlin"
      }
    }
  },
  {
    "why": "percent instead of fraction",
    "set": {
      "tax_rate": "19"
    }
  },
  {
    "why": "reverse charge carries supplier VAT",
    "set": {
      "tax_category": "AE"
    }
  },
  {
    "why": "blank source",
    "set": {
      "source_reference": " "
    }
  },
  {
    "why": "unknown top-level member",
    "set": {
      "unknown": true
    }
  },
  {
    "why": "missing evidence digest",
    "drop": [
      "rating_evidence_digest"
    ]
  },
  {
    "why": "an exempt line without an exemption reason",
    "set": {
      "tax_category": "E",
      "tax_rate": "0"
    }
  },
  {
    "why": "an exemption reason on a standard-rated line",
    "set": {
      "tax_exemption": {
        "code": "VATEX-EU-132"
      }
    }
  },
  {
    "why": "an empty exemption",
    "set": {
      "tax_category": "AE",
      "tax_rate": "0",
      "tax_exemption": {}
    }
  },
  {
    "why": "a quantity without a unit price",
    "drop": [
      "unit_price"
    ]
  },
  {
    "why": "a negative unit price",
    "set": {
      "unit_price": {
        "currency": "EUR",
        "value": "-0.12",
        "scale": 2
      }
    }
  },
  {
    "why": "a unit that is not a UN/ECE code",
    "set": {
      "quantity": {
        "value": "-123.456789",
        "unit": "kWh"
      }
    }
  },
  {
    "why": "a unit price whose scale disagrees",
    "set": {
      "unit_price": {
        "currency": "EUR",
        "value": "0.12",
        "scale": 4
      }
    }
  },
  {
    "why": "a correction that cites a blank reference",
    "set": {
      "corrects": " "
    }
  }
]
