6.0.0 shipped descriptions that are no longer true. 6.0.1 corrects them, and
only human-facing text changes: the validate() warning about from, the
Norwegian VAT entry's description in SCHEMES_BY_COUNTRY, and some JSDoc. No
type, export, validation verdict or exit code changes. CLI 0.14.1 ships it,
since the CLI bundles the SDK.
from carries the seller contact
The from field on InvoiceInput was tagged @deprecated and called
"ignored", and validate() warned "The 'from' field is deprecated and
ignored". Neither was true for the contact. The seller identity (name,
address, VAT, identifiers) comes from the legal entity that sends, yours or
the sub-tenant named in sender: do not use from to change it. The seller
contact in
from (contactName, phone, email, the BG-6 group) is sent with the
document.
On a domestic German invoice, a German seller to a German buyer, that contact
is required: the Peppol network refuses the document without it (DE-R-002,
DE-R-005, DE-R-006, DE-R-007). Since today POST /v1/invoices refuses such an
invoice up front, with 422 country_rule_violation and the rule as code,
including when a platform sends for one of its customers. On that platform
path every other field of from is stripped, so it can never re-state who the
seller is.
The validate() warning still fires whenever from is present, and it is
still a warning: the verdict does not change.
The Norwegian VAT number
The 9909 (NO:VAT) entry of SCHEMES_BY_COUNTRY asked every Norwegian sender
to register the number alongside the organisation number. In production
getpeppr now adds it itself once the Brønnøysund register has verified the
organisation number and confirms VAT registration. The description now says to
enter it only in sandbox, or after a manual approval of the organisation
number.
awaiting_release in the identifier status list
The JSDoc of AccountIdentifier.status lists the statuses the gateway emits
today. It now includes awaiting_release: in production, the identity is
verified but another Peppol provider still holds the address, and getpeppr
registers it once released. status stays typed string.
CLI 0.14.1
The CLI bundles the SDK, so it is republished with 6.0.1. getpeppr validate
on an invoice carrying from shows the new warning; its exit code does not
change. The README no longer says the gateway ignores from for delivery.