Skip to content
Light
English

Partner API - Billing Statement

This article is part of the Partner API documentation.

Method (GET) to retrieve the billing statement for a given month.

NOTE: Notice that the month and year refer to the accrual period (competência) and not the invoice due date.

https://sistema.demander.com.br/public/parceiro/v1/extrato-de-faturamento/{ano}/{mes}?token={your token}

PropertyTipoRequiredDescription
anotextYesEx: 2020
mestextYesEx: 04
tokentextYesPartner Token

Response:

{
"id": 97397,
"mes": 4,
"ano": 2020,
"valorTotal": "2213.50",
"numPedidoERP": 374,
"dataVencimento": "2020-05-20",
"dataApuracao": "2020-05-07 08:19:30",
"itens": [
{
"id": 370535,
"qtde": 8,
"valorUnitario": "25.50",
"valorTotal": "204.00",
"servico": {
"id": 5,
"descricao": "Licença de Usuário"
},
"empresa": {
"razaoSocial": "RETTA TECNOLOGIA DA INFORMAÇÃO LTDA",
"CNPJ": "07.676.543/0001-72",
"id": 100
},
"observacoes": ""
},
{
"id": 97398,
"mes": 4,
"ano": 2020,
"valorTotal": "1540.67",
"numPedidoERP": 375,
"dataVencimento": "2020-05-10",
"dataApuracao": "2020-05-01 13:25:54",
"itens": [
{
"id": 370536,
"qtde": 5,
"valorUnitario": "25.50",
"valorTotal": "127.50",
"servico": {
"id": 5,
"descricao": "Licença de Usuário"
},
"empresa": {
"razaoSocial": "DISTRIBUIDORA DISTRIMAIS",
"CNPJ": "05.425.521/0001-19",
"id": 2930
},
"observacoes": ""
}