# HALOWERK EU VAT Invoice Mandatory Fields

> HALOWERK EU VAT Invoice Mandatory Fields 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 which fields are mandatory on a VAT invoice under EU law based on declared commerce facts, returning applicability, exceptions, required actions, and primary EU legal citations.

## Facts

- Endpoint: POST https://commerce-rules.halowerk.com/v1/eu/vat-invoice-mandatory-fields?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-vat-invoice-mandatory-fields-e9bdb439
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_aX-mzMYYIdKgAGcF2vq1M

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-vat-invoice-mandatory-fields-e9bdb439 -d '<json body>'
```

Example prompt: What VAT invoice fields are legally mandatory under EU law for a 250 EUR sale of digital content from a German seller to a French business customer via our own shop, evaluated as of 2025-01-01? Our declared invoice fields are invoice number, date, seller name, VAT number, and total amount.

## When to prefer this

Use this endpoint when you need a legally-grounded, citation-backed determination of EU VAT invoice mandatory fields for a specific transaction scenario rather than generic compliance guidance. It is particularly valuable for e-commerce platforms, marketplace operators, and accounting agents that need to verify invoice field completeness against EU VAT Directive rules, with applicability scoped to the declared effective date, seller and customer countries, and transaction characteristics. Prefer this over generic tax APIs when you need explicit EU primary law references and exception handling rather than a blanket compliance check.

## Known failure modes

- Missing required fields (seller_country, customer_country, effective_date) result in validation errors
- Unsupported country codes outside the EU27 enum cause rejection
- Invalid effective_date format (non-YYYY-MM-DD) triggers a parse error
- declared_fields array exceeding 200 items is rejected
- product_value_eur exceeding 100,000,000 is rejected
- Ambiguous transaction_type or customer_type may yield a conservative 'unknown' applicability result

## How this service works

Determine vat invoice mandatory fields 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

A structured response indicating which VAT invoice fields are mandatory under applicable EU law for the described transaction, whether the transaction is in scope, any exceptions or simplified invoicing rules that apply, required corrective actions if declared fields are insufficient, the specific EU legal provisions (Directive articles) governing the determination, and conditions that would trigger a review of the determination.

## 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-vat-invoice-mandatory-fields-e9bdb439/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)
