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.
| Property | Tipo | Required | Description |
| ano | text | Yes | Ex: 2020 |
| mes | text | Yes | Ex: 04 |
| token | text | Yes | Partner 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": "" }