Method: https://oms.tpl.com.br/api/put/document

Objective: Allows attaching a document to the order for printing at CHECKOUT
          
            
JSON Composition for sending:

{
*"auth" : key obtained in get/auth method
*,"key" : fiscal key
*,"order" : order number
*,"document" : document base64 PDF
}

Returns with:
{
"code" : integer
,"message" : text
}

Code:
401: document already contains an attachment
403: document is empty
404: document not found
405: mandatory tag not informed
406: error in document registration - validate with IT
407: document is not a valid PDF
500: authentication data not correctly informed
501: invalid credentials
502: client blocked