mix facturx.harness (Facturx v0.7.0)

Copy Markdown View Source

The conformance oracle, as a command rather than a notebook.

mix facturx.harness

The test suite proves structure: that what Facturx.Embed writes, Facturx.Extract reads back. It cannot prove conformance, because its synthetic base has no font, no OutputIntent and no ICC profile — deliberately, so the suite needs no fixtures. Only veraPDF can say whether the output is still a valid PDF/A-3, and only the Python akretion/factur-x library can say whether we still agree with the reference implementation.

Both need artefacts that are not committed: real invoices under test/fixtures/local/, and the dev virtualenv. The task says what is missing and fails rather than reporting a success it did not establish.

This file lives under dev/, which elixirc_paths compiles in :dev only, so the task never reaches the published package.