DCSA Standards Public Reference / Standards / Releases / Bill of Lading / Archive / Bill of Lading v3.0.3
DCSA eBL 3.0.3 - Technical Implementation Guidelines
This is a technical implementation guide to the DCSA electronic Bill of Lading (eBL) standard version 3.0.3. The audience of this document is technical teams of DCSA adopting organizations.
A 202 (Accepted) response confirms that a request has been accepted for further processing; it does not confirm that processing is complete or that the requested state change has occurred. The outcome is communicated through notifications or retrieved through the relevant GET endpoint. Except for submitting new Shipping Instructions (Use Case 1), the 202 responses described in this guide have an empty response body.
The Surrender API uses an empty 204 (No Content) response to acknowledge receipt of surrender requests and surrender responses (Use Cases 9, 10, 12 and 13). Acknowledgement of a surrender request does not communicate the surrender decision; the Carrier sends that decision later through POST /v3/ebl-surrender-responses.
Contents
- Use Case 1: Submit Shipping Instructions
- Synchronous carrier processing
- Asynchronous carrier processing
- Footnotes
- Use Case 2: Request to update Shipping Instructions
- Footnotes
- Use Case 3: Submit updated Shipping Instructions
- Synchronous carrier processing
- GET Shipping Instructions (Shipping Instructions is in state
RECEIVED) - GET Shipping Instructions (Shipping Instructions is in state
PENDING_UPDATE) - GET updated Shipping Instructions (Shipping Instructions is in state
RECEIVED) - GET updated Shipping Instructions (Shipping Instructions is in state
PENDING_UPDATE) - GET Transport Document (Shipping Instructions is in state
RECEIVEDorPENDING_UPDATE)
- GET Shipping Instructions (Shipping Instructions is in state
- Asynchronous carrier processing
- Footnotes
- Use Case 4: Process updated Shipping Instructions
- Confirm updated Shipping Instructions
- GET Shipping Instructions (after Shipping Instructions is in state
RECEIVED) - GET updated Shipping Instructions (after updated Shipping Instructions is in state
UPDATE_CONFIRMED) - GET Transport Document (after Shipping Instructions is in
RECEIVEDand updated Shipping Instructions is in stateUPDATE_CONFIRMED)
- GET Shipping Instructions (after Shipping Instructions is in state
- Decline updated Shipping Instructions
- GET Shipping Instructions (Shipping Instructions is in state
RECEIVEDorPENDING_UPDATE) - GET updated Shipping Instructions (after updated Shipping Instructions is in state
UPDATE_DECLINED) - GET Transport Document (after Shipping Instructions is in
RECEIVEDorPENDING_UPDATEand updated Shipping Instructions is in stateUPDATE_DECLINED)
- GET Shipping Instructions (Shipping Instructions is in state
- Footnotes
- Use Case 5: Cancel update to Shipping Instructions
- Synchronous carrier processing
- GET Shipping Instructions (Shipping Instructions is in state
RECEIVEDorPENDING_UPDATE) - GET updated Shipping Instructions (updated Shipping Instructions is in state
UPDATE_RECEIVED) - GET Transport Document (when Shipping Instructions is in
RECEIVEDorPENDING_UPDATEand updated Shipping Instructions is in stateUPDATE_RECEIVED)
- GET Shipping Instructions (Shipping Instructions is in state
- Asynchronous carrier processing: Accept cancellation
- GET Shipping Instructions (Shipping Instructions is in state
RECEIVEDorPENDING_UPDATE) - GET updated Shipping Instructions (updated Shipping Instructions is in state
UPDATE_CANCELLED) - GET Transport Document (when Shipping Instructions is in
RECEIVEDorPENDING_UPDATEand updated Shipping Instructions is in stateUPDATE_CANCELLED)
- GET Shipping Instructions (Shipping Instructions is in state
- Asynchronous carrier processing: Decline cancellation
- GET Shipping Instructions (Shipping Instructions is in state
RECEIVEDorPENDING_UPDATE) - GET updated Shipping Instructions (updated Shipping Instructions is in state
UPDATE_RECEIVED) - GET Transport Document (when Shipping Instructions is in
RECEIVEDorPENDING_UPDATEand updated Shipping Instructions is in stateUPDATE_RECEIVED)
- GET Shipping Instructions (Shipping Instructions is in state
- Footnotes
- Use Case 6: Publish Draft Transport Document
- Use Case 7: Approve Draft Transport Document
- Synchronous carrier processing
- Asynchronous carrier processing
- Use Case 8: Issue Transport Document
- Use Case 9: Request surrender Transport Document (amendment)
- Synchronous carrier processing
- Asynchronous carrier processing
- Footnotes
- Use Case 10: Process Transport Document surrender request (amendment)
- Confirm Surrender for Amendment
- Reject Surrender for Amendment
- Footnotes
- Use Case 11: Void original Transport Document and issue amended Transport Document
- Void Surrendered Transport Document
- Issue Amended Transport Document
- Footnotes
- Use Case 12: Request surrender Transport Document (delivery)
- Synchronous carrier processing
- Asynchronous carrier processing
- Footnotes
- Use Case 13: Process Transport Document surrender request (delivery)
- Confirm Surrender for Delivery
- Reject Surrender for Delivery
- Footnotes
- Use Case 14: Confirm Shipping Instructions completed
- Footnotes
- Use Case 15: Cancel Shipping Instructions
- Synchronous carrier processing
- Asynchronous carrier processing
- Footnotes
- Use Case 16: Decline Shipping Instructions by Carrier
- Footnotes
- Use Case 17: Request Transport Document amendment
- Synchronous carrier processing
- Asynchronous carrier processing
- Footnotes
- Use Case 18: Cancel Transport Document amendment
- Synchronous carrier processing
- Asynchronous carrier processing
- Footnotes
- Use Case 19: Process Transport Document amendment
- Confirm Transport Document amendment
- Decline Transport Document amendment
- Footnotes
Use Case 1: Submit Shipping Instructions
Calling: POST /shipping-instructions
The empty equipment has been released to the Shipper. The Booking is in state CONFIRMED. If the Shipping Instructions refers to multiple Bookings, all of them are in state CONFIRMED.
Synchronous carrier processing
- The Shipper sends a
POSTrequest to create Shipping Instructions. - The Carrier MUST perform the schema validation, to ensure that if it accepts the Shipping Instructions, it can subsequently return it as a valid
GETresponse. - If the payload does not validate, the Carrier responds with
400(Bad Request), with anErrorResponsepayload describing the validation errors, and does not accept the request for further processing. - The Carrier MAY also perform other validations or processing synchronously, optionally resulting in the collection of feedback.
- If validations succeed, the Carrier responds with a
202(Accepted) containing only theshippingInstructionsReference. - The Shipping Instructions does not yet contain a state.
GET Shipping Instructions (before Shipping Instructions is in state RECEIVED)
Calling: GET /shipping-instructions/{documentReference} 1
- The Shipper sends a
GETrequest to retrieve the Shipping Instructions. - The Carrier responds with an empty
202(Accepted), or an error response with404(Not Found) or409(Conflict).
GET updated Shipping Instructions (before Shipping Instructions is in state RECEIVED)
Calling: GET /shipping-instructions/{documentReference}?updatedContent=true 1
- The Shipper sends a
GETrequest with theupdatedContentquery parameter set totrueto retrieve the updated Shipping Instructions. - The Carrier responds with
404(Not Found) as no update exists.
GET Transport Document (before Shipping Instructions is in state RECEIVED)
Calling: GET /transport-documents/{transportDocumentReference}
- The Shipper sends a
GETTransport Document request to retrieve the Transport Document. - The Carrier responds with
404(Not Found) as no Transport Document exists.
Asynchronous carrier processing
- The Carrier continues validating and processing the Shipping Instructions, optionally collecting additional feedback.
- The Carrier sets the Shipping Instructions state to
RECEIVED. - The Carrier sends a Shipping Instructions Notification to the Shipper (
POST /shipping-instructions-notifications):- If feedback was collected, it is included in
data.feedbacks. - If a full notification is sent, the Shipping Instructions (
data.shippingInstructionsproperty) is included, also containing feedback. - There MAY be differences between the feedback in
data.feedbacksand indata.shippingInstructions.feedbacks(e.g. the Carrier MAY includeINFOfeedback in one property but not in the other).
- If feedback was collected, it is included in
- The Carrier MAY resend the notification.
- When resending the same event, the previous notification
idMAY be reused. - When sending a distinct event, including an updated notification with changed content or feedback, the combination of
sourceandidMUST be unique.
- When resending the same event, the previous notification
GET Shipping Instructions (after Shipping Instructions is in state RECEIVED)
Calling: GET /shipping-instructions/{documentReference} 1
- The Shipper sends a
GETrequest to retrieve the Shipping Instructions. - The Carrier responds with
200(OK) with the content of the Shipping Instructions (or an empty202(Accepted) /409(Conflict) in case the Carrier is in the middle of processing the Shipping Instructions).- If feedback was collected, it is included in the
feedbacksproperty in the Shipping Instructions.
- If feedback was collected, it is included in the
- Subsequent
GETrequests MAY return different feedback (e.g. the Carrier MAY still be processing the Shipping Instructions asynchronously).
GET updated Shipping Instructions (after Shipping Instructions is in state RECEIVED)
Calling: GET /shipping-instructions/{documentReference}?updatedContent=true 1
- The Shipper sends a
GETrequest with theupdatedContentquery parameter set totrueto retrieve the updated Shipping Instructions. - The Carrier responds with
404(Not Found) as no update exists.
GET Transport Document (after Shipping Instructions is in state RECEIVED)
Calling: GET /transport-documents/{transportDocumentReference}
- The Shipper sends a
GETTransport Document request to retrieve the Transport Document. - If a Transport Document has previously been Drafted then the Carrier responds with
200(OK) with the content of the Transport Document (or an empty202(Accepted) in case the Carrier is in the middle of processing the Transport Document). - If no Transport Document exists yet - then the Carrier responds with
404(Not Found).
Footnotes
-
documentReferencecan be either:shippingInstructionsReferenceortransportDocumentReferencedepending on what is available. If the Carrier has provided thetransportDocumentReferencethis can be used throughout the process. ↩ ↩2 ↩3 ↩4
Use Case 2: Request to update Shipping Instructions
The Shipping Instructions is in state RECEIVED or PENDING_UPDATE. If an updated Shipping Instructions exists, it is in state UPDATE_RECEIVED.
- The Carrier changes the Shipping Instructions state to
PENDING_UPDATE. - If an updated Shipping Instructions exists (because of a previous request to update) it is cleared.
- The Carrier sends a Shipping Instructions Notification to the Shipper (
POST /shipping-instructions-notifications).- There MUST be feedback. It is included in
data.feedbacks. - If a full notification is sent, the Shipping Instructions (
data.shippingInstructionsproperty) is included and MUST also contain feedback. - There MAY be differences between the feedback in
data.feedbacksand indata.shippingInstructions.feedbacks(e.g. the Carrier MAY includeINFOfeedback in one property but not in the other).
- There MUST be feedback. It is included in
- If the Carrier performs Use Case 2 again or resends the notification, the following event identity rules apply:
- When resending the same event, the previous notification
idMAY be reused. - When sending a distinct event, including an updated notification with changed content or feedback, the combination of
sourceandidMUST be unique.
- When resending the same event, the previous notification
GET Shipping Instructions (after Shipping Instructions is in state PENDING_UPDATE)
Calling: GET /shipping-instructions/{documentReference} 1
- The Shipper sends a
GETrequest to retrieve the Shipping Instructions. - The Carrier responds with
200(OK) with the content of the Shipping Instructions (or an empty202(Accepted) /409(Conflict) in case the Carrier is in the middle of processing the Shipping Instructions).- The mandatory feedback is included in the Shipping Instructions.
- Subsequent
GETrequests MAY return different feedback (e.g. the Carrier MAY still be processing the Shipping Instructions asynchronously).
GET updated Shipping Instructions (after Shipping Instructions is in state PENDING_UPDATE)
Calling: GET /shipping-instructions/{documentReference}?updatedContent=true 1
- The Shipper sends a
GETrequest with theupdatedContentquery parameter set totrueto retrieve the updated Shipping Instructions. - The Carrier responds with
404(Not Found) as no update exists after the status has changed toPENDING_UPDATE.
GET Transport Document (after Shipping Instructions is in state PENDING_UPDATE)
Calling: GET /transport-documents/{transportDocumentReference}
- The Shipper sends a
GETTransport Document request to retrieve the Transport Document. - If a Transport Document has previously been Drafted then the Carrier responds with
200(OK) with the content of the Transport Document (or an empty202(Accepted) in case the Carrier is in the middle of processing the Transport Document). - If no Transport Document exists yet - then the Carrier responds with
404(Not Found).
Footnotes
-
documentReferencecan be either:shippingInstructionsReferenceortransportDocumentReferencedepending on what is available. If the Carrier has provided thetransportDocumentReferencethis can be used throughout the process. ↩ ↩2
Use Case 3: Submit updated Shipping Instructions
Calling: PUT /shipping-instructions/{documentReference} 1
The Shipping Instructions is in state RECEIVED or PENDING_UPDATE. If a previous update exists, it is in state UPDATE_RECEIVED, UPDATE_CONFIRMED, UPDATE_DECLINED or UPDATE_CANCELLED. If a Transport Document exists, it is in state DRAFT, ISSUED or PENDING_SURRENDER_FOR_AMENDMENT.
Synchronous carrier processing
- The Party involved 2 sends a
PUTrequest to update Shipping Instructions. - The Carrier MUST perform the schema validation, to ensure that if it accepts the Shipping Instructions, it can subsequently return it as a valid
GETresponse. - If the payload does not validate, the Carrier responds with
400(Bad Request), with anErrorResponsepayload describing the validation errors, and does not accept the request for further processing. - The Carrier MAY also perform other validations or processing synchronously, optionally resulting in the collection of feedback.
- If the Shipping Instructions is in state
COMPLETED,CANCELLEDorDECLINED, the Carrier responds with409(Conflict), with anErrorResponseexplaining that the Shipping Instructions can no longer be modified. - If validations succeed, the Carrier responds with an empty
202(Accepted). - A
404(Not Found) is returned if thedocumentReference1 is not known. - A
409(Conflict) is returned if the Carrier is processing a Shipping Instructions request. - Shipping Instructions state is unchanged (it is still in
RECEIVEDorPENDING_UPDATE).
GET Shipping Instructions (Shipping Instructions is in state RECEIVED)
Calling: GET /shipping-instructions/{documentReference} 1
- The Party involved 2 sends a
GETrequest to retrieve the Shipping Instructions. - The Carrier responds with
200(OK) with the content of the Shipping Instructions (or an empty202(Accepted) /409(Conflict) in case the Carrier is in the middle of processing the Shipping Instructions).- The optional feedback is included in the Shipping Instructions.
- Subsequent
GETrequests MAY return different feedback (e.g. the Carrier MAY still be processing the Shipping Instructions asynchronously).
GET Shipping Instructions (Shipping Instructions is in state PENDING_UPDATE)
Calling: GET /shipping-instructions/{documentReference} 1
- The Party involved 2 sends a
GETrequest to retrieve the Shipping Instructions. - The Carrier responds with
200(OK) with the content of the Shipping Instructions (or an empty202(Accepted) /409(Conflict) in case the Carrier is in the middle of processing the Shipping Instructions).- The mandatory feedback is included in the Shipping Instructions.
- Subsequent
GETrequests MAY return different feedback (e.g. the Carrier MAY still be processing the Shipping Instructions asynchronously).
GET updated Shipping Instructions (Shipping Instructions is in state RECEIVED)
Calling: GET /shipping-instructions/{documentReference}?updatedContent=true 1
- The Party involved 2 sends a
GETrequest with theupdatedContentquery parameter set totrueto retrieve the updated Shipping Instructions. - If an updated Shipping Instructions exists, the Carrier responds with
200(OK) with the content of the latest updated Shipping Instructions, whether its state isUPDATE_RECEIVED,UPDATE_CONFIRMED,UPDATE_DECLINEDorUPDATE_CANCELLED(or an empty202(Accepted) /409(Conflict) in case the Carrier is in the middle of processing the updated Shipping Instructions).- If feedback was collected, it is included in the updated Shipping Instructions
feedbacksproperty.
- If feedback was collected, it is included in the updated Shipping Instructions
- Subsequent
GETrequests MAY return different feedback (e.g. the Carrier MAY still be processing the updated Shipping Instructions asynchronously). - If no updated Shipping Instructions exists, the Carrier responds with
404(Not Found).
GET updated Shipping Instructions (Shipping Instructions is in state PENDING_UPDATE)
Calling: GET /shipping-instructions/{documentReference}?updatedContent=true 1
- The Party involved 2 sends a
GETrequest with theupdatedContentquery parameter set totrueto retrieve the updated Shipping Instructions. - If an updated Shipping Instructions exists, the Carrier responds with
200(OK) with the content of the latest updated Shipping Instructions, whether its state isUPDATE_RECEIVED,UPDATE_DECLINEDorUPDATE_CANCELLED(or an empty202(Accepted) /409(Conflict) in case the Carrier is in the middle of processing the updated Shipping Instructions).- If feedback was collected, it is included in the updated Shipping Instructions
feedbacksproperty.
- If feedback was collected, it is included in the updated Shipping Instructions
- Subsequent
GETrequests MAY return different feedback (e.g. the Carrier MAY still be processing the updated Shipping Instructions asynchronously). - If no updated Shipping Instructions exists, the Carrier responds with
404(Not Found).
GET Transport Document (Shipping Instructions is in state RECEIVED or PENDING_UPDATE)
Calling: GET /transport-documents/{transportDocumentReference}
- The Party involved 2 sends a
GETTransport Document request to retrieve the Transport Document. - If a Transport Document has previously been Drafted then the Carrier responds with
200(OK) with the content of the Transport Document (or an empty202(Accepted) in case the Carrier is in the middle of processing the Transport Document). - If no Transport Document exists yet - then the Carrier responds with
404(Not Found).
Asynchronous carrier processing
- The Carrier sets the updated Shipping Instructions state to
UPDATE_RECEIVED(the Shipping Instructions state is unchanged). - The Carrier sends a Shipping Instructions Notification to the Party/Parties involved 2 (
POST /shipping-instructions-notifications).- If feedback for the updated Shipping Instructions was collected, it is included in
data.feedbacks. - If a full notification is sent:
- The Shipping Instructions (
data.shippingInstructionsproperty) is included, also containing feedback (mandatory if Shipping Instructions state isPENDING_UPDATEand optional if the Shipping Instructions state isRECEIVED). - The updated Shipping Instructions (
data.updatedShippingInstructionsproperty) is included, optionally containing feedback.
- The Shipping Instructions (
- There MAY be differences between the feedback in
data.feedbacksand indata.updatedShippingInstructions.feedbacks(e.g. the Carrier MAY includeINFOfeedback in one property but not in the other).
- If feedback for the updated Shipping Instructions was collected, it is included in
- The Carrier MAY resend the notification.
- When resending the same event, the previous notification
idMAY be reused. - When sending a distinct event, including an updated notification with changed content or feedback, the combination of
sourceandidMUST be unique.
- When resending the same event, the previous notification
GET Shipping Instructions (after updated Shipping Instructions is in state UPDATE_RECEIVED)
Calling: GET /shipping-instructions/{documentReference} 1
- The Party involved 2 sends a
GETrequest to retrieve the Shipping Instructions. - The Carrier responds with
200(OK) with the content of the Shipping Instructions (or an empty202(Accepted) /409(Conflict) in case the Carrier is in the middle of processing the Shipping Instructions).- The optional feedback is included in the Shipping Instructions (feedback is mandatory if the Shipping Instructions is in state
PENDING_UPDATE).
- The optional feedback is included in the Shipping Instructions (feedback is mandatory if the Shipping Instructions is in state
- Subsequent
GETrequests MAY return different feedback (e.g. the Carrier MAY still be processing the Shipping Instructions asynchronously).
GET updated Shipping Instructions (after updated Shipping Instructions is in state UPDATE_RECEIVED)
Calling: GET /shipping-instructions/{documentReference}?updatedContent=true 1
- The Party involved 2 sends a
GETrequest with theupdatedContentquery parameter set totrueto retrieve the updated Shipping Instructions. - The Carrier responds with
200(OK) with the content of the updated Shipping Instructions (or an empty202(Accepted) /409(Conflict) in case the Carrier is in the middle of processing the updated Shipping Instructions).- The optional feedback MAY be included in the updated Shipping Instructions.
- Subsequent
GETrequests MAY return different feedback (e.g. the Carrier MAY still be processing the updated Shipping Instructions asynchronously).
GET Transport Document (after updated Shipping Instructions is in state UPDATE_RECEIVED)
Calling: GET /transport-documents/{transportDocumentReference}
- The Party involved 2 sends a
GETTransport Document request to retrieve the Transport Document. - If a Transport Document has previously been Drafted then the Carrier responds with
200(OK) with the content of the Transport Document (or an empty202(Accepted) in case the Carrier is in the middle of processing the Transport Document). - If no Transport Document exists yet - then the Carrier responds with
404(Not Found).
Footnotes
-
documentReferencecan be either:shippingInstructionsReferenceortransportDocumentReferencedepending on what is available. If the Carrier has provided thetransportDocumentReferencethis can be used throughout the process. ↩ ↩2 ↩3 ↩4 ↩5 ↩6 ↩7 ↩8 - Party/Parties involved can be either:
Shipper,ConsigneeorEndorsee, as applicable to the underlying use case. ↩ ↩2 ↩3 ↩4 ↩5 ↩6 ↩7 ↩8 ↩9 ↩10
Use Case 4: Process updated Shipping Instructions
The Shipping Instructions is in state RECEIVED or PENDING_UPDATE. The updated Shipping Instructions is in state UPDATE_RECEIVED. If a Transport Document exists, it is in state DRAFT, ISSUED or PENDING_SURRENDER_FOR_AMENDMENT.
Confirm updated Shipping Instructions
- The Carrier changes the Shipping Instructions state to
RECEIVED. - The Carrier changes the updated Shipping Instructions state to
UPDATE_CONFIRMED. - The update now becomes the confirmed Shipping Instructions.
- The Carrier sends a Shipping Instructions Notification to the Party/Parties involved 2 (
POST /shipping-instructions-notifications).- If feedback for the Shipping Instructions is collected, it is included in
data.feedbacks. - If a full notification is sent, the new Shipping Instructions (
data.shippingInstructionsproperty) is included, also containing optional feedback connected to the Shipping Instructions. - If a full notification is sent, the updated Shipping Instructions (
data.updatedShippingInstructionsproperty) is included, also containing optional feedback connected to the update. - There MAY be differences between the feedback in
data.feedbacksand indata.shippingInstructions.feedbacks(e.g. the Carrier MAY includeINFOfeedback in one property but not in the other).
- If feedback for the Shipping Instructions is collected, it is included in
- The Carrier MAY resend the notification.
- When resending the same event, the previous notification
idMAY be reused. - When sending a distinct event, including an updated notification with changed content or feedback, the combination of
sourceandidMUST be unique.
- When resending the same event, the previous notification
GET Shipping Instructions (after Shipping Instructions is in state RECEIVED)
Calling: GET /shipping-instructions/{documentReference} 1
- The Party involved 2 sends a
GETrequest to retrieve the Shipping Instructions. - The Carrier responds with
200(OK) with the content of the Shipping Instructions (or an empty202(Accepted) /409(Conflict) in case the Carrier is in the middle of processing the Shipping Instructions).- The optional feedback is included in the Shipping Instructions.
- Subsequent
GETrequests MAY return different feedback (e.g. the Carrier MAY still be processing the Shipping Instructions asynchronously).
👉 Important note: The content of the Shipping Instructions and the updated Shipping Instructions are the same.
GET updated Shipping Instructions (after updated Shipping Instructions is in state UPDATE_CONFIRMED)
Calling: GET /shipping-instructions/{documentReference}?updatedContent=true 1
- The Party involved 2 sends a
GETrequest with theupdatedContentquery parameter set totrueto retrieve the updated Shipping Instructions. - The Carrier responds with
200(OK) with the content of the updated Shipping Instructions (or an empty202(Accepted) /409(Conflict) in case the Carrier is in the middle of processing the updated Shipping Instructions).- The optional feedback MAY be included in the updated Shipping Instructions.
- Subsequent
GETrequests MAY return different feedback (e.g. the Carrier MAY still be processing the updated Shipping Instructions asynchronously).
👉 Important note: The content of the Shipping Instructions and the updated Shipping Instructions are the same.
GET Transport Document (after Shipping Instructions is in RECEIVED and updated Shipping Instructions is in state UPDATE_CONFIRMED)
Calling: GET /transport-documents/{transportDocumentReference}
- The Party involved 2 sends a
GETTransport Document request to retrieve the Transport Document. - If a Transport Document has previously been Drafted then the Carrier responds with
200(OK) with the content of the Transport Document (or an empty202(Accepted) in case the Carrier is in the middle of processing the Transport Document). - If no Transport Document exists yet - then the Carrier responds with
404(Not Found).
Decline updated Shipping Instructions
- The Carrier leaves the Shipping Instructions state unchanged (it can be
RECEIVEDorPENDING_UPDATE). - The Carrier changes the updated Shipping Instructions state to
UPDATE_DECLINED. - The Carrier sends a Shipping Instructions Notification to the Party/Parties involved 2 (
POST /shipping-instructions-notifications).- The Carrier MAY provide a reason for declining the updated Shipping Instructions. If provided, the reason is conveyed through feedback in
data.feedbacks. Any additional feedback collected for the Shipping Instructions is also included. - If a full notification is sent, the current Shipping Instructions (
data.shippingInstructionsproperty) is included, also containing optional feedback connected to the Shipping Instructions (the feedback is mandatory if the state of the Shipping Instructions isPENDING_UPDATE). - If a full notification is sent, the updated Shipping Instructions (
data.updatedShippingInstructionsproperty) is included, containing any reason provided for declining in itsfeedbacksproperty. - There MAY be differences between the feedback in
data.feedbacksand indata.shippingInstructions.feedbacks(e.g. the Carrier MAY includeINFOfeedback in one property but not in the other).
- The Carrier MAY provide a reason for declining the updated Shipping Instructions. If provided, the reason is conveyed through feedback in
- The Carrier MAY resend the notification.
- When resending the same event, the previous notification
idMAY be reused. - When sending a distinct event, including an updated notification with changed content or feedback, the combination of
sourceandidMUST be unique.
- When resending the same event, the previous notification
GET Shipping Instructions (Shipping Instructions is in state RECEIVED or PENDING_UPDATE)
Calling: GET /shipping-instructions/{documentReference} 1
- The Party involved 2 sends a
GETrequest to retrieve the Shipping Instructions. - The Carrier responds with
200(OK) with the content of the Shipping Instructions (or an empty202(Accepted) /409(Conflict) in case the Carrier is in the middle of processing the Shipping Instructions).- The optional feedback is included in the Shipping Instructions (if the Shipping Instructions state is
PENDING_UPDATEthe feedback is mandatory).
- The optional feedback is included in the Shipping Instructions (if the Shipping Instructions state is
- Subsequent
GETrequests MAY return different feedback (e.g. the Carrier MAY still be processing the Shipping Instructions asynchronously).
GET updated Shipping Instructions (after updated Shipping Instructions is in state UPDATE_DECLINED)
Calling: GET /shipping-instructions/{documentReference}?updatedContent=true 1
- The Party involved 2 sends a
GETrequest with theupdatedContentquery parameter set totrueto retrieve the updated Shipping Instructions. - The Carrier responds with
200(OK) with the content of the updated Shipping Instructions (or an empty202(Accepted) /409(Conflict) in case the Carrier is in the middle of processing the updated Shipping Instructions).- If a reason for declining the update is provided, it is included in the updated Shipping Instructions
feedbacksproperty.
- If a reason for declining the update is provided, it is included in the updated Shipping Instructions
- Subsequent
GETrequests MAY return different feedback (e.g. the Carrier MAY still be processing the updated Shipping Instructions asynchronously).
GET Transport Document (after Shipping Instructions is in RECEIVED or PENDING_UPDATE and updated Shipping Instructions is in state UPDATE_DECLINED)
Calling: GET /transport-documents/{transportDocumentReference}
- The Party involved 2 sends a
GETTransport Document request to retrieve the Transport Document. - If a Transport Document has previously been Drafted then the Carrier responds with
200(OK) with the content of the Transport Document (or an empty202(Accepted) in case the Carrier is in the middle of processing the Transport Document). - If no Transport Document exists yet - then the Carrier responds with
404(Not Found).
Footnotes
-
documentReferencecan be either:shippingInstructionsReferenceortransportDocumentReferencedepending on what is available. If the Carrier has provided thetransportDocumentReferencethis can be used throughout the process. ↩ ↩2 ↩3 ↩4 - Party/Parties involved can be either:
Shipper,ConsigneeorEndorsee, as applicable to the underlying use case. ↩ ↩2 ↩3 ↩4 ↩5 ↩6 ↩7 ↩8
Use Case 5: Cancel update to Shipping Instructions
Calling: PATCH /shipping-instructions/{documentReference} 1
with payload:
{
"updatedShippingInstructionsStatus": "UPDATE_CANCELLED"
}
The Shipping Instructions is in state RECEIVED or PENDING_UPDATE. The updated Shipping Instructions is in state UPDATE_RECEIVED. If a Transport Document exists, it is in state DRAFT, ISSUED or PENDING_SURRENDER_FOR_AMENDMENT.
Synchronous carrier processing
- The Party involved 2 sends a
PATCHrequest to cancel a Shipping Instructions update. - The Carrier MUST perform the schema validation, to ensure that if it accepts the cancellation it can subsequently process it.
- If the payload does not validate, the Carrier responds with
400(Bad Request), with anErrorResponsepayload describing the validation errors, and does not accept the request for further processing. - The Carrier MAY also perform other validations or processing synchronously, optionally resulting in the collection of feedback.
- If the Shipping Instructions is in state
COMPLETED,CANCELLEDorDECLINED, the Carrier responds with409(Conflict), with anErrorResponseexplaining that the Shipping Instructions can no longer be modified. - If validations succeed, the Carrier responds with an empty
202(Accepted). - A
404(Not Found) is returned if thedocumentReference1 is not known or no update exists. - A
409(Conflict) is returned if the Carrier is processing a Shipping Instructions request. - Shipping Instructions state is unchanged (it is still in
RECEIVEDorPENDING_UPDATE). - The updated Shipping Instructions state is unchanged (it is still in
UPDATE_RECEIVED).
GET Shipping Instructions (Shipping Instructions is in state RECEIVED or PENDING_UPDATE)
Calling: GET /shipping-instructions/{documentReference} 1
- The Party involved 2 sends a
GETrequest to retrieve the Shipping Instructions. - The Carrier responds with
200(OK) with the content of the Shipping Instructions (or an empty202(Accepted) /409(Conflict) in case the Carrier is in the middle of processing the Shipping Instructions).- The optional feedback is included in the Shipping Instructions (if the Shipping Instructions is in state
PENDING_UPDATE- the feedback is mandatory).
- The optional feedback is included in the Shipping Instructions (if the Shipping Instructions is in state
- Subsequent
GETrequests MAY return different feedback (e.g. the Carrier MAY still be processing the Shipping Instructions asynchronously).
GET updated Shipping Instructions (updated Shipping Instructions is in state UPDATE_RECEIVED)
Calling: GET /shipping-instructions/{documentReference}?updatedContent=true 1
- The Party involved 2 sends a
GETrequest with theupdatedContentquery parameter set totrueto retrieve the updated Shipping Instructions. - The Carrier responds with
200(OK) with the content of the updated Shipping Instructions (or an empty202(Accepted) /409(Conflict) in case the Carrier is in the middle of processing the updated Shipping Instructions).- The optional feedback is included in the updated Shipping Instructions.
- Subsequent
GETrequests MAY return different feedback (e.g. the Carrier MAY still be processing the updated Shipping Instructions asynchronously).
GET Transport Document (when Shipping Instructions is in RECEIVED or PENDING_UPDATE and updated Shipping Instructions is in state UPDATE_RECEIVED)
Calling: GET /transport-documents/{transportDocumentReference}
- The Party involved 2 sends a
GETTransport Document request to retrieve the Transport Document. - If a Transport Document has previously been Drafted then the Carrier responds with
200(OK) with the content of the Transport Document (or an empty202(Accepted) in case the Carrier is in the middle of processing the Transport Document). - If no Transport Document exists yet - then the Carrier responds with
404(Not Found).
Asynchronous carrier processing: Accept cancellation
- The Shipping Instructions state stays unchanged (
RECEIVEDorPENDING_UPDATE). - The Carrier changes the updated Shipping Instructions state to
UPDATE_CANCELLED. - The Carrier sends a Shipping Instructions Notification to the Party/Parties involved 2 (
POST /shipping-instructions-notifications).- If feedback for the update was collected, it is included in
data.feedbacks. - If a full notification is sent, the Shipping Instructions (
data.shippingInstructionsproperty) is included, also containing optional feedback connected to the Shipping Instructions (if the Shipping Instructions is in statePENDING_UPDATE- the feedback is mandatory). - If a full notification is sent, the update (
data.updatedShippingInstructionsproperty) is included, also containing optional feedback connected to the update. - There MAY be differences between the feedback in
data.feedbacksand indata.updatedShippingInstructions.feedbacks(e.g. the Carrier MAY includeINFOfeedback in one property but not in the other).
- If feedback for the update was collected, it is included in
- The Carrier MAY resend the notification.
- When resending the same event, the previous notification
idMAY be reused. - When sending a distinct event, including an updated notification with changed content or feedback, the combination of
sourceandidMUST be unique.
- When resending the same event, the previous notification
GET Shipping Instructions (Shipping Instructions is in state RECEIVED or PENDING_UPDATE)
Calling: GET /shipping-instructions/{documentReference} 1
- The Party involved 2 sends a
GETrequest to retrieve the Shipping Instructions. - The Carrier responds with
200(OK) with the content of the Shipping Instructions (or an empty202(Accepted) /409(Conflict) in case the Carrier is in the middle of processing the Shipping Instructions).- The optional feedback is included in the Shipping Instructions (if the Shipping Instructions is in state
PENDING_UPDATE- the feedback is mandatory).
- The optional feedback is included in the Shipping Instructions (if the Shipping Instructions is in state
- Subsequent
GETrequests MAY return different feedback (e.g. the Carrier MAY still be processing the Shipping Instructions asynchronously).
GET updated Shipping Instructions (updated Shipping Instructions is in state UPDATE_CANCELLED)
Calling: GET /shipping-instructions/{documentReference}?updatedContent=true 1
- The Party involved 2 sends a
GETrequest with theupdatedContentquery parameter set totrueto retrieve the updated Shipping Instructions. - The Carrier responds with
200(OK) with the content of the updated Shipping Instructions (or an empty202(Accepted) /409(Conflict) in case the Carrier is in the middle of processing the updated Shipping Instructions).- The optional feedback is included in the updated Shipping Instructions.
- Subsequent
GETrequests MAY return different feedback (e.g. the Carrier MAY still be processing the updated Shipping Instructions asynchronously).
GET Transport Document (when Shipping Instructions is in RECEIVED or PENDING_UPDATE and updated Shipping Instructions is in state UPDATE_CANCELLED)
Calling: GET /transport-documents/{transportDocumentReference}
- The Party involved 2 sends a
GETTransport Document request to retrieve the Transport Document. - If a Transport Document has previously been Drafted then the Carrier responds with
200(OK) with the content of the Transport Document (or an empty202(Accepted) in case the Carrier is in the middle of processing the Transport Document). - If no Transport Document exists yet - then the Carrier responds with
404(Not Found).
Asynchronous carrier processing: Decline cancellation
- The Shipping Instructions state stays unchanged (
RECEIVEDorPENDING_UPDATE). - The updated Shipping Instructions stays unchanged
UPDATE_RECEIVED. - The Carrier sends a Shipping Instructions Notification to the Party/Parties involved 2 (
POST /shipping-instructions-notifications).- If a reason for declining the cancellation is provided, it is conveyed through feedback in
data.feedbacksand in the updated Shipping Instructionsfeedbacksproperty. Any additional feedback collected for the update is also included indata.feedbacks. - If a full notification is sent, the Shipping Instructions (
data.shippingInstructionsproperty) is included, also containing optional feedback connected to the Shipping Instructions (if the Shipping Instructions is in statePENDING_UPDATE- the feedback is mandatory). - If a full notification is sent, the update (
data.updatedShippingInstructionsproperty) is included, also containing optional feedback connected to the update. - There MAY be differences between the feedback in
data.feedbacksand indata.updatedShippingInstructions.feedbacks(e.g. the Carrier MAY includeINFOfeedback in one property but not in the other).
- If a reason for declining the cancellation is provided, it is conveyed through feedback in
- The Carrier MAY resend the notification.
- When resending the same event, the previous notification
idMAY be reused. - When sending a distinct event, including an updated notification with changed content or feedback, the combination of
sourceandidMUST be unique.
- When resending the same event, the previous notification
GET Shipping Instructions (Shipping Instructions is in state RECEIVED or PENDING_UPDATE)
Calling: GET /shipping-instructions/{documentReference} 1
- The Party involved 2 sends a
GETrequest to retrieve the Shipping Instructions. - The Carrier responds with
200(OK) with the content of the Shipping Instructions (or an empty202(Accepted) /409(Conflict) in case the Carrier is in the middle of processing the Shipping Instructions).- The optional feedback is included in the Shipping Instructions (if the Shipping Instructions is in state
PENDING_UPDATE- the feedback is mandatory).
- The optional feedback is included in the Shipping Instructions (if the Shipping Instructions is in state
- Subsequent
GETrequests MAY return different feedback (e.g. the Carrier MAY still be processing the Shipping Instructions asynchronously).
GET updated Shipping Instructions (updated Shipping Instructions is in state UPDATE_RECEIVED)
Calling: GET /shipping-instructions/{documentReference}?updatedContent=true 1
- The Party involved 2 sends a
GETrequest with theupdatedContentquery parameter set totrueto retrieve the updated Shipping Instructions. - The Carrier responds with
200(OK) with the content of the updated Shipping Instructions (or an empty202(Accepted) /409(Conflict) in case the Carrier is in the middle of processing the updated Shipping Instructions).- The optional feedback is included in the updated Shipping Instructions.
- Subsequent
GETrequests MAY return different feedback (e.g. the Carrier MAY still be processing the updated Shipping Instructions asynchronously).
GET Transport Document (when Shipping Instructions is in RECEIVED or PENDING_UPDATE and updated Shipping Instructions is in state UPDATE_RECEIVED)
Calling: GET /transport-documents/{transportDocumentReference}
- The Party involved 2 sends a
GETTransport Document request to retrieve the Transport Document. - If a Transport Document has previously been Drafted then the Carrier responds with
200(OK) with the content of the Transport Document (or an empty202(Accepted) in case the Carrier is in the middle of processing the Transport Document). - If no Transport Document exists yet - then the Carrier responds with
404(Not Found).
Footnotes
-
documentReferencecan be either:shippingInstructionsReferenceortransportDocumentReferencedepending on what is available. If the Carrier has provided thetransportDocumentReferencethis can be used throughout the process. ↩ ↩2 ↩3 ↩4 ↩5 ↩6 ↩7 ↩8 - Party/Parties involved can be either:
Shipper,ConsigneeorEndorsee, as applicable to the underlying use case. ↩ ↩2 ↩3 ↩4 ↩5 ↩6 ↩7 ↩8 ↩9 ↩10 ↩11 ↩12
Use Case 6: Publish Draft Transport Document
The Shipping Instructions is in state RECEIVED. The Booking is in state CONFIRMED. If the Draft Transport Document refers to multiple Bookings, all of them are in state CONFIRMED. If a Transport Document already exists, it is in state DRAFT.
- The Carrier creates (or updates) a Transport Document and sets the state to
DRAFT. - The Carrier sends a Transport Document Notification to the Shipper (
POST /transport-document-notifications).- If feedback was collected, it is included in
data.feedbacks. - If a full notification is sent, the Transport Document (
data.transportDocumentproperty) is included, also containing feedback. - There MAY be differences between the feedback in
data.feedbacksand indata.transportDocument.feedbacks(e.g. the Carrier MAY includeINFOfeedback in one property but not in the other).
- If feedback was collected, it is included in
- If the Carrier performs Use Case 6 again (republishes the Draft) or resends the notification, the following event identity rules apply:
- When resending the same event, the previous notification
idMAY be reused. - When sending a distinct event, including an updated notification with changed content or feedback, the combination of
sourceandidMUST be unique.
- When resending the same event, the previous notification
GET Transport Document (after Transport Document is in state DRAFT)
Calling: GET /transport-documents/{transportDocumentReference}
- The Shipper sends a
GETrequest to retrieve the Transport Document. - The Carrier responds with
200(OK) with the content of the Transport Document (or an empty202(Accepted) in case the Carrier is in the middle of processing the Transport Document).- The optional feedback is included in the Transport Document.
- Subsequent
GETrequests MAY return different feedback (e.g. the Carrier MAY still be processing the Transport Document asynchronously).
Use Case 7: Approve Draft Transport Document
Calling: PATCH /transport-documents/{transportDocumentReference}
with payload:
{
"transportDocumentStatus": "APPROVED"
}
The Transport Document is in state DRAFT.
Synchronous carrier processing
- The Shipper sends a
PATCHrequest to approve a Transport Document. - The Carrier MUST perform the schema validation, to ensure that if it accepts the approval it can subsequently process it.
- If the payload does not validate, the Carrier responds with
400(Bad Request), with anErrorResponsepayload describing the validation errors, and does not accept the request for further processing. - The Carrier MAY also perform other validations or processing synchronously, optionally resulting in the collection of feedback.
- If validations succeed, the Carrier responds with an empty
202(Accepted). - A
404(Not Found) is returned if thetransportDocumentReferenceis not known. - A
409(Conflict) is returned if the Carrier is processing a Transport Document request. - Transport Document state is unchanged (it is still in
DRAFT).
GET Transport Document (Transport Document is in state DRAFT)
Calling: GET /transport-documents/{transportDocumentReference}
- The Shipper sends a
GETTransport Document request to retrieve the Transport Document. - The Carrier responds with
200(OK) with the content of the Transport Document (or an empty202(Accepted) in case the Carrier is in the middle of processing the Transport Document).
Asynchronous carrier processing
- The Carrier sets the Transport Document state to
APPROVED. - The Carrier sends a Transport Document Notification to the Shipper (
POST /transport-document-notifications).- If feedback for the approved Transport Document was collected, it is included in
data.feedbacks. - If a full notification is sent:
- The Transport Document (
data.transportDocumentproperty) is included, also containing feedback.
- The Transport Document (
- There MAY be differences between the feedback in
data.feedbacksand indata.transportDocument.feedbacks(e.g. the Carrier MAY includeINFOfeedback in one property but not in the other).
- If feedback for the approved Transport Document was collected, it is included in
- The Carrier MAY resend the notification.
- When resending the same event, the previous notification
idMAY be reused. - When sending a distinct event, including an updated notification with changed content or feedback, the combination of
sourceandidMUST be unique.
- When resending the same event, the previous notification
GET Transport Document (Transport Document is in state APPROVED)
Calling: GET /transport-documents/{transportDocumentReference}
- The Shipper sends a
GETTransport Document request to retrieve the Transport Document. - The Carrier responds with
200(OK) with the content of the Transport Document (or an empty202(Accepted) in case the Carrier is in the middle of processing the Transport Document).
Use Case 8: Issue Transport Document
The Transport Document is in state DRAFT or APPROVED. For a Sea Waybill, it may also be in state ISSUED.
- The Carrier changes the Transport Document state to
ISSUED. - The Carrier sends a Transport Document Notification to the Shipper (
POST /transport-document-notifications).- If feedback was collected, it is included in
data.feedbacks. - If a full notification is sent, the Transport Document (
data.transportDocumentproperty) is included, also containing feedback. - There MAY be differences between the feedback in
data.feedbacksand indata.transportDocument.feedbacks(e.g. the Carrier MAY includeINFOfeedback in one property but not in the other).
- If feedback was collected, it is included in
- If the Carrier performs Use Case 8 again or resends the notification, the following event identity rules apply:
- When resending the same event, the previous notification
idMAY be reused. - When sending a distinct event, including an updated notification with changed content or feedback, the combination of
sourceandidMUST be unique.
- When resending the same event, the previous notification
👉 Important note: If transportDocumentTypeCode='BOL' and isElectronic=true, then the Transport Document will be issued to an eBL Solution Provider via the Issuance API (using PUT /v3/ebl-issuance-requests).
GET Transport Document (after Transport Document is in state ISSUED)
Calling: GET /transport-documents/{transportDocumentReference}
- The Shipper sends a
GETrequest to retrieve the Transport Document. - The Carrier responds with
200(OK) with the content of the Transport Document (or an empty202(Accepted) in case the Carrier is in the middle of processing the Transport Document).- The optional feedback is included in the Transport Document.
- Subsequent
GETrequests MAY return different feedback (e.g. the Carrier MAY still be processing the Transport Document asynchronously).
Use Case 9: Request surrender Transport Document (amendment)
Calling: POST /v3/ebl-surrender-requests (via Surrender API)
with the following schematic payload (the endorsement chain placeholder is illustrative, not valid JSON):
{
"surrenderRequestReference": "{Surrender Request Reference}",
"transportDocumentReference": "{Transport Document Reference}",
"surrenderRequestCode": "AREQ",
"endorsementChain": [...{The endorsement chain}...]
}
The Transport Document is in state ISSUED.
👉 Important note: This use case does not apply to Sea Waybills.
Synchronous carrier processing
- The Party involved 1 (via the eBL Solution Provider) sends a
POSTrequest to Surrender a Transport Document for amendment. - The Carrier MUST perform the schema validation, to ensure that if it accepts the Surrender it can subsequently process it.
- If the payload does not validate, the Carrier responds with
400(Bad Request), with anErrorResponsepayload describing the validation errors, and does not accept the request for further processing. - If the request is accepted for processing, the Carrier responds with an empty
204(No Content). This acknowledges receipt of the surrender request; the Carrier communicates its decision later by callingPOST /v3/ebl-surrender-responseson the eBL Solution Provider. - Transport Document state is unchanged (it is still in
ISSUED).
GET Transport Document (Transport Document is in state ISSUED)
Calling: GET /transport-documents/{transportDocumentReference} (via eBL API)
- The Party involved 1 sends a
GETTransport Document request to retrieve the Transport Document. - The Carrier responds with
200(OK) with the content of the Transport Document (or an empty202(Accepted) in case the Carrier is in the middle of processing the Transport Document).
Asynchronous carrier processing
- The Carrier sets the Transport Document state to
PENDING_SURRENDER_FOR_AMENDMENT. - The Carrier sends a Transport Document Notification to the Party/Parties involved 1 (
POST /transport-document-notifications).- If feedback for the amendment request was collected, it is included in
data.feedbacks. - If a full notification is sent:
- The Transport Document (
data.transportDocumentproperty) is included, also containing feedback.
- The Transport Document (
- There MAY be differences between the feedback in
data.feedbacksand indata.transportDocument.feedbacks(e.g. the Carrier MAY includeINFOfeedback in one property but not in the other).
- If feedback for the amendment request was collected, it is included in
- The Carrier MAY resend the notification.
- When resending the same event, the previous notification
idMAY be reused. - When sending a distinct event, including an updated notification with changed content or feedback, the combination of
sourceandidMUST be unique.
- When resending the same event, the previous notification
GET Transport Document (Transport Document is in state PENDING_SURRENDER_FOR_AMENDMENT)
Calling: GET /transport-documents/{transportDocumentReference} (via eBL API)
- The Party involved 1 sends a
GETTransport Document request to retrieve the Transport Document. - The Carrier responds with
200(OK) with the content of the Transport Document (or an empty202(Accepted) in case the Carrier is in the middle of processing the Transport Document).
Footnotes
- Party/Parties involved can be either:
Shipper,Consignee,Endorseeor any other party authorized to the Transport Document. ↩ ↩2 ↩3 ↩4
Use Case 10: Process Transport Document surrender request (amendment)
The Transport Document is in state PENDING_SURRENDER_FOR_AMENDMENT.
👉 Important note: This use case does not apply to Sea Waybills.
Confirm Surrender for Amendment
- The Carrier changes the Transport Document state to
SURRENDERED_FOR_AMENDMENT. - The Carrier sends a
POST /v3/ebl-surrender-responsesrequest back to the eBL Solution Provider, for example with the following payload:{ "surrenderRequestReference": "{Surrender Request Reference}", "action": "SURR" }.- The
commentsproperty should be omitted when accepting the surrender.
- The
- The eBL Solution Provider acknowledges receipt of the surrender response with an empty
204(No Content). - The Carrier sends a Transport Document Notification to the Party/Parties involved 1 (
POST /transport-document-notifications).- If feedback for the amendment was collected, it is included in
data.feedbacks. - If a full notification is sent:
- The Transport Document (
data.transportDocumentproperty) is included, also containing feedback.
- The Transport Document (
- There MAY be differences between the feedback in
data.feedbacksand indata.transportDocument.feedbacks(e.g. the Carrier MAY includeINFOfeedback in one property but not in the other).
- If feedback for the amendment was collected, it is included in
- The Carrier MAY resend the notification.
- When resending the same event, the previous notification
idMAY be reused. - When sending a distinct event, including an updated notification with changed content or feedback, the combination of
sourceandidMUST be unique.
- When resending the same event, the previous notification
GET Transport Document (Transport Document is in state SURRENDERED_FOR_AMENDMENT)
Calling: GET /transport-documents/{transportDocumentReference}
- The Party involved 1 sends a
GETTransport Document request to retrieve the Transport Document. - The Carrier responds with
200(OK) with the content of the Transport Document (or an empty202(Accepted) in case the Carrier is in the middle of processing the Transport Document).
Reject Surrender for Amendment
- The Carrier changes the Transport Document state to
ISSUED. - The Carrier sends a
POST /v3/ebl-surrender-responsesrequest back to the eBL Solution Provider, for example with the following payload:{ "surrenderRequestReference": "{Surrender Request Reference}", "action": "SREJ", "comments": "Surrender request rejected because the endorsement chain could not be validated." }.- The
commentsproperty MUST be provided when rejecting the surrender. The payload MAY also includefeedbackElementsexplaining the rejection. If included, at least one feedback element with severityERRORis expected; lower-severity feedback elements may also be included.
- The
- The eBL Solution Provider acknowledges receipt of the surrender response with an empty
204(No Content). - The Carrier sends a Transport Document Notification to the Party/Parties involved 1 (
POST /transport-document-notifications).- The Carrier MAY also include the rejection reason in the Transport Document Notification through
data.feedbacks. This notification feedback is optional; thecommentsproperty in the Surrender API rejection response remains mandatory. - If a full notification is sent:
- The Transport Document (
data.transportDocumentproperty) is included, containing any reason provided for rejection in itsfeedbacksproperty.
- The Transport Document (
- There MAY be differences between the feedback in
data.feedbacksand indata.transportDocument.feedbacks(e.g. the Carrier MAY includeINFOfeedback in one property but not in the other).
- The Carrier MAY also include the rejection reason in the Transport Document Notification through
- The Carrier MAY resend the notification.
- When resending the same event, the previous notification
idMAY be reused. - When sending a distinct event, including an updated notification with changed content or feedback, the combination of
sourceandidMUST be unique.
- When resending the same event, the previous notification
GET Transport Document (Transport Document is in state ISSUED)
Calling: GET /transport-documents/{transportDocumentReference}
- The Party involved 1 sends a
GETTransport Document request to retrieve the Transport Document. - The Carrier responds with
200(OK) with the content of the Transport Document (or an empty202(Accepted) in case the Carrier is in the middle of processing the Transport Document).- If a reason for rejecting the surrender request is provided, it is included in the Transport Document
feedbacksproperty.
- If a reason for rejecting the surrender request is provided, it is included in the Transport Document
Footnotes
- Party/Parties involved can be either:
Shipper,Consignee,Endorseeor any other party authorized to the Transport Document. ↩ ↩2 ↩3 ↩4
Use Case 11: Void original Transport Document and issue amended Transport Document
The Transport Document is in state SURRENDERED_FOR_AMENDMENT.
👉 Important note: This use case does not apply to Sea Waybills.
Void Surrendered Transport Document
- The Carrier voids the Surrendered Transport Document and sets the state to
VOIDED. - The Carrier sends a Transport Document Notification to the Party/Parties involved 1 (
POST /transport-document-notifications).- If feedback was collected, it is included in
data.feedbacks. - If a full notification is sent, the (Surrendered) Transport Document (
data.transportDocumentproperty) is included, also containing feedback. - There MAY be differences between the feedback in
data.feedbacksand indata.transportDocument.feedbacks(e.g. the Carrier MAY includeINFOfeedback in one property but not in the other).
- If feedback was collected, it is included in
- The Carrier MAY resend the notification.
- When resending the same event, the previous notification
idMAY be reused. - When sending a distinct event, including an updated notification with changed content or feedback, the combination of
sourceandidMUST be unique.
- When resending the same event, the previous notification
Issue Amended Transport Document
- The Carrier issues the Amended Transport Document and sets the state to
ISSUED. - The Carrier sends a Transport Document Notification to the Party/Parties involved 1 (
POST /transport-document-notifications).- If feedback was collected, it is included in
data.feedbacks. - If a full notification is sent, the (Amended) Transport Document (
data.transportDocumentproperty) is included, also containing feedback. - There MAY be differences between the feedback in
data.feedbacksand indata.transportDocument.feedbacks(e.g. the Carrier MAY includeINFOfeedback in one property but not in the other).
- If feedback was collected, it is included in
- The Carrier MAY resend the notification.
- When resending the same event, the previous notification
idMAY be reused. - When sending a distinct event, including an updated notification with changed content or feedback, the combination of
sourceandidMUST be unique.
- When resending the same event, the previous notification
👉 Important note: If the transportDocumentReference is being reused for the amended Transport Document - the two Transport Document Notifications will contain the same transportDocumentReference - the only way to distinguish the two is via the time property of the Notification (the VOIDED notification should be sent before the ISSUED notification).
👉 Important note: If the transportDocumentReference is being reused then it is not possible to GET the VOIDED (Surrendered) Transport Document once the amended Transport Document has been ISSUED. A GET /transport-documents/{transportDocumentReference} would fetch the new Amended Transport Document. It is only possible to fetch the two different Transport Documents if they have different transportDocumentReference.
GET Transport Document
Calling: GET /transport-documents/{transportDocumentReference}
- The Party involved 1 sends a
GETTransport Document request to retrieve the Transport Document. - The Carrier responds with
200(OK) with the content (explained above) of the Transport Document (or an empty202(Accepted) in case the Carrier is in the middle of processing the Transport Document).
Footnotes
- Party/Parties involved can be either:
Shipper,Consignee,Endorseeor any other party authorized to the Transport Document. ↩ ↩2 ↩3
Use Case 12: Request surrender Transport Document (delivery)
Calling: POST /v3/ebl-surrender-requests (via Surrender API)
with the following schematic payload (the endorsement chain placeholder is illustrative, not valid JSON):
{
"surrenderRequestReference": "{Surrender Request Reference}",
"transportDocumentReference": "{Transport Document Reference}",
"surrenderRequestCode": "SREQ",
"endorsementChain": [...{The endorsement chain}...]
}
The Transport Document is in state ISSUED.
👉 Important note: This use case does not apply to Sea Waybills.
Synchronous carrier processing
- The Party involved 1 (via the eBL Solution Provider) sends a
POSTrequest to Surrender a Transport Document for delivery. - The Carrier MUST perform the schema validation, to ensure that if it accepts the Surrender it can subsequently process it.
- If the payload does not validate, the Carrier responds with
400(Bad Request), with anErrorResponsepayload describing the validation errors, and does not accept the request for further processing. - If the request is accepted for processing, the Carrier responds with an empty
204(No Content). This acknowledges receipt of the surrender request; the Carrier communicates its decision later by callingPOST /v3/ebl-surrender-responseson the eBL Solution Provider. - Transport Document state is unchanged (it is still in
ISSUED).
GET Transport Document (Transport Document is in state ISSUED)
Calling: GET /transport-documents/{transportDocumentReference} (via eBL API)
- The Party involved 1 sends a
GETTransport Document request to retrieve the Transport Document. - The Carrier responds with
200(OK) with the content of the Transport Document (or an empty202(Accepted) in case the Carrier is in the middle of processing the Transport Document).
Asynchronous carrier processing
- The Carrier sets the Transport Document state to
PENDING_SURRENDER_FOR_DELIVERY. - The Carrier sends a Transport Document Notification to the Party/Parties involved 1 (
POST /transport-document-notifications).- If feedback for the surrender request was collected, it is included in
data.feedbacks. - If a full notification is sent:
- The Transport Document (
data.transportDocumentproperty) is included, also containing feedback.
- The Transport Document (
- There MAY be differences between the feedback in
data.feedbacksand indata.transportDocument.feedbacks(e.g. the Carrier MAY includeINFOfeedback in one property but not in the other).
- If feedback for the surrender request was collected, it is included in
- The Carrier MAY resend the notification.
- When resending the same event, the previous notification
idMAY be reused. - When sending a distinct event, including an updated notification with changed content or feedback, the combination of
sourceandidMUST be unique.
- When resending the same event, the previous notification
GET Transport Document (Transport Document is in state PENDING_SURRENDER_FOR_DELIVERY)
Calling: GET /transport-documents/{transportDocumentReference} (via eBL API)
- The Party involved 1 sends a
GETTransport Document request to retrieve the Transport Document. - The Carrier responds with
200(OK) with the content of the Transport Document (or an empty202(Accepted) in case the Carrier is in the middle of processing the Transport Document).
Footnotes
- Party/Parties involved can be either:
Shipper,Consignee,Endorseeor any other party authorized to the Transport Document. ↩ ↩2 ↩3 ↩4
Use Case 13: Process Transport Document surrender request (delivery)
The Transport Document is in state PENDING_SURRENDER_FOR_DELIVERY.
👉 Important note: This use case does not apply to Sea Waybills.
Confirm Surrender for Delivery
- The Carrier changes the Transport Document state to
SURRENDERED_FOR_DELIVERY. - The Carrier sends a
POST /v3/ebl-surrender-responsesrequest back to the eBL Solution Provider, for example with the following payload:{ "surrenderRequestReference": "{Surrender Request Reference}", "action": "SURR" }.- The
commentsproperty should be omitted when accepting the surrender.
- The
- The eBL Solution Provider acknowledges receipt of the surrender response with an empty
204(No Content). - The Carrier sends a Transport Document Notification to the Party/Parties involved 1 (
POST /transport-document-notifications).- If feedback for the surrender was collected, it is included in
data.feedbacks. - If a full notification is sent:
- The Transport Document (
data.transportDocumentproperty) is included, also containing feedback.
- The Transport Document (
- There MAY be differences between the feedback in
data.feedbacksand indata.transportDocument.feedbacks(e.g. the Carrier MAY includeINFOfeedback in one property but not in the other).
- If feedback for the surrender was collected, it is included in
- The Carrier MAY resend the notification.
- When resending the same event, the previous notification
idMAY be reused. - When sending a distinct event, including an updated notification with changed content or feedback, the combination of
sourceandidMUST be unique.
- When resending the same event, the previous notification
GET Transport Document (Transport Document is in state SURRENDERED_FOR_DELIVERY)
Calling: GET /transport-documents/{transportDocumentReference}
- The Party involved 1 sends a
GETTransport Document request to retrieve the Transport Document. - The Carrier responds with
200(OK) with the content of the Transport Document (or an empty202(Accepted) in case the Carrier is in the middle of processing the Transport Document).
Reject Surrender for Delivery
- The Carrier changes the Transport Document state to
ISSUED. - The Carrier sends a
POST /v3/ebl-surrender-responsesrequest back to the eBL Solution Provider, for example with the following payload:{ "surrenderRequestReference": "{Surrender Request Reference}", "action": "SREJ", "comments": "Surrender request rejected because the endorsement chain could not be validated." }.- The
commentsproperty MUST be provided when rejecting the surrender. The payload MAY also includefeedbackElementsexplaining the rejection. If included, at least one feedback element with severityERRORis expected; lower-severity feedback elements may also be included.
- The
- The eBL Solution Provider acknowledges receipt of the surrender response with an empty
204(No Content). - The Carrier sends a Transport Document Notification to the Party/Parties involved 1 (
POST /transport-document-notifications).- The Carrier MAY also include the rejection reason in the Transport Document Notification through
data.feedbacks. This notification feedback is optional; thecommentsproperty in the Surrender API rejection response remains mandatory. - If a full notification is sent:
- The Transport Document (
data.transportDocumentproperty) is included, containing any reason provided for rejection in itsfeedbacksproperty.
- The Transport Document (
- There MAY be differences between the feedback in
data.feedbacksand indata.transportDocument.feedbacks(e.g. the Carrier MAY includeINFOfeedback in one property but not in the other).
- The Carrier MAY also include the rejection reason in the Transport Document Notification through
- The Carrier MAY resend the notification.
- When resending the same event, the previous notification
idMAY be reused. - When sending a distinct event, including an updated notification with changed content or feedback, the combination of
sourceandidMUST be unique.
- When resending the same event, the previous notification
GET Transport Document (Transport Document is in state ISSUED)
Calling: GET /transport-documents/{transportDocumentReference}
- The Party involved 1 sends a
GETTransport Document request to retrieve the Transport Document. - The Carrier responds with
200(OK) with the content of the Transport Document (or an empty202(Accepted) in case the Carrier is in the middle of processing the Transport Document).- If a reason for rejecting the surrender request is provided, it is included in the Transport Document
feedbacksproperty.
- If a reason for rejecting the surrender request is provided, it is included in the Transport Document
Footnotes
- Party/Parties involved can be either:
Shipper,Consignee,Endorseeor any other party authorized to the Transport Document. ↩ ↩2 ↩3 ↩4
Use Case 14: Confirm Shipping Instructions completed
The Shipping Instructions is in state RECEIVED. In addition, either the related Booking is in state CANCELLED or DECLINED, or the Transport Document is in state SURRENDERED_FOR_DELIVERY or ISSUED (the latter only applies to Sea Waybills).
- The Carrier changes the Shipping Instructions state to
COMPLETED. - The Carrier sends a Shipping Instructions Notification to the Shipper (
POST /shipping-instructions-notifications).- If feedback was collected, it is included in
data.feedbacks. - If a full notification is sent, the Shipping Instructions (
data.shippingInstructionsproperty) is included, also containing feedback. - There MAY be differences between the feedback in
data.feedbacksand indata.shippingInstructions.feedbacks(e.g. the Carrier MAY includeINFOfeedback in one property but not in the other).
- If feedback was collected, it is included in
- The Carrier MAY resend the notification.
- When resending the same event, the previous notification
idMAY be reused. - When sending a distinct event, including an updated notification with changed content or feedback, the combination of
sourceandidMUST be unique.
- When resending the same event, the previous notification
GET Shipping Instructions (after Shipping Instructions is in state COMPLETED)
Calling: GET /shipping-instructions/{documentReference} 1
- The Shipper sends a
GETrequest to retrieve the Shipping Instructions. - The Carrier responds with
200(OK) with the content of the Shipping Instructions (or an empty202(Accepted) /409(Conflict) in case the Carrier is in the middle of processing the Shipping Instructions).- The optional feedback is included in the Shipping Instructions.
- Subsequent
GETrequests MAY return different feedback (e.g. the Carrier MAY still be processing the Shipping Instructions asynchronously).
Footnotes
-
documentReferencecan be either:shippingInstructionsReferenceortransportDocumentReferencedepending on what is available. If the Carrier has provided thetransportDocumentReferencethis can be used throughout the process. ↩
Use Case 15: Cancel Shipping Instructions
👉 Important note: This use case is only valid if both the Consumer and the Provider implement eBL v3.0.3 or later.
Calling: PATCH /shipping-instructions/{documentReference} 1
with payload:
{
"shippingInstructionsStatus": "CANCELLED"
}
The Shipping Instructions is in state RECEIVED or PENDING_UPDATE. If an updated Shipping Instructions exists, it is in state UPDATE_RECEIVED, UPDATE_CONFIRMED, UPDATE_DECLINED or UPDATE_CANCELLED.
👉 Important note: This request cancels the entire Shipping Instructions. Cancelling only an update is covered by Use Case 5: Cancel update to Shipping Instructions and uses updatedShippingInstructionsStatus='UPDATE_CANCELLED'.
👉 Important note: The Party involved 2 MUST verify that the Carrier supports this endpoint for cancelling the entire Shipping Instructions.
Synchronous carrier processing
- The Party involved 2 sends a
PATCHrequest to cancel the Shipping Instructions. - The Carrier MUST perform the schema validation, to ensure that if it accepts the cancellation it can subsequently process it.
- If the payload does not validate, the Carrier responds with
400(Bad Request), with anErrorResponsepayload describing the validation errors, and does not accept the request for further processing. - The Carrier MAY also perform other validations or processing synchronously.
- If the Shipping Instructions is in state
COMPLETED,CANCELLEDorDECLINED, the Carrier responds with409(Conflict), with anErrorResponseexplaining that the Shipping Instructions can no longer be modified. - If validations succeed, the Carrier responds with an empty
202(Accepted). - A
404(Not Found) is returned if thedocumentReference1 is not known. - The Carrier MAY return
409(Conflict) if processing an existing request prevents the cancellation. - Shipping Instructions state is unchanged (it is still in
RECEIVEDorPENDING_UPDATE). - If an updated Shipping Instructions exists, its state is also unchanged pending asynchronous processing.
GET Shipping Instructions (before cancellation has been processed)
Calling: GET /shipping-instructions/{documentReference} 1
- The Party involved 2 sends a
GETrequest to retrieve the Shipping Instructions. - The Carrier responds with
200(OK) with the current Shipping Instructions (or an empty202(Accepted) /409(Conflict) in case the Carrier is in the middle of processing the Shipping Instructions).- If feedback was collected, it is included in the Shipping Instructions
feedbacksproperty. Feedback is mandatory if the Shipping Instructions is in statePENDING_UPDATE.
- If feedback was collected, it is included in the Shipping Instructions
- Subsequent
GETrequests MAY return different feedback (e.g. the Carrier MAY still be processing the Shipping Instructions asynchronously).
GET updated Shipping Instructions (before cancellation has been processed)
Calling: GET /shipping-instructions/{documentReference}?updatedContent=true 1
- The Party involved 2 sends a
GETrequest with theupdatedContentquery parameter set totrueto retrieve the updated Shipping Instructions. - If an updated Shipping Instructions is available, the Carrier responds with
200(OK) with its content (or an empty202(Accepted) /409(Conflict) in case the Carrier is in the middle of processing the updated Shipping Instructions).- If feedback was collected, it is included in the updated Shipping Instructions
feedbacksproperty.
- If feedback was collected, it is included in the updated Shipping Instructions
- If no update is available, the Carrier responds with
404(Not Found). - Subsequent
GETrequests MAY return different feedback (e.g. the Carrier MAY still be processing the updated Shipping Instructions asynchronously).
GET Transport Document (before cancellation has been processed)
Calling: GET /transport-documents/{transportDocumentReference}
- The Party involved 2 sends a
GETTransport Document request to retrieve the Transport Document. - If a Transport Document exists, the Carrier responds with
200(OK) with its current content (or an empty202(Accepted) in case the Carrier is in the middle of processing the Transport Document). - If no Transport Document exists, the Carrier responds with
404(Not Found).
Asynchronous carrier processing
- The Carrier processes the accepted cancellation request.
- The Carrier changes the Shipping Instructions state to
CANCELLED. - If an updated Shipping Instructions exists, the Carrier changes its state to
UPDATE_CANCELLED. - The Carrier sends a Shipping Instructions Notification to the Party/Parties involved 2 (
POST /shipping-instructions-notifications).- The notification
datacontainsshippingInstructionsStatus='CANCELLED'and the Shipping Instructions reference and/or Transport Document reference. - If an updated Shipping Instructions exists,
updatedShippingInstructionsStatus='UPDATE_CANCELLED'is included. - If feedback was collected, it is included in
data.feedbacks. - If a full notification is sent, the Shipping Instructions (
data.shippingInstructionsproperty) is included, also containing optional feedback. The updated Shipping Instructions (data.updatedShippingInstructionsproperty) is included where applicable to the full-state subscription.
- The notification
- The Carrier MAY resend the notification.
- When resending the same event, the previous notification
idMAY be reused. - When sending a distinct event, including an updated notification with changed content or feedback, the combination of
sourceandidMUST be unique.
- When resending the same event, the previous notification
GET Shipping Instructions (after Shipping Instructions is in state CANCELLED)
Calling: GET /shipping-instructions/{documentReference} 1
- The Party involved 2 sends a
GETrequest to retrieve the Shipping Instructions. - The Carrier responds with
200(OK) with the Shipping Instructions in stateCANCELLED(or an empty202(Accepted) /409(Conflict) in case the Carrier is in the middle of processing the Shipping Instructions).- If feedback was collected, it is included in the Shipping Instructions
feedbacksproperty.
- If feedback was collected, it is included in the Shipping Instructions
- Subsequent
GETrequests MAY return different feedback (e.g. the Carrier MAY still be processing the Shipping Instructions asynchronously).
GET updated Shipping Instructions (after Shipping Instructions is in state CANCELLED)
Calling: GET /shipping-instructions/{documentReference}?updatedContent=true 1
- The Party involved 2 sends a
GETrequest with theupdatedContentquery parameter set totrueto retrieve the updated Shipping Instructions. - If an updated Shipping Instructions is available, the Carrier responds with
200(OK) with its content andupdatedShippingInstructionsStatus='UPDATE_CANCELLED'(or an empty202(Accepted) /409(Conflict) in case the Carrier is in the middle of processing the updated Shipping Instructions).- If feedback was collected, it is included in the updated Shipping Instructions
feedbacksproperty.
- If feedback was collected, it is included in the updated Shipping Instructions
- If no update is available, the Carrier responds with
404(Not Found). - Subsequent
GETrequests MAY return different feedback (e.g. the Carrier MAY still be processing the updated Shipping Instructions asynchronously).
GET Transport Document (after Shipping Instructions is in state CANCELLED)
Calling: GET /transport-documents/{transportDocumentReference}
- The Party involved 2 sends a
GETTransport Document request to retrieve the Transport Document. - If a Transport Document exists, the Carrier responds with
200(OK) with its current content (or an empty202(Accepted) in case the Carrier is in the middle of processing the Transport Document). - If no Transport Document exists, the Carrier responds with
404(Not Found).
👉 Important note: Cancelling Shipping Instructions does not itself define a Transport Document state transition. It does not replace the surrender or voiding process for an issued Bill of Lading.
Footnotes
-
documentReferencecan be either:shippingInstructionsReferenceortransportDocumentReferencedepending on what is available. If the Carrier has provided thetransportDocumentReferencethis can be used throughout the process. ↩ ↩2 ↩3 ↩4 ↩5 ↩6 - Party/Parties involved can be either:
Shipper,Consignee,Endorseeor any other party authorized to the relevant document. Notifications are sent to the relevant registered counterparts among these parties. ↩ ↩2 ↩3 ↩4 ↩5 ↩6 ↩7 ↩8 ↩9
Use Case 16: Decline Shipping Instructions by Carrier
👉 Important note: This use case is only valid if both the Consumer and the Provider implement eBL v3.0.3 or later.
The Shipping Instructions is in state RECEIVED or PENDING_UPDATE. If an updated Shipping Instructions exists, it is in state UPDATE_RECEIVED, UPDATE_CONFIRMED, UPDATE_DECLINED or UPDATE_CANCELLED.
- The Carrier decides to decline the Shipping Instructions.
- The Carrier changes the Shipping Instructions state to
DECLINED. - If an updated Shipping Instructions exists, the Carrier changes its state to
UPDATE_DECLINED. - The Carrier sends a Shipping Instructions Notification to the Party/Parties involved 2 (
POST /shipping-instructions-notifications).- The notification
datacontainsshippingInstructionsStatus='DECLINED'and the Shipping Instructions reference and/or Transport Document reference. - If an updated Shipping Instructions exists,
updatedShippingInstructionsStatus='UPDATE_DECLINED'is included. - If feedback was collected, it is included in
data.feedbacks. - If a full notification is sent, the Shipping Instructions (
data.shippingInstructionsproperty) is included, also containing optional feedback. The updated Shipping Instructions (data.updatedShippingInstructionsproperty) is included where applicable to the full-state subscription.
- The notification
- The Carrier MAY resend the notification.
- When resending the same event, the previous notification
idMAY be reused. - When sending a distinct event, including an updated notification with changed content or feedback, the combination of
sourceandidMUST be unique.
- When resending the same event, the previous notification
👉 Important note: This is a Carrier-initiated action. The API does not define a consumer request endpoint for declining Shipping Instructions. If a reason for declining is provided, it is conveyed through feedback in data.feedbacks and in the Shipping Instructions feedbacks property.
GET Shipping Instructions (after Shipping Instructions is in state DECLINED)
Calling: GET /shipping-instructions/{documentReference} 1
- The Party involved 2 sends a
GETrequest to retrieve the Shipping Instructions. - The Carrier responds with
200(OK) with the Shipping Instructions in stateDECLINED(or an empty202(Accepted) /409(Conflict) in case the Carrier is in the middle of processing the Shipping Instructions).- If feedback was collected, it is included in the Shipping Instructions
feedbacksproperty.
- If feedback was collected, it is included in the Shipping Instructions
- Subsequent
GETrequests MAY return different feedback (e.g. the Carrier MAY still be processing the Shipping Instructions asynchronously).
GET updated Shipping Instructions (after Shipping Instructions is in state DECLINED)
Calling: GET /shipping-instructions/{documentReference}?updatedContent=true 1
- The Party involved 2 sends a
GETrequest with theupdatedContentquery parameter set totrueto retrieve the updated Shipping Instructions. - If an updated Shipping Instructions is available, the Carrier responds with
200(OK) with its content andupdatedShippingInstructionsStatus='UPDATE_DECLINED'(or an empty202(Accepted) /409(Conflict) in case the Carrier is in the middle of processing the updated Shipping Instructions).- If feedback was collected, it is included in the updated Shipping Instructions
feedbacksproperty.
- If feedback was collected, it is included in the updated Shipping Instructions
- If no update is available, the Carrier responds with
404(Not Found). - Subsequent
GETrequests MAY return different feedback (e.g. the Carrier MAY still be processing the updated Shipping Instructions asynchronously).
GET Transport Document (after Shipping Instructions is in state DECLINED)
Calling: GET /transport-documents/{transportDocumentReference}
- The Party involved 2 sends a
GETTransport Document request to retrieve the Transport Document. - If a Transport Document exists, the Carrier responds with
200(OK) with its current content (or an empty202(Accepted) in case the Carrier is in the middle of processing the Transport Document). - If no Transport Document exists, the Carrier responds with
404(Not Found).
👉 Important note: Declining Shipping Instructions does not itself define a Transport Document state transition.
Footnotes
-
documentReferencecan be either:shippingInstructionsReferenceortransportDocumentReferencedepending on what is available. If the Carrier has provided thetransportDocumentReferencethis can be used throughout the process. ↩ ↩2 - Party/Parties involved can be either:
Shipper,Consignee,Endorseeor any other party authorized to the relevant document. Notifications are sent to the relevant registered counterparts among these parties. ↩ ↩2 ↩3 ↩4
Use Case 17: Request Transport Document amendment
👉 Important note: This use case is only valid if both the Consumer and the Provider implement eBL v3.0.3 or later.
Calling: PUT /transport-documents/{transportDocumentReference}/amendment
with the full proposed amended Transport Document as the request payload, conforming to the TransportDocument schema. The request is not a JSON Patch and does not use the TransportDocumentAmend response wrapper.
The Transport Document is in state DRAFT, ISSUED or PENDING_SURRENDER_FOR_AMENDMENT.
👉 Important note: Direct Transport Document amendments are optional to implement. The Party involved 1 MUST verify that the Carrier supports the endpoint.
👉 Important note: The Carrier defines which properties may be modified and which properties will be ignored. A new request replaces any previous amendment, regardless of its amendment state.
Synchronous carrier processing
- The Party involved 1 sends a
PUTrequest to submit a direct Transport Document amendment. - The Carrier MUST perform the schema validation, to ensure that if it accepts the amendment it can subsequently return it as a valid
GETresponse. - If the payload does not validate, the Carrier responds with
400(Bad Request), with anErrorResponsepayload describing the validation errors, and does not accept the request for further processing. - The Carrier MAY also perform other validations or processing synchronously, optionally collecting feedback.
- If validations succeed, the Carrier responds with an empty
202(Accepted). - The Carrier MAY return
404(Not Found) if thetransportDocumentReferenceis not known. - The Carrier MAY return
409(Conflict) if an existing request is being processed. - The Transport Document content and state are unchanged.
- If a previous amendment exists, its state is unchanged pending asynchronous processing.
GET Transport Document (before the new amendment request has been processed)
Calling: GET /transport-documents/{transportDocumentReference}
- The Party involved 1 sends a
GETTransport Document request to retrieve the Transport Document. - The Carrier responds with
200(OK) with the current Transport Document (or an empty202(Accepted) in case the Carrier is in the middle of processing the Transport Document).
GET Amended Transport Document (before the new amendment request has been processed)
Calling: GET /transport-documents/{transportDocumentReference}/amendment
- The Party involved 1 sends a
GETrequest to retrieve the latest amendment. - If a previous amendment is available, the Carrier responds with
200(OK) with that amendment. - If no amendment is available, the Carrier responds with
404(Not Found). - The Carrier MAY respond with an empty
202(Accepted) while processing.
Asynchronous carrier processing
- The Carrier continues validating and processing the amendment, optionally collecting feedback.
- The Carrier creates or replaces the latest amended Transport Document and sets
amendedTransportDocumentStatus='AMENDMENT_RECEIVED'. - The original Transport Document remains unchanged, including its state.
- The Carrier sends a Transport Document Notification to the Party/Parties involved 1 (
POST /transport-document-notifications).- The notification
datacontains thetransportDocumentReference, unchangedtransportDocumentStatusandamendedTransportDocumentStatus='AMENDMENT_RECEIVED'. - If feedback was collected, it is included in
data.feedbacks. - If a full notification is sent, the Transport Document (
data.transportDocumentproperty) and the amendment (data.amendedTransportDocumentproperty) are included according to the subscription, also containing any feedback collected for each document.
- The notification
- The Carrier MAY resend the notification.
- When resending the same event, the previous notification
idMAY be reused. - When sending a distinct event, including an updated notification with changed content or feedback, the combination of
sourceandidMUST be unique.
- When resending the same event, the previous notification
GET Transport Document (after the amendment is in state AMENDMENT_RECEIVED)
Calling: GET /transport-documents/{transportDocumentReference}
- The Party involved 1 sends a
GETTransport Document request to retrieve the Transport Document. - The Carrier responds with
200(OK) with the unchanged Transport Document (or an empty202(Accepted) in case the Carrier is in the middle of processing the Transport Document).
GET Amended Transport Document (after the amendment is in state AMENDMENT_RECEIVED)
Calling: GET /transport-documents/{transportDocumentReference}/amendment
- The Party involved 1 sends a
GETrequest to retrieve the latest amendment. - The Carrier responds with
200(OK) with aTransportDocumentAmendpayload containing:amendedTransportDocumentStatus='AMENDMENT_RECEIVED'.amendedTransportDocument, containing the full proposed amended Transport Document.
- The Transport Document status is available in
amendedTransportDocument.transportDocumentStatus. - The Carrier MAY respond with an empty
202(Accepted) while processing.
👉 Important note: The original Transport Document and the amendment coexist. Submitting another amendment replaces the latest amendment; the amendment endpoint is not an amendment history.
Footnotes
- Party/Parties involved can be either:
Shipper,Consignee,Endorseeor any other party authorized to the Transport Document. Notifications are sent to the relevant registered counterparts among these parties. ↩ ↩2 ↩3 ↩4 ↩5 ↩6 ↩7
Use Case 18: Cancel Transport Document amendment
👉 Important note: This use case is only valid if both the Consumer and the Provider implement eBL v3.0.3 or later.
Calling: DELETE /transport-documents/{transportDocumentReference}/amendment
No request payload is sent.
The Transport Document is in state DRAFT, ISSUED or PENDING_SURRENDER_FOR_AMENDMENT. The amendment is in state AMENDMENT_RECEIVED.
👉 Important note: This endpoint is optional to implement. The Party involved 1 MUST verify Carrier support.
Synchronous carrier processing
- The Party involved 1 sends a
DELETErequest to cancel the amendment. - The Carrier validates that cancellation is allowed in the current amendment state.
- If the request is accepted for processing, the Carrier responds with an empty
202(Accepted). - A
400(Bad Request) is returned if cancellation is not allowed because of the amendment state. - A
404(Not Found) is returned if no amendment exists for the giventransportDocumentReference. - The Carrier MAY return
409(Conflict) if the amendment is already being processed. - The Transport Document content and state are unchanged.
- The amendment remains in state
AMENDMENT_RECEIVEDpending asynchronous processing.
GET Transport Document (before cancellation has been processed)
Calling: GET /transport-documents/{transportDocumentReference}
- The Party involved 1 sends a
GETTransport Document request to retrieve the Transport Document. - The Carrier responds with
200(OK) with its unchanged content (or an empty202(Accepted) in case the Carrier is in the middle of processing the Transport Document).
GET Amended Transport Document (before cancellation has been processed)
Calling: GET /transport-documents/{transportDocumentReference}/amendment
- The Party involved 1 sends a
GETrequest to retrieve the latest amendment. - The Carrier responds with
200(OK) with aTransportDocumentAmendpayload containing:amendedTransportDocumentStatus='AMENDMENT_RECEIVED'.amendedTransportDocument, containing the full proposed amended Transport Document.
- The Transport Document status is available in
amendedTransportDocument.transportDocumentStatus. - The Carrier MAY respond with an empty
202(Accepted) while processing.
Asynchronous carrier processing
- The Carrier processes the accepted cancellation.
- The Transport Document content and state remain unchanged.
- The Carrier sets
amendedTransportDocumentStatus='AMENDMENT_CANCELLED'. - The Carrier sends a Transport Document Notification to the Party/Parties involved 1 (
POST /transport-document-notifications).- The notification
datacontains thetransportDocumentReference, unchangedtransportDocumentStatusandamendedTransportDocumentStatus='AMENDMENT_CANCELLED'. - If feedback was collected, it is included in
data.feedbacks. - If a full notification is sent, the Transport Document (
data.transportDocumentproperty) and the amendment (data.amendedTransportDocumentproperty) are included according to the subscription, also containing any feedback collected for each document.
- The notification
- The Carrier MAY resend the notification.
- When resending the same event, the previous notification
idMAY be reused. - When sending a distinct event, including an updated notification with changed content or feedback, the combination of
sourceandidMUST be unique.
- When resending the same event, the previous notification
GET Transport Document (after the amendment is in state AMENDMENT_CANCELLED)
Calling: GET /transport-documents/{transportDocumentReference}
- The Party involved 1 sends a
GETTransport Document request to retrieve the Transport Document. - The Carrier responds with
200(OK) with its unchanged content (or an empty202(Accepted) in case the Carrier is in the middle of processing the Transport Document).
GET Amended Transport Document (after the amendment is in state AMENDMENT_CANCELLED)
Calling: GET /transport-documents/{transportDocumentReference}/amendment
- The Party involved 1 sends a
GETrequest to retrieve the latest amendment. - The Carrier responds with
200(OK) with aTransportDocumentAmendpayload containing:amendedTransportDocumentStatus='AMENDMENT_CANCELLED'.amendedTransportDocument, containing the full cancelled amended Transport Document.
- The Transport Document status is available in
amendedTransportDocument.transportDocumentStatus. - The Carrier MAY respond with an empty
202(Accepted) while processing.
👉 Important note: Cancelling an amendment does not cancel a surrender-for-amendment request or change the Transport Document state.
Footnotes
- Party/Parties involved can be either:
Shipper,Consignee,Endorseeor any other party authorized to the Transport Document. Notifications are sent to the relevant registered counterparts among these parties. ↩ ↩2 ↩3 ↩4 ↩5 ↩6 ↩7
Use Case 19: Process Transport Document amendment
The Transport Document is in state DRAFT, ISSUED or PENDING_SURRENDER_FOR_AMENDMENT. The amendment is in state AMENDMENT_RECEIVED.
The Carrier reviews the proposed amendment received through Use Case 17: Request Transport Document amendment and decides whether to confirm or decline it. The version-compatibility requirements specified in Use Case 17 therefore already apply.
👉 Important note: This is a Carrier-initiated action. The API does not define a consumer request endpoint to confirm or decline an amendment.
Confirm Transport Document amendment
- The Carrier confirms the amendment and fully and permanently replaces the Transport Document content with the confirmed amendment.
- The Transport Document state stays unchanged.
- The Carrier sets
amendedTransportDocumentStatus='AMENDMENT_CONFIRMED'. - The Carrier sends a Transport Document Notification to the Party/Parties involved 1 (
POST /transport-document-notifications).- The notification
datacontains thetransportDocumentReference, unchangedtransportDocumentStatusandamendedTransportDocumentStatus='AMENDMENT_CONFIRMED'. - If feedback was collected, it is included in
data.feedbacks. - If a full notification is sent, the Transport Document (
data.transportDocumentproperty) and the amendment (data.amendedTransportDocumentproperty) are included according to the subscription, also containing any feedback collected for each document.
- The notification
- The Carrier MAY resend the notification.
- When resending the same event, the previous notification
idMAY be reused. - When sending a distinct event, including an updated notification with changed content or feedback, the combination of
sourceandidMUST be unique.
- When resending the same event, the previous notification
GET Transport Document (after the amendment is in state AMENDMENT_CONFIRMED)
Calling: GET /transport-documents/{transportDocumentReference}
- The Party involved 1 sends a
GETTransport Document request to retrieve the Transport Document. - The Carrier responds with
200(OK) with the confirmed amended content and unchanged Transport Document state (or an empty202(Accepted) in case the Carrier is in the middle of processing the Transport Document).
GET Amended Transport Document (after the amendment is in state AMENDMENT_CONFIRMED)
Calling: GET /transport-documents/{transportDocumentReference}/amendment
- The Party involved 1 sends a
GETrequest to retrieve the latest amendment. - The Carrier responds with
200(OK) with aTransportDocumentAmendpayload containing:amendedTransportDocumentStatus='AMENDMENT_CONFIRMED'.amendedTransportDocument, containing the full confirmed Transport Document.
- The Transport Document status is available in
amendedTransportDocument.transportDocumentStatus. - The Carrier MAY respond with an empty
202(Accepted) while processing.
👉 Important note: Confirmation of an amendment does not itself surrender, void or reissue a Bill of Lading. For an amendment after issuance of an original Bill of Lading, surrender for amendment through Use Case 9: Request surrender Transport Document (amendment) remains required. It may be requested before or after confirmation, according to the Carrier’s internal process. Use Case 10: Process Transport Document surrender request (amendment) and Use Case 11: Void original Transport Document and issue amended Transport Document cover processing the surrender and voiding/reissuing the document.
Decline Transport Document amendment
- The Carrier declines the proposed amendment.
- The Transport Document content and state remain unchanged.
- The Carrier sets
amendedTransportDocumentStatus='AMENDMENT_DECLINED'. - The Carrier sends a Transport Document Notification to the Party/Parties involved 1 (
POST /transport-document-notifications).- The notification
datacontains thetransportDocumentReference, unchangedtransportDocumentStatusandamendedTransportDocumentStatus='AMENDMENT_DECLINED'. - The Carrier MAY provide a reason for declining the Transport Document amendment. If provided, the reason is conveyed through feedback in
data.feedbacks. - If a full notification is sent, the Transport Document (
data.transportDocumentproperty) and the amendment (data.amendedTransportDocumentproperty) are included according to the subscription. Any reason provided for declining is included indata.amendedTransportDocument.feedbacks, along with any additional feedback collected for the amendment.
- The notification
- The Carrier MAY resend the notification.
- When resending the same event, the previous notification
idMAY be reused. - When sending a distinct event, including an updated notification with changed content or feedback, the combination of
sourceandidMUST be unique.
- When resending the same event, the previous notification
GET Transport Document (after the amendment is in state AMENDMENT_DECLINED)
Calling: GET /transport-documents/{transportDocumentReference}
- The Party involved 1 sends a
GETTransport Document request to retrieve the Transport Document. - The Carrier responds with
200(OK) with its unchanged content and state (or an empty202(Accepted) in case the Carrier is in the middle of processing the Transport Document).
GET Amended Transport Document (after the amendment is in state AMENDMENT_DECLINED)
Calling: GET /transport-documents/{transportDocumentReference}/amendment
- The Party involved 1 sends a
GETrequest to retrieve the latest amendment. - The Carrier responds with
200(OK) with aTransportDocumentAmendpayload containing:amendedTransportDocumentStatus='AMENDMENT_DECLINED'.amendedTransportDocument, containing the full declined Transport Document, with any reason provided for declining inamendedTransportDocument.feedbacks.
- The Transport Document status is available in
amendedTransportDocument.transportDocumentStatus. - The Carrier MAY respond with an empty
202(Accepted) while processing.