OpenPEPPOL / pracc-catalogue

3 stars 1 forks source link

Add rules to ensure correct code for Procurement project identifier #29

Closed SiwMeckelborg closed 7 years ago

SiwMeckelborg commented 7 years ago

Add rule to verify that cac:ReferencedContract/cbc:ContractTypeCode exists, and has a value of 311. This element has today a codelist rule CL-T68-R004, but this should be restricted so all instances refer to same documenttype to indicate the procurement project reference.

klakegg commented 7 years ago

Element cac:ReferencedContract is mandatory, but cbc:ContractTypeCode is optional. Are we making the latter mandatory too?

SiwMeckelborg commented 7 years ago

In my opinion, yes