---
title: "Name the countries whose e-invoicing duty reaches a draft"
description: "Other routes API"
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.certinvo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Name the countries whose e-invoicing duty reaches a draft

{/* Generated by apps/docs/scripts/generate.ts from contracts/api/openapi.yaml. Do not edit. */}
<div class="cvo-op">
<div class="cvo-op-main">

<div class="cvo-op-header">
<div class="cvo-op-path-row">
<span class="cvo-method" data-method="post">POST</span>
<code class="cvo-op-path-code">/v1/previews/duties</code>
</div>
</div>

Accepts one canonical JSON invoice, complete or not, as an invoice the company makes. Answers the countries whose invoicing duty, naming the rule set that validates it, the policy engine's decision requires for it (today France's). The decision reads the facts a check of it would declare: the company facts, the buyer card and the establishment the invoice follows. The create form shows a country's terms only for these. It also answers the strength of every rulebook a check of the draft would run, from the same decision: the create form marks what those rulebooks require before any check. It also answers `files`: the files the draft is made as when nobody chooses them, who the buyer is taken to be, and why. A German seller's invoice to a business or a consumer is made as the Factur-X PDF, and to a public buyer as XRechnung; a choice in Settings, on the buyer card or on the invoice wins. The files are planned as a check of the draft plans them: each moves up to the lowest level of its format that carries the invoice, so a draft with sub-lines is made as the ZUGFeRD EXTENDED PDF. `ticked` and `unticked` are the ticks on the form. Nothing is kept and no quota is used. A draft the engine cannot decide gets an empty list and no rulebooks.

## Query parameters

## Request body

`application/json`, required: object

## Response

A `200` answer carries these fields.

## Status codes

| Status | Meaning |
|---|---|
| `200` | The countries, as ISO 3166-1 alpha-2 codes, sorted. Empty when no such duty applies. |
| `400` | The body is not JSON (`invalid_json`), or `ticked` or `unticked` names a file Certinvo does not make (`invalid_operation`). |
| `401` | No usable credential was sent (`invalid_credentials`). |

</div>
<div class="cvo-op-aside">

</div>
</div>

Source: https://docs.certinvo.com/reference/api/other/name-the-countries-whose-e-invoicing-duty-reaches-a-draft/index.mdx
