documentId and hash can be referenced when generating a DDS to embed certified land rights evidence into the declaration payload.
Endpoint
POST /api/v1/enterprise/eudr/declarations/documents/upload
Request
This endpoint acceptsmultipart/form-data encoding. Do not send a JSON body.
The land tenure document file to upload. Accepted formats are
application/pdf, image/jpeg, and image/png. Maximum file size is 20 MB.The category of land tenure document being uploaded. Accepted values are:
TITLE_DEED— Official property title or land ownership certificate.GOVERNMENT_CERTIFICATE— A government-issued land use or occupancy certificate.CONCESSION_AGREEMENT— A formal concession or lease agreement from a government authority.CUSTOMARY_RIGHTS— Documentation of customary or community land rights.
The batch ID to associate this document with. If provided, the document is automatically linked to the specified batch record. Optional if you intend to link the document manually at DDS generation time.
The name of the government body, registry, or authority that issued the document. Used for audit trail completeness.
The date the document was officially issued, in
YYYY-MM-DD format.Response Fields
The unique identifier assigned to the uploaded document within the AgriBackup compliance vault. Use this ID to reference the document when generating a DDS.
The SHA-256 cryptographic hash of the uploaded file, computed at ingestion time. Pass this hash value in the
legalDocumentHashes array when calling the Generate DDS endpoint. You can also verify document integrity at any time by hashing your local copy and comparing it against this value.The internal URL used to retrieve the document during TRACES NT submission. This URL is used internally by AgriBackup and does not need to be stored by your application.
The storage status of the uploaded document. Will be
SECURED once the file has been successfully hashed and vaulted.Code Examples
Example Response
Store the
hash value returned by this endpoint and pass it in the legalDocumentHashes array when generating a DDS. This cryptographically links your land tenure documents to the declaration without transmitting the raw document to TRACES NT.