DIWASS Integration Examples
DIWASS integration uses SOAP web services to exchange waste shipment documentation with competent authorities.
This page provides simplified examples of common DIWASS operations to help developers understand how requests and responses are structured.
The examples illustrate typical payloads used when submitting notifications, movement documents, and Annex VII documents.
Example: Submit Notificationโ
This example shows a simplified notification submission request.
Notifications are used for notified waste shipments under the EU Waste Shipment Regulation.
SOAP Request Exampleโ
<SubmitNotificationRequest>
<userCADomainId>EXAMPLE-SOFTWARE-001</userCADomainId>
<notification>
<destinedForRecoveryDisposal>RECOVERY</destinedForRecoveryDisposal>
<totalQuantity>
<massTonnes>10</massTonnes>
</totalQuantity>
<shipmentQuantity>3</shipmentQuantity>
<exportCountryId>HR</exportCountryId>
<importCountryId>DE</importCountryId>
<wasteClassifications>
<entry>
<wasteTypeCode>160213*</wasteTypeCode>
<wasteList>AnnexIV</wasteList>
</entry>
</wasteClassifications>
<recoveryDisposalTypeCodes>
<code>R3</code>
</recoveryDisposalTypeCodes>
</notification>
</SubmitNotificationRequest>
SOAP Response Exampleโ
<SubmitNotificationResponse>
<notificationId>
DIWASS-NOT-2026-HR-000123
</notificationId>
<status>SUBMITTED</status>
</SubmitNotificationResponse>
Example: Upload Attachmentโ
Attachments must be uploaded before submitting documents that reference them.
SOAP Requestโ
<UploadAttachmentRequest>
<attachmentType>FacilityPermit</attachmentType>
<originalFilename>
facility_permit.pdf
</originalFilename>
<mimeCode>
application/pdf
</mimeCode>
<containsPersonalData>false</containsPersonalData>
<fileData>
<!-- binary data transmitted using MTOM -->
</fileData>
</UploadAttachmentRequest>
SOAP Responseโ
<UploadAttachmentResponse>
<diwasskAttachmentId>
ATT-DIWASS-001
</diwasskAttachmentId>
</UploadAttachmentResponse>
Example: Submit Movement Documentโ
Movement documents are created for each shipment performed under an approved notification.
SOAP Requestโ
<SubmitMovementDocumentRequest>
<notificationId>
DIWASS-NOT-2026-HR-000123
</notificationId>
<movementDocument>
<sequenceNumber>1</sequenceNumber>
<actualDateOfShipment>
2026-06-01
</actualDateOfShipment>
<actualQuantity>
<massTonnes>3.5</massTonnes>
</actualQuantity>
<carrierMeansOfTransportCode>
T1
</carrierMeansOfTransportCode>
</movementDocument>
</SubmitMovementDocumentRequest>
SOAP Responseโ
<SubmitMovementDocumentResponse>
<movementId>
MOV-DIWASS-2026-001
</movementId>
<status>
SUBMITTED
</status>
</SubmitMovementDocumentResponse>
Example: Submit Annex VII Documentโ
Annex VII documents are used for green-listed waste shipments and follow a simplified procedure.
SOAP Requestโ
<SubmitAnnexVIIRequest>
<userCADomainId>EXAMPLE-SOFTWARE-001</userCADomainId>
<annexVIIDocument>
<actualDateOfShipment>
2026-06-10
</actualDateOfShipment>
<exportCountryId>HR</exportCountryId>
<importCountryId>AT</importCountryId>
<actualQuantity>
<massTonnes>5</massTonnes>
</actualQuantity>
<wasteClassifications>
<entry>
<wasteTypeCode>200101</wasteTypeCode>
<wasteList>AnnexIII</wasteList>
</entry>
</wasteClassifications>
</annexVIIDocument>
</SubmitAnnexVIIRequest>
SOAP Responseโ
<SubmitAnnexVIIResponse>
<annexVIIDocumentNo>
AVII-DIWASS-2026-HR-000456
</annexVIIDocumentNo>
<status>
ANNOUNCED
</status>
</SubmitAnnexVIIResponse>
Example: Retrieve Updatesโ
Client software must periodically request updates from DIWASS using synchronization endpoints.
SOAP Requestโ
<GetActionsRequest>
<userCADomainId>
EXAMPLE-SOFTWARE-001
</userCADomainId>
<lastSyncAt>
2026-05-21T08:00:00Z
</lastSyncAt>
</GetActionsRequest>
SOAP Responseโ
<GetActionsResponse>
<actions>
<action>
<actionType>
DECISION_ISSUED
</actionType>
<relatedDocumentType>
NOTIFICATION
</relatedDocumentType>
<relatedDocumentId>
DIWASS-NOT-2026-HR-000123
</relatedDocumentId>
</action>
</actions>
</GetActionsResponse>
Implementation Tipsโ
- Cache reference data such as country codes and waste classifications.
- Upload attachments before submitting documents that reference them.
- Track document lifecycle states.
- Implement retry logic for temporary API failures.
- Store synchronization timestamps when polling updates.
Related documentation: Notifications API ยท Movement Documents API ยท Annex VII API ยท Synchronization API