Skip to content

v0.5.1

Latest

Choose a tag to compare

@jaakla jaakla released this 15 Jun 21:28
· 15 commits to main since this release

Fixed: purchase invoice creation no longer fails with Merit's "Periood liiga pikk(max 3 kuud)" error. The internal getpurchorders duplicate check previously requested a 730-day window, exceeding Merit's hard 3-month limit; it now anchors on the invoice DocDate and clamps the window to ~85 days. Added a regression test asserting the period span never exceeds 3 months.