Skip to content

Read all TaxSubtotals#151

Merged
brtdv merged 3 commits intonum-num:masterfrom
CasperBE:patch-taxtotal-taxsubtotal
Jan 14, 2026
Merged

Read all TaxSubtotals#151
brtdv merged 3 commits intonum-num:masterfrom
CasperBE:patch-taxtotal-taxsubtotal

Conversation

@CasperBE
Copy link
Copy Markdown
Contributor

@CasperBE CasperBE commented Jan 9, 2026

Until now, only one cac:TaxSubtotal was read from cac:TaxTotal, this patch fixes this behavior.

Until now, only one cac:TaxSubtotal was read from cac:TaxTotal, this patch fixes this behavior.
The first element in the array apparently has key '1' instead of '0', switched to using reset() just to be sure that we get the first element of the array.
The previous change broke reading the cacTaxTotal/cbc:TaxAmount tag, this commit fixes this.
@brtdv brtdv merged commit 1b42c89 into num-num:master Jan 14, 2026
5 checks passed
@brtdv
Copy link
Copy Markdown
Contributor

brtdv commented Jan 14, 2026

Great bugfix, thanks!

@CasperBE CasperBE deleted the patch-taxtotal-taxsubtotal branch January 14, 2026 22:59
@CasperBE
Copy link
Copy Markdown
Contributor Author

Thanks a lot for merging this PR! Glad the fix was useful 🙂

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.

2 participants