# E-File

 - [POST /cargosoft/efile](https://api-cargosoft.redocly.app/products/tms-api/2026.1/openapi/e-file/createefiledocument.md): > **Development notice:** This endpoint is still under development and may change. 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/products/tms-api/2026.1/openapi/e-file/retrieveefilereferences.md): Retrieves all references linked to an E-File document.
 - [POST /cargosoft/efile/{id}/reference](https://api-cargosoft.redocly.app/products/tms-api/2026.1/openapi/e-file/addefilereference.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/products/tms-api/2026.1/openapi/e-file/removeefilereference.md): Removes a reference from an existing E-File document.
 - [GET /cargosoft/efile/{id}/role](https://api-cargosoft.redocly.app/products/tms-api/2026.1/openapi/e-file/retrieveefileroles.md): Retrieves all authorization roles linked to an E-File document.
 - [POST /cargosoft/efile/{id}/role](https://api-cargosoft.redocly.app/products/tms-api/2026.1/openapi/e-file/addefilerole.md): Adds an authorization role to an existing E-File document.
 - [DELETE /cargosoft/efile/{id}/role](https://api-cargosoft.redocly.app/products/tms-api/2026.1/openapi/e-file/removeefilerole.md): Removes an authorization role from an existing E-File document.
 - [GET /cargosoft/efile/{id}](https://api-cargosoft.redocly.app/products/tms-api/2026.1/openapi/e-file/retrieveefiledocument.md): Retrieves a single E-File document by its document ID.
 - [DELETE /cargosoft/efile/{id}](https://api-cargosoft.redocly.app/products/tms-api/2026.1/openapi/e-file/deleteefiledocument.md): Deletes an E-File document by its document ID.
 - [POST /cargosoft/efile/lookup](https://api-cargosoft.redocly.app/products/tms-api/2026.1/openapi/e-file/lookupefiledocuments.md): Looks up electronic documents such as PDF files by the supplied lookup identifiers.
