anskaffelser / ehf-postaward-g2

Specifications part of EHF Post-Award, 2nd generation.
33 stars 37 forks source link

Rules for Order Agreement #242

Closed bentab closed 7 years ago

bentab commented 7 years ago

Please make sure this box is checked before submitting your issue - thank you!

Issues related to PEPPOL BIS or rules part of PEPPOL BIS must be sent to rfc@peppol.eu.

Your issue here:

Adding rules for order agreement:

1. ProfileId, if element is missing we get system error referring to another element. Suggested message: Order agreement MUST have a profile identification.

2. cac:Delivery/cac:PromisedDeliveryPeriod/cbc:StartDate. StartDate is mandatory and max 1, but element can be absent. Suggested message: Delivery period must have a start date.

3. cac:LegalMonetaryTotal/cbc:TaxExclusiveAmount. TaxExclusiveAmount is mandatory and max 1, but can be absent. Suggested message: Monetary total MUST have total amount without VAT.

4. cac:OrderLine. Orderline can be absent, but is required. Suggested message: : At least one order line must exists.

5. cac:OrderLine/cac:LineItem/cbc:Quantity. Quantity is mandatory and and max 1, but can be absent Suggested message: An Order agreement line MUST contain a quantity.

6. cac:OrderLine/cac:LineItem/cac:Delivery/cac:PromisedDeliveryPeriod/cbc:StartDate. StartDate is mandatory and max 1, but can be absent. Suggested message: An Order agreement line MUST contain a delivery start date.

7. cac:OrderLine/cac:LineItem/cac:Price. Price is mandatory and max 1, but element can be absent. Suggested message: An Order agreement line MUST contain price.

8. cac:OrderLine/cac:LineItem/cac:Item/cac:AdditionalItemProperty/cbc:Value. Value is mandatory, but can be absent Suggested message: Additional item property MUST have a value.