# E-File

 - [POST /cargosoft/efile](https://api-cargosoft.redocly.app/2026.1/openapi/e-file/create.md): Stores a base64 encoded document in E-File and links it to the supplied references and roles.
 - [GET /cargosoft/efile/{id}/reference](https://api-cargosoft.redocly.app/2026.1/openapi/e-file/retrievereferencesfromdocument.md): Retrieves all references linked to an E-File document.
 - [POST /cargosoft/efile/{id}/reference](https://api-cargosoft.redocly.app/2026.1/openapi/e-file/createreferencefordocument.md): Adds a reference, such as a shipment or address reference, to an existing E-File document.
 - [DELETE /cargosoft/efile/{id}/reference](https://api-cargosoft.redocly.app/2026.1/openapi/e-file/deletereferencefromdocument.md): Removes a reference from an existing E-File document.
 - [GET /cargosoft/efile/{id}/role](https://api-cargosoft.redocly.app/2026.1/openapi/e-file/retrieverolesfromdocument.md): Retrieves all authorization roles linked to an E-File document.
 - [POST /cargosoft/efile/{id}/role](https://api-cargosoft.redocly.app/2026.1/openapi/e-file/createrolefordocument.md): Adds an authorization role to an existing E-File document.
 - [DELETE /cargosoft/efile/{id}/role](https://api-cargosoft.redocly.app/2026.1/openapi/e-file/deleterolefromdocument.md): Removes an authorization role from an existing E-File document.
 - [GET /cargosoft/efile/{id}](https://api-cargosoft.redocly.app/2026.1/openapi/e-file/retrievebyid.md): Retrieves a single E-File document by its document ID.
 - [DELETE /cargosoft/efile/{id}](https://api-cargosoft.redocly.app/2026.1/openapi/e-file/delete.md): Deletes an E-File document by its document ID.
 - [POST /cargosoft/efile/lookup](https://api-cargosoft.redocly.app/2026.1/openapi/e-file/lookup.md): Looks up electronic documents such as PDF files by the supplied lookup identifiers.
