Closed samlown closed 4 days ago
Attention: Patch coverage is 91.15646%
with 13 lines
in your changes missing coverage. Please review.
Project coverage is 77.30%. Comparing base (
b38541f
) to head (b6aae1f
). Report is 47 commits behind head on main.
Files with missing lines | Patch % | Lines |
---|---|---|
bill/invoice_scenarios.go | 85.18% | 4 Missing and 4 partials :warning: |
tax/set.go | 70.58% | 3 Missing and 2 partials :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Closing in favour of #359
After much debate, this PR finally removes the "draft" boolean property from the envelope headers.
Draft status was previously used to apply additional validation rules to header stamps and special fields like the invoice "code". This functionality has now been moved to the signatures. If an envelope is signed, thus locking in the potential for any changes, the additional validation rules will be run.
This change comes after continued confusion about the role and usefulness of the
draft
flag. The signature functionality has always been in GOBL and is far easier to understand, so this is a natural replacement.