{
  "account": {
    "status": 200,
    "body": {
      "status": "ready",
      "org_id": "org_mock",
      "plan": "Mock only",
      "usage": {
        "used": 1,
        "limit": 100,
        "remaining": 99,
        "reset": "2026-10-01T00:00:00Z"
      },
      "capabilities": {
        "format": {
          "supported": true,
          "credits": 1,
          "countries": ["SE"]
        },
        "registry": {
          "supported": true,
          "credits": 1,
          "countries": ["SE"]
        },
        "lookup": {
          "supported": true,
          "credits": 1,
          "countries": ["SE"]
        }
      }
    }
  },
  "inactive": {
    "status": 200,
    "body": {
      "status": "not_connected",
      "org_id": "org_mock"
    }
  },
  "valid": {
    "status": 200,
    "body": {
      "result": {
        "mode": "registry",
        "vat_number": "SE123456789001",
        "country_code": "SE",
        "format_valid": true,
        "checksum_checked": false,
        "registration_status": "valid",
        "company_name": "Mock Company AB",
        "address": "Mock address",
        "provider": "VIES",
        "checked_at": "2026-09-19T12:00:00Z"
      },
      "charged_credits": 1,
      "replayed": false,
      "account": {
        "status": "ready",
        "org_id": "org_mock",
        "plan": "Mock only",
        "usage": {
          "used": 1,
          "limit": 100,
          "remaining": 99,
          "reset": "2026-10-01T00:00:00Z"
        },
        "capabilities": {
          "format": {
            "supported": true,
            "credits": 1,
            "countries": ["SE"]
          },
          "registry": {
            "supported": true,
            "credits": 1,
            "countries": ["SE"]
          },
          "lookup": {
            "supported": true,
            "credits": 1,
            "countries": ["SE"]
          }
        }
      }
    }
  },
  "invalid": {
    "status": 200,
    "body": {
      "result": {
        "mode": "registry",
        "vat_number": "SE123456789001",
        "country_code": "SE",
        "format_valid": true,
        "checksum_checked": false,
        "registration_status": "invalid",
        "company_name": null,
        "address": null,
        "provider": "VIES",
        "checked_at": "2026-09-19T12:00:00Z"
      },
      "charged_credits": 1,
      "replayed": false,
      "account": {
        "status": "ready",
        "org_id": "org_mock",
        "plan": "Mock only",
        "usage": {
          "used": 1,
          "limit": 100,
          "remaining": 99,
          "reset": "2026-10-01T00:00:00Z"
        },
        "capabilities": {
          "format": {
            "supported": true,
            "credits": 1,
            "countries": ["SE"]
          },
          "registry": {
            "supported": true,
            "credits": 1,
            "countries": ["SE"]
          },
          "lookup": {
            "supported": true,
            "credits": 1,
            "countries": ["SE"]
          }
        }
      }
    }
  },
  "no-company-details": {
    "status": 200,
    "body": {
      "result": {
        "mode": "registry",
        "vat_number": "SE123456789001",
        "country_code": "SE",
        "format_valid": true,
        "checksum_checked": false,
        "registration_status": "valid",
        "company_name": null,
        "address": null,
        "provider": "VIES",
        "checked_at": "2026-09-19T12:00:00Z"
      },
      "charged_credits": 1,
      "replayed": false,
      "account": {
        "status": "ready",
        "org_id": "org_mock",
        "plan": "Mock only",
        "usage": {
          "used": 1,
          "limit": 100,
          "remaining": 99,
          "reset": "2026-10-01T00:00:00Z"
        },
        "capabilities": {
          "format": {
            "supported": true,
            "credits": 1,
            "countries": ["SE"]
          },
          "registry": {
            "supported": true,
            "credits": 1,
            "countries": ["SE"]
          },
          "lookup": {
            "supported": true,
            "credits": 1,
            "countries": ["SE"]
          }
        }
      }
    }
  },
  "replay": {
    "status": 200,
    "body": {
      "result": {
        "mode": "registry",
        "vat_number": "SE123456789001",
        "country_code": "SE",
        "format_valid": true,
        "checksum_checked": false,
        "registration_status": "valid",
        "company_name": "Mock Company AB",
        "address": "Mock address",
        "provider": "VIES",
        "checked_at": "2026-09-19T12:00:00Z"
      },
      "charged_credits": 0,
      "replayed": true,
      "account": {
        "status": "ready",
        "org_id": "org_mock",
        "plan": "Mock only",
        "usage": {
          "used": 1,
          "limit": 100,
          "remaining": 99,
          "reset": "2026-10-01T00:00:00Z"
        },
        "capabilities": {
          "format": {
            "supported": true,
            "credits": 1,
            "countries": ["SE"]
          },
          "registry": {
            "supported": true,
            "credits": 1,
            "countries": ["SE"]
          },
          "lookup": {
            "supported": true,
            "credits": 1,
            "countries": ["SE"]
          }
        }
      }
    }
  },
  "no-credits": {
    "status": 402,
    "body": {
      "error": {
        "code": "credits_exhausted",
        "message": "Your company has no credits available for this check."
      }
    }
  },
  "unsupported": {
    "status": 422,
    "body": {
      "error": {
        "code": "unsupported_country",
        "message": "Registry checks are not available for this country. Try a format check."
      }
    }
  },
  "unavailable": {
    "status": 503,
    "body": {
      "error": {
        "code": "registry_unavailable",
        "message": "The tax registry is unavailable. No credits were charged."
      }
    }
  },
  "invalid-key": {
    "status": 401,
    "body": {
      "error": {
        "code": "invalid_api_key",
        "message": "The API key is invalid, expired or revoked."
      }
    }
  },
  "malformed": {
    "status": 422,
    "body": {
      "error": {
        "code": "invalid_request",
        "message": "Check the request fields and headers."
      },
      "detail": [
        {
          "loc": ["body", "vat_number"],
          "msg": "String should have at least 1 character",
          "type": "string_too_short",
          "input": ""
        }
      ]
    }
  }
}
