Operation: DeliveryNoteQuery

The element vcr:DeliveryNoteQueryRequest extends vct:RequestType with the following elements:

Name

Type/occurence

Description

Name

Type/occurence

Description

vcr:DateRange

vcr:DateRangeType?

Range for document date.

vcr:OrderID

xsd:normalizedString*

Document number(s) of the corresponding order(s).

vcr:OrderConfirmationID

xsd:normalizedString*

Document number(s) of the corresponding order confirmations.

The element vcr:DeliveryNoteQueryResponse extends vct:ResponseType with the optional vcr:DateRange element and a list of vcr:DeliveryNoteHeader elements. DeliveryNoteHeader consists of the following elements:

Name

Type/occurrence

Description

Name

Type/occurrence

Description

vcr:DeliveryNoteID

xsd:string

Document number of the delivery note.

cbc:IssueDate

 

Document date.

vcr:Description

xsd:normalizedString?

Description.

vcr:OrderID

xsd:normalizedString*

Corresponding orders.

vcr:OrderConfirmationID

xsd:normalizedString*

Corresponding order confirmation.

Rules: Server

  1. A DeliveryNoteQueryRequest is to be processed as follows: All delivery notes to which the DateRange, OrderID and OrderConfirmationID search parameters apply are determined, as described in the section on document management.

  2. The determined list of delivery notes must be returned in the DeliveryNoteQueryResponse; any limitations of the search result must be communicated via DateRange, as described in document management.

  3. If the server supports the OrderID or OrderConfirmationID search parameters, each DeliveryNoteHeader element must also contain at least one non-empty OrderID or OrderConfirmationID element.

  4. If the QueryRequest contains OrderID or OrderConfirmationID elements, whereas the server does not support these search parameters, a DeliveryNoteQueryResponse with ResponseCode 404 is conveyed.

  5. If the server does not support one of the OrderID or OrderConfirmationID search parameters, it must declare this in the profile by means of UnsupportedQuery elements containing a DeliveryNote-OrderID or DeliveryNote-OrderConfirmationID.

Rules: Client

  1. OrderID search parameters may be used only if the server profile has not declared an absence of support for these search parameters.

  2. OrderConfirmationID search parameters may be used only if the server profile has not declared an absence of support for these search parameters.