Parent
#21
What to build
An e-billing document is attributed to the Customer it was billed under, resolved from the buyer
identifier on the invoice. The company attribution remains, but is now derived from the customer
rather than guessed from a name — and is documented as reporting only, never an access boundary.
This is the identity change. A company can hold several customer records (one per plant, price list
or settlement purpose); attributing to the company collapses them, and a company attribution frozen
at match time goes stale the moment a customer is reassigned. Consumers are told to gate visibility
on the customer attribution, which callers resolve live.
Corroboration — checking that the name, VAT identifier, country and address agree with the matched
record — is deliberately not in this ticket. Here the identifier decides alone.
Acceptance criteria
Blocked by
Parent
#21
What to build
An e-billing document is attributed to the Customer it was billed under, resolved from the buyer
identifier on the invoice. The company attribution remains, but is now derived from the customer
rather than guessed from a name — and is documented as reporting only, never an access boundary.
This is the identity change. A company can hold several customer records (one per plant, price list
or settlement purpose); attributing to the company collapses them, and a company attribution frozen
at match time goes stale the moment a customer is reassigned. Consumers are told to gate visibility
on the customer attribution, which callers resolve live.
Corroboration — checking that the name, VAT identifier, country and address agree with the matched
record — is deliberately not in this ticket. Here the identifier decides alone.
Acceptance criteria
and is populated by derivation from the matched customer.
interpretation, no stripping or padding of leading zeros.
0815and815resolve to differentcustomers.
found but deleted rather than not found. Same for an inactive customer.
silently chosen first row.
attribution.
company attribution — and never the customer attribution.
moox/customer. No resolver interface is introduced.its own. This adds the first test for that entry point.
Blocked by