Skip to content

Require submitted purchase orders for invoice registration #37

Description

@dotnetspark

Summary

Invoice registration currently allows linking an invoice to a purchase order even when the purchase order is still in DRAFT state.

Expected behavior

Invoice registration should require the linked purchase order to be at least SUBMITTED.

Scope

  • reject invoice creation against draft purchase orders
  • add contract/integration/unit coverage
  • update owned specs/docs/changelog to reflect the rule

Notes

This closes the previously identified business-rule gap where purchase-order existence and vendor coherence were enforced, but purchase-order readiness for invoicing was not.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions