Skip to content

Upgrade gobl.pt.saft to v0.0.8 - #59

Merged
cavalle merged 1 commit into
mainfrom
pf-ou-document-types
Sep 30, 2026
Merged

cavalle merged 1 commit into
mainfrom
pf-ou-document-types

Conversation

@migueltorresvalls

Copy link
Copy Markdown
Contributor

Pick up the order source rules from invopop/gobl.pt.saft#10.

pt-saft-source is now defaulted to P and validated on bill.Order, matching bill.Invoice and bill.Payment. SAF-T requires SourceBilling on every work document, so without it an order reaches a converter with no source and the element is emitted empty.

Changes:

  • github.com/invopop/gobl.pt.saft v0.0.7 -> v0.0.8

Notes:

  • Dependency bump only; no code changes.

Brings in the order source rules: pt-saft-source is now defaulted and
validated on bill.Order, which SAF-T requires on every work document.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟢 Approval recommended

The dependency and checksums are consistent with the valid upstream v0.0.8 release.

Review effort: Balanced
Findings: None

What changed in this PR

Updates the Portuguese SAF-T addon to include order source defaults and validation from upstream PR #10.

Changes:

  • Bumps gobl.pt.saft from v0.0.7 to v0.0.8.
  • Updates module checksums.
File Description
go.mod Updates the dependency version.
go.sum Updates corresponding checksums.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 72.56%. Comparing base (29b37dd) to head (4618e12).

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #59   +/-   ##
=======================================
  Coverage   72.56%   72.56%           
=======================================
  Files          48       48           
  Lines        1994     1994           
=======================================
  Hits         1447     1447           
  Misses        467      467           
  Partials       80       80           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@cavalle
cavalle merged commit 8544b10 into main Sep 30, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants