curl --request GET \
--url https://apicorp.algartelecom.com.br/telecom/product-Inventory-management/management/v1/broker/{customerId}/invoices/{invoiceId} \
--header 'Content-Type: <content-type>' \
--header 'access_token: <access_token>' \
--header 'client_id: <client_id>'{
"quantityItens": 3,
"balanceData": {
"totalFranchise": 2257,
"totalConsumption": 235,
"consumptionFranchise": 2322,
"consumptionExceeded": "2",
"usagePackage": 8938730496,
"blConsumptionFranchise": 13019.5,
"dateConsumptionUpdate": "01-09-2021"
},
"invoiceData": {
"invoiceId": 6,
"startDate": "01-09-2021",
"endDate": "30-09-2021",
"dueDate": "11-10-2021",
"totalTraffic": 0,
"invoiceAmount": 0,
"terminals": 0,
"useTerminals": 0,
"subInvoiceQuantity": 0,
"idStatusInvoice": "C",
"synchronized": false
},
"itens": [
{
"id": 6,
"item": "Description",
"quantityItem": 2,
"unitaryValue": 23.25,
"totalValue": 32.56
}
]
}Listar as faturas das contas virtuais / Buscar os detalhes da fatura do MoT.
curl --request GET \
--url https://apicorp.algartelecom.com.br/telecom/product-Inventory-management/management/v1/broker/{customerId}/invoices/{invoiceId} \
--header 'Content-Type: <content-type>' \
--header 'access_token: <access_token>' \
--header 'client_id: <client_id>'{
"quantityItens": 3,
"balanceData": {
"totalFranchise": 2257,
"totalConsumption": 235,
"consumptionFranchise": 2322,
"consumptionExceeded": "2",
"usagePackage": 8938730496,
"blConsumptionFranchise": 13019.5,
"dateConsumptionUpdate": "01-09-2021"
},
"invoiceData": {
"invoiceId": 6,
"startDate": "01-09-2021",
"endDate": "30-09-2021",
"dueDate": "11-10-2021",
"totalTraffic": 0,
"invoiceAmount": 0,
"terminals": 0,
"useTerminals": 0,
"subInvoiceQuantity": 0,
"idStatusInvoice": "C",
"synchronized": false
},
"itens": [
{
"id": 6,
"item": "Description",
"quantityItem": 2,
"unitaryValue": 23.25,
"totalValue": 32.56
}
]
}Define o formato da requisição.
🔹 Valor padrão:
application/json📌 Dica: Copie e cole esse valor no campo Content-Type.
"application/json"
Id do cliente
"client_id"
Token gerado.
"access_token"
Identificador do cliente.
"123654"
Identificador da fatura.
"123654"
Unidade que deseja retorno, se não infomrado por default MB
"MB"
OK