Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

S-2200 - Obrigatoriedade do campo dtIngrCargo #459

Closed
andersonscr opened this issue Oct 11, 2022 · 0 comments
Closed

S-2200 - Obrigatoriedade do campo dtIngrCargo #459

andersonscr opened this issue Oct 11, 2022 · 0 comments

Comments

@andersonscr
Copy link
Contributor

De acordo com a documentação técnica do eSocial , o campo 105 (dtIngrCargo) do evento "S-2200 - Cadastramento Inicial do Vínculo e Admissão/Ingresso de Trabalhador" não é de preenchimento obrigatório.

Contudo, ao tentar criar o XML relacionado ao evento, preenchendo o campo dtIngrCargo com o valor vazio, a biblioteca emite uma crítica informando a necessidade do preenchimento.

Dessa forma, torna-se necessário atualizar o arquivo "nfephp-org\sped-esocial\jsonSchemes\v_S_01_00_00\evtAdmissao.schema", para que o campo "dtingrcargo" possua os tipos permitidos "type": ["string","null"]

                        "dtingrcargo": {
                            "required": false,
                            "type": ["string","null"],
                            "$ref": "#/definitions/data"
                        },
andersonscr pushed a commit to andersonscr/sped-esocial that referenced this issue Oct 11, 2022
Acrescentando o tipo "null" como permitido no campo 105 (dtIngrCargo) do evento "S-2200 - Cadastramento Inicial do Vínculo e Admissão/Ingresso de Trabalhador"
robmachado added a commit that referenced this issue Oct 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants