QAD 2017 Enterprise Edition > User Guides > Sales > Shipping > Shipment Certification
  
Shipment Certification
Shipment certification lets you mark shippers by assigning a unique, encrypted digital signature. Adding a signature uniquely identifies the origin and the main properties of a shipper. QAD Enterprise Financials 2011.1 and higher versions have been certified by the Portuguese government according to the Decree 363/2010 requirements. Invoice certification is a legal requirement in Portugal. Shipment certification is an extension to the invoice certification.
The signature is based on the main properties of the shipper, such as shipper confirm date and signature creation date/time. To ensure that there are no gaps in the sequence, the signature is generated based on the signature of the previous shipper of the same sequence ID. The shipment certification number assigned to QAD by the local government and the signature are printed on each shipper.
The signature is generated using OpenSSL and a private key. The private key is generated using the RSA algorithm, and remains secret at QAD. Using the private key and OpenSSL, QAD generates a public key. The private key and public key have a strict one-to-one relationship.
The public key is communicated to the local government where it is used to verify that the digital signatures on shippers created using QAD Enterprise Sales are valid. A digital signature only passes the validation if it was generated using the private key linked to the public key.
To create shippers marked by digital signatures, enable shipment certification at domain level, and the signatures are created by shipper sequence ID. There must be no gaps in the sequence.
You generate the signatures by confirming the shipper. The shipment signature includes the data linked in the following order, separated by semicolons:
The shipper confirm date
The creation date and time
The shipper number
The shipper amount (If no value is found on the shipper, the value 0.00 is used for the calculation of the signature.)
The signature generated for the previous shipment of the same shipper sequence ID
The signature printed on the shipment is actually a subset of the complete signature, corresponding to the 1st, 11th, 21st, and 31st positions.
When the signature has been generated, you cannot change it. When a confirmed shipper has been modified for any reason, it does not affect the signature printed. Because each signature is created using encryption and a private key, you cannot correct shipment signatures.