invoice-examples 0.1.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- invoice_examples-0.1.0/.github/dependabot.yml +12 -0
- invoice_examples-0.1.0/.github/workflows/ci.yml +39 -0
- invoice_examples-0.1.0/.github/workflows/links.yml +20 -0
- invoice_examples-0.1.0/.github/workflows/release.yml +33 -0
- invoice_examples-0.1.0/.gitignore +6 -0
- invoice_examples-0.1.0/.python-version +1 -0
- invoice_examples-0.1.0/.vale/styles/Lintvoice/Claims.yml +8 -0
- invoice_examples-0.1.0/.vale/styles/Lintvoice/Terms.yml +8 -0
- invoice_examples-0.1.0/.vale.ini +10 -0
- invoice_examples-0.1.0/COVERAGE.md +176 -0
- invoice_examples-0.1.0/LICENSE +21 -0
- invoice_examples-0.1.0/PKG-INFO +96 -0
- invoice_examples-0.1.0/README.md +76 -0
- invoice_examples-0.1.0/examples/LICENSE +121 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-CO-15.pdf +238 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-CO-15.xml +165 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-01-BT-25.pdf +244 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-01-BT-25.xml +171 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-01.pdf +238 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-01.xml +165 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-02-BT-25.pdf +244 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-02-BT-25.xml +171 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-02.pdf +238 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-02.xml +165 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-03-BT-26.pdf +244 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-03-BT-26.xml +171 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-03-BT-7.pdf +240 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-03-BT-7.xml +167 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-03-BT-72.pdf +238 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-03-BT-72.xml +165 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-03-BT-73.pdf +246 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-03-BT-73.xml +173 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-03-BT-74.pdf +246 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-03-BT-74.xml +173 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-03-BT-9.pdf +238 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-03-BT-9.xml +165 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-03.pdf +238 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-03.xml +165 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-04.pdf +238 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-04.xml +165 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-05-AAB.pdf +234 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-05-AAB.xml +161 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-05-PMD.pdf +234 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-05-PMD.xml +161 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-05-PMT.pdf +234 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-05-PMT.xml +161 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-06-AAB.pdf +242 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-06-AAB.xml +169 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-06-PMD.pdf +242 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-06-PMD.xml +169 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-06-TXD.pdf +246 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-06-TXD.xml +173 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-06.pdf +242 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-06.xml +169 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-08.pdf +235 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-08.xml +162 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-09-buyer.pdf +238 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-09-buyer.xml +165 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-09-payee.pdf +245 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-09-payee.xml +172 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-09-ship-to.pdf +242 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-09-ship-to.xml +169 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-09.pdf +238 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-09.xml +165 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-10.pdf +234 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-10.xml +161 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-11.pdf +238 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-11.xml +165 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-12.pdf +235 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-12.xml +162 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-13.pdf +235 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-13.xml +162 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-15-allowance.pdf +260 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-15-allowance.xml +187 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-15.pdf +212 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-15.xml +139 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-16-allowance.pdf +260 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-16-allowance.xml +187 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-16.pdf +212 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-16.xml +139 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-17.pdf +243 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-17.xml +170 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-18.pdf +248 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-18.xml +175 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-20.pdf +242 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-20.xml +169 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-21.pdf +242 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-21.xml +169 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-22.pdf +242 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-22.xml +169 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-23-buyer.pdf +238 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-23-buyer.xml +165 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-23.pdf +238 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-23.xml +165 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-24-buyer.pdf +238 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-24-buyer.xml +165 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-24.pdf +238 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-24.xml +165 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-25-buyer.pdf +238 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-25-buyer.xml +165 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-25.pdf +238 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-25.xml +165 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-26-buyer.pdf +238 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-26-buyer.xml +165 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-26.pdf +238 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-26.xml +165 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-27.pdf +242 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-27.xml +169 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-29-AFL.pdf +243 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-29-AFL.xml +170 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-29-AVV.pdf +243 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-29-AVV.xml +170 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-29.pdf +248 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-29.xml +175 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-31.pdf +246 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-31.xml +173 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-32-GLOBALID.pdf +238 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-32-GLOBALID.xml +165 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-32.pdf +237 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-32.xml +164 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-CO-03.pdf +238 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-CO-03.xml +165 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-CO-04.pdf +238 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-CO-04.xml +165 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-CO-05.pdf +238 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-CO-05.xml +165 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-CO-07.pdf +238 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-CO-07.xml +165 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-CO-08.pdf +238 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-CO-08.xml +165 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-CO-09-BT-9.pdf +236 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-CO-09-BT-9.xml +163 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-CO-09.pdf +238 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-CO-09.xml +165 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-CO-10-BT-29-2.pdf +239 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-CO-10-BT-29-2.xml +166 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-CO-10-BT-46-1.pdf +238 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-CO-10-BT-46-1.xml +165 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-CO-10-BT-46-2.pdf +239 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-CO-10-BT-46-2.xml +166 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-CO-10-BT-60-1.pdf +245 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-CO-10-BT-60-1.xml +172 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-CO-10-BT-60-2.pdf +246 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-CO-10-BT-60-2.xml +173 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-CO-10-BT-71-1.pdf +242 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-CO-10-BT-71-1.xml +169 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-CO-10-BT-71-2.pdf +243 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-CO-10-BT-71-2.xml +170 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-CO-10.pdf +238 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-CO-10.xml +165 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-CO-12.pdf +238 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-CO-12.xml +165 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-DEC-01-BT-106.pdf +238 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-DEC-01-BT-106.xml +165 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-DEC-01-BT-107.pdf +252 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-DEC-01-BT-107.xml +179 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-DEC-01-BT-108.pdf +252 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-DEC-01-BT-108.xml +179 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-DEC-01-BT-109.pdf +238 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-DEC-01-BT-109.xml +165 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-DEC-01-BT-110.pdf +238 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-DEC-01-BT-110.xml +165 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-DEC-01-BT-113.pdf +239 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-DEC-01-BT-113.xml +166 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-DEC-01-BT-114.pdf +239 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-DEC-01-BT-114.xml +166 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-DEC-01-BT-116.pdf +238 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-DEC-01-BT-116.xml +165 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-DEC-01-BT-117.pdf +238 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-DEC-01-BT-117.xml +165 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-DEC-01-BT-131.pdf +238 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-DEC-01-BT-131.xml +165 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-DEC-01-BT-136.pdf +246 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-DEC-01-BT-136.xml +173 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-DEC-01-BT-137.pdf +247 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-DEC-01-BT-137.xml +174 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-DEC-01-BT-92.pdf +252 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-DEC-01-BT-92.xml +179 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-DEC-01-BT-93.pdf +254 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-DEC-01-BT-93.xml +181 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-DEC-01.pdf +238 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-DEC-01.xml +165 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-DEC-02-BT-149.pdf +239 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-DEC-02-BT-149.xml +166 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-DEC-02.pdf +212 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-DEC-02.xml +139 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-DEC-03-BT-147.pdf +247 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-DEC-03-BT-147.xml +174 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-DEC-03-BT-148.pdf +247 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-DEC-03-BT-148.xml +174 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-DEC-03.pdf +212 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-DEC-03.xml +139 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-DEC-04-allowance.pdf +252 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-DEC-04-allowance.xml +179 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-DEC-04.pdf +212 -0
- invoice_examples-0.1.0/examples/fr/invalid/BR-FR-DEC-04.xml +139 -0
- invoice_examples-0.1.0/examples/fr/manifest.json +1521 -0
- invoice_examples-0.1.0/examples/fr/valid.pdf +238 -0
- invoice_examples-0.1.0/examples/fr/valid.xml +165 -0
- invoice_examples-0.1.0/lychee.toml +4 -0
- invoice_examples-0.1.0/pyproject.toml +55 -0
- invoice_examples-0.1.0/scripts/coverage.py +74 -0
- invoice_examples-0.1.0/src/invoice_examples/__init__.py +3 -0
- invoice_examples-0.1.0/src/invoice_examples/__main__.py +5 -0
- invoice_examples-0.1.0/src/invoice_examples/cii.py +278 -0
- invoice_examples-0.1.0/src/invoice_examples/cli.py +115 -0
- invoice_examples-0.1.0/src/invoice_examples/pdf.py +23 -0
- invoice_examples-0.1.0/src/invoice_examples/targets/__init__.py +5 -0
- invoice_examples-0.1.0/src/invoice_examples/targets/fr.py +1072 -0
- invoice_examples-0.1.0/tests/conftest.py +29 -0
- invoice_examples-0.1.0/tests/officialrules.py +79 -0
- invoice_examples-0.1.0/tests/test_cli.py +78 -0
- invoice_examples-0.1.0/tests/test_fr.py +31 -0
- invoice_examples-0.1.0/tests/test_wording.py +27 -0
- invoice_examples-0.1.0/uv.lock +399 -0
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
version: 2
|
|
2
|
+
# Weekly version updates after a 7-day cooldown (never adopt a same-day release).
|
|
3
|
+
# Security updates are not delayed by the cooldown.
|
|
4
|
+
updates:
|
|
5
|
+
- package-ecosystem: github-actions
|
|
6
|
+
directory: /
|
|
7
|
+
schedule: { interval: weekly }
|
|
8
|
+
cooldown: { default-days: 7 }
|
|
9
|
+
- package-ecosystem: uv
|
|
10
|
+
directory: /
|
|
11
|
+
schedule: { interval: weekly }
|
|
12
|
+
cooldown: { default-days: 7 }
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
name: ci
|
|
2
|
+
on: [push, pull_request]
|
|
3
|
+
# Actions are pinned to commit SHAs (a tag can be moved); the comment gives the version.
|
|
4
|
+
|
|
5
|
+
permissions:
|
|
6
|
+
contents: read
|
|
7
|
+
|
|
8
|
+
jobs:
|
|
9
|
+
checks:
|
|
10
|
+
# Lint, format, workflow security, known vulnerabilities (locked and lowest allowed versions)
|
|
11
|
+
runs-on: ubuntu-latest
|
|
12
|
+
steps:
|
|
13
|
+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
14
|
+
with: { persist-credentials: false }
|
|
15
|
+
- uses: astral-sh/setup-uv@68559e99cc807c1eb7e9238fd43a15bba460eec2 # v10.3.3
|
|
16
|
+
- run: uvx ruff@0.17.2 check .
|
|
17
|
+
- run: uvx ruff@0.17.2 format --check .
|
|
18
|
+
- run: uvx zizmor@1.31.1 --offline .github/workflows/
|
|
19
|
+
- name: Wording (Vale) - we help check, we never certify
|
|
20
|
+
run: docker run --rm -v "$PWD:/docs" -w /docs jdkato/vale@sha256:f5a09410093936d4919d868120786da9789e2652ac321c66a895403eca020ae4 README.md # v3.24.0
|
|
21
|
+
- name: Known vulnerabilities in the locked dependencies
|
|
22
|
+
run: |
|
|
23
|
+
uv export --frozen --no-emit-project --no-hashes --all-groups --no-emit-package invoice-examples -o "$RUNNER_TEMP/locked.txt"
|
|
24
|
+
uvx pip-audit@2.10.1 --no-deps --disable-pip -r "$RUNNER_TEMP/locked.txt"
|
|
25
|
+
- name: Known vulnerabilities in the lowest versions our floors allow
|
|
26
|
+
run: |
|
|
27
|
+
uv pip compile pyproject.toml --resolution lowest-direct --quiet --no-header -o "$RUNNER_TEMP/lowest.txt"
|
|
28
|
+
uvx pip-audit@2.10.1 --no-deps --disable-pip -r "$RUNNER_TEMP/lowest.txt"
|
|
29
|
+
|
|
30
|
+
test:
|
|
31
|
+
strategy:
|
|
32
|
+
matrix:
|
|
33
|
+
python: ["3.10", "3.13"]
|
|
34
|
+
runs-on: ubuntu-latest
|
|
35
|
+
steps:
|
|
36
|
+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
37
|
+
with: { persist-credentials: false }
|
|
38
|
+
- uses: astral-sh/setup-uv@68559e99cc807c1eb7e9238fd43a15bba460eec2 # v10.3.3
|
|
39
|
+
- run: uv run --python ${{ matrix.python }} pytest -q
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
name: links
|
|
2
|
+
# External links rot: a weekly check rather than a gate on every push.
|
|
3
|
+
on:
|
|
4
|
+
schedule:
|
|
5
|
+
- cron: "17 6 * * 1"
|
|
6
|
+
workflow_dispatch:
|
|
7
|
+
|
|
8
|
+
permissions:
|
|
9
|
+
contents: read
|
|
10
|
+
|
|
11
|
+
jobs:
|
|
12
|
+
lychee:
|
|
13
|
+
runs-on: ubuntu-latest
|
|
14
|
+
steps:
|
|
15
|
+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
16
|
+
with: { persist-credentials: false }
|
|
17
|
+
- name: Links
|
|
18
|
+
env:
|
|
19
|
+
GITHUB_TOKEN: ${{ github.token }} # lychee's GitHub requests, without the anonymous rate limit
|
|
20
|
+
run: docker run --rm -e GITHUB_TOKEN -v "$PWD:/w" -w /w lycheeverse/lychee@sha256:e2d19e57cf6ab037026f20b8e449a1f30d9d7f81eef4194763aab2eab20bd28d --config lychee.toml README.md # 0.24.2
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
name: release
|
|
2
|
+
# A tag vX.Y.Z publishes that version to PyPI with trusted publishing: no token is stored anywhere.
|
|
3
|
+
# PyPI side, once: a trusted publisher for owner lintvoice, repo invoice-examples, workflow release.yml, environment pypi.
|
|
4
|
+
on:
|
|
5
|
+
push:
|
|
6
|
+
tags: ["v*"]
|
|
7
|
+
# Actions are pinned to commit SHAs (a tag can be moved); the comment gives the version.
|
|
8
|
+
|
|
9
|
+
permissions:
|
|
10
|
+
contents: read
|
|
11
|
+
|
|
12
|
+
jobs:
|
|
13
|
+
pypi:
|
|
14
|
+
runs-on: ubuntu-latest
|
|
15
|
+
environment: pypi
|
|
16
|
+
permissions:
|
|
17
|
+
contents: write # the GitHub Release (second channel)
|
|
18
|
+
id-token: write # PyPI trusted publishing
|
|
19
|
+
steps:
|
|
20
|
+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
21
|
+
with: { persist-credentials: false }
|
|
22
|
+
- uses: astral-sh/setup-uv@68559e99cc807c1eb7e9238fd43a15bba460eec2 # v10.3.3
|
|
23
|
+
- name: The tag matches the version in pyproject.toml
|
|
24
|
+
run: test "v$(python3 -c "import tomllib; print(tomllib.load(open('pyproject.toml', 'rb'))['project']['version'])")" = "$GITHUB_REF_NAME"
|
|
25
|
+
- run: uv run pytest -q
|
|
26
|
+
- run: uv build
|
|
27
|
+
- uses: pypa/gh-action-pypi-publish@7245906fb61fa33a13554f9d5fb856fe61758086 # v1.14.3
|
|
28
|
+
- name: GitHub Release with the same files (a second channel if PyPI is out of reach)
|
|
29
|
+
env:
|
|
30
|
+
GH_TOKEN: ${{ github.token }}
|
|
31
|
+
run: |
|
|
32
|
+
gh release create "$GITHUB_REF_NAME" dist/*.whl dist/*.tar.gz --repo "$GITHUB_REPOSITORY" --verify-tag --title "$GITHUB_REF_NAME" \
|
|
33
|
+
--notes "The same files as https://pypi.org/project/invoice-examples/${GITHUB_REF_NAME#v}/ (wheel and sdist)."
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
3.13
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# Wording checks: lintvoice checks e-invoices against the official rules, it never certifies them; public terms are
|
|
2
|
+
# "valid" and "invalid" examples. Vale skips code spans and blocks, so official identifiers such as
|
|
3
|
+
# urn:cen.eu:en16931:2017#compliant#... stay. Run: see the checks job in .github/workflows/ci.yml.
|
|
4
|
+
StylesPath = .vale/styles
|
|
5
|
+
MinAlertLevel = error
|
|
6
|
+
|
|
7
|
+
[*.md]
|
|
8
|
+
BasedOnStyles = Lintvoice
|
|
9
|
+
# Sentences that state the rule itself, or say what we do not do.
|
|
10
|
+
TokenIgnores = (never "certified" or "compliant"), (never says it certifies them), (does not certify their compliance), (ne certifie pas leur conformité)
|
|
@@ -0,0 +1,176 @@
|
|
|
1
|
+
# Coverage: BR-FR rules with an invalid example (target fr)
|
|
2
|
+
|
|
3
|
+
France_RFE 1.4.0.04, CII Schematron: 170 rule ids. **98 of the 98 that apply to a Factur-X EN 16931 invoice have an invalid example.** Generated by `scripts/coverage.py`.
|
|
4
|
+
|
|
5
|
+
| Rule id | Example |
|
|
6
|
+
| --- | --- |
|
|
7
|
+
| BR-FR-01_BT-1 | `invalid/BR-FR-01` |
|
|
8
|
+
| BR-FR-02_BT-1 | `invalid/BR-FR-02` |
|
|
9
|
+
| BR-FR-01_BT-25 | `invalid/BR-FR-01-BT-25` |
|
|
10
|
+
| BR-FR-02_BT-25 | `invalid/BR-FR-02-BT-25` |
|
|
11
|
+
| BR-FR-01_EXT-FR-FE-136 | not applicable: Factur-X EXTENDED elements; the fr target is the EN 16931 profile |
|
|
12
|
+
| BR-FR-02_EXT-FR-FE-136 | not applicable: Factur-X EXTENDED elements; the fr target is the EN 16931 profile |
|
|
13
|
+
| BR-FR-03_BT-2 | `invalid/BR-FR-03` |
|
|
14
|
+
| BR-FR-03_BT-7 | `invalid/BR-FR-03-BT-7` |
|
|
15
|
+
| BR-FR-03_BT-9 | `invalid/BR-FR-03-BT-9` |
|
|
16
|
+
| BR-FR-03_BT-26 | `invalid/BR-FR-03-BT-26` |
|
|
17
|
+
| BR-FR-03_BT-72 | `invalid/BR-FR-03-BT-72` |
|
|
18
|
+
| BR-FR-03_BT-73 | `invalid/BR-FR-03-BT-73` |
|
|
19
|
+
| BR-FR-03_BT-74 | `invalid/BR-FR-03-BT-74` |
|
|
20
|
+
| BR-FR-03_EXT-FR-FE-138 | not applicable: Factur-X EXTENDED elements; the fr target is the EN 16931 profile |
|
|
21
|
+
| BR-FR-03_EXT-FR-FE-158 | not applicable: Factur-X EXTENDED elements; the fr target is the EN 16931 profile |
|
|
22
|
+
| BR-FR-03_EXT-FR-FE-134 | not applicable: Factur-X EXTENDED elements; the fr target is the EN 16931 profile |
|
|
23
|
+
| BR-FR-03_EXT-FR-FE-135 | not applicable: Factur-X EXTENDED elements; the fr target is the EN 16931 profile |
|
|
24
|
+
| BR-FR-04_BT-3 | `invalid/BR-FR-04` |
|
|
25
|
+
| BR-FR-04_EXT-FR-FE-02 | not applicable: Factur-X EXTENDED elements; the fr target is the EN 16931 profile |
|
|
26
|
+
| BR-FR-04_EXT-FR-FE-137 | not applicable: Factur-X EXTENDED elements; the fr target is the EN 16931 profile |
|
|
27
|
+
| BR-FR-05_BT-22_PMT | `invalid/BR-FR-05-PMT` |
|
|
28
|
+
| BR-FR-05_BT-22_PMD | `invalid/BR-FR-05-PMD` |
|
|
29
|
+
| BR-FR-05_BT-22_AAB | `invalid/BR-FR-05-AAB` |
|
|
30
|
+
| BR-FR-06_BT-21_PMT | `invalid/BR-FR-06` |
|
|
31
|
+
| BR-FR-06_BT-21_PMD | `invalid/BR-FR-06-PMD` |
|
|
32
|
+
| BR-FR-06_BT-21_AAB | `invalid/BR-FR-06-AAB` |
|
|
33
|
+
| BR-FR-06_BT-21_TXD | `invalid/BR-FR-06-TXD` |
|
|
34
|
+
| BR-FR-08_BT-23 | `invalid/BR-FR-08` |
|
|
35
|
+
| BR-FR-09_BT-29 | `invalid/BR-FR-09` |
|
|
36
|
+
| BR-FR-09_BT-46 | `invalid/BR-FR-09-buyer` |
|
|
37
|
+
| BR-FR-09_BT-60 | `invalid/BR-FR-09-payee` |
|
|
38
|
+
| BR-FR-09_EXT-FR-FE-06 | not applicable: Factur-X EXTENDED elements; the fr target is the EN 16931 profile |
|
|
39
|
+
| BR-FR-09_EXT-FR-FE-46 | not applicable: Factur-X EXTENDED elements; the fr target is the EN 16931 profile |
|
|
40
|
+
| BR-FR-09_EXT-FR-FE-69 | not applicable: Factur-X EXTENDED elements; the fr target is the EN 16931 profile |
|
|
41
|
+
| BR-FR-09_EXT-FR-FE-92 | not applicable: Factur-X EXTENDED elements; the fr target is the EN 16931 profile |
|
|
42
|
+
| BR-FR-09_EXT-FR-FE-115 | not applicable: Factur-X EXTENDED elements; the fr target is the EN 16931 profile |
|
|
43
|
+
| BR-FR-09_BT-71 | `invalid/BR-FR-09-ship-to` |
|
|
44
|
+
| BR-FR-09_EXT-FR-FE-146 | not applicable: Factur-X EXTENDED elements; the fr target is the EN 16931 profile |
|
|
45
|
+
| BR-FR-10_BT-30 | `invalid/BR-FR-10` |
|
|
46
|
+
| BR-FR-11_BT-47 | `invalid/BR-FR-11` |
|
|
47
|
+
| BR-FR-12_BT-49 | `invalid/BR-FR-12` |
|
|
48
|
+
| BR-FR-13_BT-34 | `invalid/BR-FR-13` |
|
|
49
|
+
| BR-FR-15_BT-95_BT-102 | `invalid/BR-FR-15-allowance` |
|
|
50
|
+
| BR-FR-15_BT-95_BT-102_LM | `invalid/BR-FR-15-allowance` |
|
|
51
|
+
| BR-FR-15_BT-95_BT-118 | `invalid/BR-FR-15-allowance` |
|
|
52
|
+
| BR-FR-15_BT-95_BT-118_LM | `invalid/BR-FR-15-allowance` |
|
|
53
|
+
| BR-FR-15_BT-95_BT-151 | `invalid/BR-FR-15` |
|
|
54
|
+
| BR-FR-15_BT-95_BT-151_LM | `invalid/BR-FR-15` |
|
|
55
|
+
| BR-FR-16_BT-96_BT-103 | `invalid/BR-FR-DEC-04-allowance` |
|
|
56
|
+
| BR-FR-16_BT-119 | `invalid/BR-FR-16-allowance` |
|
|
57
|
+
| BR-FR-16_BT-152 | `invalid/BR-FR-DEC-04` |
|
|
58
|
+
| BR-FR-17_BT-123 | `invalid/BR-FR-17` |
|
|
59
|
+
| BR-FR-18_BT-123 | `invalid/BR-FR-18` |
|
|
60
|
+
| BR-FR-20_BT-21 | `invalid/BR-FR-20` |
|
|
61
|
+
| BR-FR-21_BT-49 | `invalid/BR-FR-21` |
|
|
62
|
+
| BR-FR-22_BT-34 | `invalid/BR-FR-22` |
|
|
63
|
+
| BR-FR-23_BT-34 | `invalid/BR-FR-23` |
|
|
64
|
+
| BR-FR-23_BT-49 | `invalid/BR-FR-23-buyer` |
|
|
65
|
+
| BR-FR-23_EXT-FR-FE-12 | not applicable: Factur-X EXTENDED elements; the fr target is the EN 16931 profile |
|
|
66
|
+
| BR-FR-23_EXT-FR-FE-29 | not applicable: Factur-X EXTENDED elements; the fr target is the EN 16931 profile |
|
|
67
|
+
| BR-FR-23_EXT-FR-FE-52 | not applicable: Factur-X EXTENDED elements; the fr target is the EN 16931 profile |
|
|
68
|
+
| BR-FR-23_EXT-FR-FE-75 | not applicable: Factur-X EXTENDED elements; the fr target is the EN 16931 profile |
|
|
69
|
+
| BR-FR-23_EXT-FR-FE-98 | not applicable: Factur-X EXTENDED elements; the fr target is the EN 16931 profile |
|
|
70
|
+
| BR-FR-23_EXT-FR-FE-121 | not applicable: Factur-X EXTENDED elements; the fr target is the EN 16931 profile |
|
|
71
|
+
| BR-FR-24_BT-29 | `invalid/BR-FR-24` |
|
|
72
|
+
| BR-FR-24_BT-46 | `invalid/BR-FR-24-buyer` |
|
|
73
|
+
| BR-FR-25_BT-34 | `invalid/BR-FR-25` |
|
|
74
|
+
| BR-FR-25_BT-49 | `invalid/BR-FR-25-buyer` |
|
|
75
|
+
| BR-FR-25_EXT-FR-FE-12 | not applicable: Factur-X EXTENDED elements; the fr target is the EN 16931 profile |
|
|
76
|
+
| BR-FR-25_EXT-FR-FE-29 | not applicable: Factur-X EXTENDED elements; the fr target is the EN 16931 profile |
|
|
77
|
+
| BR-FR-25_EXT-FR-FE-52 | not applicable: Factur-X EXTENDED elements; the fr target is the EN 16931 profile |
|
|
78
|
+
| BR-FR-25_EXT-FR-FE-75 | not applicable: Factur-X EXTENDED elements; the fr target is the EN 16931 profile |
|
|
79
|
+
| BR-FR-25_EXT-FR-FE-98 | not applicable: Factur-X EXTENDED elements; the fr target is the EN 16931 profile |
|
|
80
|
+
| BR-FR-25_EXT-FR-FE-121 | not applicable: Factur-X EXTENDED elements; the fr target is the EN 16931 profile |
|
|
81
|
+
| BR-FR-26_BT-29 | `invalid/BR-FR-26` |
|
|
82
|
+
| BR-FR-26_BT-46 | `invalid/BR-FR-26-buyer` |
|
|
83
|
+
| BR-FR-27_BG-32 | not applicable: unreachable in the EN 16931 profile: the Factur-X schema requires ram:Description in every item attribute |
|
|
84
|
+
| BR-FR-27_BT-160 | `invalid/BR-FR-27` |
|
|
85
|
+
| BR-FR-27_EXT-FR-FE-159 | not applicable: Factur-X EXTENDED elements; the fr target is the EN 16931 profile |
|
|
86
|
+
| BR-FR-28-Value | not applicable: unreachable in the EN 16931 profile: the Factur-X schema requires exactly one ram:Value and has no ram:ValueMeasure |
|
|
87
|
+
| BR-FR-29_BT-18 | `invalid/BR-FR-29` |
|
|
88
|
+
| BR-FR-29_AFL | `invalid/BR-FR-29-AFL` |
|
|
89
|
+
| BR-FR-29_AVV | `invalid/BR-FR-29-AVV` |
|
|
90
|
+
| BR-FR-30_BT-128 | not applicable: unreachable: the rule looks for IncludedSupplyChainTradeLineItem/AdditionalReferencedDocument, but the Factur-X 1.09.2 EN 16931 and EXTENDED schemas put BT-128 under SpecifiedLineTradeSettlement (possible France_RFE issue) |
|
|
91
|
+
| BR-FR-30_AFL | not applicable: unreachable: the rule looks for IncludedSupplyChainTradeLineItem/AdditionalReferencedDocument, but the Factur-X 1.09.2 EN 16931 and EXTENDED schemas put BT-128 under SpecifiedLineTradeSettlement (possible France_RFE issue) |
|
|
92
|
+
| BR-FR-30_AVV | not applicable: unreachable: the rule looks for IncludedSupplyChainTradeLineItem/AdditionalReferencedDocument, but the Factur-X 1.09.2 EN 16931 and EXTENDED schemas put BT-128 under SpecifiedLineTradeSettlement (possible France_RFE issue) |
|
|
93
|
+
| BR-FR-31_BT-21 | `invalid/BR-FR-31` |
|
|
94
|
+
| BR-FR-32-LEGALID | `invalid/BR-FR-32` |
|
|
95
|
+
| BR-FR-32-GLOBALID | `invalid/BR-FR-32-GLOBALID` |
|
|
96
|
+
| BR-FR-CO-03_BT-3 | `invalid/BR-FR-CO-03` |
|
|
97
|
+
| BR-FR-CO-04_BT-4 | `invalid/BR-FR-CO-04` |
|
|
98
|
+
| BR-FR-CO-05_BT-3 | `invalid/BR-FR-CO-05` |
|
|
99
|
+
| BR-FR-CO-07_BT-9 | `invalid/BR-FR-CO-07` |
|
|
100
|
+
| BR-FR-CO-08_BT-23 | `invalid/BR-FR-CO-08` |
|
|
101
|
+
| BR-FR-CO-09_BT-23-1 | `invalid/BR-FR-CO-09` |
|
|
102
|
+
| BR-FR-CO-09_BT-23-2 | `invalid/BR-FR-CO-09` |
|
|
103
|
+
| BR-FR-CO-09_BT-23-3 | `invalid/BR-FR-CO-09-BT-9` |
|
|
104
|
+
| BR-FR-CO-10_BT-29-1 | `invalid/BR-FR-CO-10` |
|
|
105
|
+
| BR-FR-CO-10_BT-29-2 | `invalid/BR-FR-CO-10-BT-29-2` |
|
|
106
|
+
| BR-FR-CO-10_BT-46-1 | `invalid/BR-FR-CO-10-BT-46-1` |
|
|
107
|
+
| BR-FR-CO-10_BT-46-2 | `invalid/BR-FR-CO-10-BT-46-2` |
|
|
108
|
+
| BR-FR-CO-10_BT-60-1 | `invalid/BR-FR-CO-10-BT-60-1` |
|
|
109
|
+
| BR-FR-CO-10_BT-60-2 | `invalid/BR-FR-CO-10-BT-60-2` |
|
|
110
|
+
| BR-FR-CO-10_EXT-FR-FE-06-1 | not applicable: Factur-X EXTENDED elements; the fr target is the EN 16931 profile |
|
|
111
|
+
| BR-FR-CO-10_EXT-FR-FE-06-2 | not applicable: Factur-X EXTENDED elements; the fr target is the EN 16931 profile |
|
|
112
|
+
| BR-FR-CO-10_EXT-FR-FE-46-1 | not applicable: Factur-X EXTENDED elements; the fr target is the EN 16931 profile |
|
|
113
|
+
| BR-FR-CO-10_EXT-FR-FE-46-2 | not applicable: Factur-X EXTENDED elements; the fr target is the EN 16931 profile |
|
|
114
|
+
| BR-FR-CO-10_EXT-FR-FE-69-1 | not applicable: Factur-X EXTENDED elements; the fr target is the EN 16931 profile |
|
|
115
|
+
| BR-FR-CO-10_EXT-FR-FE-69-2 | not applicable: Factur-X EXTENDED elements; the fr target is the EN 16931 profile |
|
|
116
|
+
| BR-FR-CO-10_EXT-FR-FE-92-1 | not applicable: Factur-X EXTENDED elements; the fr target is the EN 16931 profile |
|
|
117
|
+
| BR-FR-CO-10_EXT-FR-FE-92-2 | not applicable: Factur-X EXTENDED elements; the fr target is the EN 16931 profile |
|
|
118
|
+
| BR-FR-CO-10_EXT-FR-FE-115-1 | not applicable: Factur-X EXTENDED elements; the fr target is the EN 16931 profile |
|
|
119
|
+
| BR-FR-CO-10_EXT-FR-FE-115-2 | not applicable: Factur-X EXTENDED elements; the fr target is the EN 16931 profile |
|
|
120
|
+
| BR-FR-CO-10_BT-71-1 | `invalid/BR-FR-CO-10-BT-71-1` |
|
|
121
|
+
| BR-FR-CO-10_BT-71-2 | `invalid/BR-FR-CO-10-BT-71-2` |
|
|
122
|
+
| BR-FR-CO-10_EXT-FR-FE-146-1 | not applicable: Factur-X EXTENDED elements; the fr target is the EN 16931 profile |
|
|
123
|
+
| BR-FR-CO-10_EXT-FR-FE-146-2 | not applicable: Factur-X EXTENDED elements; the fr target is the EN 16931 profile |
|
|
124
|
+
| BR-FR-CO-12_BT-5 | `invalid/BR-FR-CO-12` |
|
|
125
|
+
| BR-FR-CO-14_BT-29-1 | not applicable: single taxable person (assujetti unique) |
|
|
126
|
+
| BR-FR-CO-15_BT-29-1 | not applicable: single taxable person (assujetti unique) |
|
|
127
|
+
| BR-FR-DEC-01_BT-92_BT-99 | `invalid/BR-FR-DEC-01-BT-92` |
|
|
128
|
+
| BR-FR-DEC-01_BT-93_BT-100 | `invalid/BR-FR-DEC-01-BT-93` |
|
|
129
|
+
| BR-FR-DEC-01_BT-106 | `invalid/BR-FR-DEC-01-BT-106` |
|
|
130
|
+
| BR-FR-DEC-01_BT-107 | `invalid/BR-FR-DEC-01-BT-107` |
|
|
131
|
+
| BR-FR-DEC-01_BT-108 | `invalid/BR-FR-DEC-01-BT-108` |
|
|
132
|
+
| BR-FR-DEC-01_BT-109 | `invalid/BR-FR-DEC-01-BT-109` |
|
|
133
|
+
| BR-FR-DEC-01_BT-110 | `invalid/BR-FR-DEC-01-BT-110` |
|
|
134
|
+
| BR-FR-DEC-01_BT-111 | not applicable: unreachable: its rule has the same context as BR-FR-DEC-01_BT-110 in the same pattern, so the BT-110 rule always takes the node (possible France_RFE issue) |
|
|
135
|
+
| BR-FR-DEC-01_BT-112 | `invalid/BR-FR-DEC-01` |
|
|
136
|
+
| BR-FR-DEC-01_BT-113 | `invalid/BR-FR-DEC-01-BT-113` |
|
|
137
|
+
| BR-FR-DEC-01_BT-114 | `invalid/BR-FR-DEC-01-BT-114` |
|
|
138
|
+
| BR-FR-DEC-01_BT-115 | `invalid/BR-FR-DEC-01` |
|
|
139
|
+
| BR-FR-DEC-01_BT-116 | `invalid/BR-FR-DEC-01-BT-116` |
|
|
140
|
+
| BR-FR-DEC-01_BT-117 | `invalid/BR-FR-DEC-01-BT-117` |
|
|
141
|
+
| BR-FR-DEC-01_BT-131 | `invalid/BR-FR-DEC-01-BT-131` |
|
|
142
|
+
| BR-FR-DEC-01_BT-136_BT-141 | `invalid/BR-FR-DEC-01-BT-136` |
|
|
143
|
+
| BR-FR-DEC-01_BT-137_BT-142 | `invalid/BR-FR-DEC-01-BT-137` |
|
|
144
|
+
| BR-FR-DEC-02_BT-129 | `invalid/BR-FR-DEC-02` |
|
|
145
|
+
| BR-FR-DEC-02_BT-149 | `invalid/BR-FR-DEC-02-BT-149` |
|
|
146
|
+
| BR-FR-DEC-03_BT-146 | `invalid/BR-FR-DEC-03` |
|
|
147
|
+
| BR-FR-DEC-03_BT-147 | `invalid/BR-FR-DEC-03-BT-147` |
|
|
148
|
+
| BR-FR-DEC-03_BT-148 | `invalid/BR-FR-DEC-03-BT-148` |
|
|
149
|
+
| BR-FR-DEC-04_BT-96_BT-103 | `invalid/BR-FR-DEC-04-allowance` |
|
|
150
|
+
| BR-FR-DEC-04_BT-119 | `invalid/BR-FR-DEC-04` |
|
|
151
|
+
| BR-FR-DEC-04_BT-152 | `invalid/BR-FR-DEC-04` |
|
|
152
|
+
| BR-FR-MV-01_EXT-FR-FE-163 | not applicable: Factur-X EXTENDED elements; the fr target is the EN 16931 profile |
|
|
153
|
+
| BR-FR-MV-02_EXT-FR-FE-163 | not applicable: Factur-X EXTENDED elements; the fr target is the EN 16931 profile |
|
|
154
|
+
| BR-FR-BD-02_EXT-FR-FE-163 | not applicable: Factur-X EXTENDED elements; the fr target is the EN 16931 profile |
|
|
155
|
+
| BR-FR-BD-02_BT-31 | not applicable: special contract BD |
|
|
156
|
+
| BR-FR-BD-02_BT-47 | not applicable: special contract BD |
|
|
157
|
+
| BR-FR-MV-03_EXT-FR-FE-164 | not applicable: Factur-X EXTENDED elements; the fr target is the EN 16931 profile |
|
|
158
|
+
| BR-FR-MV-03_EXT-FR-FE-167 | not applicable: Factur-X EXTENDED elements; the fr target is the EN 16931 profile |
|
|
159
|
+
| BR-FR-MV-03_EXT-FR-FE-177 | not applicable: Factur-X EXTENDED elements; the fr target is the EN 16931 profile |
|
|
160
|
+
| BR-FR-MV-03_EXT-FR-FE-181 | not applicable: Factur-X EXTENDED elements; the fr target is the EN 16931 profile |
|
|
161
|
+
| BR-FR-MV-03_EXT-FR-FE-182 | not applicable: Factur-X EXTENDED elements; the fr target is the EN 16931 profile |
|
|
162
|
+
| BR-FR-MV-03_BT-128_AFL | not applicable: multi-vendor invoices (special contract) |
|
|
163
|
+
| BR-FR-MV-03_BT-128_AVV | not applicable: multi-vendor invoices (special contract) |
|
|
164
|
+
| BR-FR-MV-05_EXT-FR-FE-BG-12 | not applicable: Factur-X EXTENDED elements; the fr target is the EN 16931 profile |
|
|
165
|
+
| BR-FR-MV-06_EXT-FR-FE-167 | not applicable: Factur-X EXTENDED elements; the fr target is the EN 16931 profile |
|
|
166
|
+
| BR-FR-MV-07_BT-128 | not applicable: multi-vendor invoices (special contract) |
|
|
167
|
+
| BR-FR-MV-08_BT-128 | not applicable: multi-vendor invoices (special contract) |
|
|
168
|
+
| BR-FR-MV-09_EXT-FR-FE-181 | not applicable: Factur-X EXTENDED elements; the fr target is the EN 16931 profile |
|
|
169
|
+
| BR-FR-MV-10_EXT-FR-FE-184 | not applicable: Factur-X EXTENDED elements; the fr target is the EN 16931 profile |
|
|
170
|
+
| BR-FR-MV-12_BT-128 | not applicable: multi-vendor invoices (special contract) |
|
|
171
|
+
| BR-FR-MV-13_BT-3 | not applicable: multi-vendor invoices (special contract) |
|
|
172
|
+
| BR-FR-BD-13_BT-3 | not applicable: special contract BD |
|
|
173
|
+
| BR-FR-MV-14-EXT-FR-FE-136 | not applicable: Factur-X EXTENDED elements; the fr target is the EN 16931 profile |
|
|
174
|
+
| BR-FR-MV-14-EXT-FR-FE-138 | not applicable: Factur-X EXTENDED elements; the fr target is the EN 16931 profile |
|
|
175
|
+
| BR-FR-BD-14-EXT-FR-FE-136 | not applicable: Factur-X EXTENDED elements; the fr target is the EN 16931 profile |
|
|
176
|
+
| BR-FR-BD-14-EXT-FR-FE-138 | not applicable: Factur-X EXTENDED elements; the fr target is the EN 16931 profile |
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 AllGood Services SAS
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
|
+
Name: invoice-examples
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: Valid and invalid e-invoice examples (Factur-X, CII), one invalid variant per rule, CC0
|
|
5
|
+
Project-URL: Homepage, https://lintvoice.com/examples
|
|
6
|
+
Project-URL: Source, https://github.com/lintvoice/invoice-examples
|
|
7
|
+
Author: AllGood Services SAS
|
|
8
|
+
License-Expression: MIT
|
|
9
|
+
License-File: LICENSE
|
|
10
|
+
Keywords: br-fr,cii,e-invoice,en16931,examples,factur-x,invoice,test,zugferd
|
|
11
|
+
Classifier: Development Status :: 3 - Alpha
|
|
12
|
+
Classifier: Intended Audience :: Developers
|
|
13
|
+
Classifier: Programming Language :: Python :: 3
|
|
14
|
+
Classifier: Topic :: Office/Business :: Financial :: Accounting
|
|
15
|
+
Classifier: Topic :: Software Development :: Testing
|
|
16
|
+
Requires-Python: >=3.10
|
|
17
|
+
Requires-Dist: lxml>=6.1
|
|
18
|
+
Requires-Dist: pypdf>=6.21.4
|
|
19
|
+
Description-Content-Type: text/markdown
|
|
20
|
+
|
|
21
|
+
# Free e-invoice examples: one valid invoice, and one invalid variant per official rule
|
|
22
|
+
|
|
23
|
+
Valid and invalid e-invoice examples, **one invalid example per rule**, checked against the official rules.
|
|
24
|
+
Free to use for anything: the examples are in the public domain ([CC0](examples/LICENSE)).
|
|
25
|
+
|
|
26
|
+
> Status: 0.1.0, first target `fr` (Factur-X / CII, French reform rules).
|
|
27
|
+
|
|
28
|
+
## Download the examples
|
|
29
|
+
|
|
30
|
+
`examples/fr/` holds, as XML (CII) and as a Factur-X PDF:
|
|
31
|
+
|
|
32
|
+
- `valid.xml`, `valid.pdf`: a French invoice that passes every rule listed below;
|
|
33
|
+
- `invalid/<rule>.xml`, `invalid/<rule>.pdf`: the same invoice with one thing wrong, for example
|
|
34
|
+
`invalid/BR-FR-10.xml` (the seller's SIREN is missing);
|
|
35
|
+
- `manifest.json`: for each example, the rules it fails, in English and French, and the rule versions.
|
|
36
|
+
|
|
37
|
+
| Rules checked | Version |
|
|
38
|
+
| --- | --- |
|
|
39
|
+
| EN 16931 (CII) | [1.3.17](https://github.com/ConnectingEurope/eInvoicing-EN16931/releases/tag/validation-1.3.17) |
|
|
40
|
+
| Factur-X, EN 16931 profile | 1.09.2 |
|
|
41
|
+
| BR-FR (French e-invoicing reform), [FNFE-MPE France_RFE](https://github.com/fnfempe/France_RFE/tree/97ba0f3d4ef2abed5780e9490d5c3a2be832ab1d) | 1.4.0.04 |
|
|
42
|
+
|
|
43
|
+
**Valid** means:
|
|
44
|
+
- no fatal error from these three rule sets;
|
|
45
|
+
- valid against the Factur-X 1.09.2 EN 16931 schema.
|
|
46
|
+
|
|
47
|
+
**Invalid** means the example fails exactly the rules its manifest entry lists, and nothing else.
|
|
48
|
+
- Most fail one rule.
|
|
49
|
+
- A few fail two or more, because the official rules overlap (for example `BR-FR-DEC-01` and EN 16931 `BR-DEC-14`).
|
|
50
|
+
- Every invalid example stays schema-valid: only a business rule is broken.
|
|
51
|
+
|
|
52
|
+
**Coverage:** 91 invalid examples cover all 98 BR-FR rule ids that can fire on a Factur-X EN 16931 invoice. Three more apply but cannot fire, two because of the Factur-X schema and one because of how the rule file is written: [COVERAGE.md](COVERAGE.md) says why.
|
|
53
|
+
|
|
54
|
+
**About the PDFs:** they carry the XML as `factur-x.xml`. They are not PDF/A-3: they are for testing XML extraction and the XML rules, not PDF/A-3 validation.
|
|
55
|
+
|
|
56
|
+
## Use them in a test suite
|
|
57
|
+
|
|
58
|
+
The same examples also ship as a Python package, so a test suite can pin a version instead of copying files:
|
|
59
|
+
|
|
60
|
+
```sh
|
|
61
|
+
uvx invoice-examples generate --target fr --out examples/ # writes exactly the files of examples/fr/
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
The same version always writes the same bytes. Each release also ships its wheel and sdist on [GitHub Releases](https://github.com/lintvoice/invoice-examples/releases).
|
|
65
|
+
|
|
66
|
+
## How the examples are checked
|
|
67
|
+
|
|
68
|
+
The test suite builds every example and runs the official artefacts on it, pinned and downloaded once:
|
|
69
|
+
- the EN 16931 Schematron;
|
|
70
|
+
- the Factur-X profile rules;
|
|
71
|
+
- the BR-FR Schematron (run with Saxon);
|
|
72
|
+
- the Factur-X schema.
|
|
73
|
+
|
|
74
|
+
It fails if:
|
|
75
|
+
- the valid example fails any rule;
|
|
76
|
+
- an invalid example fails a rule it does not declare, or misses one it does;
|
|
77
|
+
- the committed `examples/` folder differs from what the code generates.
|
|
78
|
+
|
|
79
|
+
The checks use the official files only, not a validator of ours, so the examples are an independent reference.
|
|
80
|
+
France_RFE's AFNOR documents are never downloaded.
|
|
81
|
+
|
|
82
|
+
```sh
|
|
83
|
+
uv sync && uv run pytest
|
|
84
|
+
uv run python scripts/coverage.py # rewrites COVERAGE.md
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
## Possible next targets
|
|
88
|
+
|
|
89
|
+
`chorus-pro` (the historic channels of the French public portal), `xrechnung`, `peppol`; UBL alongside CII.
|
|
90
|
+
|
|
91
|
+
## Licences
|
|
92
|
+
|
|
93
|
+
- The examples (`examples/`): [CC0-1.0](examples/LICENSE).
|
|
94
|
+
- The code: [MIT](LICENSE).
|
|
95
|
+
- The official rules used by the tests keep their own licences (EUPL-1.2 for EN 16931; Apache-2.0 for the France_RFE repository, whose Schematron file headers say EUPL)
|
|
96
|
+
and are not part of this repository.
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
# Free e-invoice examples: one valid invoice, and one invalid variant per official rule
|
|
2
|
+
|
|
3
|
+
Valid and invalid e-invoice examples, **one invalid example per rule**, checked against the official rules.
|
|
4
|
+
Free to use for anything: the examples are in the public domain ([CC0](examples/LICENSE)).
|
|
5
|
+
|
|
6
|
+
> Status: 0.1.0, first target `fr` (Factur-X / CII, French reform rules).
|
|
7
|
+
|
|
8
|
+
## Download the examples
|
|
9
|
+
|
|
10
|
+
`examples/fr/` holds, as XML (CII) and as a Factur-X PDF:
|
|
11
|
+
|
|
12
|
+
- `valid.xml`, `valid.pdf`: a French invoice that passes every rule listed below;
|
|
13
|
+
- `invalid/<rule>.xml`, `invalid/<rule>.pdf`: the same invoice with one thing wrong, for example
|
|
14
|
+
`invalid/BR-FR-10.xml` (the seller's SIREN is missing);
|
|
15
|
+
- `manifest.json`: for each example, the rules it fails, in English and French, and the rule versions.
|
|
16
|
+
|
|
17
|
+
| Rules checked | Version |
|
|
18
|
+
| --- | --- |
|
|
19
|
+
| EN 16931 (CII) | [1.3.17](https://github.com/ConnectingEurope/eInvoicing-EN16931/releases/tag/validation-1.3.17) |
|
|
20
|
+
| Factur-X, EN 16931 profile | 1.09.2 |
|
|
21
|
+
| BR-FR (French e-invoicing reform), [FNFE-MPE France_RFE](https://github.com/fnfempe/France_RFE/tree/97ba0f3d4ef2abed5780e9490d5c3a2be832ab1d) | 1.4.0.04 |
|
|
22
|
+
|
|
23
|
+
**Valid** means:
|
|
24
|
+
- no fatal error from these three rule sets;
|
|
25
|
+
- valid against the Factur-X 1.09.2 EN 16931 schema.
|
|
26
|
+
|
|
27
|
+
**Invalid** means the example fails exactly the rules its manifest entry lists, and nothing else.
|
|
28
|
+
- Most fail one rule.
|
|
29
|
+
- A few fail two or more, because the official rules overlap (for example `BR-FR-DEC-01` and EN 16931 `BR-DEC-14`).
|
|
30
|
+
- Every invalid example stays schema-valid: only a business rule is broken.
|
|
31
|
+
|
|
32
|
+
**Coverage:** 91 invalid examples cover all 98 BR-FR rule ids that can fire on a Factur-X EN 16931 invoice. Three more apply but cannot fire, two because of the Factur-X schema and one because of how the rule file is written: [COVERAGE.md](COVERAGE.md) says why.
|
|
33
|
+
|
|
34
|
+
**About the PDFs:** they carry the XML as `factur-x.xml`. They are not PDF/A-3: they are for testing XML extraction and the XML rules, not PDF/A-3 validation.
|
|
35
|
+
|
|
36
|
+
## Use them in a test suite
|
|
37
|
+
|
|
38
|
+
The same examples also ship as a Python package, so a test suite can pin a version instead of copying files:
|
|
39
|
+
|
|
40
|
+
```sh
|
|
41
|
+
uvx invoice-examples generate --target fr --out examples/ # writes exactly the files of examples/fr/
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
The same version always writes the same bytes. Each release also ships its wheel and sdist on [GitHub Releases](https://github.com/lintvoice/invoice-examples/releases).
|
|
45
|
+
|
|
46
|
+
## How the examples are checked
|
|
47
|
+
|
|
48
|
+
The test suite builds every example and runs the official artefacts on it, pinned and downloaded once:
|
|
49
|
+
- the EN 16931 Schematron;
|
|
50
|
+
- the Factur-X profile rules;
|
|
51
|
+
- the BR-FR Schematron (run with Saxon);
|
|
52
|
+
- the Factur-X schema.
|
|
53
|
+
|
|
54
|
+
It fails if:
|
|
55
|
+
- the valid example fails any rule;
|
|
56
|
+
- an invalid example fails a rule it does not declare, or misses one it does;
|
|
57
|
+
- the committed `examples/` folder differs from what the code generates.
|
|
58
|
+
|
|
59
|
+
The checks use the official files only, not a validator of ours, so the examples are an independent reference.
|
|
60
|
+
France_RFE's AFNOR documents are never downloaded.
|
|
61
|
+
|
|
62
|
+
```sh
|
|
63
|
+
uv sync && uv run pytest
|
|
64
|
+
uv run python scripts/coverage.py # rewrites COVERAGE.md
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
## Possible next targets
|
|
68
|
+
|
|
69
|
+
`chorus-pro` (the historic channels of the French public portal), `xrechnung`, `peppol`; UBL alongside CII.
|
|
70
|
+
|
|
71
|
+
## Licences
|
|
72
|
+
|
|
73
|
+
- The examples (`examples/`): [CC0-1.0](examples/LICENSE).
|
|
74
|
+
- The code: [MIT](LICENSE).
|
|
75
|
+
- The official rules used by the tests keep their own licences (EUPL-1.2 for EN 16931; Apache-2.0 for the France_RFE repository, whose Schematron file headers say EUPL)
|
|
76
|
+
and are not part of this repository.
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
Creative Commons Legal Code
|
|
2
|
+
|
|
3
|
+
CC0 1.0 Universal
|
|
4
|
+
|
|
5
|
+
CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE
|
|
6
|
+
LEGAL SERVICES. DISTRIBUTION OF THIS DOCUMENT DOES NOT CREATE AN
|
|
7
|
+
ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS
|
|
8
|
+
INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES
|
|
9
|
+
REGARDING THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS
|
|
10
|
+
PROVIDED HEREUNDER, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM
|
|
11
|
+
THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS PROVIDED
|
|
12
|
+
HEREUNDER.
|
|
13
|
+
|
|
14
|
+
Statement of Purpose
|
|
15
|
+
|
|
16
|
+
The laws of most jurisdictions throughout the world automatically confer
|
|
17
|
+
exclusive Copyright and Related Rights (defined below) upon the creator
|
|
18
|
+
and subsequent owner(s) (each and all, an "owner") of an original work of
|
|
19
|
+
authorship and/or a database (each, a "Work").
|
|
20
|
+
|
|
21
|
+
Certain owners wish to permanently relinquish those rights to a Work for
|
|
22
|
+
the purpose of contributing to a commons of creative, cultural and
|
|
23
|
+
scientific works ("Commons") that the public can reliably and without fear
|
|
24
|
+
of later claims of infringement build upon, modify, incorporate in other
|
|
25
|
+
works, reuse and redistribute as freely as possible in any form whatsoever
|
|
26
|
+
and for any purposes, including without limitation commercial purposes.
|
|
27
|
+
These owners may contribute to the Commons to promote the ideal of a free
|
|
28
|
+
culture and the further production of creative, cultural and scientific
|
|
29
|
+
works, or to gain reputation or greater distribution for their Work in
|
|
30
|
+
part through the use and efforts of others.
|
|
31
|
+
|
|
32
|
+
For these and/or other purposes and motivations, and without any
|
|
33
|
+
expectation of additional consideration or compensation, the person
|
|
34
|
+
associating CC0 with a Work (the "Affirmer"), to the extent that he or she
|
|
35
|
+
is an owner of Copyright and Related Rights in the Work, voluntarily
|
|
36
|
+
elects to apply CC0 to the Work and publicly distribute the Work under its
|
|
37
|
+
terms, with knowledge of his or her Copyright and Related Rights in the
|
|
38
|
+
Work and the meaning and intended legal effect of CC0 on those rights.
|
|
39
|
+
|
|
40
|
+
1. Copyright and Related Rights. A Work made available under CC0 may be
|
|
41
|
+
protected by copyright and related or neighboring rights ("Copyright and
|
|
42
|
+
Related Rights"). Copyright and Related Rights include, but are not
|
|
43
|
+
limited to, the following:
|
|
44
|
+
|
|
45
|
+
i. the right to reproduce, adapt, distribute, perform, display,
|
|
46
|
+
communicate, and translate a Work;
|
|
47
|
+
ii. moral rights retained by the original author(s) and/or performer(s);
|
|
48
|
+
iii. publicity and privacy rights pertaining to a person's image or
|
|
49
|
+
likeness depicted in a Work;
|
|
50
|
+
iv. rights protecting against unfair competition in regards to a Work,
|
|
51
|
+
subject to the limitations in paragraph 4(a), below;
|
|
52
|
+
v. rights protecting the extraction, dissemination, use and reuse of data
|
|
53
|
+
in a Work;
|
|
54
|
+
vi. database rights (such as those arising under Directive 96/9/EC of the
|
|
55
|
+
European Parliament and of the Council of 11 March 1996 on the legal
|
|
56
|
+
protection of databases, and under any national implementation
|
|
57
|
+
thereof, including any amended or successor version of such
|
|
58
|
+
directive); and
|
|
59
|
+
vii. other similar, equivalent or corresponding rights throughout the
|
|
60
|
+
world based on applicable law or treaty, and any national
|
|
61
|
+
implementations thereof.
|
|
62
|
+
|
|
63
|
+
2. Waiver. To the greatest extent permitted by, but not in contravention
|
|
64
|
+
of, applicable law, Affirmer hereby overtly, fully, permanently,
|
|
65
|
+
irrevocably and unconditionally waives, abandons, and surrenders all of
|
|
66
|
+
Affirmer's Copyright and Related Rights and associated claims and causes
|
|
67
|
+
of action, whether now known or unknown (including existing as well as
|
|
68
|
+
future claims and causes of action), in the Work (i) in all territories
|
|
69
|
+
worldwide, (ii) for the maximum duration provided by applicable law or
|
|
70
|
+
treaty (including future time extensions), (iii) in any current or future
|
|
71
|
+
medium and for any number of copies, and (iv) for any purpose whatsoever,
|
|
72
|
+
including without limitation commercial, advertising or promotional
|
|
73
|
+
purposes (the "Waiver"). Affirmer makes the Waiver for the benefit of each
|
|
74
|
+
member of the public at large and to the detriment of Affirmer's heirs and
|
|
75
|
+
successors, fully intending that such Waiver shall not be subject to
|
|
76
|
+
revocation, rescission, cancellation, termination, or any other legal or
|
|
77
|
+
equitable action to disrupt the quiet enjoyment of the Work by the public
|
|
78
|
+
as contemplated by Affirmer's express Statement of Purpose.
|
|
79
|
+
|
|
80
|
+
3. Public License Fallback. Should any part of the Waiver for any reason
|
|
81
|
+
be judged legally invalid or ineffective under applicable law, then the
|
|
82
|
+
Waiver shall be preserved to the maximum extent permitted taking into
|
|
83
|
+
account Affirmer's express Statement of Purpose. In addition, to the
|
|
84
|
+
extent the Waiver is so judged Affirmer hereby grants to each affected
|
|
85
|
+
person a royalty-free, non transferable, non sublicensable, non exclusive,
|
|
86
|
+
irrevocable and unconditional license to exercise Affirmer's Copyright and
|
|
87
|
+
Related Rights in the Work (i) in all territories worldwide, (ii) for the
|
|
88
|
+
maximum duration provided by applicable law or treaty (including future
|
|
89
|
+
time extensions), (iii) in any current or future medium and for any number
|
|
90
|
+
of copies, and (iv) for any purpose whatsoever, including without
|
|
91
|
+
limitation commercial, advertising or promotional purposes (the
|
|
92
|
+
"License"). The License shall be deemed effective as of the date CC0 was
|
|
93
|
+
applied by Affirmer to the Work. Should any part of the License for any
|
|
94
|
+
reason be judged legally invalid or ineffective under applicable law, such
|
|
95
|
+
partial invalidity or ineffectiveness shall not invalidate the remainder
|
|
96
|
+
of the License, and in such case Affirmer hereby affirms that he or she
|
|
97
|
+
will not (i) exercise any of his or her remaining Copyright and Related
|
|
98
|
+
Rights in the Work or (ii) assert any associated claims and causes of
|
|
99
|
+
action with respect to the Work, in either case contrary to Affirmer's
|
|
100
|
+
express Statement of Purpose.
|
|
101
|
+
|
|
102
|
+
4. Limitations and Disclaimers.
|
|
103
|
+
|
|
104
|
+
a. No trademark or patent rights held by Affirmer are waived, abandoned,
|
|
105
|
+
surrendered, licensed or otherwise affected by this document.
|
|
106
|
+
b. Affirmer offers the Work as-is and makes no representations or
|
|
107
|
+
warranties of any kind concerning the Work, express, implied,
|
|
108
|
+
statutory or otherwise, including without limitation warranties of
|
|
109
|
+
title, merchantability, fitness for a particular purpose, non
|
|
110
|
+
infringement, or the absence of latent or other defects, accuracy, or
|
|
111
|
+
the present or absence of errors, whether or not discoverable, all to
|
|
112
|
+
the greatest extent permissible under applicable law.
|
|
113
|
+
c. Affirmer disclaims responsibility for clearing rights of other persons
|
|
114
|
+
that may apply to the Work or any use thereof, including without
|
|
115
|
+
limitation any person's Copyright and Related Rights in the Work.
|
|
116
|
+
Further, Affirmer disclaims responsibility for obtaining any necessary
|
|
117
|
+
consents, permissions or other rights required for any use of the
|
|
118
|
+
Work.
|
|
119
|
+
d. Affirmer understands and acknowledges that Creative Commons is not a
|
|
120
|
+
party to this document and has no duty or obligation with respect to
|
|
121
|
+
this CC0 or use of the Work.
|