curl --location -g --request PUT '/orders/invoices/{{codigo_nota_fiscal}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"type": "SALE",
"distribution_center_code": "13",
"number":"77",
"serie":"27",
"key":"77-8",
"invoice_date":"2020-02-05 13:00:00",
"tracking_code":"aa11",
"tracking_url":"http://ulr.rastreio.com",
"transport_code":"Q",
"transport_name":"TRANSPORTADORA QQ",
"delivery_date":"2020-02-05 17:00:00",
"billing_type":"MONEY",
"items":[
{
"product_code": "SR485/2C",
"attended_quantity": "10"
}
]
}'