Objective: Sends the NFe XML that covers the order transport (can be sent via put/order)
JSON Composition for sending:
{
*"auth" : key obtained in get/auth method
*,"order" :
{
"id" : unique order identification returned by put/order
,"invoice" : base 64 of the XML covering the order
}
}
Returns with:
{
"code" : integer
,"message" : text
}
Code:
200: XML uploaded successfully
404: Order number not found
403: Order already has an XML and overwriting is not allowed
500: Invalid auth
501: Nfe XML does not contain the authorization TAG (as per SEFAZ legislation, cStat=100)
Message:
Additional information about the error is not a mandatory field in the return.