For the complete documentation index, see llms.txt. This page is also available as Markdown.

Create

Gera um relatório com os parâmetros indicados.

Gerar Relatório

POST https://api.cloudinvoice.net/reports/csv/:code/new/

Path Parameters

Name
Type
Description

code*

string

Código do Relatório Poderá consultar a lista de Relatórios disponíveis aqui.

Request Body

curl -X POST https://api.cloudinvoice.net/reports/csv/monthly_invoicing_totals/new/
    -d '{
        "year": "2026"
    }'
{
    "id": 200102,
    "code": "monthly_invoicing_totals",
    "title": "Facturação Mensal",
    "report_title": "Relatorio De Faturação Mensal",
    "fields": {
        "location_id": {
            "label": "Localização",
            "help_text": "",
            "required": false,
            "disabled": false,
            "initial": null,
            "choices": [
                {
                    "value": 1,
                    "text": "Localização 1"
                }
            ]
        },
        "year": {
            "label": "Ano",
            "help_text": "",
            "required": true,
            "disabled": false,
            "initial": "2026",
            "choices": [
                {
                    "value": 2024,
                    "text": "2024"
                },
                {
                    "value": 2025,
                    "text": "2025"
                },
                {
                    "value": 2026,
                    "text": "2026"
                }
            ]
        },
        "document_serie_id": {
            "label": "Série de Documentos",
            "help_text": "",
            "required": false,
            "disabled": false,
            "initial": null,
            "choices": [
                {
                    "value": 1,
                    "text": "A01 - Série A01"
                }
            ]
        }
    }
}

Para ver exemplos de pedidos nas várias linguagens, consulte a página Exemplos de Pedidos.

Last updated