Skip to content

chore(deps): bump github.com/invopop/gobl from 0.402.0 to 0.403.0 - #4404

Merged
turip merged 1 commit into
mainfrom
dependabot/go_modules/github.com/invopop/gobl-0.403.0
May 20, 2026
Merged

turip merged 1 commit into
mainfrom
dependabot/go_modules/github.com/invopop/gobl-0.403.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github May 20, 2026

Copy link
Copy Markdown
Contributor

Bumps github.com/invopop/gobl from 0.402.0 to 0.403.0.

Release notes

Sourced from github.com/invopop/gobl's releases.

v0.403.0

Changelog

  • ef28972e0d30403daf23dd102d947962633ed0e9 Add Bizkaia activity extension to es-tbai-v1
  • b0c4f7453f08c5960c3f0dbfbd174692f85acd46 Add CorrectionNormalizer callback to tax.CorrectionDefinition
  • 9532b02d81494451969996406ef83eecca285cd3 Add IRNR tax category to Spain regime
  • a683081bcc023a27f932b0b5e1af4d3f3ab6765c Add Type T tourism invoice support (WSCT)
  • d81c08562f5a4246a72f507b0ee5519b9c36284b Add more granular payment means keys
  • 84e16cf1bffefb2a09e08746e34e7a3750dbe834 Add tourism-code rules 30/31 and migrate to cbc.CodeMap
  • ab6e0604f096b55c1f909cd95c542651a808337f Address Copilot review comments on payment record refactor
  • 32677f2f2f543187c2cc55b672da47e64ec9929f Cleaning up the pay record copy
  • 2da8d0b7f4904f5dbea3c91ed549646daa173d89 Drop redundant cbc.CodeMap conversion on payment means maps
  • ca974b8879108929cbce7c487fdfd34b743ce5a9 Extend code coverage
  • 1158dde3d8e5daf55b07166e37aceb1e856fbcc8 Fix grammar in CHANGELOG entry
  • 56c92373cfc4e3e8a83120ba7c74c57b69c697fd Fix typos
  • e090c197f4c33bd922b9b298e83f6b86ae9cd5e8 Lookup payment means codes hierarchically
  • 78bfe46243578e02e36435a02a78ba99251b2fbf Make CorrectionDefinition.Merge non-mutating
  • a7355f0f6d4c3e4a989a636f611016bdd238b4f9 Merge branch 'main' into arca-correction-normalize
  • 222eee70ca5a673539ff7064833c6bab79165831 Merge main into arca-correction-normalize
  • ff019e9cb71ae08b9636c0c06050d6886c97b8a1 Merge pull request #815 from invopop/arca-correction-normalize
  • 0cc26ffd07e64b852eda15edc3f13b0cf56cd253 Merge pull request #821 from invopop/ar-arca-tourism-invoices
  • e716a8cdb5668ae184eaf699d9d7862bef738261 Merge pull request #825 from invopop/granular-payment-key
  • 4a0a25f8217848484a519ef8e709cf667a0828d6 Merge pull request #827 from invopop/payment-record
  • 4cdd472b1c0c950e25c3994ed35bc5b119bb1102 Merge pull request #829 from invopop/batuz-model-140
  • 5ed439888435b4805203346df494595c4aea6d36 Merge pull request #830 from invopop/prevent-negative-payment-amount
  • 98148b17b7d93105d489c79fe4310654e6b35f60 Merge pull request #832 from invopop/es-irnr-norates
  • 042daa715bf3b4a39bcad6991697103e7bcdc1bd Merge pull request #833 from invopop/release-0.403.0
  • 86b69e7c0f57d44b05f34839feb02f14c428ae05 Merge remote-tracking branch 'origin/main' into ar-arca-tourism-invoices
  • 1964597de897943dcdbdeca55c2e8ab3ef50209a Merge remote-tracking branch 'origin/main' into ar-arca-tourism-invoices
  • ddc2a8aec237a0274caeaa0cdc65c0361f8d2f52 Merge remote-tracking branch 'origin/main' into ar-arca-tourism-invoices
  • ba5f50c8d07def3c87698c22edb1b20009fdb0c1 Merge remote-tracking branch 'origin/main' into batuz-model-140
  • 8d5eedacce0f111a6179e2384fc1aadc8c3c895c Merge remote-tracking branch 'origin/main' into granular-payment-key
  • faa6d0af32c4d96b451d5831d3abfd74d25eee3e Merge remote-tracking branch 'origin/main' into payment-record
  • 8027c7c50d4a41a668549d101e0aaeb6c2773d12 Migrate es-verifactu and es-sii correction extension routing to CorrectionNormalizer
  • f8a418d732dc38725f7a30217ccbafc9410ef719 Potential fix for pull request finding
  • 436153f8d476d597d0336dc593baf314be0320f0 Potential fix for pull request finding
  • 997006f3c3cdff7cd05a97a9c4b57c744b24db8a Preparing for 0.403.0 release
  • 85a4167e5b7eedd520fd2882cb298adb6e0a6f78 Refactor pay.Advance into pay.Record and support multiple methods on bill.Payment
  • 1e237b34780b4358e020cf4f61d8ef4cdcee67bb Removing variable
  • 4de01b2cb3c9e3d4d8e8ca11bb6899a7f0146695 Rename CorrectionNormalizer to CorrectionNormalize and adapt to immutable tax.Extensions
  • cd7eea9fcd8df2c466b953d1f2596d36a3c96536 Replace correction Normalize callback with CorrectionNormalizer interface
  • 91a54afdd043fad8b4e106c2e94dfb7a6e1be816 Replace custom with standard means key
  • c5500b7aa858bf9d754b85b8cd43a13ff8fa22ee Replace deprecated reflect.Ptr with reflect.Pointer; disable goconst
  • bf4b3f2cdda1b724f598bf0e23e42f7b5ef7377f Replace tax.ExtMap with cbc.CodeMap
  • 37fb681fd62a1ea3f10920ff233c7965bc11dff2 Updating CHANGELOG
  • ff7acc794ab1437f99e3e6d217a2ca29ec0e3f69 Updating changelog
  • 8d6df9bf3452eec9e2c0c9919c8e8add47933f2c Validate advances are non-negative pt-saft-v1
  • c04c16ec159daf6cddaabb005366a615ec6d4790 fix: correct typo "agains" to "against" in extensions.go comments
Changelog

Sourced from github.com/invopop/gobl's changelog.

[v0.403.0] - 2026-05-13

Changed

  • pay: breaking: pay.Advance renamed to pay.Record — a Record is a single payment event (means + amount + currency + optional date/percent/extensions) and is the shape used both for advances on invoices and for payment methods on payment documents. The previous names (pay.Advance and the transitional pay.Method) are removed with no aliases; consumers must update to pay.Record. The schema URL is now https://gobl.org/draft-0/pay/record (the previous pay/advance schema is gone). The description field is no longer required by validation (it was a poor fit for payment-document methods); contexts that need it should enforce it themselves. The pay.Record.Grant boolean field has been removed — FacturaE consumers should set the new es-facturae-subsidy extension ("S") on the record's ext map instead.
  • bill: breaking: bill.Payment.Method (*pay.Instructions) replaced by bill.Payment.Methods ([]*pay.Record) so a single payment document can record multiple methods with their own amounts and currencies (required for Portugal's SAF-T, among others). Documents that use the old singular method JSON field are migrated transparently via UnmarshalJSON into a single-element methods array. When exactly one method is present and its amount is zero, Calculate() auto-fills it from the document Total. Validation now also enforces that the sum of method amounts (converted to the document currency via ExchangeRates where needed) equals the document Total — partial payments must have method amounts that line up with the line totals being paid.
  • tax: breaking: removed the tax.ExtMap type alias introduced in v0.402.0. tax.Extensions now wraps cbc.CodeMap directly, and tax.ExtensionsOf accepts a cbc.CodeMap. Callers should replace tax.ExtMap{...} with cbc.CodeMap{...}.

Added

  • tax: Added CorrectionNormalize callback type and Normalize field on CorrectionDefinition for addon-specific correction logic.
  • bill: Added CorrectionOptionsValue() accessor on Invoice for use by correction normalizers.
  • cbc.CodeMap: added Lookup method that returns the code matching a given key, falling back hierarchically to less specific keys.
  • pay: added MeansKeyCredit and MeansKeyDebit qualifiers, enabling the card+credit and card+debit payment means. Adapted all addons mapping payment means to extensions to use the two new qualified means.
  • es-tbai-v1: added es-tbai-bi-activity extension for the Bizkaia activity code (epígrafe) required for individual suppliers.
  • pt-saft-v1: added rule to check that advance payment amounts on invoices are no less than 0 as required by the SAF-T spec.
  • regimes/es: added IRNR (Impuesto sobre la Renta de no Residentes) tax category for non-resident income tax withholdings. Rates depend on the type of income and recipient, so they are supplied per invoice rather than predefined.
  • pay: pay.Record gains DirectDebit and Online fields so it can fully describe any payment means recorded on a payment document. Its Normalize method now accepts tax.Normalizers and threads them through to the means-specific nested structs (Card, CreditTransfer, DirectDebit, Online) so addons can extend or transform those directly.
  • addons/es/facturae: new es-facturae-subsidy extension (values S/N, matching the Spanish convention used by es/sii and es/verifactu) for flagging advance payments that come from a public grant or subsidy. Replaces the removed pay.Record.Grant boolean.
  • ar-arca-v4: Type T tourism invoice support (WSCT) with new extension keys ar-arca-tourism-type and ar-arca-tourism-item.

Fixed

  • ar-arca-v4: Correction flow now uses CorrectionNormalize to properly route doc-type to the invoice and copy original extensions to preceding.
  • es-verifactu-v1: Migrated doc-type extension routing from normalizer hack to CorrectionNormalize.
  • es-sii-v1: Migrated doc-type extension routing from normalizer hack to CorrectionNormalize.
Commits
  • 042daa7 Merge pull request #833 from invopop/release-0.403.0
  • 997006f Preparing for 0.403.0 release
  • 98148b1 Merge pull request #832 from invopop/es-irnr-norates
  • 9532b02 Add IRNR tax category to Spain regime
  • ff019e9 Merge pull request #815 from invopop/arca-correction-normalize
  • 37fb681 Updating CHANGELOG
  • 0cc26ff Merge pull request #821 from invopop/ar-arca-tourism-invoices
  • 5ed4398 Merge pull request #830 from invopop/prevent-negative-payment-amount
  • 8d6df9b Validate advances are non-negative pt-saft-v1
  • ddc2a8a Merge remote-tracking branch 'origin/main' into ar-arca-tourism-invoices
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [github.com/invopop/gobl](https://github.com/invopop/gobl) from 0.402.0 to 0.403.0.
- [Release notes](https://github.com/invopop/gobl/releases)
- [Changelog](https://github.com/invopop/gobl/blob/main/CHANGELOG.md)
- [Commits](invopop/gobl@v0.402.0...v0.403.0)

---
updated-dependencies:
- dependency-name: github.com/invopop/gobl
  dependency-version: 0.403.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot Bot added area/dependencies Pull requests that update a dependency file dependency/go Pull requests that update Go code labels May 20, 2026
@dependabot
dependabot Bot requested a review from a team as a code owner May 20, 2026 17:46
@dependabot dependabot Bot added area/dependencies Pull requests that update a dependency file dependency/go Pull requests that update Go code labels May 20, 2026
@turip
turip merged commit c10750d into main May 20, 2026
31 of 33 checks passed
@turip
turip deleted the dependabot/go_modules/github.com/invopop/gobl-0.403.0 branch May 20, 2026 19:44

This branch was previously deployed

1 inactive deployment
dev — d5bb306f Deployed May 20, 2026 by dependabot[bot] via Migration Checks #14545
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/dependencies Pull requests that update a dependency file dependency/go Pull requests that update Go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant