Árvore de páginas


01. DADOS GERAIS

Produto:

TOTVS Backoffice

Linha de Produto:

Linha Protheus

Segmento:

Backoffice

Módulo:

TOTVS Backoffice (Linha Protheus) - Automação Fiscal

Função:totvs.protheus.fiscal.taf.logsEvents.tlpp
País:Brasil
Ticket:Não há.
Requisito/Story/Issue (informe o requisito relacionado) :DSERTAF4-3017


02. SITUAÇÃO/REQUISITO

Esta API deve retornar o status e informações resumidas (data de envio e retorno) dos eventos  da Reforma transmitidos ou pendentes de integração com a SEFAZ.

03. SOLUÇÃO

Foi implementado um endpoint responsável por retornar os detalhes do logs.


Retorno da API
{
    "items": [
        {
            "id": "00000000000000000201                ",
            "eventCode": "211150",
            "description": "211150",
            "status": "2",
            "sefazDetail": "<retEvento><cStat>135</cStat><xMotivo>Evento registrado</xMotivo></retEvento>"
        },
        {
            "id": "00000000000000000202                ",
            "eventCode": "211110",
            "description": "211110",
            "status": "5",
            "sefazDetail": "NÃO OBTIDO"
        },
        {
            "id": "LOG0002                             ",
            "eventCode": "211110",
            "description": "211110",
            "status": "2",
            "sefazDetail": "NÃO OBTIDO"
        }
    ],
    "hasNext": false
}


04. DEMAIS INFORMAÇÕES

Não há.

05. ASSUNTOS RELACIONADOS

  • Não há.