Skip to content
Back to News
Changelog

SDK 5.4.0 types the server validation coverage

sdkapi

@getpeppr/sdk 5.4.0 adds the missing schematron.coverage field to ServerValidationResult. The server already returned it; TypeScript callers of invoices.validateServer() can now read it without a cast.

The field contains rulesChecked: number, the count of offline checks executed, and ofNetworkFatalRules: "partial". When UBL generation fails before those checks can run, the count is zero. A successful offline check is not a guarantee that the provider or the Peppol network will accept a document.

This release corrects the public type. It does not change the API response or validation behaviour. The CLI does not need an update for this type-only change.

npm install @getpeppr/sdk@5.4.0

See server-side validation for the validation surfaces and their limits.