# HALOWERK EU Commerce Rules – GDPR Lawful Basis Determination

> HALOWERK EU Commerce Rules – GDPR Lawful Basis Determination is a paid API for AI agents from commerce-rules.halowerk.com, paid per call via x402, $0.003/call, status unknown (last checked 2026-11-23).

Determines the applicable GDPR lawful basis for processing personal data given declared commerce facts, returning applicability, exceptions, required actions, effective law, and review triggers for EU e-commerce transactions.

## Facts

- Endpoint: POST https://commerce-rules.halowerk.com/v1/eu/gdpr-lawful-basis?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-23
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/halowerk-eu-commerce-rules-gdpr-lawful-basis-determination-907566df
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_wHWGQkK19_BcqzgeSRQY7

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability halowerk-eu-commerce-rules-gdpr-lawful-basis-determination-907566df -d '<json body>'
```

Example prompt: My shop in Germany (DE) sells digital services directly to consumers in France (FR). I'm processing their email and payment data. The effective date is 2025-07-01. What GDPR lawful basis applies, what actions do I need to take, and are there any exceptions or review triggers I should know about?

## When to prefer this

Use this endpoint when you need a jurisdiction-specific, citation-backed GDPR lawful basis determination for a concrete EU commerce transaction — particularly when you need to document the applicable GDPR article, identify exceptions, and get actionable compliance steps rather than generic legal summaries. It is especially valuable for e-commerce platforms, marketplace sellers, and compliance automation agents operating across multiple EU member states, as it ties the legal output to declared commerce facts (product type, channel, customer type, cross-border volumes) and flags future review triggers. Prefer it over generic legal lookup tools when you need structured, machine-readable compliance output tied to effective dates.

## Known failure modes

- Invalid or missing effective_date format (must be YYYY-MM-DD) causes validation error
- seller_country or customer_country not in supported EU member state enum returns error
- Unsupported transaction_type or customer_type enum value causes rejection
- Overly broad declared_fields array (>200 items) triggers maxItems error
- Ambiguous or unrecognizable product_category string may result in a generic/fallback determination
- Network timeout or service unavailability returns HTTP 5xx

## How this service works

Determine gdpr lawful-basis documentation from declared commerce facts, the effective date and the cited primary EU source. The response identifies applicability, exceptions, required actions, effective law and review triggers rather than claiming blanket compliance.

## Output

The API returns structured GDPR lawful basis documentation including: whether the identified lawful basis is applicable for the declared commerce facts, any exceptions to the standard rule, concrete required actions the seller must take, the effective EU primary law source (e.g. specific GDPR article), and review triggers that may change the determination in future (such as regulatory updates or threshold crossings).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "flags": {
   "type": "object",
   "default": {},
   "maxProperties": 100,
   "additionalProperties": {
    "type": "boolean"
   }
  },
  "is_platform": {
   "type": "boolean",
   "default": false
  },
  "customer_type": {
   "enum": [
    "consumer",
    "business",
    "unknown"
   ],
   "type": "string",
   "default": "consumer"
  },
  "is_electrical": {
   "type": "boolean",
   "default": false
  },
  "sales_channel": {
   "enum": [
    "own_shop",
    "marketplace",
    "social_commerce",
    "other"
   ],
   "type": "string",
   "default": "own_shop"
  },
  "effective_date": {
   "type": "string",
   "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
   "description": "Date on which the commercial decision is evaluated (YYYY-MM-DD)."
  },
  "seller_country": {
   "enum": [
    "AT",
    "BE",
    "BG",
    "HR",
    "CY",
    "CZ",
    "DK",
    "EE",
    "FI",
    "FR",
    "DE",
    "GR",
    "HU",
    "IE",
    "IT",
    "LV",
    "LT",
    "LU",
    "MT",
    "NL",
    "PL",
    "PT",
    "RO",
    "SK",
    "SI",
    "ES",
    "SE"
   ],
   "type": "string"
  },
  "declared_fields": {
   "type": "array",
   "items": {
    "type": "string",
    "maxLength": 100,
    "minLength": 1
   },
   "default": [],
   "maxItems": 200,
   "uniqueItems": true
  },
  "contains_battery": {
   "type": "boolean",
   "default": false
  },
  "customer_country": {
   "enum": [
    "AT",
    "BE",
    "BG",
    "HR",
    "CY",
    "CZ",
    "DK",
    "EE",
    "FI",
    "FR",
    "DE",
    "GR",
    "HU",
    "IE",
    "IT",
    "LV",
    "LT",
    "LU",
    "MT",
    "NL",
    "PL",
    "PT",
    "RO",
    "SK",
    "SI",
    "ES",
    "SE"
   ],
   "type": "string"
  },
  "product_category": {
   "type": "string",
   "default": "general_consumer_goods",
   "maxLength": 120,
   "minLength": 2
  },
  "transaction_type": {
   "enum": [
    "goods",
    "digital_content",
    "digital_service",
    "service",
    "marketplace_offer"
   ],
   "type": "string",
   "default": "goods"
  },
  "product_value_eur": {
   "type": "number",
   "default": 49.9,
   "maximum": 100000000,
   "minimum": 0
  },
  "is_digital_element": {
   "type": "boolean",
   "default": false
  },
  "is_microenterprise": {
   "type": "boolean",
   "default": false
  },
  "agreed_delivery_days": {
   "type": "integer",
   "default": 30,
   "maximum": 3650,
   "minimum": 0
  },
  "imported_from_outside_eu": {
   "type": "boolean",
   "default": false
  },
  "annual_cross_bord
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/halowerk-eu-commerce-rules-gdpr-lawful-basis-determination-907566df/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from commerce-rules.halowerk.com](https://www.zero.xyz/host/commerce-rules.halowerk.com/llms.txt)
