Skip to content

Invoice notes with a subject code #7

Description

@jbagsik

Part of

Field fidelity and validation of parsed e-invoices — restoring facts the parser reads but the model cannot hold, and making the readiness figure agree with the conformance verdict.

What to build

Notes on an invoice are visible again and reach the recipient. An invoice may carry several notes; their order is preserved and their kind is distinguishable, so a prepayment note can be treated differently from a shipping note.

Acceptance criteria

  • Several notes per invoice are persisted with their order preserved
  • Each note may carry a subject code from a code list (BT-21) alongside its text (BT-22)
  • The subject code comes from the note subject code list
  • Notes render in the detail view
  • A note at document level may carry a subject code; a note on a line must not, because the profile forbids one there
  • Notes are emitted in the generated artifact

Blocked by

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

    ready-for-agentSpec is ready for an agent to implement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions