Intersection Generation

This section covers the generation of intersections

1 - Intersection table

Available intersections, and their respective parameters, are specified in the table below:

INTERSECTION PATH
DAMEF vs SPED damef-spf
DCTF vs ECAC dctf-ecac
DCTF X PERDCOMP dctf-perdcomp
DIRF vs DCTF dirf-dctf
DIRF vs ECAC dirf-ecac
ECD vs DCTF ecd-dctf
ECF vs DCTF ecf-dctf
ECF vs DIRF ecf-dirf
ECF vs ECD ecf-ecd
ECF vs Sped Fiscal ecf-spedfiscal
EFD Contribuições vs CTe efd-cte
EFD CONTRIBUIÇÕES vs DCTF efd-dctf
EFD Contribuições vs NFE efd-nfe
EFD Contribuições vs ECD efd-spedcontabil
EFD CONTRIBUIÇÕES vs SPED FISCAL efd-spedfiscal
ESOCIAL vs REINF esoc-reinf
SPED vs SEF sped-sef
SPED FISCAL vs DCTF spedfiscal-dctf
SPED FISCAL vs CTE spf-cte
SPED FISCAL vs OBRIGAÇÕES ESTADUAIS spf-gia
SPED vs GIAST spf-giast
SPED FISCAL vs NFE spf-nfe
SPED FISCAL vs RECOF spf-recof
SPED FISCAL vs NFE spf-xml

2 - Automatic intersection generation

NOTE: All requests for intersection generation must be made through the address https://corewebapi.asisprojetos.com.br

In this method, only the process ID of the predominant product is informed. Processes to be crossed are automatically fetched. The predominant product is the product that appears first in the intersection's name. Example: FISCAL vs DCTF , the predominant product is FISCAL.

POST /api/v1/cruzamento/{path}/{processo}

Parameters:

Headers:

Response:

        {
            "arquivoId": 0,
            "cnpj": "string",
            "dataHoraCriacao": "2020-12-30T13:15:51.395Z",
            "dataHoraExportacao": "2020-12-30T13:15:51.395Z",
            "dataHoraFim": "2020-12-30T13:15:51.395Z",
            "dataHoraInicio": "2020-12-30T13:15:51.395Z",
            "diagnostico": {
               "advertencia": 0,
               "beneficio": 0,
               "erro": 0,
               "relatorio": 0
            },
            "finalidade": 0,
            "id": 0,
            "informacao": {
               "cnpj": "string",
               "encode": "string",
               "finalArquivo": "string",
               "finalidade": 0,
               "indiceInicial": 0,
               "layout": "string",
               "mesRef": "string",
               "produtoId": 0,
               "quantidadeTotal": 0,
               "razaoSocial": "string",
               "status": "string",
               "uf": "string",
               "versao": "string",
               "xargs": "string"
            },
            "mesRef": "string",
            "nome": "string",
            "nomeUsuario": "string",
            "processoPai": 0,
            "produto": {
               "ativo": true,
               "id": 0,
               "nome": "string",
               "prefixo": "string"
            },
            "quantidadeResultado": 0,
            "quantidadeTotal": 0,
            "razaoSocial": "string",
            "status": 0,
            "uf": "string"
         }
    

2 - Advanced intersection generation

Enter the predominant process ID and also the IDs of the processes to be crossed.

The predominant product is the product that appears first in the intersection's name. The product to be crossed is the second. Example: SPED FISCAL vs DCTF, the predominant product is SPED FISCAL and the product to be crossed is DCTF.

POST /api/v1/cruzamento/{path}/{processoA}/{processosB}

Parameters:

Headers:

Response:

        {
            "arquivoId": 0,
            "cnpj": "string",
            "dataHoraCriacao": "2020-12-30T13:15:51.395Z",
            "dataHoraExportacao": "2020-12-30T13:15:51.395Z",
            "dataHoraFim": "2020-12-30T13:15:51.395Z",
            "dataHoraInicio": "2020-12-30T13:15:51.395Z",
            "diagnostico": {
               "advertencia": 0,
               "beneficio": 0,
               "erro": 0,
               "relatorio": 0
            },
            "finalidade": 0,
            "id": 0,
            "informacao": {
               "cnpj": "string",
               "encode": "string",
               "finalArquivo": "string",
               "finalidade": 0,
               "indiceInicial": 0,
               "layout": "string",
               "mesRef": "string",
               "produtoId": 0,
               "quantidadeTotal": 0,
               "razaoSocial": "string",
               "status": "string",
               "uf": "string",
               "versao": "string",
               "xargs": "string"
            },
            "mesRef": "string",
            "nome": "string",
            "nomeUsuario": "string",
            "processoPai": 0,
            "produto": {
               "ativo": true,
               "id": 0,
               "nome": "string",
               "prefixo": "string"
            },
            "quantidadeResultado": 0,
            "quantidadeTotal": 0,
            "razaoSocial": "string",
            "status": 0,
            "uf": "string"
        }