Cross Industry Invoice (CII) XML — build and parse (pure Elixir, via Saxy).
Maps between Facturx.Invoice and the EN 16931 CII vocabulary
(rsm:CrossIndustryInvoice, ram:*, udt:*). Element order follows the CII
schema so the output validates.
Summary
Functions
@spec build( Facturx.Invoice.t(), keyword() ) :: {:ok, binary()} | {:error, term()}
Build the CII XML for invoice.
Options: :profile overrides invoice.profile.
@spec parse(binary()) :: {:ok, Facturx.Invoice.t()} | {:error, term()}
Parse a CII XML binary into an Facturx.Invoice.