Attestation
Mexico NOM-151
Comply with Mexico's NOM-151 standard by attaching a preservation certificate to your deliverables
NOM-151 defines the legal standards for data message preservation and document digitization in Mexico.
When attestation is set to mx_nom151, SignatureAPI obtains a preservation certificate (constancia de conservación) in ASN.1 format for the sealed deliverable PDF. The constancia is a separate file: it is attached to the deliverable email and available from the verification link that SignatureAPI adds on the last page of the deliverable. Both the certificate and the deliverable can be verified using any ASN.1 signature verification tool.
Diagram as text
Parts
- Deliverable: Generated when the envelope completes.
- SHA-256 hash: Only the hash leaves SignatureAPI, never the document.
- Preservation certificate (ASN.1): Attached to the deliverable and downloadable from the verification link on its last page.
- Issues the constancia: Certifies that the document with this hash existed, unaltered, at that time.
Connections
- Deliverable to SHA-256 hash: hashed
- SHA-256 hash to Issues the constancia: sent
- Issues the constancia to Preservation certificate (ASN.1): returns
To use NOM-151, set attestation to mx_nom151 when creating the envelope:
POST /v1/envelopes HTTP/1.1
Host: api.signatureapi.com
X-API-Key: YOUR_API_KEY
Content-Type: application/json
{
"title": "Contrato de Servicios",
"attestation": "mx_nom151",
"documents": [
{
"url": "https://pub-9cb75390636c4a8a83a6f76da33d7f45.r2.dev/docs-samples/acme-service-agreement.pdf",
"places": [
{ "key": "client_signs_here", "type": "signature", "recipient_key": "client" },
{ "key": "provider_signs_here", "type": "signature", "recipient_key": "provider" }
]
}
],
"recipients": [
{ "type": "signer", "key": "client", "name": "Jane Doe", "email": "jane.doe@example.com" },
{ "type": "signer", "key": "provider", "name": "John Smith", "email": "john.smith@example.com" }
]
}Verify a constancia
The constancia is an RFC 3161 timestamp response. Its message imprint is the SHA-256 hash of the whole deliverable PDF, so any change to the PDF breaks the match. Choose the deliverable and its constancia to check them:
NOM-151 constancia checker
Read in your browser only. The files are never uploaded or stored.
Choose the deliverable PDF and its constancia. The checker compares the PDF hash with the hash in the constancia, verifies the constancia signature, and shows the time, the issuer and the policy.
Test mode and pricing
In test mode, no request goes to the certification provider. SignatureAPI attaches a test timestamp token in place of the preservation certificate, so the deliverable has the same structure but no legal value in Mexico. Test-mode envelopes are never billed.
In live mode, NOM-151 attestation adds $0.10 per completed envelope.