# FX-SCH-A-000320

Source: https://xmlvalid.com/rules/FX-SCH-A-000320

> Value of 'ram:DeliveryTypeCode' is not allowed.

- Level: error
- Rule sets: Factur-X EXTENDED rules 1.09.2
- Context: `/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:ApplicableTradeDeliveryTerms/ram:DeliveryTypeCode`
- Test: `string-length($codeValue36)=0 or document('FACTUR-X_EXTENDED_codedb.xml')/codedb/cl[@id=36]/enumeration[@value=$codeValue36]`

Validate a document against these rules: https://xmlvalid.com/validate
