Skip to content

Check the consignee address against master data #60

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

A consignee address is checked against the addresses of the attributed customer, including companies in the same tree, so a branch office with a slightly different name still matches. A miss is not a field error — a genuine third-party delivery would otherwise produce a finding forever.

Acceptance criteria

  • The check runs for every document that carries a consignee
  • A match, including within the company tree, results in a database-validated status
  • A miss leaves the field as parsed and produces no field error
  • A miss surfaces as a master-data divergence, derived rather than stored
  • The divergence disappears once the master data is corrected, with nothing to close

Blocked by

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