focus_nfe 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/.git-hooks/pre_push/steep.rb +18 -0
- data/.git-hooks/pre_push/yard_doc.rb +18 -0
- data/.gitattributes +1 -0
- data/.overcommit.yml +69 -0
- data/.rspec +3 -0
- data/.yardopts +11 -0
- data/CHANGELOG.md +77 -0
- data/CLAUDE.md +118 -0
- data/CODE_OF_CONDUCT.md +10 -0
- data/LICENSE.txt +21 -0
- data/README.md +348 -0
- data/Rakefile +105 -0
- data/data/schemas/schema_cte.json +2793 -0
- data/data/schemas/schema_cte_os.json +1335 -0
- data/data/schemas/schema_cte_os_transporte_rodoviario.json +109 -0
- data/data/schemas/schema_cte_transporte_aereo.json +115 -0
- data/data/schemas/schema_cte_transporte_aquaviario.json +174 -0
- data/data/schemas/schema_cte_transporte_dutoviario.json +65 -0
- data/data/schemas/schema_cte_transporte_ferroviario.json +144 -0
- data/data/schemas/schema_cte_transporte_multimodal.json +45 -0
- data/data/schemas/schema_cte_transporte_rodoviario.json +78 -0
- data/data/schemas/schema_dce.json +549 -0
- data/data/schemas/schema_mdfe.json +1102 -0
- data/data/schemas/schema_mdfe_transporte_aereo.json +44 -0
- data/data/schemas/schema_mdfe_transporte_aquaviario.json +209 -0
- data/data/schemas/schema_mdfe_transporte_ferroviario.json +99 -0
- data/data/schemas/schema_mdfe_transporte_rodoviario.json +628 -0
- data/data/schemas/schema_nfcom.json +1859 -0
- data/data/schemas/schema_nfe.json +4750 -0
- data/data/schemas/schema_nfe_forma_pagamento.json +97 -0
- data/data/schemas/schema_nfe_item.json +2574 -0
- data/data/schemas/schema_nfgas.json +2316 -0
- data/data/schemas/schema_nfse_nacional.json +1847 -0
- data/data/schemas/schema_nfse_recebida.json +548 -0
- data/lib/focus_nfe/client.rb +162 -0
- data/lib/focus_nfe/configuration.rb +104 -0
- data/lib/focus_nfe/errors.rb +123 -0
- data/lib/focus_nfe/esquemas/campo.rb +171 -0
- data/lib/focus_nfe/esquemas/catalogo.rb +34 -0
- data/lib/focus_nfe/esquemas/decimal.rb +66 -0
- data/lib/focus_nfe/esquemas/esquema.rb +72 -0
- data/lib/focus_nfe/esquemas/validador.rb +87 -0
- data/lib/focus_nfe/http/adapter.rb +25 -0
- data/lib/focus_nfe/http/adapters/net_http.rb +99 -0
- data/lib/focus_nfe/http/authentication.rb +23 -0
- data/lib/focus_nfe/http/connection.rb +118 -0
- data/lib/focus_nfe/http/logging.rb +100 -0
- data/lib/focus_nfe/http/response.rb +75 -0
- data/lib/focus_nfe/modelos/documento.rb +113 -0
- data/lib/focus_nfe/modelos/inutilizacao.rb +75 -0
- data/lib/focus_nfe/modelos/pagina.rb +54 -0
- data/lib/focus_nfe/recursos/backups.rb +17 -0
- data/lib/focus_nfe/recursos/base.rb +91 -0
- data/lib/focus_nfe/recursos/ceps.rb +16 -0
- data/lib/focus_nfe/recursos/cfops.rb +16 -0
- data/lib/focus_nfe/recursos/cnaes.rb +16 -0
- data/lib/focus_nfe/recursos/cnpjs.rb +13 -0
- data/lib/focus_nfe/recursos/concerns/baixavel.rb +41 -0
- data/lib/focus_nfe/recursos/concerns/baixavel_eventos.rb +34 -0
- data/lib/focus_nfe/recursos/concerns/cancelavel.rb +25 -0
- data/lib/focus_nfe/recursos/concerns/conciliavel.rb +66 -0
- data/lib/focus_nfe/recursos/concerns/consultavel.rb +26 -0
- data/lib/focus_nfe/recursos/concerns/corrigivel.rb +45 -0
- data/lib/focus_nfe/recursos/concerns/corrigivel_cte.rb +60 -0
- data/lib/focus_nfe/recursos/concerns/emitivel.rb +51 -0
- data/lib/focus_nfe/recursos/concerns/enviavel.rb +40 -0
- data/lib/focus_nfe/recursos/concerns/eventavel.rb +46 -0
- data/lib/focus_nfe/recursos/concerns/inutilizavel.rb +96 -0
- data/lib/focus_nfe/recursos/concerns/listavel.rb +22 -0
- data/lib/focus_nfe/recursos/concerns/localizavel.rb +22 -0
- data/lib/focus_nfe/recursos/concerns/notificavel.rb +23 -0
- data/lib/focus_nfe/recursos/concerns/removivel.rb +20 -0
- data/lib/focus_nfe/recursos/concerns/visualizavel.rb +28 -0
- data/lib/focus_nfe/recursos/cte.rb +35 -0
- data/lib/focus_nfe/recursos/cte_os.rb +29 -0
- data/lib/focus_nfe/recursos/ctes_recebidas.rb +38 -0
- data/lib/focus_nfe/recursos/dce.rb +16 -0
- data/lib/focus_nfe/recursos/emails_bloqueados.rb +31 -0
- data/lib/focus_nfe/recursos/empresas.rb +35 -0
- data/lib/focus_nfe/recursos/mdfe.rb +78 -0
- data/lib/focus_nfe/recursos/municipios.rb +60 -0
- data/lib/focus_nfe/recursos/ncms.rb +16 -0
- data/lib/focus_nfe/recursos/nfce.rb +19 -0
- data/lib/focus_nfe/recursos/nfcom.rb +16 -0
- data/lib/focus_nfe/recursos/nfe.rb +106 -0
- data/lib/focus_nfe/recursos/nfes_recebidas.rb +56 -0
- data/lib/focus_nfe/recursos/nfgas.rb +16 -0
- data/lib/focus_nfe/recursos/nfse.rb +18 -0
- data/lib/focus_nfe/recursos/nfse_nacional.rb +16 -0
- data/lib/focus_nfe/recursos/nfses_nacionais_recebidas.rb +21 -0
- data/lib/focus_nfe/recursos/webhooks.rb +22 -0
- data/lib/focus_nfe/version.rb +6 -0
- data/lib/focus_nfe/webhook.rb +68 -0
- data/lib/focus_nfe.rb +124 -0
- data/sig/focus_nfe/client.rbs +38 -0
- data/sig/focus_nfe/configuration.rbs +29 -0
- data/sig/focus_nfe/errors.rbs +59 -0
- data/sig/focus_nfe/esquemas/campo.rbs +47 -0
- data/sig/focus_nfe/esquemas/catalogo.rbs +8 -0
- data/sig/focus_nfe/esquemas/decimal.rbs +25 -0
- data/sig/focus_nfe/esquemas/esquema.rbs +30 -0
- data/sig/focus_nfe/esquemas/validador.rbs +20 -0
- data/sig/focus_nfe/http/adapter.rbs +7 -0
- data/sig/focus_nfe/http/adapters/net_http.rbs +25 -0
- data/sig/focus_nfe/http/authentication.rbs +9 -0
- data/sig/focus_nfe/http/connection.rbs +32 -0
- data/sig/focus_nfe/http/logging.rbs +30 -0
- data/sig/focus_nfe/http/response.rbs +28 -0
- data/sig/focus_nfe/modelos/documento.rbs +34 -0
- data/sig/focus_nfe/modelos/inutilizacao.rbs +24 -0
- data/sig/focus_nfe/modelos/pagina.rbs +21 -0
- data/sig/focus_nfe/recursos/backups.rbs +7 -0
- data/sig/focus_nfe/recursos/base.rbs +25 -0
- data/sig/focus_nfe/recursos/ceps.rbs +10 -0
- data/sig/focus_nfe/recursos/cfops.rbs +10 -0
- data/sig/focus_nfe/recursos/cnaes.rbs +10 -0
- data/sig/focus_nfe/recursos/cnpjs.rbs +7 -0
- data/sig/focus_nfe/recursos/concerns/baixavel.rbs +12 -0
- data/sig/focus_nfe/recursos/concerns/baixavel_eventos.rbs +14 -0
- data/sig/focus_nfe/recursos/concerns/cancelavel.rbs +9 -0
- data/sig/focus_nfe/recursos/concerns/conciliavel.rbs +15 -0
- data/sig/focus_nfe/recursos/concerns/consultavel.rbs +9 -0
- data/sig/focus_nfe/recursos/concerns/corrigivel.rbs +15 -0
- data/sig/focus_nfe/recursos/concerns/corrigivel_cte.rbs +17 -0
- data/sig/focus_nfe/recursos/concerns/emitivel.rbs +14 -0
- data/sig/focus_nfe/recursos/concerns/enviavel.rbs +15 -0
- data/sig/focus_nfe/recursos/concerns/eventavel.rbs +12 -0
- data/sig/focus_nfe/recursos/concerns/inutilizavel.rbs +20 -0
- data/sig/focus_nfe/recursos/concerns/listavel.rbs +9 -0
- data/sig/focus_nfe/recursos/concerns/localizavel.rbs +9 -0
- data/sig/focus_nfe/recursos/concerns/notificavel.rbs +9 -0
- data/sig/focus_nfe/recursos/concerns/removivel.rbs +9 -0
- data/sig/focus_nfe/recursos/concerns/visualizavel.rbs +9 -0
- data/sig/focus_nfe/recursos/cte.rbs +17 -0
- data/sig/focus_nfe/recursos/cte_os.rbs +17 -0
- data/sig/focus_nfe/recursos/ctes_recebidas.rbs +14 -0
- data/sig/focus_nfe/recursos/dce.rbs +10 -0
- data/sig/focus_nfe/recursos/emails_bloqueados.rbs +12 -0
- data/sig/focus_nfe/recursos/empresas.rbs +12 -0
- data/sig/focus_nfe/recursos/mdfe.rbs +21 -0
- data/sig/focus_nfe/recursos/municipios.rbs +19 -0
- data/sig/focus_nfe/recursos/ncms.rbs +10 -0
- data/sig/focus_nfe/recursos/nfce.rbs +12 -0
- data/sig/focus_nfe/recursos/nfcom.rbs +10 -0
- data/sig/focus_nfe/recursos/nfe.rbs +23 -0
- data/sig/focus_nfe/recursos/nfes_recebidas.rbs +16 -0
- data/sig/focus_nfe/recursos/nfgas.rbs +10 -0
- data/sig/focus_nfe/recursos/nfse.rbs +11 -0
- data/sig/focus_nfe/recursos/nfse_nacional.rbs +10 -0
- data/sig/focus_nfe/recursos/nfses_nacionais_recebidas.rbs +11 -0
- data/sig/focus_nfe/recursos/webhooks.rbs +11 -0
- data/sig/focus_nfe/webhook.rbs +11 -0
- data/sig/focus_nfe.rbs +10 -0
- data/spec/focus_nfe/client_spec.rb +208 -0
- data/spec/focus_nfe/configuration_spec.rb +121 -0
- data/spec/focus_nfe/errors_mapping_spec.rb +68 -0
- data/spec/focus_nfe/errors_spec.rb +107 -0
- data/spec/focus_nfe/esquemas/campo_spec.rb +291 -0
- data/spec/focus_nfe/esquemas/decimal_spec.rb +54 -0
- data/spec/focus_nfe/esquemas/esquema_spec.rb +73 -0
- data/spec/focus_nfe/esquemas/validador_spec.rb +167 -0
- data/spec/focus_nfe/esquemas_spec.rb +42 -0
- data/spec/focus_nfe/http/adapter_spec.rb +8 -0
- data/spec/focus_nfe/http/adapters/net_http_spec.rb +181 -0
- data/spec/focus_nfe/http/authentication_spec.rb +24 -0
- data/spec/focus_nfe/http/connection_spec.rb +255 -0
- data/spec/focus_nfe/http/logging_spec.rb +83 -0
- data/spec/focus_nfe/http/response_spec.rb +161 -0
- data/spec/focus_nfe/modelos/documento_spec.rb +150 -0
- data/spec/focus_nfe/modelos/inutilizacao_spec.rb +91 -0
- data/spec/focus_nfe/modelos/pagina_spec.rb +77 -0
- data/spec/focus_nfe/recursos/backups_spec.rb +29 -0
- data/spec/focus_nfe/recursos/base_spec.rb +56 -0
- data/spec/focus_nfe/recursos/ceps_spec.rb +16 -0
- data/spec/focus_nfe/recursos/cfops_spec.rb +16 -0
- data/spec/focus_nfe/recursos/cnaes_spec.rb +20 -0
- data/spec/focus_nfe/recursos/cnpjs_spec.rb +11 -0
- data/spec/focus_nfe/recursos/concerns/emitivel_validacao_spec.rb +158 -0
- data/spec/focus_nfe/recursos/cte_os_spec.rb +9 -0
- data/spec/focus_nfe/recursos/cte_spec.rb +9 -0
- data/spec/focus_nfe/recursos/ctes_recebidas_spec.rb +56 -0
- data/spec/focus_nfe/recursos/dce_spec.rb +8 -0
- data/spec/focus_nfe/recursos/emails_bloqueados_spec.rb +29 -0
- data/spec/focus_nfe/recursos/empresas_spec.rb +45 -0
- data/spec/focus_nfe/recursos/mdfe_spec.rb +100 -0
- data/spec/focus_nfe/recursos/municipios_spec.rb +58 -0
- data/spec/focus_nfe/recursos/ncms_spec.rb +16 -0
- data/spec/focus_nfe/recursos/nfce_spec.rb +10 -0
- data/spec/focus_nfe/recursos/nfcom_spec.rb +8 -0
- data/spec/focus_nfe/recursos/nfe_spec.rb +262 -0
- data/spec/focus_nfe/recursos/nfes_recebidas_spec.rb +87 -0
- data/spec/focus_nfe/recursos/nfgas_spec.rb +8 -0
- data/spec/focus_nfe/recursos/nfse_nacional_spec.rb +8 -0
- data/spec/focus_nfe/recursos/nfse_spec.rb +9 -0
- data/spec/focus_nfe/recursos/nfses_nacionais_recebidas_spec.rb +17 -0
- data/spec/focus_nfe/recursos/webhooks_spec.rb +22 -0
- data/spec/focus_nfe/webhook_spec.rb +66 -0
- data/spec/focus_nfe_global_configuration_spec.rb +70 -0
- data/spec/focus_nfe_require_spec.rb +87 -0
- data/spec/focus_nfe_spec.rb +11 -0
- data/spec/spec_helper.rb +58 -0
- data/spec/support/shared_examples/recurso_fiscal.rb +445 -0
- data/spec/support/shared_examples/recurso_leitura.rb +217 -0
- data/tools/pull_fields.rb +62 -0
- metadata +420 -0
|
@@ -0,0 +1,2793 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"name": "cfop",
|
|
4
|
+
"description": "CFOP da CT-e.",
|
|
5
|
+
"type": "Integer[4]",
|
|
6
|
+
"required": true,
|
|
7
|
+
"tag": "CFOP"
|
|
8
|
+
},
|
|
9
|
+
{
|
|
10
|
+
"name": "natureza_operacao",
|
|
11
|
+
"description": "Descrição da natureza de operação.",
|
|
12
|
+
"type": "String[1-60]",
|
|
13
|
+
"required": true,
|
|
14
|
+
"tag": "natOp"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"name": "serie",
|
|
18
|
+
"description": "Série da CT-e. Deixe em branco para que a API se responsabilize pela numeração automática (recomendado)",
|
|
19
|
+
"type": "Integer[1-3]",
|
|
20
|
+
"required": false,
|
|
21
|
+
"tag": "serie"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"name": "numero",
|
|
25
|
+
"description": "Número da CT-e. Deixe em branco para que a API se responsabilize pela numeração automática (recomendado)",
|
|
26
|
+
"type": "Integer[1-9]",
|
|
27
|
+
"required": false,
|
|
28
|
+
"tag": "nCT"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"name": "data_emissao",
|
|
32
|
+
"description": "Data e hora de emissão.",
|
|
33
|
+
"type": null,
|
|
34
|
+
"required": true,
|
|
35
|
+
"tag": "dhEmi"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"name": "tipo_documento",
|
|
39
|
+
"description": "Tipo do CT-e",
|
|
40
|
+
"type": null,
|
|
41
|
+
"required": true,
|
|
42
|
+
"enum": "* +0+: CT-e Normal\\n* +1+: CT-e de Complemento de Valores\\n* +2+: CT-e de Anulação\\n* +3+: CT-e Substituto",
|
|
43
|
+
"tag": "tpCTe"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"name": "indicador_globalizado",
|
|
47
|
+
"description": "Indicador de CT-e Globalizado. Omitir esta tag caso o CT-e não seja globalizado.",
|
|
48
|
+
"type": null,
|
|
49
|
+
"required": false,
|
|
50
|
+
"enum": "* +1+: CT-e Globalizado",
|
|
51
|
+
"tag": "indGlobalizado"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"name": "codigo_municipio_envio",
|
|
55
|
+
"description": "Código do Município de envio do CT-e (7 dígitos). Caso este campo seja omitido, o código será buscado a partir do nome e estado do município, caso contrário utilizar a tabela do IBGE. Informar 9999999 para operações com o exterior.",
|
|
56
|
+
"type": "Integer[7]",
|
|
57
|
+
"required": true,
|
|
58
|
+
"tag": "cMunEnv"
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"name": "municipio_envio",
|
|
62
|
+
"description": "Nome do município de envio do CT-e. Informar PAIS/Municipio para as operações com o exterior.",
|
|
63
|
+
"type": "String[2-60]",
|
|
64
|
+
"required": true,
|
|
65
|
+
"tag": "xMunEnv"
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"name": "uf_envio",
|
|
69
|
+
"description": "Sigla da UF de envio do CT-e. Informar 'EX' para as operações com o exterior.",
|
|
70
|
+
"type": "String[2]",
|
|
71
|
+
"required": true,
|
|
72
|
+
"tag": "UFEnv"
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"name": "modal",
|
|
76
|
+
"description": "Modal de transporte da CT-e",
|
|
77
|
+
"type": null,
|
|
78
|
+
"required": true,
|
|
79
|
+
"enum": "* +01+: Rodoviário\\n* +02+: Aéreo\\n* +03+: Aquaviário\\n* +04+: Ferroviário\\n* +05+: Dutoviário\\n* +06+: Multimodal",
|
|
80
|
+
"tag": "modal"
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"name": "tipo_servico",
|
|
84
|
+
"description": "Tipo do serviço prestado.",
|
|
85
|
+
"type": null,
|
|
86
|
+
"required": true,
|
|
87
|
+
"enum": "* +0+: Normal\\n* +1+: Subcontratação\\n* +2+: Redespacho\\n* +3+: Redespacho Intermediário\\n* +4+: Serviço Vinculado a Multimodal",
|
|
88
|
+
"tag": "tpServ"
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
"name": "codigo_municipio_inicio",
|
|
92
|
+
"description": "Código do Município de início da prestação. Caso este campo seja omitido, o código será buscado a partir do nome e estado do município, caso contrário utilizar a tabela do IBGE. Informar 9999999 para operações com o exterior.",
|
|
93
|
+
"type": "Integer[7]",
|
|
94
|
+
"required": true,
|
|
95
|
+
"tag": "cMunIni"
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"name": "municipio_inicio",
|
|
99
|
+
"description": "Nome do município de início da prestação. Informar 'EXTERIOR' para as operações com o exterior.",
|
|
100
|
+
"type": "String[2-60]",
|
|
101
|
+
"required": true,
|
|
102
|
+
"tag": "xMunIni"
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
"name": "uf_inicio",
|
|
106
|
+
"description": "Sigla da UF de início da prestação. Informar 'EX' para as operações com o exterior.",
|
|
107
|
+
"type": "String[2]",
|
|
108
|
+
"required": true,
|
|
109
|
+
"tag": "UFIni"
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
"name": "codigo_municipio_fim",
|
|
113
|
+
"description": "Código do Município de término da prestação. Caso este campo seja omitido, o código será buscado a partir do nome e estado do município, caso contrário utilizar a tabela do IBGE. Informar 9999999 para operações com o exterior.",
|
|
114
|
+
"type": "Integer[7]",
|
|
115
|
+
"required": true,
|
|
116
|
+
"tag": "cMunFim"
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
"name": "municipio_fim",
|
|
120
|
+
"description": "Nome do município de término da prestação. Informar 'EXTERIOR' para as operações com o exterior.",
|
|
121
|
+
"type": "String[2-60]",
|
|
122
|
+
"required": true,
|
|
123
|
+
"tag": "xMunFim"
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
"name": "uf_fim",
|
|
127
|
+
"description": "Sigla da UF de término da prestação. Informar 'EX' para as operações com o exterior.",
|
|
128
|
+
"type": "String[2]",
|
|
129
|
+
"required": true,
|
|
130
|
+
"tag": "UFFim"
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
"name": "retirar_mercadoria",
|
|
134
|
+
"description": "Indica se o recebedor retira no Aeroporto, Filial, Porto ou Estação Destino.",
|
|
135
|
+
"type": null,
|
|
136
|
+
"required": true,
|
|
137
|
+
"enum": "* +0+: Sim\\n* +1+: Não",
|
|
138
|
+
"tag": "retira"
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
"name": "detalhes_retirar",
|
|
142
|
+
"description": "Detalhes do retira.",
|
|
143
|
+
"type": "String[1-160]",
|
|
144
|
+
"required": true,
|
|
145
|
+
"tag": "xDetRetira"
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
"name": "indicador_inscricao_estadual_tomador",
|
|
149
|
+
"description": "Indicador do papel do tomador na prestação do serviço.",
|
|
150
|
+
"type": null,
|
|
151
|
+
"required": true,
|
|
152
|
+
"enum": "* +1+: Contribuinte ICMS\\n* +2+: Contribuinte isento de inscrição\\n* +9+: Não Contribuinte",
|
|
153
|
+
"tag": "indIEToma"
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
"name": null,
|
|
157
|
+
"description": ":tomador Tomador de serviço.",
|
|
158
|
+
"type": null,
|
|
159
|
+
"required": true,
|
|
160
|
+
"enum": "* +0+: Remetente\\n* +1+: Expedidor\\n* +2+: Recebedor\\n* +3+: Destinatário\\n* +4+: Outros",
|
|
161
|
+
"tag": "toma"
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
"name": "cnpj_tomador",
|
|
165
|
+
"description": "(utilize apenas se tomador = 4) CNPJ do tomador. Omitir caso o tomador seja pessoa física e informar a tag 'cpf_tomador'. Em caso de empresa não estabelecida no Brasil, será informado o CNPJ com zeros.",
|
|
166
|
+
"type": "String[14]",
|
|
167
|
+
"required": false,
|
|
168
|
+
"tag": "CNPJ"
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
"name": "cpf_tomador",
|
|
172
|
+
"description": "(utilize apenas se tomador = 4) CPF do tomador. Omitir caso o tomador seja pessoa jurídica e informar a tag 'cnpj_tomador'.",
|
|
173
|
+
"type": "Integer[11]",
|
|
174
|
+
"required": false,
|
|
175
|
+
"tag": "CPF"
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
"name": "inscricao_estadual_tomador",
|
|
179
|
+
"description": "(utilize apenas se tomador = 4) Informar a IE do tomador ou ISENTO se tomador é contribuinte do ICMS isento de inscrição no cadastro de contribuintes do ICMS. Caso o tomador não seja contribuinte do ICMS não informar a tag.",
|
|
180
|
+
"type": "Integer[14]",
|
|
181
|
+
"required": false,
|
|
182
|
+
"tag": "IE"
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
"name": "nome_tomador",
|
|
186
|
+
"description": "(utilize apenas se tomador = 4) Razão Social ou nome do tomador.",
|
|
187
|
+
"type": "String[2-60]",
|
|
188
|
+
"required": true,
|
|
189
|
+
"tag": "xNome"
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
"name": "nome_fantasia_tomador",
|
|
193
|
+
"description": "(utilize apenas se tomador = 4) Nome fantasia do tomador.",
|
|
194
|
+
"type": "String[2-60]",
|
|
195
|
+
"required": false,
|
|
196
|
+
"tag": "xFant"
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
"name": "telefone_tomador",
|
|
200
|
+
"description": "(utilize apenas se tomador = 4) Telefone do tomador.",
|
|
201
|
+
"type": "Integer[6-14]",
|
|
202
|
+
"required": true,
|
|
203
|
+
"tag": "fone"
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
"name": "logradouro_tomador",
|
|
207
|
+
"description": "(utilize apenas se tomador = 4) Logradouro do tomador(rua, avenida, travessa etc.).",
|
|
208
|
+
"type": "String[2-255]",
|
|
209
|
+
"required": true,
|
|
210
|
+
"tag": "xLgr"
|
|
211
|
+
},
|
|
212
|
+
{
|
|
213
|
+
"name": "numero_tomador",
|
|
214
|
+
"description": "(utilize apenas se tomador = 4) Número do endereço do tomador.",
|
|
215
|
+
"type": "String[1-60]",
|
|
216
|
+
"required": true,
|
|
217
|
+
"tag": "nro"
|
|
218
|
+
},
|
|
219
|
+
{
|
|
220
|
+
"name": "complemento_tomador",
|
|
221
|
+
"description": "(utilize apenas se tomador = 4) Complemento do tomador.",
|
|
222
|
+
"type": "String[1-60]",
|
|
223
|
+
"required": false,
|
|
224
|
+
"tag": "xCpl"
|
|
225
|
+
},
|
|
226
|
+
{
|
|
227
|
+
"name": "bairro_tomador",
|
|
228
|
+
"description": "(utilize apenas se tomador = 4) Bairro do tomador.",
|
|
229
|
+
"type": "Integer[2-60]",
|
|
230
|
+
"required": true,
|
|
231
|
+
"tag": "xBairro"
|
|
232
|
+
},
|
|
233
|
+
{
|
|
234
|
+
"name": "codigo_municipio_tomador",
|
|
235
|
+
"description": "(utilize apenas se tomador = 4) Código do Município do tomador. Caso este campo seja omitido, o código será buscado a partir do nome e estado do município, caso contrário utilizar a tabela do IBGE. Informar 9999999 para operações com o exterior.",
|
|
236
|
+
"type": "Integer[7]",
|
|
237
|
+
"required": true,
|
|
238
|
+
"tag": "cMun"
|
|
239
|
+
},
|
|
240
|
+
{
|
|
241
|
+
"name": "municipio_tomador",
|
|
242
|
+
"description": "(utilize apenas se tomador = 4) Nome do município do tomador. Informar EXTERIOR para operações com o exterior.",
|
|
243
|
+
"type": "String[2-60]",
|
|
244
|
+
"required": true,
|
|
245
|
+
"tag": "xMun"
|
|
246
|
+
},
|
|
247
|
+
{
|
|
248
|
+
"name": "cep_tomador",
|
|
249
|
+
"description": "(utilize apenas se tomador = 4) CEP do endereço do tomador.",
|
|
250
|
+
"type": "Integer[8]",
|
|
251
|
+
"required": true,
|
|
252
|
+
"tag": "CEP"
|
|
253
|
+
},
|
|
254
|
+
{
|
|
255
|
+
"name": "uf_tomador",
|
|
256
|
+
"description": "(utilize apenas se tomador = 4) Sigla da UF do tomador. Informar EX para operações com o exterior.",
|
|
257
|
+
"type": "String[2]",
|
|
258
|
+
"required": true,
|
|
259
|
+
"tag": "UF"
|
|
260
|
+
},
|
|
261
|
+
{
|
|
262
|
+
"name": "codigo_pais_tomador",
|
|
263
|
+
"description": "(utilize apenas se tomador = 4) Código do país do tomador. Utilizar a tabela BACEN.",
|
|
264
|
+
"type": "Integer[1-4]",
|
|
265
|
+
"required": true,
|
|
266
|
+
"tag": "cPais"
|
|
267
|
+
},
|
|
268
|
+
{
|
|
269
|
+
"name": "pais_tomador",
|
|
270
|
+
"description": "(utilize apenas se tomador = 4) Nome do país do tomador.",
|
|
271
|
+
"type": "String[2-60]",
|
|
272
|
+
"required": true,
|
|
273
|
+
"tag": "xPais"
|
|
274
|
+
},
|
|
275
|
+
{
|
|
276
|
+
"name": "email_tomador",
|
|
277
|
+
"description": "(utilize apenas se tomador = 4) Endereço de e-mail do tomador.",
|
|
278
|
+
"type": "String[1-60]",
|
|
279
|
+
"required": false,
|
|
280
|
+
"tag": "email"
|
|
281
|
+
},
|
|
282
|
+
{
|
|
283
|
+
"name": "tipo_compra_governamental",
|
|
284
|
+
"description": "Para administração pública direta e suas autarquias e fundações",
|
|
285
|
+
"type": null,
|
|
286
|
+
"required": false,
|
|
287
|
+
"reforma_tributaria": true,
|
|
288
|
+
"enum": "* +1+: União\\n* +2+: Estados\\n* +3+: Distrito Federal\\n* +4+: Municípios\\n* +5+: Consórcio Público\\n* +6+: Comitê Gestor do IBS",
|
|
289
|
+
"tag": "tpEnteGov"
|
|
290
|
+
},
|
|
291
|
+
{
|
|
292
|
+
"name": "perc_reducao_aliquota_compra_governamental",
|
|
293
|
+
"description": "Percentual de redução de alíquota em compra governamental",
|
|
294
|
+
"type": "Decimal[3.2-4]",
|
|
295
|
+
"required": false,
|
|
296
|
+
"reforma_tributaria": true,
|
|
297
|
+
"tag": "pRedutor"
|
|
298
|
+
},
|
|
299
|
+
{
|
|
300
|
+
"name": "tipo_operacao_governamental",
|
|
301
|
+
"description": "Tipo de operação com ente governamental",
|
|
302
|
+
"type": null,
|
|
303
|
+
"required": false,
|
|
304
|
+
"enum": "* +1+: Fornecimento com pagamento posterior\\n* +2+: Recebimento do pagamento com fornecimento já realizado\\n* +3+: Fornecimento com pagamento já realizado\\n* +4+: Recebimento do pagamento com fornecimento posterior",
|
|
305
|
+
"tag": "tpOperGov"
|
|
306
|
+
},
|
|
307
|
+
{
|
|
308
|
+
"name": "chave_acesso_dfe_anterior",
|
|
309
|
+
"description": "Chave de acesso do documento fiscal anterior. Deverá ser informado para tpOperGov 2 e 3 e vedado para os tipos 1 e 4.",
|
|
310
|
+
"type": "String[44]",
|
|
311
|
+
"required": false,
|
|
312
|
+
"tag": "refDFeAnt"
|
|
313
|
+
},
|
|
314
|
+
{
|
|
315
|
+
"name": "caracteristica_adicional_transporte",
|
|
316
|
+
"description": "Característica adicional de transporte. Texto livre: REENTREGA; DEVOLUÇÃO; REFATURAMENTO; etc.",
|
|
317
|
+
"type": "String[1-15]",
|
|
318
|
+
"required": false,
|
|
319
|
+
"tag": "xCaracAd"
|
|
320
|
+
},
|
|
321
|
+
{
|
|
322
|
+
"name": "caracteristica_adicional_servico",
|
|
323
|
+
"description": "Característica adicional de serviço. Texto livre: ENTREGA EXPRESSA; LOGÍSTICA REVERSA; CONVENCIONAL; EMERGENCIAL; etc",
|
|
324
|
+
"type": "String[1-40]",
|
|
325
|
+
"required": false,
|
|
326
|
+
"tag": "xCaracSer"
|
|
327
|
+
},
|
|
328
|
+
{
|
|
329
|
+
"name": "funcionario_emissor",
|
|
330
|
+
"description": "Funcionário emissor do CT-e.",
|
|
331
|
+
"type": "String[1-20]",
|
|
332
|
+
"required": false,
|
|
333
|
+
"tag": "xEmi"
|
|
334
|
+
},
|
|
335
|
+
{
|
|
336
|
+
"name": "codigo_interno_origem",
|
|
337
|
+
"description": "Sigla ou código interno da Filial/Porto/Estação/Aeroporto de Origem. Preenchimento obrigatório para o modal aéreo. O código de três letras IATA do aeroporto de partida deverá ser incluído como primeira anotação. Quando não for possível, utilizar a sigla OACI.",
|
|
338
|
+
"type": "String[1-60]",
|
|
339
|
+
"required": false,
|
|
340
|
+
"tag": "xOrig"
|
|
341
|
+
},
|
|
342
|
+
{
|
|
343
|
+
"name": "passagens",
|
|
344
|
+
"description": "Informações da Filial/Porto/Estação/Aeroporto de Passagem",
|
|
345
|
+
"type": "Coleção[0-N]",
|
|
346
|
+
"required": false,
|
|
347
|
+
"collection_type": "PassagemXML",
|
|
348
|
+
"collection": {
|
|
349
|
+
"object_type": "PassagemXML",
|
|
350
|
+
"object_description": "Informações da Filial/Porto/Estação/Aeroporto de Passagem. Tag XML pass.",
|
|
351
|
+
"object_attributes": [
|
|
352
|
+
{
|
|
353
|
+
"name": "codigo_interno",
|
|
354
|
+
"description": "Sigla ou código interno da Filial/Porto/Estação/Aeroporto de Passagem. Preenchimento obrigatório para o modal aéreo. O código de três letras IATA do aeroporto de partida deverá ser incluído como primeira anotação. Quando não for possível, utilizar a sigla OACI. Qualquer solicitação de itinerário deverá ser incluída.",
|
|
355
|
+
"type": "String[1-60]",
|
|
356
|
+
"required": false,
|
|
357
|
+
"tag": "xPass"
|
|
358
|
+
}
|
|
359
|
+
]
|
|
360
|
+
}
|
|
361
|
+
},
|
|
362
|
+
{
|
|
363
|
+
"name": "codigo_interno_destino",
|
|
364
|
+
"description": "Sigla ou código interno da Filial/Porto/Estação/Aeroporto de Origem. Preenchimento obrigatório para o modal aéreo. O código de três letras IATA do aeroporto de partida deverá ser incluído como primeira anotação. Quando não for possível, utilizar a sigla OACI.",
|
|
365
|
+
"type": "String[1-60]",
|
|
366
|
+
"required": false,
|
|
367
|
+
"tag": "xDest"
|
|
368
|
+
},
|
|
369
|
+
{
|
|
370
|
+
"name": "codigo_rota",
|
|
371
|
+
"description": "Código da Rota de Entrega.",
|
|
372
|
+
"type": "String[1-10]",
|
|
373
|
+
"required": false,
|
|
374
|
+
"tag": "xRota"
|
|
375
|
+
},
|
|
376
|
+
{
|
|
377
|
+
"name": "tipo_programacao_entrega",
|
|
378
|
+
"description": "Tipo de data/período programado para entrega.",
|
|
379
|
+
"type": null,
|
|
380
|
+
"required": false,
|
|
381
|
+
"enum": "* +0+: Sem data definida",
|
|
382
|
+
"tag": "tpPer"
|
|
383
|
+
},
|
|
384
|
+
{
|
|
385
|
+
"name": "tipo_data_programada",
|
|
386
|
+
"description": "Tipo de data/período programado para entrega",
|
|
387
|
+
"type": null,
|
|
388
|
+
"required": false,
|
|
389
|
+
"enum": "* +1+: Na data\\n* +2+: Até a data\\n* +3+: A partir da data",
|
|
390
|
+
"tag": "tpPer"
|
|
391
|
+
},
|
|
392
|
+
{
|
|
393
|
+
"name": "data_programada",
|
|
394
|
+
"description": "Data programada",
|
|
395
|
+
"type": null,
|
|
396
|
+
"required": false,
|
|
397
|
+
"tag": "dProg"
|
|
398
|
+
},
|
|
399
|
+
{
|
|
400
|
+
"name": "tipo_periodo",
|
|
401
|
+
"description": "Tipo de data/período programado para entrega",
|
|
402
|
+
"type": null,
|
|
403
|
+
"required": false,
|
|
404
|
+
"enum": "* +4+: No período",
|
|
405
|
+
"tag": "tpPer"
|
|
406
|
+
},
|
|
407
|
+
{
|
|
408
|
+
"name": "data_inicial",
|
|
409
|
+
"description": "Data inicial",
|
|
410
|
+
"type": null,
|
|
411
|
+
"required": false,
|
|
412
|
+
"tag": "dIni"
|
|
413
|
+
},
|
|
414
|
+
{
|
|
415
|
+
"name": "data_final",
|
|
416
|
+
"description": "Data final",
|
|
417
|
+
"type": null,
|
|
418
|
+
"required": false,
|
|
419
|
+
"tag": "dFim"
|
|
420
|
+
},
|
|
421
|
+
{
|
|
422
|
+
"name": "sem_hora_tipo_hora_programada",
|
|
423
|
+
"description": "Tipo de hora programada",
|
|
424
|
+
"type": null,
|
|
425
|
+
"required": false,
|
|
426
|
+
"enum": "* +0+: Sem hora definida",
|
|
427
|
+
"tag": "tpHor"
|
|
428
|
+
},
|
|
429
|
+
{
|
|
430
|
+
"name": "com_hora_tipo_hora_programada",
|
|
431
|
+
"description": "Tipo de hora programada",
|
|
432
|
+
"type": null,
|
|
433
|
+
"required": false,
|
|
434
|
+
"enum": "* +1+: No horário\\n* +2+: Até o horário\\n* +3+: A partir do horário",
|
|
435
|
+
"tag": "tpHor"
|
|
436
|
+
},
|
|
437
|
+
{
|
|
438
|
+
"name": "hora_programada",
|
|
439
|
+
"description": "Hora programada",
|
|
440
|
+
"type": null,
|
|
441
|
+
"required": false,
|
|
442
|
+
"tag": "hProg"
|
|
443
|
+
},
|
|
444
|
+
{
|
|
445
|
+
"name": "tipo_hora_programada",
|
|
446
|
+
"description": "Tipo de hora programada",
|
|
447
|
+
"type": null,
|
|
448
|
+
"required": false,
|
|
449
|
+
"enum": "* +4+: No intervalo",
|
|
450
|
+
"tag": "tpHor"
|
|
451
|
+
},
|
|
452
|
+
{
|
|
453
|
+
"name": "hora_programada_inicial",
|
|
454
|
+
"description": "Hora inicial",
|
|
455
|
+
"type": null,
|
|
456
|
+
"required": false,
|
|
457
|
+
"tag": "hIni"
|
|
458
|
+
},
|
|
459
|
+
{
|
|
460
|
+
"name": "hora_programada_final",
|
|
461
|
+
"description": "Hora final",
|
|
462
|
+
"type": null,
|
|
463
|
+
"required": false,
|
|
464
|
+
"tag": "hFim"
|
|
465
|
+
},
|
|
466
|
+
{
|
|
467
|
+
"name": "municipio_origem",
|
|
468
|
+
"description": "Município de origem para efeito de cálculo do frete.",
|
|
469
|
+
"type": "String[2-40]",
|
|
470
|
+
"required": false,
|
|
471
|
+
"tag": "origCalc"
|
|
472
|
+
},
|
|
473
|
+
{
|
|
474
|
+
"name": "municipio_destino",
|
|
475
|
+
"description": "Município de destino para efeito de cálculo do frete.",
|
|
476
|
+
"type": "String[2-40]",
|
|
477
|
+
"required": false,
|
|
478
|
+
"tag": "destCalc"
|
|
479
|
+
},
|
|
480
|
+
{
|
|
481
|
+
"name": "observacao",
|
|
482
|
+
"description": "Observações gerais.",
|
|
483
|
+
"type": "String[1-2000]",
|
|
484
|
+
"required": false,
|
|
485
|
+
"tag": "xObs"
|
|
486
|
+
},
|
|
487
|
+
{
|
|
488
|
+
"name": "observacoes_contribuinte",
|
|
489
|
+
"description": "Campo de uso livre do contribuinte",
|
|
490
|
+
"type": "Coleção[0-10]",
|
|
491
|
+
"required": false,
|
|
492
|
+
"collection_type": "ObservacaoContribuinteXML",
|
|
493
|
+
"collection": {
|
|
494
|
+
"object_type": "ObservacaoContribuinteXML",
|
|
495
|
+
"object_description": "Campo de uso livre do contribuinte. Tag XML ObsCont.",
|
|
496
|
+
"object_attributes": [
|
|
497
|
+
{
|
|
498
|
+
"name": "campo",
|
|
499
|
+
"description": "Identificação do campo",
|
|
500
|
+
"type": "String[1-20]",
|
|
501
|
+
"required": false,
|
|
502
|
+
"tag": "xCampo"
|
|
503
|
+
},
|
|
504
|
+
{
|
|
505
|
+
"name": "conteudo",
|
|
506
|
+
"description": "Conteúdo do campo",
|
|
507
|
+
"type": "String[1-160]",
|
|
508
|
+
"required": false,
|
|
509
|
+
"tag": "xTexto"
|
|
510
|
+
}
|
|
511
|
+
]
|
|
512
|
+
}
|
|
513
|
+
},
|
|
514
|
+
{
|
|
515
|
+
"name": "observacoes_fisco",
|
|
516
|
+
"description": "Campo de uso livre do contribuinte",
|
|
517
|
+
"type": "Coleção[0-10]",
|
|
518
|
+
"required": false,
|
|
519
|
+
"collection_type": "ObservacaoFiscoXML",
|
|
520
|
+
"collection": {
|
|
521
|
+
"object_type": "ObservacaoFiscoXML",
|
|
522
|
+
"object_description": "Campo de uso livre do contribuinte (Fisco). Tag XML ObsFisco.",
|
|
523
|
+
"object_attributes": [
|
|
524
|
+
{
|
|
525
|
+
"name": "campo",
|
|
526
|
+
"description": "Identificação do campo",
|
|
527
|
+
"type": "String[1-20]",
|
|
528
|
+
"required": false,
|
|
529
|
+
"tag": "xCampo"
|
|
530
|
+
},
|
|
531
|
+
{
|
|
532
|
+
"name": "conteudo",
|
|
533
|
+
"description": "Conteúdo do campo",
|
|
534
|
+
"type": "String[1-160]",
|
|
535
|
+
"required": false,
|
|
536
|
+
"tag": "xTexto"
|
|
537
|
+
}
|
|
538
|
+
]
|
|
539
|
+
}
|
|
540
|
+
},
|
|
541
|
+
{
|
|
542
|
+
"name": "cnpj_emitente",
|
|
543
|
+
"description": "CNPJ do emitente. Omitir caso o tomador seja pessoa física e informar a tag 'cpf_emitente'. Em caso de empresa não estabelecida no Brasil, será informado o CNPJ com zeros.",
|
|
544
|
+
"type": "String[14]",
|
|
545
|
+
"required": true,
|
|
546
|
+
"tag": "CNPJ"
|
|
547
|
+
},
|
|
548
|
+
{
|
|
549
|
+
"name": "inscricao_estadual_emitente",
|
|
550
|
+
"description": "Inscrição Estadual da empresa emitente.",
|
|
551
|
+
"type": "Integer[14]",
|
|
552
|
+
"required": true,
|
|
553
|
+
"tag": "IE"
|
|
554
|
+
},
|
|
555
|
+
{
|
|
556
|
+
"name": "inscricao_estadual_st_emitente",
|
|
557
|
+
"description": "Inscrição Estadual do Substituto Tributário da empresa emitente.",
|
|
558
|
+
"type": "Integer[14]",
|
|
559
|
+
"required": true,
|
|
560
|
+
"tag": "IEST"
|
|
561
|
+
},
|
|
562
|
+
{
|
|
563
|
+
"name": "nome_emitente",
|
|
564
|
+
"description": "Razão Social ou nome da empresa emitente.",
|
|
565
|
+
"type": "String[2-60]",
|
|
566
|
+
"required": true,
|
|
567
|
+
"tag": "xNome"
|
|
568
|
+
},
|
|
569
|
+
{
|
|
570
|
+
"name": "nome_fantasia_emitente",
|
|
571
|
+
"description": "Nome fantasia da empresa emitente.",
|
|
572
|
+
"type": "String[2-60]",
|
|
573
|
+
"required": false,
|
|
574
|
+
"tag": "xFant"
|
|
575
|
+
},
|
|
576
|
+
{
|
|
577
|
+
"name": "logradouro_emitente",
|
|
578
|
+
"description": "Logradouro (rua, avenida, travessa etc.) da empresa emitente.",
|
|
579
|
+
"type": "String[2-60]",
|
|
580
|
+
"required": true,
|
|
581
|
+
"tag": "xLgr"
|
|
582
|
+
},
|
|
583
|
+
{
|
|
584
|
+
"name": "numero_emitente",
|
|
585
|
+
"description": "Número do endereço da empresa emitente.",
|
|
586
|
+
"type": "String[1-60]",
|
|
587
|
+
"required": true,
|
|
588
|
+
"tag": "nro"
|
|
589
|
+
},
|
|
590
|
+
{
|
|
591
|
+
"name": "complemento_emitente",
|
|
592
|
+
"description": "Complemento do endereço da empresa emitente.",
|
|
593
|
+
"type": "String[1-60]",
|
|
594
|
+
"required": false,
|
|
595
|
+
"tag": "xCpl"
|
|
596
|
+
},
|
|
597
|
+
{
|
|
598
|
+
"name": "bairro_emitente",
|
|
599
|
+
"description": "Bairro da empresa emitente.",
|
|
600
|
+
"type": "String[2-60]",
|
|
601
|
+
"required": true,
|
|
602
|
+
"tag": "xBairro"
|
|
603
|
+
},
|
|
604
|
+
{
|
|
605
|
+
"name": "codigo_municipio_emitente",
|
|
606
|
+
"description": "Código do Município do emitente. Caso este campo seja omitido, o código será buscado a partir do nome e estado do município, caso contrário utilizar a tabela do IBGE. Informar 9999999 para operações com o exterior.",
|
|
607
|
+
"type": "Integer[7]",
|
|
608
|
+
"required": true,
|
|
609
|
+
"tag": "cMun"
|
|
610
|
+
},
|
|
611
|
+
{
|
|
612
|
+
"name": "municipio_emitente",
|
|
613
|
+
"description": "Município da empresa emitente.",
|
|
614
|
+
"type": "String[2-60]",
|
|
615
|
+
"required": true,
|
|
616
|
+
"tag": "xMun"
|
|
617
|
+
},
|
|
618
|
+
{
|
|
619
|
+
"name": "cep_emitente",
|
|
620
|
+
"description": "CEP da empresa emitente.",
|
|
621
|
+
"type": "Integer[8]",
|
|
622
|
+
"required": false,
|
|
623
|
+
"tag": "CEP"
|
|
624
|
+
},
|
|
625
|
+
{
|
|
626
|
+
"name": "uf_emitente",
|
|
627
|
+
"description": "UF da empresa emitente.",
|
|
628
|
+
"type": "String[2]",
|
|
629
|
+
"required": true,
|
|
630
|
+
"tag": "UF"
|
|
631
|
+
},
|
|
632
|
+
{
|
|
633
|
+
"name": "telefone_emitente",
|
|
634
|
+
"description": "Telefone da empresa emitente.",
|
|
635
|
+
"type": "Integer[6-14]",
|
|
636
|
+
"required": false,
|
|
637
|
+
"tag": "fone"
|
|
638
|
+
},
|
|
639
|
+
{
|
|
640
|
+
"name": "regime_tributario_emitente",
|
|
641
|
+
"description": "Código de regime tributário do emitente.",
|
|
642
|
+
"type": null,
|
|
643
|
+
"required": false,
|
|
644
|
+
"enum": "* +1+: Simples Nacional\\n* +2+: Simples Nacional - excesso de sublimite de receita bruta\\n* +3+: Regime Normal",
|
|
645
|
+
"tag": "CRT"
|
|
646
|
+
},
|
|
647
|
+
{
|
|
648
|
+
"name": "cnpj_remetente",
|
|
649
|
+
"description": "CNPJ do remetente. Omitir caso o remetente seja pessoa física e informar a tag 'cpf_remetente'.",
|
|
650
|
+
"type": "String[14]",
|
|
651
|
+
"required": true,
|
|
652
|
+
"tag": "CNPJ"
|
|
653
|
+
},
|
|
654
|
+
{
|
|
655
|
+
"name": "cpf_remetente",
|
|
656
|
+
"description": "CPF do remetente. Omitir caso o remetente seja pessoa jurídica e informar a tag 'cnpj_remetente'.",
|
|
657
|
+
"type": "Integer[11]",
|
|
658
|
+
"required": false,
|
|
659
|
+
"tag": "CPF"
|
|
660
|
+
},
|
|
661
|
+
{
|
|
662
|
+
"name": "inscricao_estadual_remetente",
|
|
663
|
+
"description": "Informar a IE do remetente ou ISENTO se o remetente é contribuinte do ICMS isento de inscrição no cadastro de contribuintes do ICMS. Caso o tomador não seja contribuinte do ICMS não informar a tag.",
|
|
664
|
+
"type": "Integer[14]",
|
|
665
|
+
"required": false,
|
|
666
|
+
"tag": "IE"
|
|
667
|
+
},
|
|
668
|
+
{
|
|
669
|
+
"name": "nome_remetente",
|
|
670
|
+
"description": "Razão Social ou nome do remetente.",
|
|
671
|
+
"type": "String[2-60]",
|
|
672
|
+
"required": true,
|
|
673
|
+
"tag": "xNome"
|
|
674
|
+
},
|
|
675
|
+
{
|
|
676
|
+
"name": "nome_fantasia_remetente",
|
|
677
|
+
"description": "Nome fantasia do remetente.",
|
|
678
|
+
"type": "String[2-60]",
|
|
679
|
+
"required": false,
|
|
680
|
+
"tag": "xFant"
|
|
681
|
+
},
|
|
682
|
+
{
|
|
683
|
+
"name": "telefone_remetente",
|
|
684
|
+
"description": "Telefone do remetente.",
|
|
685
|
+
"type": "Integer[6-14]",
|
|
686
|
+
"required": true,
|
|
687
|
+
"tag": "fone"
|
|
688
|
+
},
|
|
689
|
+
{
|
|
690
|
+
"name": "logradouro_remetente",
|
|
691
|
+
"description": "Logradouro (rua, avenida, travessa etc.) da empresa remetente.",
|
|
692
|
+
"type": "String[2-255]",
|
|
693
|
+
"required": true,
|
|
694
|
+
"tag": "xLgr"
|
|
695
|
+
},
|
|
696
|
+
{
|
|
697
|
+
"name": "numero_remetente",
|
|
698
|
+
"description": "Número do endereço da empresa remetente.",
|
|
699
|
+
"type": "String[1-60]",
|
|
700
|
+
"required": true,
|
|
701
|
+
"tag": "nro"
|
|
702
|
+
},
|
|
703
|
+
{
|
|
704
|
+
"name": "complemento_remetente",
|
|
705
|
+
"description": "Complemento do endereço da empresa remetente.",
|
|
706
|
+
"type": "String[1-60]",
|
|
707
|
+
"required": false,
|
|
708
|
+
"tag": "xCpl"
|
|
709
|
+
},
|
|
710
|
+
{
|
|
711
|
+
"name": "bairro_remetente",
|
|
712
|
+
"description": "Bairro da empresa remetente.",
|
|
713
|
+
"type": "String[2-60]",
|
|
714
|
+
"required": true,
|
|
715
|
+
"tag": "xBairro"
|
|
716
|
+
},
|
|
717
|
+
{
|
|
718
|
+
"name": "codigo_municipio_remetente",
|
|
719
|
+
"description": "Código do Município do remetente. Caso este campo seja omitido, o código será buscado a partir do nome e estado do município, caso contrário utilizar a tabela do IBGE. Informar 9999999 para operações com o exterior.",
|
|
720
|
+
"type": "Integer[7]",
|
|
721
|
+
"required": true,
|
|
722
|
+
"tag": "cMun"
|
|
723
|
+
},
|
|
724
|
+
{
|
|
725
|
+
"name": "municipio_remetente",
|
|
726
|
+
"description": "Município da empresa remetente.",
|
|
727
|
+
"type": "String[2-60]",
|
|
728
|
+
"required": true,
|
|
729
|
+
"tag": "xMun"
|
|
730
|
+
},
|
|
731
|
+
{
|
|
732
|
+
"name": "cep_remetente",
|
|
733
|
+
"description": "CEP da empresa remetente.",
|
|
734
|
+
"type": "Integer[8]",
|
|
735
|
+
"required": false,
|
|
736
|
+
"tag": "CEP"
|
|
737
|
+
},
|
|
738
|
+
{
|
|
739
|
+
"name": "uf_remetente",
|
|
740
|
+
"description": "UF da empresa remetente.",
|
|
741
|
+
"type": "String[2]",
|
|
742
|
+
"required": true,
|
|
743
|
+
"tag": "UF"
|
|
744
|
+
},
|
|
745
|
+
{
|
|
746
|
+
"name": "codigo_pais_remetente",
|
|
747
|
+
"description": "Código do país do remetente. Utilizar a tabela BACEN.",
|
|
748
|
+
"type": "Integer[2-4]",
|
|
749
|
+
"required": false,
|
|
750
|
+
"tag": "cPais"
|
|
751
|
+
},
|
|
752
|
+
{
|
|
753
|
+
"name": "pais_remetente",
|
|
754
|
+
"description": "Nome do país do remetente.",
|
|
755
|
+
"type": "Integer[2-60]",
|
|
756
|
+
"required": false,
|
|
757
|
+
"tag": "xPais"
|
|
758
|
+
},
|
|
759
|
+
{
|
|
760
|
+
"name": "email_remetente",
|
|
761
|
+
"description": "Endereço de e-mail do remetente.",
|
|
762
|
+
"type": "String[1-60]",
|
|
763
|
+
"required": false,
|
|
764
|
+
"tag": "email"
|
|
765
|
+
},
|
|
766
|
+
{
|
|
767
|
+
"name": "cnpj_expedidor",
|
|
768
|
+
"description": "CNPJ do expedidor. Omitir caso o tomador seja pessoa física e informar a tag 'cpf_expedidor'. Em caso de empresa não estabelecida no Brasil, será informado o CNPJ com zeros.",
|
|
769
|
+
"type": "String[14]",
|
|
770
|
+
"required": false,
|
|
771
|
+
"tag": "CNPJ"
|
|
772
|
+
},
|
|
773
|
+
{
|
|
774
|
+
"name": "cpf_expedidor",
|
|
775
|
+
"description": "CPF do expedidor. Omitir caso o expedidor seja pessoa jurídica e informar a tag 'cnpj_expedidor'.",
|
|
776
|
+
"type": "Integer[11]",
|
|
777
|
+
"required": false,
|
|
778
|
+
"tag": "CPF"
|
|
779
|
+
},
|
|
780
|
+
{
|
|
781
|
+
"name": "inscricao_estadual_expedidor",
|
|
782
|
+
"description": "Informar a IE do expedidor ou ISENTO se o expedidor é contribuinte do ICMS isento de inscrição no cadastro de contribuintes do ICMS. Caso o expedidor não seja contribuinte do ICMS não informar a tag.",
|
|
783
|
+
"type": "Integer[14]",
|
|
784
|
+
"required": false,
|
|
785
|
+
"tag": "IE"
|
|
786
|
+
},
|
|
787
|
+
{
|
|
788
|
+
"name": "nome_expedidor",
|
|
789
|
+
"description": "Razão Social ou nome do expedidor.",
|
|
790
|
+
"type": "String[2-60]",
|
|
791
|
+
"required": true,
|
|
792
|
+
"tag": "xNome"
|
|
793
|
+
},
|
|
794
|
+
{
|
|
795
|
+
"name": "telefone_expedidor",
|
|
796
|
+
"description": "Telefone do expedidor.",
|
|
797
|
+
"type": "Integer[6-14]",
|
|
798
|
+
"required": true,
|
|
799
|
+
"tag": "fone"
|
|
800
|
+
},
|
|
801
|
+
{
|
|
802
|
+
"name": "logradouro_expedidor",
|
|
803
|
+
"description": "Logradouro do expedidor (rua, avenida, travessa etc.).",
|
|
804
|
+
"type": "String[2-255]",
|
|
805
|
+
"required": true,
|
|
806
|
+
"tag": "xLgr"
|
|
807
|
+
},
|
|
808
|
+
{
|
|
809
|
+
"name": "numero_expedidor",
|
|
810
|
+
"description": "Número do endereço do expedidor.",
|
|
811
|
+
"type": "String[1-60]",
|
|
812
|
+
"required": true,
|
|
813
|
+
"tag": "nro"
|
|
814
|
+
},
|
|
815
|
+
{
|
|
816
|
+
"name": "complemento_expedidor",
|
|
817
|
+
"description": "Complemento do expedidor.",
|
|
818
|
+
"type": "String[1-60]",
|
|
819
|
+
"required": false,
|
|
820
|
+
"tag": "xCpl"
|
|
821
|
+
},
|
|
822
|
+
{
|
|
823
|
+
"name": "bairro_expedidor",
|
|
824
|
+
"description": "Bairro do expedidor.",
|
|
825
|
+
"type": "Integer[2-60]",
|
|
826
|
+
"required": true,
|
|
827
|
+
"tag": "xBairro"
|
|
828
|
+
},
|
|
829
|
+
{
|
|
830
|
+
"name": "codigo_municipio_expedidor",
|
|
831
|
+
"description": "Código do Município do expedidor. Caso este campo seja omitido, o código será buscado a partir do nome e estado do município, caso contrário utilizar a tabela do IBGE. Informar 9999999 para operações com o exterior.",
|
|
832
|
+
"type": "Integer[7]",
|
|
833
|
+
"required": true,
|
|
834
|
+
"tag": "cMun"
|
|
835
|
+
},
|
|
836
|
+
{
|
|
837
|
+
"name": "municipio_expedidor",
|
|
838
|
+
"description": "Nome do município do expedidor. Informar EXTERIOR para operações com o exterior.",
|
|
839
|
+
"type": "String[2-60]",
|
|
840
|
+
"required": true,
|
|
841
|
+
"tag": "xMun"
|
|
842
|
+
},
|
|
843
|
+
{
|
|
844
|
+
"name": "cep_expedidor",
|
|
845
|
+
"description": "CEP do expedidor.",
|
|
846
|
+
"type": "Integer[8]",
|
|
847
|
+
"required": true,
|
|
848
|
+
"tag": "CEP"
|
|
849
|
+
},
|
|
850
|
+
{
|
|
851
|
+
"name": "uf_expedidor",
|
|
852
|
+
"description": "Sigla da UF do expedidor. Informar EX para operações com o exterior.",
|
|
853
|
+
"type": "String[2]",
|
|
854
|
+
"required": true,
|
|
855
|
+
"tag": "UF"
|
|
856
|
+
},
|
|
857
|
+
{
|
|
858
|
+
"name": "codigo_pais_expedidor",
|
|
859
|
+
"description": "Código do país do expedidor. Utilizar a tabela BACEN.",
|
|
860
|
+
"type": "Integer[1-4]",
|
|
861
|
+
"required": true,
|
|
862
|
+
"tag": "cPais"
|
|
863
|
+
},
|
|
864
|
+
{
|
|
865
|
+
"name": "pais_expedidor",
|
|
866
|
+
"description": "Nome do país do expedidor.",
|
|
867
|
+
"type": "String[2-60]",
|
|
868
|
+
"required": true,
|
|
869
|
+
"tag": "xPais"
|
|
870
|
+
},
|
|
871
|
+
{
|
|
872
|
+
"name": "email_expedidor",
|
|
873
|
+
"description": "Endereço de e-mail do expedidor.",
|
|
874
|
+
"type": "String[1-60]",
|
|
875
|
+
"required": false,
|
|
876
|
+
"tag": "email"
|
|
877
|
+
},
|
|
878
|
+
{
|
|
879
|
+
"name": "cnpj_recebedor",
|
|
880
|
+
"description": "CNPJ do recebedor. Omitir caso o recebedor seja pessoa física e informar a tag 'cpf_recebedor'. Em caso de empresa não estabelecida no Brasil, será informado o CNPJ com zeros.",
|
|
881
|
+
"type": "String[14]",
|
|
882
|
+
"required": false,
|
|
883
|
+
"tag": "CNPJ"
|
|
884
|
+
},
|
|
885
|
+
{
|
|
886
|
+
"name": "cpf_recebedor",
|
|
887
|
+
"description": "CPF do recebedor. Omitir caso o recebedor seja pessoa jurídica e informar a tag 'cnpj_recebedor'.",
|
|
888
|
+
"type": "Integer[11]",
|
|
889
|
+
"required": false,
|
|
890
|
+
"tag": "CPF"
|
|
891
|
+
},
|
|
892
|
+
{
|
|
893
|
+
"name": "inscricao_estadual_recebedor",
|
|
894
|
+
"description": "Informar a IE do recebedor ou ISENTO se tomador é contribuinte do ICMS isento de inscrição no cadastro de contribuintes do ICMS. Caso o recebedor não seja contribuinte do ICMS não informar a tag.",
|
|
895
|
+
"type": "Integer[14]",
|
|
896
|
+
"required": false,
|
|
897
|
+
"tag": "IE"
|
|
898
|
+
},
|
|
899
|
+
{
|
|
900
|
+
"name": "nome_recebedor",
|
|
901
|
+
"description": "Razão Social ou nome do recebedor.",
|
|
902
|
+
"type": "String[2-60]",
|
|
903
|
+
"required": true,
|
|
904
|
+
"tag": "xNome"
|
|
905
|
+
},
|
|
906
|
+
{
|
|
907
|
+
"name": "telefone_recebedor",
|
|
908
|
+
"description": "Telefone do recebedor.",
|
|
909
|
+
"type": "Integer[6-14]",
|
|
910
|
+
"required": true,
|
|
911
|
+
"tag": "fone"
|
|
912
|
+
},
|
|
913
|
+
{
|
|
914
|
+
"name": "logradouro_recebedor",
|
|
915
|
+
"description": "Logradouro do recebedor (rua, avenida, travessa etc.).",
|
|
916
|
+
"type": "String[2-255]",
|
|
917
|
+
"required": true,
|
|
918
|
+
"tag": "xLgr"
|
|
919
|
+
},
|
|
920
|
+
{
|
|
921
|
+
"name": "numero_recebedor",
|
|
922
|
+
"description": "Número do endereço do recebedor.",
|
|
923
|
+
"type": "String[1-60]",
|
|
924
|
+
"required": true,
|
|
925
|
+
"tag": "nro"
|
|
926
|
+
},
|
|
927
|
+
{
|
|
928
|
+
"name": "complemento_recebedor",
|
|
929
|
+
"description": "Complemento do recebedor.",
|
|
930
|
+
"type": "String[1-60]",
|
|
931
|
+
"required": false,
|
|
932
|
+
"tag": "xCpl"
|
|
933
|
+
},
|
|
934
|
+
{
|
|
935
|
+
"name": "bairro_recebedor",
|
|
936
|
+
"description": "Bairro da empresa recebedor.",
|
|
937
|
+
"type": "String[2-60]",
|
|
938
|
+
"required": true,
|
|
939
|
+
"tag": "xBairro"
|
|
940
|
+
},
|
|
941
|
+
{
|
|
942
|
+
"name": "codigo_municipio_recebedor",
|
|
943
|
+
"description": "Código do Município do recebedor. Caso este campo seja omitido, o código será buscado a partir do nome e estado do município, caso contrário utilizar a tabela do IBGE. Informar 9999999 para operações com o exterior.",
|
|
944
|
+
"type": "Integer[7]",
|
|
945
|
+
"required": true,
|
|
946
|
+
"tag": "cMun"
|
|
947
|
+
},
|
|
948
|
+
{
|
|
949
|
+
"name": "municipio_recebedor",
|
|
950
|
+
"description": "Nome do município do recebedor. Informar EXTERIOR para operações com o exterior.",
|
|
951
|
+
"type": "String[2-60]",
|
|
952
|
+
"required": true,
|
|
953
|
+
"tag": "xMun"
|
|
954
|
+
},
|
|
955
|
+
{
|
|
956
|
+
"name": "cep_recebedor",
|
|
957
|
+
"description": "CEP do endereço do recebedor.",
|
|
958
|
+
"type": "Integer[8]",
|
|
959
|
+
"required": true,
|
|
960
|
+
"tag": "CEP"
|
|
961
|
+
},
|
|
962
|
+
{
|
|
963
|
+
"name": "uf_recebedor",
|
|
964
|
+
"description": "Sigla da UF do recebedor. Informar EX para operações com o exterior.",
|
|
965
|
+
"type": "String[2]",
|
|
966
|
+
"required": true,
|
|
967
|
+
"tag": "UF"
|
|
968
|
+
},
|
|
969
|
+
{
|
|
970
|
+
"name": "codigo_pais_recebedor",
|
|
971
|
+
"description": "Código do país do recebedor. Utilizar a tabela BACEN.",
|
|
972
|
+
"type": "Integer[1-4]",
|
|
973
|
+
"required": true,
|
|
974
|
+
"tag": "cPais"
|
|
975
|
+
},
|
|
976
|
+
{
|
|
977
|
+
"name": "pais_recebedor",
|
|
978
|
+
"description": "Nome do país do recebedor.",
|
|
979
|
+
"type": "String[2-60]",
|
|
980
|
+
"required": true,
|
|
981
|
+
"tag": "xPais"
|
|
982
|
+
},
|
|
983
|
+
{
|
|
984
|
+
"name": "email_recebedor",
|
|
985
|
+
"description": "Endereço de e-mail do recebedor.",
|
|
986
|
+
"type": "String[1-60]",
|
|
987
|
+
"required": false,
|
|
988
|
+
"tag": "email"
|
|
989
|
+
},
|
|
990
|
+
{
|
|
991
|
+
"name": "cnpj_destinatario",
|
|
992
|
+
"description": "CNPJ do destinatário. Omitir caso o destinatário seja pessoa física e informar a tag 'cpf_destinatario'. Em caso de empresa não estabelecida no Brasil, será informado o CNPJ com zeros.",
|
|
993
|
+
"type": "String[14]",
|
|
994
|
+
"required": false,
|
|
995
|
+
"tag": "CNPJ"
|
|
996
|
+
},
|
|
997
|
+
{
|
|
998
|
+
"name": "cpf_destinatario",
|
|
999
|
+
"description": "CPF do destinatário. Omitir caso o tomador seja pessoa jurídica e informar a tag 'cnpj_destinatario'.",
|
|
1000
|
+
"type": "Integer[11]",
|
|
1001
|
+
"required": false,
|
|
1002
|
+
"tag": "CPF"
|
|
1003
|
+
},
|
|
1004
|
+
{
|
|
1005
|
+
"name": "inscricao_estadual_destinatario",
|
|
1006
|
+
"description": "Informar a IE do destinatário ou ISENTO se destinatário é contribuinte do ICMS isento de inscrição no cadastro de contribuintes do ICMS. Caso o destinatário não seja contribuinte do ICMS não informar o conteúdo.",
|
|
1007
|
+
"type": "Integer[14]",
|
|
1008
|
+
"required": false,
|
|
1009
|
+
"tag": "IE"
|
|
1010
|
+
},
|
|
1011
|
+
{
|
|
1012
|
+
"name": "nome_destinatario",
|
|
1013
|
+
"description": "Razão Social ou nome do destinatário.",
|
|
1014
|
+
"type": "String[2-60]",
|
|
1015
|
+
"required": true,
|
|
1016
|
+
"tag": "xNome"
|
|
1017
|
+
},
|
|
1018
|
+
{
|
|
1019
|
+
"name": "telefone_destinatario",
|
|
1020
|
+
"description": "Telefone do destinatário.",
|
|
1021
|
+
"type": "Integer[6-14]",
|
|
1022
|
+
"required": true,
|
|
1023
|
+
"tag": "fone"
|
|
1024
|
+
},
|
|
1025
|
+
{
|
|
1026
|
+
"name": "inscricao_suframa_destinatario",
|
|
1027
|
+
"description": "Inscrição do destinatário na SUFRAMA.",
|
|
1028
|
+
"type": "String[8-9]",
|
|
1029
|
+
"required": true,
|
|
1030
|
+
"tag": "ISUF"
|
|
1031
|
+
},
|
|
1032
|
+
{
|
|
1033
|
+
"name": "logradouro_destinatario",
|
|
1034
|
+
"description": "Logradouro do destinatário (rua, avenida, travessa etc.).",
|
|
1035
|
+
"type": "String[2-255]",
|
|
1036
|
+
"required": true,
|
|
1037
|
+
"tag": "xLgr"
|
|
1038
|
+
},
|
|
1039
|
+
{
|
|
1040
|
+
"name": "numero_destinatario",
|
|
1041
|
+
"description": "Número do endereço do destinatário.",
|
|
1042
|
+
"type": "String[1-60]",
|
|
1043
|
+
"required": true,
|
|
1044
|
+
"tag": "nro"
|
|
1045
|
+
},
|
|
1046
|
+
{
|
|
1047
|
+
"name": "complemento_destinatario",
|
|
1048
|
+
"description": "Complemento do destinatário.",
|
|
1049
|
+
"type": "String[1-60]",
|
|
1050
|
+
"required": false,
|
|
1051
|
+
"tag": "xCpl"
|
|
1052
|
+
},
|
|
1053
|
+
{
|
|
1054
|
+
"name": "bairro_destinatario",
|
|
1055
|
+
"description": "Bairro do destinatário.",
|
|
1056
|
+
"type": "Integer[2-60]",
|
|
1057
|
+
"required": true,
|
|
1058
|
+
"tag": "xBairro"
|
|
1059
|
+
},
|
|
1060
|
+
{
|
|
1061
|
+
"name": "codigo_municipio_destinatario",
|
|
1062
|
+
"description": "Código do Município do destinatário. Caso este campo seja omitido, o código será buscado a partir do nome e estado do município, caso contrário utilizar a tabela do IBGE. Informar 9999999 para operações com o exterior.",
|
|
1063
|
+
"type": "Integer[7]",
|
|
1064
|
+
"required": true,
|
|
1065
|
+
"tag": "cMun"
|
|
1066
|
+
},
|
|
1067
|
+
{
|
|
1068
|
+
"name": "municipio_destinatario",
|
|
1069
|
+
"description": "Nome do município do destinatário. Informar EXTERIOR para operações com o exterior.",
|
|
1070
|
+
"type": "String[2-60]",
|
|
1071
|
+
"required": true,
|
|
1072
|
+
"tag": "xMun"
|
|
1073
|
+
},
|
|
1074
|
+
{
|
|
1075
|
+
"name": "cep_destinatario",
|
|
1076
|
+
"description": "CEP do endereço do destinatário.",
|
|
1077
|
+
"type": "Integer[8]",
|
|
1078
|
+
"required": true,
|
|
1079
|
+
"tag": "CEP"
|
|
1080
|
+
},
|
|
1081
|
+
{
|
|
1082
|
+
"name": "uf_destinatario",
|
|
1083
|
+
"description": "Sigla da UF do destinatário. Informar EX para operações com o exterior.",
|
|
1084
|
+
"type": "String[2]",
|
|
1085
|
+
"required": true,
|
|
1086
|
+
"tag": "UF"
|
|
1087
|
+
},
|
|
1088
|
+
{
|
|
1089
|
+
"name": "codigo_pais_destinatario",
|
|
1090
|
+
"description": "Código do país do destinatário. Utilizar a tabela BACEN.",
|
|
1091
|
+
"type": "Integer[1-4]",
|
|
1092
|
+
"required": true,
|
|
1093
|
+
"tag": "cPais"
|
|
1094
|
+
},
|
|
1095
|
+
{
|
|
1096
|
+
"name": "pais_destinatario",
|
|
1097
|
+
"description": "Nome do país do destinatário.",
|
|
1098
|
+
"type": "String[2-60]",
|
|
1099
|
+
"required": true,
|
|
1100
|
+
"tag": "xPais"
|
|
1101
|
+
},
|
|
1102
|
+
{
|
|
1103
|
+
"name": "email_destinatario",
|
|
1104
|
+
"description": "Endereço de e-mail do destinatário.",
|
|
1105
|
+
"type": "String[1-60]",
|
|
1106
|
+
"required": false,
|
|
1107
|
+
"tag": "email"
|
|
1108
|
+
},
|
|
1109
|
+
{
|
|
1110
|
+
"name": "valor_total",
|
|
1111
|
+
"description": "Valor total da prestação de serviço.",
|
|
1112
|
+
"type": "Decimal[13.2]",
|
|
1113
|
+
"required": true,
|
|
1114
|
+
"tag": "vTPrest"
|
|
1115
|
+
},
|
|
1116
|
+
{
|
|
1117
|
+
"name": "valor_receber",
|
|
1118
|
+
"description": "Valor a receber.",
|
|
1119
|
+
"type": "Decimal[13.2]",
|
|
1120
|
+
"required": true,
|
|
1121
|
+
"tag": "vRec"
|
|
1122
|
+
},
|
|
1123
|
+
{
|
|
1124
|
+
"name": "componentes_valor",
|
|
1125
|
+
"description": "Componentes do Valor da Prestação",
|
|
1126
|
+
"type": "Coleção[0-100]",
|
|
1127
|
+
"required": false,
|
|
1128
|
+
"collection_type": "ComponenteValorPrestacaoXML",
|
|
1129
|
+
"collection": {
|
|
1130
|
+
"object_type": "ComponenteValorPrestacaoXML",
|
|
1131
|
+
"object_description": "Componentes do Valor da Prestação. Tag XML Comp.",
|
|
1132
|
+
"object_attributes": [
|
|
1133
|
+
{
|
|
1134
|
+
"name": "nome",
|
|
1135
|
+
"description": "Nome do componente",
|
|
1136
|
+
"type": "String[1-15]",
|
|
1137
|
+
"required": false,
|
|
1138
|
+
"tag": "xNome"
|
|
1139
|
+
},
|
|
1140
|
+
{
|
|
1141
|
+
"name": "valor",
|
|
1142
|
+
"description": "Valor do componente",
|
|
1143
|
+
"type": "Decimal[13.2]",
|
|
1144
|
+
"required": false,
|
|
1145
|
+
"tag": "vComp"
|
|
1146
|
+
}
|
|
1147
|
+
]
|
|
1148
|
+
}
|
|
1149
|
+
},
|
|
1150
|
+
{
|
|
1151
|
+
"name": null,
|
|
1152
|
+
"description": ":icms_situacao_tributaria Situação tributária do ICMS.",
|
|
1153
|
+
"type": null,
|
|
1154
|
+
"required": true,
|
|
1155
|
+
"enum": "* +00+: tributada integralmente\\n* +20+: tributada com redução de base de cálculo\\n* +40+: isenta ou não tributada e com cobrança do ICMS por substituição tributária\\n* +40+: isenta\\n* +41+: não tributada\\n* +51+: diferimento (a exigência do preenchimento das informações do ICMS diferido fica a critério de cada UF)\\n* +60+: cobrado anteriormente por substituição tributária\\n* +70+: tributada com redução de base de cálculo e com cobrança do ICMS por substituição tributária\\n* +90+: outros (Regime Normal)\\n* +90_outra_uf+: outros (ICMS devido à UF de origem da prestação, quando diferente da UF do emitente)\\n* +90_simples_nacional+: outros (regime Simples Nacional)",
|
|
1156
|
+
"tag": "CST"
|
|
1157
|
+
},
|
|
1158
|
+
{
|
|
1159
|
+
"name": null,
|
|
1160
|
+
"description": ":icms_base_calculo Valor da base de cálculo do ICMS.",
|
|
1161
|
+
"type": "Decimal[13.2]",
|
|
1162
|
+
"required": false,
|
|
1163
|
+
"tag": "vBC"
|
|
1164
|
+
},
|
|
1165
|
+
{
|
|
1166
|
+
"name": null,
|
|
1167
|
+
"description": ":icms_aliquota Alíquota do ICMS.",
|
|
1168
|
+
"type": "Decimal[3.2-4]",
|
|
1169
|
+
"required": false,
|
|
1170
|
+
"tag": "pICMS"
|
|
1171
|
+
},
|
|
1172
|
+
{
|
|
1173
|
+
"name": null,
|
|
1174
|
+
"description": ":icms_valor Valor do ICMS.",
|
|
1175
|
+
"type": "Decimal[13.2]",
|
|
1176
|
+
"required": false,
|
|
1177
|
+
"tag": "vICMS"
|
|
1178
|
+
},
|
|
1179
|
+
{
|
|
1180
|
+
"name": null,
|
|
1181
|
+
"description": ":icms_reducao_base_calculo Percentual de redução da base de cálculo.",
|
|
1182
|
+
"type": "Decimal[3.2-4]",
|
|
1183
|
+
"required": false,
|
|
1184
|
+
"tag": "pRedBC"
|
|
1185
|
+
},
|
|
1186
|
+
{
|
|
1187
|
+
"name": null,
|
|
1188
|
+
"description": ":icms_base_calculo_retido_st Valor da base de cálculo do ICMS retido anteriormente.",
|
|
1189
|
+
"type": "Decimal[13.2]",
|
|
1190
|
+
"required": false,
|
|
1191
|
+
"tag": "vBCSTRet"
|
|
1192
|
+
},
|
|
1193
|
+
{
|
|
1194
|
+
"name": null,
|
|
1195
|
+
"description": ":icms_valor_retido_st Valor do ICMS retido anteriormente.",
|
|
1196
|
+
"type": "Decimal[13.2]",
|
|
1197
|
+
"required": false,
|
|
1198
|
+
"tag": "vICMSSTRet"
|
|
1199
|
+
},
|
|
1200
|
+
{
|
|
1201
|
+
"name": null,
|
|
1202
|
+
"description": ":icms_aliquota_retido_st Alíquota do ICMS retido anteriormente.",
|
|
1203
|
+
"type": "Decimal[3.2-4]",
|
|
1204
|
+
"required": false,
|
|
1205
|
+
"tag": "pICMSSTRet"
|
|
1206
|
+
},
|
|
1207
|
+
{
|
|
1208
|
+
"name": null,
|
|
1209
|
+
"description": ":icms_valor_credito_presumido Valor crédito outorgado/Presumido.",
|
|
1210
|
+
"type": "Decimal[13.2]",
|
|
1211
|
+
"required": false,
|
|
1212
|
+
"tag": "vCred"
|
|
1213
|
+
},
|
|
1214
|
+
{
|
|
1215
|
+
"name": null,
|
|
1216
|
+
"description": ":icms_indicador_simples_nacional Indicador de contribuinte Simples Nacional.",
|
|
1217
|
+
"type": null,
|
|
1218
|
+
"required": false,
|
|
1219
|
+
"enum": "* +1+: Sim",
|
|
1220
|
+
"tag": "indSN"
|
|
1221
|
+
},
|
|
1222
|
+
{
|
|
1223
|
+
"name": null,
|
|
1224
|
+
"description": ":icms_valor_desonerado Valor do ICMS de desoneração.",
|
|
1225
|
+
"type": "Decimal[13.2]",
|
|
1226
|
+
"required": false,
|
|
1227
|
+
"tag": "vICMSDeson"
|
|
1228
|
+
},
|
|
1229
|
+
{
|
|
1230
|
+
"name": null,
|
|
1231
|
+
"description": ":icms_codigo_beneficio_fiscal Código de Benefício Fiscal utilizado pela UF.",
|
|
1232
|
+
"type": "String[10]",
|
|
1233
|
+
"required": false,
|
|
1234
|
+
"tag": "cBenef"
|
|
1235
|
+
},
|
|
1236
|
+
{
|
|
1237
|
+
"name": "valor_total_tributos",
|
|
1238
|
+
"description": "Valor total aproximado dos tributos",
|
|
1239
|
+
"type": "Decimal[13.2]",
|
|
1240
|
+
"required": false,
|
|
1241
|
+
"tag": "vTotTrib"
|
|
1242
|
+
},
|
|
1243
|
+
{
|
|
1244
|
+
"name": "informacoes_adicionais_fisco",
|
|
1245
|
+
"description": "Informações adicionais de interesse do Fisco.",
|
|
1246
|
+
"type": "String[1-2000]",
|
|
1247
|
+
"required": false,
|
|
1248
|
+
"tag": "infAdFisco"
|
|
1249
|
+
},
|
|
1250
|
+
{
|
|
1251
|
+
"name": "icms_base_calculo_uf_fim",
|
|
1252
|
+
"description": "Valor da BC do ICMS na UF de término da prestação do serviço de transporte.",
|
|
1253
|
+
"type": "Decimal[13.2]",
|
|
1254
|
+
"required": false,
|
|
1255
|
+
"tag": "vBCUFFim"
|
|
1256
|
+
},
|
|
1257
|
+
{
|
|
1258
|
+
"name": "icms_percentual_fcp_uf_fim",
|
|
1259
|
+
"description": "Percentual do ICMS relativo ao Fundo de Combate à pobreza (FCP) na UF de término da prestação do serviço de transporte.",
|
|
1260
|
+
"type": "Decimal[3.2]",
|
|
1261
|
+
"required": false,
|
|
1262
|
+
"tag": "pFCPUFFim"
|
|
1263
|
+
},
|
|
1264
|
+
{
|
|
1265
|
+
"name": "icms_aliquota_interna_uf_fim",
|
|
1266
|
+
"description": "Alíquota interna da UF de término da prestação do serviço de transporte.",
|
|
1267
|
+
"type": "Decimal[3.2]",
|
|
1268
|
+
"required": false,
|
|
1269
|
+
"tag": "pICMSUFFim"
|
|
1270
|
+
},
|
|
1271
|
+
{
|
|
1272
|
+
"name": "icms_aliquota_interestadual_uf_fim",
|
|
1273
|
+
"description": "Alíquota interestadual das UF envolvidas",
|
|
1274
|
+
"type": "Decimal[3.2]",
|
|
1275
|
+
"required": false,
|
|
1276
|
+
"tag": "pICMSInter"
|
|
1277
|
+
},
|
|
1278
|
+
{
|
|
1279
|
+
"name": "icms_valor_total_fcp_uf_fim",
|
|
1280
|
+
"description": "Valor do ICMS relativo ao Fundo de Combate á Pobreza (FCP) da UF de término da prestação.",
|
|
1281
|
+
"type": "Decimal[13.2]",
|
|
1282
|
+
"required": false,
|
|
1283
|
+
"tag": "vFCPUFFim"
|
|
1284
|
+
},
|
|
1285
|
+
{
|
|
1286
|
+
"name": "icms_valor_partilha_uf_fim",
|
|
1287
|
+
"description": "Valor do ICMS de partilha para a UF de término da prestação do serviço de transporte.",
|
|
1288
|
+
"type": "Decimal[13.2]",
|
|
1289
|
+
"required": false,
|
|
1290
|
+
"tag": "vICMSUFFim"
|
|
1291
|
+
},
|
|
1292
|
+
{
|
|
1293
|
+
"name": "icms_valor_partilha_uf_inicio",
|
|
1294
|
+
"description": "Valor do ICMS de partilha para a UF de início da prestação do serviço de transporte.",
|
|
1295
|
+
"type": "Decimal[13.2]",
|
|
1296
|
+
"required": false,
|
|
1297
|
+
"tag": "vICMSUFIni"
|
|
1298
|
+
},
|
|
1299
|
+
{
|
|
1300
|
+
"name": "ibs_cbs_situacao_tributaria",
|
|
1301
|
+
"description": "Código da Situação Tributária do IBS/CBS",
|
|
1302
|
+
"type": "String[3]",
|
|
1303
|
+
"required": true,
|
|
1304
|
+
"reforma_tributaria": true,
|
|
1305
|
+
"tag": "CST"
|
|
1306
|
+
},
|
|
1307
|
+
{
|
|
1308
|
+
"name": "ibs_cbs_classificacao_tributaria",
|
|
1309
|
+
"description": "Código de Classificação Tributária do IBS/CBS",
|
|
1310
|
+
"type": "String[6]",
|
|
1311
|
+
"required": true,
|
|
1312
|
+
"reforma_tributaria": true,
|
|
1313
|
+
"tag": "cClassTrib"
|
|
1314
|
+
},
|
|
1315
|
+
{
|
|
1316
|
+
"name": "ibs_cbs_base_calculo",
|
|
1317
|
+
"description": "Base de cálculo do IBS e CBS",
|
|
1318
|
+
"type": "Decimal[13.2]",
|
|
1319
|
+
"required": false,
|
|
1320
|
+
"reforma_tributaria": true,
|
|
1321
|
+
"tag": "vBC"
|
|
1322
|
+
},
|
|
1323
|
+
{
|
|
1324
|
+
"name": "ibs_uf_aliquota",
|
|
1325
|
+
"description": "Alíquota do IBS de competência das UF",
|
|
1326
|
+
"type": "Decimal[3.2-4]",
|
|
1327
|
+
"required": false,
|
|
1328
|
+
"reforma_tributaria": true,
|
|
1329
|
+
"tag": "pIBSUF"
|
|
1330
|
+
},
|
|
1331
|
+
{
|
|
1332
|
+
"name": "ibs_uf_percentual_diferimento",
|
|
1333
|
+
"description": "Percentual do diferimento",
|
|
1334
|
+
"type": "Decimal[3.2-4]",
|
|
1335
|
+
"required": false,
|
|
1336
|
+
"reforma_tributaria": true,
|
|
1337
|
+
"tag": "pDif"
|
|
1338
|
+
},
|
|
1339
|
+
{
|
|
1340
|
+
"name": "ibs_uf_valor_diferido",
|
|
1341
|
+
"description": "Valor do Diferimento",
|
|
1342
|
+
"type": "Decimal[13.2]",
|
|
1343
|
+
"required": false,
|
|
1344
|
+
"reforma_tributaria": true,
|
|
1345
|
+
"tag": "vDif"
|
|
1346
|
+
},
|
|
1347
|
+
{
|
|
1348
|
+
"name": "ibs_uf_valor_tributo_devolvido",
|
|
1349
|
+
"description": "Valor do tributo devolvido. No fornecimento de energia elétrica, água, esgoto e gás natural e em outras hipóteses definidas no regulamento",
|
|
1350
|
+
"type": "Decimal[13.2]",
|
|
1351
|
+
"required": false,
|
|
1352
|
+
"reforma_tributaria": true,
|
|
1353
|
+
"tag": "vDevTrib"
|
|
1354
|
+
},
|
|
1355
|
+
{
|
|
1356
|
+
"name": "ibs_uf_percentual_reducao_aliquota",
|
|
1357
|
+
"description": "Percentual da redução de alíquota",
|
|
1358
|
+
"type": "Decimal[3.2-4]",
|
|
1359
|
+
"required": false,
|
|
1360
|
+
"reforma_tributaria": true,
|
|
1361
|
+
"tag": "pRedAliq"
|
|
1362
|
+
},
|
|
1363
|
+
{
|
|
1364
|
+
"name": "ibs_uf_aliquota_efetiva",
|
|
1365
|
+
"description": "Alíquota Efetiva do IBS de competência das UF que será aplicada a Base de Cálculo",
|
|
1366
|
+
"type": "Decimal[3.2-4]",
|
|
1367
|
+
"required": false,
|
|
1368
|
+
"reforma_tributaria": true,
|
|
1369
|
+
"tag": "pAliqEfet"
|
|
1370
|
+
},
|
|
1371
|
+
{
|
|
1372
|
+
"name": "ibs_uf_valor",
|
|
1373
|
+
"description": "Valor do IBS de competência da UF",
|
|
1374
|
+
"type": "Decimal[13.2]",
|
|
1375
|
+
"required": false,
|
|
1376
|
+
"reforma_tributaria": true,
|
|
1377
|
+
"tag": "vIBSUF"
|
|
1378
|
+
},
|
|
1379
|
+
{
|
|
1380
|
+
"name": "ibs_mun_aliquota",
|
|
1381
|
+
"description": "Alíquota do IBS de competência do Município",
|
|
1382
|
+
"type": "Decimal[3.2-4]",
|
|
1383
|
+
"required": false,
|
|
1384
|
+
"reforma_tributaria": true,
|
|
1385
|
+
"tag": "pIBSMun"
|
|
1386
|
+
},
|
|
1387
|
+
{
|
|
1388
|
+
"name": "ibs_mun_percentual_diferimento",
|
|
1389
|
+
"description": "Percentual do diferimento",
|
|
1390
|
+
"type": "Decimal[3.2-4]",
|
|
1391
|
+
"required": false,
|
|
1392
|
+
"reforma_tributaria": true,
|
|
1393
|
+
"tag": "pDif"
|
|
1394
|
+
},
|
|
1395
|
+
{
|
|
1396
|
+
"name": "ibs_mun_valor_diferido",
|
|
1397
|
+
"description": "Valor do Diferimento",
|
|
1398
|
+
"type": "Decimal[13.2]",
|
|
1399
|
+
"required": false,
|
|
1400
|
+
"reforma_tributaria": true,
|
|
1401
|
+
"tag": "vDif"
|
|
1402
|
+
},
|
|
1403
|
+
{
|
|
1404
|
+
"name": "ibs_mun_valor_tributo_devolvido",
|
|
1405
|
+
"description": "Valor do tributo devolvido. No fornecimento de energia elétrica, água, esgoto e gás natural e em outras hipóteses definidas no regulamento",
|
|
1406
|
+
"type": "Decimal[13.2]",
|
|
1407
|
+
"required": false,
|
|
1408
|
+
"reforma_tributaria": true,
|
|
1409
|
+
"tag": "vDevTrib"
|
|
1410
|
+
},
|
|
1411
|
+
{
|
|
1412
|
+
"name": "ibs_mun_percentual_reducao_aliquota",
|
|
1413
|
+
"description": "Percentual da redução de alíquota",
|
|
1414
|
+
"type": "Decimal[3.2-4]",
|
|
1415
|
+
"required": false,
|
|
1416
|
+
"reforma_tributaria": true,
|
|
1417
|
+
"tag": "pRedAliq"
|
|
1418
|
+
},
|
|
1419
|
+
{
|
|
1420
|
+
"name": "ibs_mun_aliquota_efetiva",
|
|
1421
|
+
"description": "Alíquota Efetiva do IBS de competência das UF que será aplicada a Base de Cálculo",
|
|
1422
|
+
"type": "Decimal[3.2-4]",
|
|
1423
|
+
"required": false,
|
|
1424
|
+
"reforma_tributaria": true,
|
|
1425
|
+
"tag": "pAliqEfet"
|
|
1426
|
+
},
|
|
1427
|
+
{
|
|
1428
|
+
"name": "ibs_mun_valor",
|
|
1429
|
+
"description": "Valor do IBS de competência do Município",
|
|
1430
|
+
"type": "Decimal[2]",
|
|
1431
|
+
"required": false,
|
|
1432
|
+
"reforma_tributaria": true,
|
|
1433
|
+
"tag": "vIBSMun"
|
|
1434
|
+
},
|
|
1435
|
+
{
|
|
1436
|
+
"name": "ibs_valor_total",
|
|
1437
|
+
"description": "Valor do IBS",
|
|
1438
|
+
"type": "Decimal[13.2]",
|
|
1439
|
+
"required": false,
|
|
1440
|
+
"reforma_tributaria": true,
|
|
1441
|
+
"tag": "vIBS"
|
|
1442
|
+
},
|
|
1443
|
+
{
|
|
1444
|
+
"name": "cbs_aliquota",
|
|
1445
|
+
"description": "Alíquota da CBS",
|
|
1446
|
+
"type": "Decimal[4]",
|
|
1447
|
+
"required": false,
|
|
1448
|
+
"reforma_tributaria": true,
|
|
1449
|
+
"tag": "pCBS"
|
|
1450
|
+
},
|
|
1451
|
+
{
|
|
1452
|
+
"name": "cbs_percentual_diferimento",
|
|
1453
|
+
"description": "Percentual do diferimento",
|
|
1454
|
+
"type": "Decimal[3.2-4]",
|
|
1455
|
+
"required": false,
|
|
1456
|
+
"reforma_tributaria": true,
|
|
1457
|
+
"tag": "pDif"
|
|
1458
|
+
},
|
|
1459
|
+
{
|
|
1460
|
+
"name": "cbs_valor_diferido",
|
|
1461
|
+
"description": "Valor do Diferimento",
|
|
1462
|
+
"type": "Decimal[13.2]",
|
|
1463
|
+
"required": false,
|
|
1464
|
+
"reforma_tributaria": true,
|
|
1465
|
+
"tag": "vDif"
|
|
1466
|
+
},
|
|
1467
|
+
{
|
|
1468
|
+
"name": "cbs_valor_tributo_devolvido",
|
|
1469
|
+
"description": "Valor do tributo devolvido. No fornecimento de energia elétrica, água, esgoto e gás natural e em outras hipóteses definidas no regulamento",
|
|
1470
|
+
"type": "Decimal[13.2]",
|
|
1471
|
+
"required": false,
|
|
1472
|
+
"reforma_tributaria": true,
|
|
1473
|
+
"tag": "vDevTrib"
|
|
1474
|
+
},
|
|
1475
|
+
{
|
|
1476
|
+
"name": "cbs_percentual_reducao_aliquota",
|
|
1477
|
+
"description": "Percentual da redução de alíquota",
|
|
1478
|
+
"type": "Decimal[3.2-4]",
|
|
1479
|
+
"required": false,
|
|
1480
|
+
"reforma_tributaria": true,
|
|
1481
|
+
"tag": "pRedAliq"
|
|
1482
|
+
},
|
|
1483
|
+
{
|
|
1484
|
+
"name": "cbs_aliquota_efetiva",
|
|
1485
|
+
"description": "Alíquota Efetiva do IBS de competência das UF que será aplicada a Base de Cálculo",
|
|
1486
|
+
"type": "Decimal[3.2-4]",
|
|
1487
|
+
"required": false,
|
|
1488
|
+
"reforma_tributaria": true,
|
|
1489
|
+
"tag": "pAliqEfet"
|
|
1490
|
+
},
|
|
1491
|
+
{
|
|
1492
|
+
"name": "cbs_valor",
|
|
1493
|
+
"description": "Valor da CBS",
|
|
1494
|
+
"type": "Decimal[13.2]",
|
|
1495
|
+
"required": false,
|
|
1496
|
+
"reforma_tributaria": true,
|
|
1497
|
+
"tag": "vCBS"
|
|
1498
|
+
},
|
|
1499
|
+
{
|
|
1500
|
+
"name": "ibs_cbs_situacao_tributaria_regular",
|
|
1501
|
+
"description": "Código da Situação Tributária do IBS e CBS",
|
|
1502
|
+
"type": "String[3]",
|
|
1503
|
+
"required": false,
|
|
1504
|
+
"reforma_tributaria": true,
|
|
1505
|
+
"tag": "CSTReg"
|
|
1506
|
+
},
|
|
1507
|
+
{
|
|
1508
|
+
"name": "ibs_cbs_classificacao_tributaria_regular",
|
|
1509
|
+
"description": "Código de Classificação Tributária do IBS e CBS",
|
|
1510
|
+
"type": "String[6]",
|
|
1511
|
+
"required": false,
|
|
1512
|
+
"reforma_tributaria": true,
|
|
1513
|
+
"tag": "cClassTribReg"
|
|
1514
|
+
},
|
|
1515
|
+
{
|
|
1516
|
+
"name": "ibs_aliquota_efetiva_regular_uf",
|
|
1517
|
+
"description": "Valor da alíquota do IBS da UF",
|
|
1518
|
+
"type": "Decimal[3.2-4]",
|
|
1519
|
+
"required": false,
|
|
1520
|
+
"reforma_tributaria": true,
|
|
1521
|
+
"tag": "pAliqEfetRegIBSUF"
|
|
1522
|
+
},
|
|
1523
|
+
{
|
|
1524
|
+
"name": "ibs_valor_tributo_regular_uf",
|
|
1525
|
+
"description": "Valor do Tributo do IBS da UF",
|
|
1526
|
+
"type": "Decimal[13.2]",
|
|
1527
|
+
"required": false,
|
|
1528
|
+
"reforma_tributaria": true,
|
|
1529
|
+
"tag": "vTribRegIBSUF"
|
|
1530
|
+
},
|
|
1531
|
+
{
|
|
1532
|
+
"name": "ibs_aliquota_efetiva_regular_municipio",
|
|
1533
|
+
"description": "Valor da alíquota do IBS do Município",
|
|
1534
|
+
"type": "Decimal[3.2-4]",
|
|
1535
|
+
"required": false,
|
|
1536
|
+
"reforma_tributaria": true,
|
|
1537
|
+
"tag": "pAliqEfetRegIBSMun"
|
|
1538
|
+
},
|
|
1539
|
+
{
|
|
1540
|
+
"name": "ibs_valor_tributo_regular_municipio",
|
|
1541
|
+
"description": "Valor do Tributo do IBS do Município",
|
|
1542
|
+
"type": "Decimal[13.2]",
|
|
1543
|
+
"required": false,
|
|
1544
|
+
"reforma_tributaria": true,
|
|
1545
|
+
"tag": "vTribRegIBSMun"
|
|
1546
|
+
},
|
|
1547
|
+
{
|
|
1548
|
+
"name": "cbs_aliquota_efetiva_regular",
|
|
1549
|
+
"description": "Valor da alíquota da CBS",
|
|
1550
|
+
"type": "Decimal[3.2-4]",
|
|
1551
|
+
"required": false,
|
|
1552
|
+
"reforma_tributaria": true,
|
|
1553
|
+
"tag": "pAliqEfetRegCBS"
|
|
1554
|
+
},
|
|
1555
|
+
{
|
|
1556
|
+
"name": "cbs_valor_tributo_regular",
|
|
1557
|
+
"description": "Valor do Tributo da CBS",
|
|
1558
|
+
"type": "Decimal[13.2]",
|
|
1559
|
+
"required": false,
|
|
1560
|
+
"reforma_tributaria": true,
|
|
1561
|
+
"tag": "vTribRegCBS"
|
|
1562
|
+
},
|
|
1563
|
+
{
|
|
1564
|
+
"name": "ibs_aliquota_uf",
|
|
1565
|
+
"description": "Alíquota IBS da UF utilizada",
|
|
1566
|
+
"type": "Decimal[3.2-4]",
|
|
1567
|
+
"required": false,
|
|
1568
|
+
"reforma_tributaria": true,
|
|
1569
|
+
"tag": "pAliqIBSUF"
|
|
1570
|
+
},
|
|
1571
|
+
{
|
|
1572
|
+
"name": "ibs_valor_tributo_uf",
|
|
1573
|
+
"description": "Valor do Tributo do IBS da UF",
|
|
1574
|
+
"type": "Decimal[13.2]",
|
|
1575
|
+
"required": false,
|
|
1576
|
+
"reforma_tributaria": true,
|
|
1577
|
+
"tag": "vTribIBSUF"
|
|
1578
|
+
},
|
|
1579
|
+
{
|
|
1580
|
+
"name": "ibs_aliquota_municipio",
|
|
1581
|
+
"description": "Alíquota IBS do Município utilizada",
|
|
1582
|
+
"type": "Decimal[3.2-4]",
|
|
1583
|
+
"required": false,
|
|
1584
|
+
"reforma_tributaria": true,
|
|
1585
|
+
"tag": "pAliqIBSMun"
|
|
1586
|
+
},
|
|
1587
|
+
{
|
|
1588
|
+
"name": "ibs_valor_tributo_municipio",
|
|
1589
|
+
"description": "Valor do Tributo do Município da UF",
|
|
1590
|
+
"type": "Decimal[13.2]",
|
|
1591
|
+
"required": false,
|
|
1592
|
+
"reforma_tributaria": true,
|
|
1593
|
+
"tag": "vTribIBSMun"
|
|
1594
|
+
},
|
|
1595
|
+
{
|
|
1596
|
+
"name": "ibs_cbs_aliquota",
|
|
1597
|
+
"description": "Alíquota IBS do CBS utilizada",
|
|
1598
|
+
"type": "Decimal[3.2-4]",
|
|
1599
|
+
"required": false,
|
|
1600
|
+
"reforma_tributaria": true,
|
|
1601
|
+
"tag": "pAliqCBS"
|
|
1602
|
+
},
|
|
1603
|
+
{
|
|
1604
|
+
"name": "cbs_valor_tributo",
|
|
1605
|
+
"description": "Valor do Tributo da CBS",
|
|
1606
|
+
"type": "Decimal[13.2]",
|
|
1607
|
+
"required": false,
|
|
1608
|
+
"reforma_tributaria": true,
|
|
1609
|
+
"tag": "vTribCBS"
|
|
1610
|
+
},
|
|
1611
|
+
{
|
|
1612
|
+
"name": "ibs_valor_estornado",
|
|
1613
|
+
"description": "Valor do IBS a ser estornado",
|
|
1614
|
+
"type": "Decimal[13.2]",
|
|
1615
|
+
"required": false,
|
|
1616
|
+
"reforma_tributaria": true,
|
|
1617
|
+
"tag": "vIBSEstCred"
|
|
1618
|
+
},
|
|
1619
|
+
{
|
|
1620
|
+
"name": "cbs_valor_estornado",
|
|
1621
|
+
"description": "Valor do CBS a ser estornado",
|
|
1622
|
+
"type": "Decimal[13.2]",
|
|
1623
|
+
"required": false,
|
|
1624
|
+
"reforma_tributaria": true,
|
|
1625
|
+
"tag": "vCBSEstCred"
|
|
1626
|
+
},
|
|
1627
|
+
{
|
|
1628
|
+
"name": "valor_total_dfe",
|
|
1629
|
+
"description": "Valor total do documento fiscal",
|
|
1630
|
+
"type": "Decimal[13.2]",
|
|
1631
|
+
"required": false,
|
|
1632
|
+
"reforma_tributaria": true,
|
|
1633
|
+
"tag": "vTotDFe"
|
|
1634
|
+
},
|
|
1635
|
+
{
|
|
1636
|
+
"name": "valor_total_carga",
|
|
1637
|
+
"description": "Valor total da carga",
|
|
1638
|
+
"type": "Decimal[13.2]",
|
|
1639
|
+
"required": false,
|
|
1640
|
+
"tag": "vCarga"
|
|
1641
|
+
},
|
|
1642
|
+
{
|
|
1643
|
+
"name": "produto_predominante",
|
|
1644
|
+
"description": "Produto predominante",
|
|
1645
|
+
"type": "String[1-60]",
|
|
1646
|
+
"required": false,
|
|
1647
|
+
"tag": "proPred"
|
|
1648
|
+
},
|
|
1649
|
+
{
|
|
1650
|
+
"name": "outras_caracteristicas_carga",
|
|
1651
|
+
"description": "Outras características da carga",
|
|
1652
|
+
"type": "String[1-40]",
|
|
1653
|
+
"required": false,
|
|
1654
|
+
"tag": "xOutCat"
|
|
1655
|
+
},
|
|
1656
|
+
{
|
|
1657
|
+
"name": "quantidades",
|
|
1658
|
+
"description": "Informações de quantidades da Carga do CT-e.",
|
|
1659
|
+
"type": "Coleção[1-100]",
|
|
1660
|
+
"required": false,
|
|
1661
|
+
"collection_type": "InfoQuantidadeCargaXML",
|
|
1662
|
+
"collection": {
|
|
1663
|
+
"object_type": "InfoQuantidadeCargaXML",
|
|
1664
|
+
"object_description": "Informações de quantidades da Carga do CT-e. Para o Aéreo é obrigatório o preenchimento desse campo da seguinte forma. 1 - Peso Bruto, sempre em quilogramas (obrigatório); 2 - Peso Cubado; sempre em quilogramas; 3 - Quantidade de volumes, sempre em unidades (obrigatório); 4 - Cubagem, sempre em metros cúbicos (obrigatório apenas quando for impossível preencher as dimensões da(s) embalagem(ens)). Tag XML infQ.",
|
|
1665
|
+
"object_attributes": [
|
|
1666
|
+
{
|
|
1667
|
+
"name": "codigo_unidade_medida",
|
|
1668
|
+
"description": "Código da Unidade de Medida",
|
|
1669
|
+
"type": null,
|
|
1670
|
+
"required": true,
|
|
1671
|
+
"enum": "* +00+: M3\\n* +01+: KG\\n* +02+: TON\\n* +03+: UNIDADE\\n* +04+: LITROS\\n* +05+: MMBTU",
|
|
1672
|
+
"tag": "cUnid"
|
|
1673
|
+
},
|
|
1674
|
+
{
|
|
1675
|
+
"name": "tipo_medida",
|
|
1676
|
+
"description": "Tipo da Medida",
|
|
1677
|
+
"type": "String[1-20]",
|
|
1678
|
+
"required": false,
|
|
1679
|
+
"tag": "tpMed"
|
|
1680
|
+
},
|
|
1681
|
+
{
|
|
1682
|
+
"name": "quantidade",
|
|
1683
|
+
"description": "Quantidade",
|
|
1684
|
+
"type": "Decimal[11.4]",
|
|
1685
|
+
"required": false,
|
|
1686
|
+
"tag": "qCarga"
|
|
1687
|
+
}
|
|
1688
|
+
]
|
|
1689
|
+
}
|
|
1690
|
+
},
|
|
1691
|
+
{
|
|
1692
|
+
"name": "valor_carga_averbacao",
|
|
1693
|
+
"description": "Valor da Carga para efeito de averbação.",
|
|
1694
|
+
"type": "Decimal[13.2]",
|
|
1695
|
+
"required": false,
|
|
1696
|
+
"tag": "vCargaAverb"
|
|
1697
|
+
},
|
|
1698
|
+
{
|
|
1699
|
+
"name": "nfs",
|
|
1700
|
+
"description": "Informações da NF.",
|
|
1701
|
+
"type": "Coleção[0-1000]",
|
|
1702
|
+
"required": false,
|
|
1703
|
+
"collection_type": "InfoNfXML",
|
|
1704
|
+
"collection": {
|
|
1705
|
+
"object_type": "InfoNfXML",
|
|
1706
|
+
"object_description": "Informações da NF. Tag XML infNF.",
|
|
1707
|
+
"object_attributes": [
|
|
1708
|
+
{
|
|
1709
|
+
"name": "numero_romaneio",
|
|
1710
|
+
"description": "Número do Romaneio da NF",
|
|
1711
|
+
"type": "String[1-20]",
|
|
1712
|
+
"required": false,
|
|
1713
|
+
"tag": "nRoma"
|
|
1714
|
+
},
|
|
1715
|
+
{
|
|
1716
|
+
"name": "numero_pedido",
|
|
1717
|
+
"description": "Número do Pedido da NF",
|
|
1718
|
+
"type": "String[1-20]",
|
|
1719
|
+
"required": false,
|
|
1720
|
+
"tag": "nPed"
|
|
1721
|
+
},
|
|
1722
|
+
{
|
|
1723
|
+
"name": "modelo",
|
|
1724
|
+
"description": "Modelo da Nota Fiscal",
|
|
1725
|
+
"type": null,
|
|
1726
|
+
"required": true,
|
|
1727
|
+
"enum": "* +01+: NF Modelo 01/1A e Avulsa\\n* +04+: NF de Produtor",
|
|
1728
|
+
"tag": "mod"
|
|
1729
|
+
},
|
|
1730
|
+
{
|
|
1731
|
+
"name": "serie",
|
|
1732
|
+
"description": "Série",
|
|
1733
|
+
"type": "String[1-3]",
|
|
1734
|
+
"required": false,
|
|
1735
|
+
"tag": "serie"
|
|
1736
|
+
},
|
|
1737
|
+
{
|
|
1738
|
+
"name": "numero",
|
|
1739
|
+
"description": "Número",
|
|
1740
|
+
"type": "String[1-20]",
|
|
1741
|
+
"required": false,
|
|
1742
|
+
"tag": "nDoc"
|
|
1743
|
+
},
|
|
1744
|
+
{
|
|
1745
|
+
"name": "data_emissao",
|
|
1746
|
+
"description": "Data de Emissão",
|
|
1747
|
+
"type": null,
|
|
1748
|
+
"required": false,
|
|
1749
|
+
"tag": "dEmi"
|
|
1750
|
+
},
|
|
1751
|
+
{
|
|
1752
|
+
"name": "valor_base_calculo_icms",
|
|
1753
|
+
"description": "Valor da Base de Cálculo do ICMS",
|
|
1754
|
+
"type": "Decimal[13.2]",
|
|
1755
|
+
"required": false,
|
|
1756
|
+
"tag": "vBC"
|
|
1757
|
+
},
|
|
1758
|
+
{
|
|
1759
|
+
"name": "valor_total_icms",
|
|
1760
|
+
"description": "Valor Total do ICMS",
|
|
1761
|
+
"type": "Decimal[13.2]",
|
|
1762
|
+
"required": false,
|
|
1763
|
+
"tag": "vICMS"
|
|
1764
|
+
},
|
|
1765
|
+
{
|
|
1766
|
+
"name": "valor_base_calculo_icms_st",
|
|
1767
|
+
"description": "Valor da Base de Cálculo do ICMS ST",
|
|
1768
|
+
"type": "Decimal[13.2]",
|
|
1769
|
+
"required": false,
|
|
1770
|
+
"tag": "vBCST"
|
|
1771
|
+
},
|
|
1772
|
+
{
|
|
1773
|
+
"name": "valor_icms_st",
|
|
1774
|
+
"description": "Valor Total do ICMS ST",
|
|
1775
|
+
"type": "Decimal[13.2]",
|
|
1776
|
+
"required": false,
|
|
1777
|
+
"tag": "vST"
|
|
1778
|
+
},
|
|
1779
|
+
{
|
|
1780
|
+
"name": "valor_produtos",
|
|
1781
|
+
"description": "Valor Total dos Produtos",
|
|
1782
|
+
"type": "Decimal[13.2]",
|
|
1783
|
+
"required": false,
|
|
1784
|
+
"tag": "vProd"
|
|
1785
|
+
},
|
|
1786
|
+
{
|
|
1787
|
+
"name": "valor",
|
|
1788
|
+
"description": "Valor Total da NF",
|
|
1789
|
+
"type": "Decimal[13.2]",
|
|
1790
|
+
"required": false,
|
|
1791
|
+
"tag": "vNF"
|
|
1792
|
+
},
|
|
1793
|
+
{
|
|
1794
|
+
"name": "cfop",
|
|
1795
|
+
"description": "CFOP Predominante",
|
|
1796
|
+
"type": "String[4]",
|
|
1797
|
+
"required": false,
|
|
1798
|
+
"tag": "nCFOP"
|
|
1799
|
+
},
|
|
1800
|
+
{
|
|
1801
|
+
"name": "peso",
|
|
1802
|
+
"description": "Peso total em Kg",
|
|
1803
|
+
"type": "Decimal[13.2]",
|
|
1804
|
+
"required": false,
|
|
1805
|
+
"tag": "nPeso"
|
|
1806
|
+
},
|
|
1807
|
+
{
|
|
1808
|
+
"name": "pin_suframa",
|
|
1809
|
+
"description": "PIN SUFRAMA",
|
|
1810
|
+
"type": "String[2-9]",
|
|
1811
|
+
"required": false,
|
|
1812
|
+
"tag": "PIN"
|
|
1813
|
+
},
|
|
1814
|
+
{
|
|
1815
|
+
"name": "previsao_entrega",
|
|
1816
|
+
"description": "Data prevista de entrega",
|
|
1817
|
+
"type": null,
|
|
1818
|
+
"required": false,
|
|
1819
|
+
"tag": "dPrev"
|
|
1820
|
+
},
|
|
1821
|
+
{
|
|
1822
|
+
"name": "unidades_carga",
|
|
1823
|
+
"description": "Informações das Unidades de Carga (Containeres/ULD/Outros).",
|
|
1824
|
+
"type": "Coleção[0-100]",
|
|
1825
|
+
"required": false,
|
|
1826
|
+
"collection_type": "InfoUnidadeCargaXML",
|
|
1827
|
+
"collection": {
|
|
1828
|
+
"object_type": "InfoUnidadeCargaXML",
|
|
1829
|
+
"object_description": "Informações das Unidades de Carga (Containeres/ULD/Outros). Tag XML infUnidCarga",
|
|
1830
|
+
"object_attributes": [
|
|
1831
|
+
{
|
|
1832
|
+
"name": "tipo",
|
|
1833
|
+
"description": "Tipo da unidade de carga",
|
|
1834
|
+
"type": null,
|
|
1835
|
+
"required": true,
|
|
1836
|
+
"enum": "* +1+: Container\\n* +2+: ULD\\n* +3+: Pallet\\n* +4+: Outros",
|
|
1837
|
+
"tag": "tpUnidCarga"
|
|
1838
|
+
},
|
|
1839
|
+
{
|
|
1840
|
+
"name": "identificacao",
|
|
1841
|
+
"description": "Identificação da Unidade de carga",
|
|
1842
|
+
"type": "String[1-20]",
|
|
1843
|
+
"required": false,
|
|
1844
|
+
"tag": "idUnidCarga"
|
|
1845
|
+
},
|
|
1846
|
+
{
|
|
1847
|
+
"name": "lacres",
|
|
1848
|
+
"description": "Informações das Unidades de Carga (Containeres/ULD/Outros).",
|
|
1849
|
+
"type": "Coleção[0-100]",
|
|
1850
|
+
"required": false,
|
|
1851
|
+
"collection_type": "LacreUnidadeCargaXML",
|
|
1852
|
+
"collection": {
|
|
1853
|
+
"object_type": "LacreUnidadeCargaXML",
|
|
1854
|
+
"object_description": "Lacres das Unidades de carga. Tag XML lacUnidCarga",
|
|
1855
|
+
"object_attributes": [
|
|
1856
|
+
{
|
|
1857
|
+
"name": "numero_lacre",
|
|
1858
|
+
"description": "Número do lacre",
|
|
1859
|
+
"type": "String[1-20]",
|
|
1860
|
+
"required": false,
|
|
1861
|
+
"tag": "nLacre"
|
|
1862
|
+
}
|
|
1863
|
+
]
|
|
1864
|
+
}
|
|
1865
|
+
},
|
|
1866
|
+
{
|
|
1867
|
+
"name": "quantidade_rateada",
|
|
1868
|
+
"description": "Quantidade rateada (Peso,Volume)",
|
|
1869
|
+
"type": "Decimal[3.2]",
|
|
1870
|
+
"required": false,
|
|
1871
|
+
"tag": "qtdRat"
|
|
1872
|
+
}
|
|
1873
|
+
]
|
|
1874
|
+
}
|
|
1875
|
+
},
|
|
1876
|
+
{
|
|
1877
|
+
"name": "unidades_transporte",
|
|
1878
|
+
"description": "Informações das Unidades de Transporte (Carreta/Reboque/Vagão).",
|
|
1879
|
+
"type": "Coleção[0-100]",
|
|
1880
|
+
"required": false,
|
|
1881
|
+
"collection_type": "InfoUnidadeTranporteXML",
|
|
1882
|
+
"collection": {
|
|
1883
|
+
"object_type": "InfoUnidadeTranporteXML",
|
|
1884
|
+
"object_description": "Informações das Unidades de Transporte (Carreta/Reboque/Vagão). Tag XML infUnidTransp",
|
|
1885
|
+
"object_attributes": [
|
|
1886
|
+
{
|
|
1887
|
+
"name": "tipo",
|
|
1888
|
+
"description": "Tipo da Unidade de Transporte",
|
|
1889
|
+
"type": null,
|
|
1890
|
+
"required": true,
|
|
1891
|
+
"enum": "* +1+: Rodoviário Tração\\n* +2+: Rodoviário Reboque\\n* +3+: Navio\\n* +4+: Balsa\\n* +5+: Aeronave\\n* +6+: Vagão\\n* +7+: Outros",
|
|
1892
|
+
"tag": "tpUnidTransp"
|
|
1893
|
+
},
|
|
1894
|
+
{
|
|
1895
|
+
"name": "identificacao",
|
|
1896
|
+
"description": "Identificação da Unidade de Transporte",
|
|
1897
|
+
"type": "String[1-20]",
|
|
1898
|
+
"required": false,
|
|
1899
|
+
"tag": "idUnidTransp"
|
|
1900
|
+
},
|
|
1901
|
+
{
|
|
1902
|
+
"name": "lacres",
|
|
1903
|
+
"description": "Lacres das Unidades de Transporte",
|
|
1904
|
+
"type": "Coleção[1-100]",
|
|
1905
|
+
"required": false,
|
|
1906
|
+
"collection_type": "LacreUnidadeTransporteXML",
|
|
1907
|
+
"collection": {
|
|
1908
|
+
"object_type": "LacreUnidadeTransporteXML",
|
|
1909
|
+
"object_description": "Lacres das Unidades de carga. Tag XML lacUnidCarga",
|
|
1910
|
+
"object_attributes": [
|
|
1911
|
+
{
|
|
1912
|
+
"name": "numero_lacre",
|
|
1913
|
+
"description": "Número do lacre",
|
|
1914
|
+
"type": null,
|
|
1915
|
+
"required": false,
|
|
1916
|
+
"tag": "nLacre"
|
|
1917
|
+
}
|
|
1918
|
+
]
|
|
1919
|
+
}
|
|
1920
|
+
},
|
|
1921
|
+
{
|
|
1922
|
+
"name": "unidades_carga",
|
|
1923
|
+
"description": "Informações das Unidades de Carga (Containeres/ULD/Outros)",
|
|
1924
|
+
"type": "Coleção[1-100]",
|
|
1925
|
+
"required": false,
|
|
1926
|
+
"collection_type": "InfoUnidadeCargaXML",
|
|
1927
|
+
"collection": {
|
|
1928
|
+
"object_type": "InfoUnidadeCargaXML",
|
|
1929
|
+
"object_description": "Informações das Unidades de Carga (Containeres/ULD/Outros). Tag XML infUnidCarga",
|
|
1930
|
+
"object_attributes": [
|
|
1931
|
+
{
|
|
1932
|
+
"name": "tipo",
|
|
1933
|
+
"description": "Tipo da unidade de carga",
|
|
1934
|
+
"type": null,
|
|
1935
|
+
"required": true,
|
|
1936
|
+
"enum": "* +1+: Container\\n* +2+: ULD\\n* +3+: Pallet\\n* +4+: Outros",
|
|
1937
|
+
"tag": "tpUnidCarga"
|
|
1938
|
+
},
|
|
1939
|
+
{
|
|
1940
|
+
"name": "identificacao",
|
|
1941
|
+
"description": "Identificação da Unidade de carga",
|
|
1942
|
+
"type": "String[1-20]",
|
|
1943
|
+
"required": false,
|
|
1944
|
+
"tag": "idUnidCarga"
|
|
1945
|
+
},
|
|
1946
|
+
{
|
|
1947
|
+
"name": "lacres",
|
|
1948
|
+
"description": "Informações das Unidades de Carga (Containeres/ULD/Outros).",
|
|
1949
|
+
"type": "Coleção[0-100]",
|
|
1950
|
+
"required": false,
|
|
1951
|
+
"collection_type": "LacreUnidadeCargaXML",
|
|
1952
|
+
"collection": {
|
|
1953
|
+
"object_type": "LacreUnidadeCargaXML",
|
|
1954
|
+
"object_description": "Lacres das Unidades de carga. Tag XML lacUnidCarga",
|
|
1955
|
+
"object_attributes": [
|
|
1956
|
+
{
|
|
1957
|
+
"name": "numero_lacre",
|
|
1958
|
+
"description": "Número do lacre",
|
|
1959
|
+
"type": "String[1-20]",
|
|
1960
|
+
"required": false,
|
|
1961
|
+
"tag": "nLacre"
|
|
1962
|
+
}
|
|
1963
|
+
]
|
|
1964
|
+
}
|
|
1965
|
+
},
|
|
1966
|
+
{
|
|
1967
|
+
"name": "quantidade_rateada",
|
|
1968
|
+
"description": "Quantidade rateada (Peso,Volume)",
|
|
1969
|
+
"type": "Decimal[3.2]",
|
|
1970
|
+
"required": false,
|
|
1971
|
+
"tag": "qtdRat"
|
|
1972
|
+
}
|
|
1973
|
+
]
|
|
1974
|
+
}
|
|
1975
|
+
},
|
|
1976
|
+
{
|
|
1977
|
+
"name": "quantidade_rateada",
|
|
1978
|
+
"description": "Quantidade rateada (Peso,Volume)",
|
|
1979
|
+
"type": "Decimal[3.2]",
|
|
1980
|
+
"required": false,
|
|
1981
|
+
"tag": "qtdRat"
|
|
1982
|
+
}
|
|
1983
|
+
]
|
|
1984
|
+
}
|
|
1985
|
+
}
|
|
1986
|
+
]
|
|
1987
|
+
}
|
|
1988
|
+
},
|
|
1989
|
+
{
|
|
1990
|
+
"name": "nfes",
|
|
1991
|
+
"description": "Informações da NF-e.",
|
|
1992
|
+
"type": "Coleção[0-1000]",
|
|
1993
|
+
"required": false,
|
|
1994
|
+
"collection_type": "InfoNFeXML",
|
|
1995
|
+
"collection": {
|
|
1996
|
+
"object_type": "InfoNFeXML",
|
|
1997
|
+
"object_description": "Informações da NF-e. Tag XML infNFe.",
|
|
1998
|
+
"object_attributes": [
|
|
1999
|
+
{
|
|
2000
|
+
"name": "chave_nfe",
|
|
2001
|
+
"description": "Chave de acesso da NF-e",
|
|
2002
|
+
"type": "String[44]",
|
|
2003
|
+
"required": true,
|
|
2004
|
+
"tag": "chave"
|
|
2005
|
+
},
|
|
2006
|
+
{
|
|
2007
|
+
"name": "pin_suframa",
|
|
2008
|
+
"description": "PIN SUFRAMA",
|
|
2009
|
+
"type": "String[2-9]",
|
|
2010
|
+
"required": false,
|
|
2011
|
+
"tag": "PIN"
|
|
2012
|
+
},
|
|
2013
|
+
{
|
|
2014
|
+
"name": "data_prevista",
|
|
2015
|
+
"description": "Data prevista de entrega",
|
|
2016
|
+
"type": null,
|
|
2017
|
+
"required": false,
|
|
2018
|
+
"tag": "dPrev"
|
|
2019
|
+
},
|
|
2020
|
+
{
|
|
2021
|
+
"name": "unidades_carga",
|
|
2022
|
+
"description": "Informações das Unidades de Carga (Containeres/ULD/Outros).",
|
|
2023
|
+
"type": "Coleção[0-100]",
|
|
2024
|
+
"required": false,
|
|
2025
|
+
"collection_type": "InfoUnidadeCargaXML",
|
|
2026
|
+
"collection": {
|
|
2027
|
+
"object_type": "InfoUnidadeCargaXML",
|
|
2028
|
+
"object_description": "Informações das Unidades de Carga (Containeres/ULD/Outros). Tag XML infUnidCarga",
|
|
2029
|
+
"object_attributes": [
|
|
2030
|
+
{
|
|
2031
|
+
"name": "tipo",
|
|
2032
|
+
"description": "Tipo da unidade de carga",
|
|
2033
|
+
"type": null,
|
|
2034
|
+
"required": true,
|
|
2035
|
+
"enum": "* +1+: Container\\n* +2+: ULD\\n* +3+: Pallet\\n* +4+: Outros",
|
|
2036
|
+
"tag": "tpUnidCarga"
|
|
2037
|
+
},
|
|
2038
|
+
{
|
|
2039
|
+
"name": "identificacao",
|
|
2040
|
+
"description": "Identificação da Unidade de carga",
|
|
2041
|
+
"type": "String[1-20]",
|
|
2042
|
+
"required": false,
|
|
2043
|
+
"tag": "idUnidCarga"
|
|
2044
|
+
},
|
|
2045
|
+
{
|
|
2046
|
+
"name": "lacres",
|
|
2047
|
+
"description": "Informações das Unidades de Carga (Containeres/ULD/Outros).",
|
|
2048
|
+
"type": "Coleção[0-100]",
|
|
2049
|
+
"required": false,
|
|
2050
|
+
"collection_type": "LacreUnidadeCargaXML",
|
|
2051
|
+
"collection": {
|
|
2052
|
+
"object_type": "LacreUnidadeCargaXML",
|
|
2053
|
+
"object_description": "Lacres das Unidades de carga. Tag XML lacUnidCarga",
|
|
2054
|
+
"object_attributes": [
|
|
2055
|
+
{
|
|
2056
|
+
"name": "numero_lacre",
|
|
2057
|
+
"description": "Número do lacre",
|
|
2058
|
+
"type": "String[1-20]",
|
|
2059
|
+
"required": false,
|
|
2060
|
+
"tag": "nLacre"
|
|
2061
|
+
}
|
|
2062
|
+
]
|
|
2063
|
+
}
|
|
2064
|
+
},
|
|
2065
|
+
{
|
|
2066
|
+
"name": "quantidade_rateada",
|
|
2067
|
+
"description": "Quantidade rateada (Peso,Volume)",
|
|
2068
|
+
"type": "Decimal[3.2]",
|
|
2069
|
+
"required": false,
|
|
2070
|
+
"tag": "qtdRat"
|
|
2071
|
+
}
|
|
2072
|
+
]
|
|
2073
|
+
}
|
|
2074
|
+
},
|
|
2075
|
+
{
|
|
2076
|
+
"name": "unidades_transporte",
|
|
2077
|
+
"description": "Informações das Unidades de Transporte (Carreta/Reboque/Vagão).",
|
|
2078
|
+
"type": "Coleção[0-100]",
|
|
2079
|
+
"required": false,
|
|
2080
|
+
"collection_type": "InfoUnidadeTranporteXML",
|
|
2081
|
+
"collection": {
|
|
2082
|
+
"object_type": "InfoUnidadeTranporteXML",
|
|
2083
|
+
"object_description": "Informações das Unidades de Transporte (Carreta/Reboque/Vagão). Tag XML infUnidTransp",
|
|
2084
|
+
"object_attributes": [
|
|
2085
|
+
{
|
|
2086
|
+
"name": "tipo",
|
|
2087
|
+
"description": "Tipo da Unidade de Transporte",
|
|
2088
|
+
"type": null,
|
|
2089
|
+
"required": true,
|
|
2090
|
+
"enum": "* +1+: Rodoviário Tração\\n* +2+: Rodoviário Reboque\\n* +3+: Navio\\n* +4+: Balsa\\n* +5+: Aeronave\\n* +6+: Vagão\\n* +7+: Outros",
|
|
2091
|
+
"tag": "tpUnidTransp"
|
|
2092
|
+
},
|
|
2093
|
+
{
|
|
2094
|
+
"name": "identificacao",
|
|
2095
|
+
"description": "Identificação da Unidade de Transporte",
|
|
2096
|
+
"type": "String[1-20]",
|
|
2097
|
+
"required": false,
|
|
2098
|
+
"tag": "idUnidTransp"
|
|
2099
|
+
},
|
|
2100
|
+
{
|
|
2101
|
+
"name": "lacres",
|
|
2102
|
+
"description": "Lacres das Unidades de Transporte",
|
|
2103
|
+
"type": "Coleção[1-100]",
|
|
2104
|
+
"required": false,
|
|
2105
|
+
"collection_type": "LacreUnidadeTransporteXML",
|
|
2106
|
+
"collection": {
|
|
2107
|
+
"object_type": "LacreUnidadeTransporteXML",
|
|
2108
|
+
"object_description": "Lacres das Unidades de carga. Tag XML lacUnidCarga",
|
|
2109
|
+
"object_attributes": [
|
|
2110
|
+
{
|
|
2111
|
+
"name": "numero_lacre",
|
|
2112
|
+
"description": "Número do lacre",
|
|
2113
|
+
"type": null,
|
|
2114
|
+
"required": false,
|
|
2115
|
+
"tag": "nLacre"
|
|
2116
|
+
}
|
|
2117
|
+
]
|
|
2118
|
+
}
|
|
2119
|
+
},
|
|
2120
|
+
{
|
|
2121
|
+
"name": "unidades_carga",
|
|
2122
|
+
"description": "Informações das Unidades de Carga (Containeres/ULD/Outros)",
|
|
2123
|
+
"type": "Coleção[1-100]",
|
|
2124
|
+
"required": false,
|
|
2125
|
+
"collection_type": "InfoUnidadeCargaXML",
|
|
2126
|
+
"collection": {
|
|
2127
|
+
"object_type": "InfoUnidadeCargaXML",
|
|
2128
|
+
"object_description": "Informações das Unidades de Carga (Containeres/ULD/Outros). Tag XML infUnidCarga",
|
|
2129
|
+
"object_attributes": [
|
|
2130
|
+
{
|
|
2131
|
+
"name": "tipo",
|
|
2132
|
+
"description": "Tipo da unidade de carga",
|
|
2133
|
+
"type": null,
|
|
2134
|
+
"required": true,
|
|
2135
|
+
"enum": "* +1+: Container\\n* +2+: ULD\\n* +3+: Pallet\\n* +4+: Outros",
|
|
2136
|
+
"tag": "tpUnidCarga"
|
|
2137
|
+
},
|
|
2138
|
+
{
|
|
2139
|
+
"name": "identificacao",
|
|
2140
|
+
"description": "Identificação da Unidade de carga",
|
|
2141
|
+
"type": "String[1-20]",
|
|
2142
|
+
"required": false,
|
|
2143
|
+
"tag": "idUnidCarga"
|
|
2144
|
+
},
|
|
2145
|
+
{
|
|
2146
|
+
"name": "lacres",
|
|
2147
|
+
"description": "Informações das Unidades de Carga (Containeres/ULD/Outros).",
|
|
2148
|
+
"type": "Coleção[0-100]",
|
|
2149
|
+
"required": false,
|
|
2150
|
+
"collection_type": "LacreUnidadeCargaXML",
|
|
2151
|
+
"collection": {
|
|
2152
|
+
"object_type": "LacreUnidadeCargaXML",
|
|
2153
|
+
"object_description": "Lacres das Unidades de carga. Tag XML lacUnidCarga",
|
|
2154
|
+
"object_attributes": [
|
|
2155
|
+
{
|
|
2156
|
+
"name": "numero_lacre",
|
|
2157
|
+
"description": "Número do lacre",
|
|
2158
|
+
"type": "String[1-20]",
|
|
2159
|
+
"required": false,
|
|
2160
|
+
"tag": "nLacre"
|
|
2161
|
+
}
|
|
2162
|
+
]
|
|
2163
|
+
}
|
|
2164
|
+
},
|
|
2165
|
+
{
|
|
2166
|
+
"name": "quantidade_rateada",
|
|
2167
|
+
"description": "Quantidade rateada (Peso,Volume)",
|
|
2168
|
+
"type": "Decimal[3.2]",
|
|
2169
|
+
"required": false,
|
|
2170
|
+
"tag": "qtdRat"
|
|
2171
|
+
}
|
|
2172
|
+
]
|
|
2173
|
+
}
|
|
2174
|
+
},
|
|
2175
|
+
{
|
|
2176
|
+
"name": "quantidade_rateada",
|
|
2177
|
+
"description": "Quantidade rateada (Peso,Volume)",
|
|
2178
|
+
"type": "Decimal[3.2]",
|
|
2179
|
+
"required": false,
|
|
2180
|
+
"tag": "qtdRat"
|
|
2181
|
+
}
|
|
2182
|
+
]
|
|
2183
|
+
}
|
|
2184
|
+
}
|
|
2185
|
+
]
|
|
2186
|
+
}
|
|
2187
|
+
},
|
|
2188
|
+
{
|
|
2189
|
+
"name": "outros_documentos",
|
|
2190
|
+
"description": "Informações dos demais documentos",
|
|
2191
|
+
"type": "Coleção[0-1000]",
|
|
2192
|
+
"required": false,
|
|
2193
|
+
"collection_type": "InfoOutroDocXML",
|
|
2194
|
+
"collection": {
|
|
2195
|
+
"object_type": "InfoOutroDocXML",
|
|
2196
|
+
"object_description": "Informações dos demais documentos. Tag XML infOutros.",
|
|
2197
|
+
"object_attributes": [
|
|
2198
|
+
{
|
|
2199
|
+
"name": "tipo_documento",
|
|
2200
|
+
"description": "Tipo de documento originário",
|
|
2201
|
+
"type": null,
|
|
2202
|
+
"required": true,
|
|
2203
|
+
"enum": "* +00+: Declaração\\n* +10+: Dutoviário\\n* +59+: CF-e SAT\\n* +65+: NFC-e\\n* +99+: Outros",
|
|
2204
|
+
"tag": "tpDoc"
|
|
2205
|
+
},
|
|
2206
|
+
{
|
|
2207
|
+
"name": "descricao_documento",
|
|
2208
|
+
"description": "Descrição quando se tratar de 99-Outros",
|
|
2209
|
+
"type": "String[1-100]",
|
|
2210
|
+
"required": false,
|
|
2211
|
+
"tag": "descOutros"
|
|
2212
|
+
},
|
|
2213
|
+
{
|
|
2214
|
+
"name": "numero",
|
|
2215
|
+
"description": "Número",
|
|
2216
|
+
"type": "String[1-100]",
|
|
2217
|
+
"required": false,
|
|
2218
|
+
"tag": "nDoc"
|
|
2219
|
+
},
|
|
2220
|
+
{
|
|
2221
|
+
"name": "data_emissao",
|
|
2222
|
+
"description": "Data de Emissão",
|
|
2223
|
+
"type": null,
|
|
2224
|
+
"required": false,
|
|
2225
|
+
"tag": "dEmi"
|
|
2226
|
+
},
|
|
2227
|
+
{
|
|
2228
|
+
"name": "valor",
|
|
2229
|
+
"description": "Valor do documento",
|
|
2230
|
+
"type": "Decimal[13.2]",
|
|
2231
|
+
"required": false,
|
|
2232
|
+
"tag": "vDocFisc"
|
|
2233
|
+
},
|
|
2234
|
+
{
|
|
2235
|
+
"name": "data_prevista",
|
|
2236
|
+
"description": "Data prevista de entrega",
|
|
2237
|
+
"type": null,
|
|
2238
|
+
"required": false,
|
|
2239
|
+
"tag": "dPrev"
|
|
2240
|
+
},
|
|
2241
|
+
{
|
|
2242
|
+
"name": "unidades_carga",
|
|
2243
|
+
"description": "Informações das Unidades de Carga (Containeres/ULD/Outros).",
|
|
2244
|
+
"type": "Coleção[0-100]",
|
|
2245
|
+
"required": false,
|
|
2246
|
+
"collection_type": "InfoUnidadeCargaXML",
|
|
2247
|
+
"collection": {
|
|
2248
|
+
"object_type": "InfoUnidadeCargaXML",
|
|
2249
|
+
"object_description": "Informações das Unidades de Carga (Containeres/ULD/Outros). Tag XML infUnidCarga",
|
|
2250
|
+
"object_attributes": [
|
|
2251
|
+
{
|
|
2252
|
+
"name": "tipo",
|
|
2253
|
+
"description": "Tipo da unidade de carga",
|
|
2254
|
+
"type": null,
|
|
2255
|
+
"required": true,
|
|
2256
|
+
"enum": "* +1+: Container\\n* +2+: ULD\\n* +3+: Pallet\\n* +4+: Outros",
|
|
2257
|
+
"tag": "tpUnidCarga"
|
|
2258
|
+
},
|
|
2259
|
+
{
|
|
2260
|
+
"name": "identificacao",
|
|
2261
|
+
"description": "Identificação da Unidade de carga",
|
|
2262
|
+
"type": "String[1-20]",
|
|
2263
|
+
"required": false,
|
|
2264
|
+
"tag": "idUnidCarga"
|
|
2265
|
+
},
|
|
2266
|
+
{
|
|
2267
|
+
"name": "lacres",
|
|
2268
|
+
"description": "Informações das Unidades de Carga (Containeres/ULD/Outros).",
|
|
2269
|
+
"type": "Coleção[0-100]",
|
|
2270
|
+
"required": false,
|
|
2271
|
+
"collection_type": "LacreUnidadeCargaXML",
|
|
2272
|
+
"collection": {
|
|
2273
|
+
"object_type": "LacreUnidadeCargaXML",
|
|
2274
|
+
"object_description": "Lacres das Unidades de carga. Tag XML lacUnidCarga",
|
|
2275
|
+
"object_attributes": [
|
|
2276
|
+
{
|
|
2277
|
+
"name": "numero_lacre",
|
|
2278
|
+
"description": "Número do lacre",
|
|
2279
|
+
"type": "String[1-20]",
|
|
2280
|
+
"required": false,
|
|
2281
|
+
"tag": "nLacre"
|
|
2282
|
+
}
|
|
2283
|
+
]
|
|
2284
|
+
}
|
|
2285
|
+
},
|
|
2286
|
+
{
|
|
2287
|
+
"name": "quantidade_rateada",
|
|
2288
|
+
"description": "Quantidade rateada (Peso,Volume)",
|
|
2289
|
+
"type": "Decimal[3.2]",
|
|
2290
|
+
"required": false,
|
|
2291
|
+
"tag": "qtdRat"
|
|
2292
|
+
}
|
|
2293
|
+
]
|
|
2294
|
+
}
|
|
2295
|
+
},
|
|
2296
|
+
{
|
|
2297
|
+
"name": "unidades_transporte",
|
|
2298
|
+
"description": "Informações das Unidades de Transporte (Carreta/Reboque/Vagão).",
|
|
2299
|
+
"type": "Coleção[0-100]",
|
|
2300
|
+
"required": false,
|
|
2301
|
+
"collection_type": "InfoUnidadeTranporteXML",
|
|
2302
|
+
"collection": {
|
|
2303
|
+
"object_type": "InfoUnidadeTranporteXML",
|
|
2304
|
+
"object_description": "Informações das Unidades de Transporte (Carreta/Reboque/Vagão). Tag XML infUnidTransp",
|
|
2305
|
+
"object_attributes": [
|
|
2306
|
+
{
|
|
2307
|
+
"name": "tipo",
|
|
2308
|
+
"description": "Tipo da Unidade de Transporte",
|
|
2309
|
+
"type": null,
|
|
2310
|
+
"required": true,
|
|
2311
|
+
"enum": "* +1+: Rodoviário Tração\\n* +2+: Rodoviário Reboque\\n* +3+: Navio\\n* +4+: Balsa\\n* +5+: Aeronave\\n* +6+: Vagão\\n* +7+: Outros",
|
|
2312
|
+
"tag": "tpUnidTransp"
|
|
2313
|
+
},
|
|
2314
|
+
{
|
|
2315
|
+
"name": "identificacao",
|
|
2316
|
+
"description": "Identificação da Unidade de Transporte",
|
|
2317
|
+
"type": "String[1-20]",
|
|
2318
|
+
"required": false,
|
|
2319
|
+
"tag": "idUnidTransp"
|
|
2320
|
+
},
|
|
2321
|
+
{
|
|
2322
|
+
"name": "lacres",
|
|
2323
|
+
"description": "Lacres das Unidades de Transporte",
|
|
2324
|
+
"type": "Coleção[1-100]",
|
|
2325
|
+
"required": false,
|
|
2326
|
+
"collection_type": "LacreUnidadeTransporteXML",
|
|
2327
|
+
"collection": {
|
|
2328
|
+
"object_type": "LacreUnidadeTransporteXML",
|
|
2329
|
+
"object_description": "Lacres das Unidades de carga. Tag XML lacUnidCarga",
|
|
2330
|
+
"object_attributes": [
|
|
2331
|
+
{
|
|
2332
|
+
"name": "numero_lacre",
|
|
2333
|
+
"description": "Número do lacre",
|
|
2334
|
+
"type": null,
|
|
2335
|
+
"required": false,
|
|
2336
|
+
"tag": "nLacre"
|
|
2337
|
+
}
|
|
2338
|
+
]
|
|
2339
|
+
}
|
|
2340
|
+
},
|
|
2341
|
+
{
|
|
2342
|
+
"name": "unidades_carga",
|
|
2343
|
+
"description": "Informações das Unidades de Carga (Containeres/ULD/Outros)",
|
|
2344
|
+
"type": "Coleção[1-100]",
|
|
2345
|
+
"required": false,
|
|
2346
|
+
"collection_type": "InfoUnidadeCargaXML",
|
|
2347
|
+
"collection": {
|
|
2348
|
+
"object_type": "InfoUnidadeCargaXML",
|
|
2349
|
+
"object_description": "Informações das Unidades de Carga (Containeres/ULD/Outros). Tag XML infUnidCarga",
|
|
2350
|
+
"object_attributes": [
|
|
2351
|
+
{
|
|
2352
|
+
"name": "tipo",
|
|
2353
|
+
"description": "Tipo da unidade de carga",
|
|
2354
|
+
"type": null,
|
|
2355
|
+
"required": true,
|
|
2356
|
+
"enum": "* +1+: Container\\n* +2+: ULD\\n* +3+: Pallet\\n* +4+: Outros",
|
|
2357
|
+
"tag": "tpUnidCarga"
|
|
2358
|
+
},
|
|
2359
|
+
{
|
|
2360
|
+
"name": "identificacao",
|
|
2361
|
+
"description": "Identificação da Unidade de carga",
|
|
2362
|
+
"type": "String[1-20]",
|
|
2363
|
+
"required": false,
|
|
2364
|
+
"tag": "idUnidCarga"
|
|
2365
|
+
},
|
|
2366
|
+
{
|
|
2367
|
+
"name": "lacres",
|
|
2368
|
+
"description": "Informações das Unidades de Carga (Containeres/ULD/Outros).",
|
|
2369
|
+
"type": "Coleção[0-100]",
|
|
2370
|
+
"required": false,
|
|
2371
|
+
"collection_type": "LacreUnidadeCargaXML",
|
|
2372
|
+
"collection": {
|
|
2373
|
+
"object_type": "LacreUnidadeCargaXML",
|
|
2374
|
+
"object_description": "Lacres das Unidades de carga. Tag XML lacUnidCarga",
|
|
2375
|
+
"object_attributes": [
|
|
2376
|
+
{
|
|
2377
|
+
"name": "numero_lacre",
|
|
2378
|
+
"description": "Número do lacre",
|
|
2379
|
+
"type": "String[1-20]",
|
|
2380
|
+
"required": false,
|
|
2381
|
+
"tag": "nLacre"
|
|
2382
|
+
}
|
|
2383
|
+
]
|
|
2384
|
+
}
|
|
2385
|
+
},
|
|
2386
|
+
{
|
|
2387
|
+
"name": "quantidade_rateada",
|
|
2388
|
+
"description": "Quantidade rateada (Peso,Volume)",
|
|
2389
|
+
"type": "Decimal[3.2]",
|
|
2390
|
+
"required": false,
|
|
2391
|
+
"tag": "qtdRat"
|
|
2392
|
+
}
|
|
2393
|
+
]
|
|
2394
|
+
}
|
|
2395
|
+
},
|
|
2396
|
+
{
|
|
2397
|
+
"name": "quantidade_rateada",
|
|
2398
|
+
"description": "Quantidade rateada (Peso,Volume)",
|
|
2399
|
+
"type": "Decimal[3.2]",
|
|
2400
|
+
"required": false,
|
|
2401
|
+
"tag": "qtdRat"
|
|
2402
|
+
}
|
|
2403
|
+
]
|
|
2404
|
+
}
|
|
2405
|
+
}
|
|
2406
|
+
]
|
|
2407
|
+
}
|
|
2408
|
+
},
|
|
2409
|
+
{
|
|
2410
|
+
"name": "dces",
|
|
2411
|
+
"description": "Informações das DCe",
|
|
2412
|
+
"type": "Coleção[0-1000]",
|
|
2413
|
+
"required": false,
|
|
2414
|
+
"collection_type": "InfoDCeXML",
|
|
2415
|
+
"collection": {
|
|
2416
|
+
"object_type": "InfoDCeXML",
|
|
2417
|
+
"object_description": "Informações das DCe. Tag XML infDCe.",
|
|
2418
|
+
"object_attributes": [
|
|
2419
|
+
{
|
|
2420
|
+
"name": "chave_dce",
|
|
2421
|
+
"description": "Chave de acesso da DCe",
|
|
2422
|
+
"type": "String[44]",
|
|
2423
|
+
"required": true,
|
|
2424
|
+
"tag": "chave"
|
|
2425
|
+
}
|
|
2426
|
+
]
|
|
2427
|
+
}
|
|
2428
|
+
},
|
|
2429
|
+
{
|
|
2430
|
+
"name": "emissores_documento_transporte_anterior",
|
|
2431
|
+
"description": "Emissores do documento de transporte anterior",
|
|
2432
|
+
"type": "Coleção[0-N]",
|
|
2433
|
+
"required": false,
|
|
2434
|
+
"collection_type": "EmissorDocumentoTransporteAnteriorXML",
|
|
2435
|
+
"collection": {
|
|
2436
|
+
"object_type": "EmissorDocumentoTransporteAnteriorXML",
|
|
2437
|
+
"object_description": "Emissores do documento de transporte anterior. Tag XML emiDocAnt.",
|
|
2438
|
+
"object_attributes": [
|
|
2439
|
+
{
|
|
2440
|
+
"name": "cnpj",
|
|
2441
|
+
"description": "CNPJ do emissor anterior. Omitir caso o emissor seja pessoa física e informar a tag 'cpf_emissor_anterior'. Em caso de empresa não estabelecida no Brasil, será informado o CNPJ com zeros.",
|
|
2442
|
+
"type": "String[14]",
|
|
2443
|
+
"required": false,
|
|
2444
|
+
"tag": "CNPJ"
|
|
2445
|
+
},
|
|
2446
|
+
{
|
|
2447
|
+
"name": "cpf",
|
|
2448
|
+
"description": "CPF do emissor anterior. Omitir caso o emissor seja pessoa jurídica e informar a tag 'cnpj_emissor_anterior'.",
|
|
2449
|
+
"type": "Integer[11]",
|
|
2450
|
+
"required": false,
|
|
2451
|
+
"tag": "CPF"
|
|
2452
|
+
},
|
|
2453
|
+
{
|
|
2454
|
+
"name": "inscricao_estadual",
|
|
2455
|
+
"description": "Inscrição Estadual do emissor anterior.",
|
|
2456
|
+
"type": "Integer[14]",
|
|
2457
|
+
"required": false,
|
|
2458
|
+
"tag": "IE"
|
|
2459
|
+
},
|
|
2460
|
+
{
|
|
2461
|
+
"name": "uf",
|
|
2462
|
+
"description": "UF do emissor anterior.",
|
|
2463
|
+
"type": "String[2]",
|
|
2464
|
+
"required": false,
|
|
2465
|
+
"tag": "UF"
|
|
2466
|
+
},
|
|
2467
|
+
{
|
|
2468
|
+
"name": "razao_social",
|
|
2469
|
+
"description": "Razão Social ou nome do expedidor.",
|
|
2470
|
+
"type": "String[2-60]",
|
|
2471
|
+
"required": true,
|
|
2472
|
+
"tag": "xNome"
|
|
2473
|
+
},
|
|
2474
|
+
{
|
|
2475
|
+
"name": "identificacoes_documentos",
|
|
2476
|
+
"description": "Informações de identificação dos documentos de Transporte Anterior. Tag XML idDocAnt.",
|
|
2477
|
+
"type": "Coleção[1-2]",
|
|
2478
|
+
"required": false,
|
|
2479
|
+
"collection_type": "IdentificacaoDocumentoTransporteAnteriorXML",
|
|
2480
|
+
"collection": {
|
|
2481
|
+
"object_type": "IdentificacaoDocumentoTransporteAnteriorXML",
|
|
2482
|
+
"object_description": "Informações de identificação dos documentos de Transporte Anterior. Tag XML idDocAnt.",
|
|
2483
|
+
"object_attributes": [
|
|
2484
|
+
{
|
|
2485
|
+
"name": "documentos_papel",
|
|
2486
|
+
"description": "Documentos de transporte anterior em papel",
|
|
2487
|
+
"type": "Coleção[1-100]",
|
|
2488
|
+
"required": false,
|
|
2489
|
+
"collection_type": "DocumentoTransporteAnteriorPapelXML",
|
|
2490
|
+
"collection": {
|
|
2491
|
+
"object_type": "DocumentoTransporteAnteriorPapelXML",
|
|
2492
|
+
"object_description": "Documentos de transporte anterior em papel. Tag XML idDocAntPap.",
|
|
2493
|
+
"object_attributes": [
|
|
2494
|
+
{
|
|
2495
|
+
"name": "tipo_documento",
|
|
2496
|
+
"description": "Tipo do Documento de Transporte Anterior",
|
|
2497
|
+
"type": null,
|
|
2498
|
+
"required": true,
|
|
2499
|
+
"enum": "* +07+: ATRE;\\n* +08+: DTA (Despacho de Transito Aduaneiro);\\n* +09+: Conhecimento Aéreo Internacional;\\n* +10+: Conhecimento - Carta de Porte Internacional;\\n* +11+: Conhecimento Avulso;\\n* +12+: TIF (Transporte Internacional Ferroviário);\\n* +13+: BL (Bill of Lading)",
|
|
2500
|
+
"tag": "tpDoc"
|
|
2501
|
+
},
|
|
2502
|
+
{
|
|
2503
|
+
"name": "serie",
|
|
2504
|
+
"description": "Série do Documento Fiscal",
|
|
2505
|
+
"type": "String[1-3]",
|
|
2506
|
+
"required": false,
|
|
2507
|
+
"tag": "serie"
|
|
2508
|
+
},
|
|
2509
|
+
{
|
|
2510
|
+
"name": "subserie",
|
|
2511
|
+
"description": "SubSérie do Documento Fiscal",
|
|
2512
|
+
"type": "String[1-2]",
|
|
2513
|
+
"required": false,
|
|
2514
|
+
"tag": "subser"
|
|
2515
|
+
},
|
|
2516
|
+
{
|
|
2517
|
+
"name": "numero_documento",
|
|
2518
|
+
"description": "Número do Documento Fiscal",
|
|
2519
|
+
"type": "String[1-40]",
|
|
2520
|
+
"required": false,
|
|
2521
|
+
"tag": "nDoc"
|
|
2522
|
+
},
|
|
2523
|
+
{
|
|
2524
|
+
"name": "data_emissao",
|
|
2525
|
+
"description": "Data de emissão",
|
|
2526
|
+
"type": null,
|
|
2527
|
+
"required": false,
|
|
2528
|
+
"tag": "dEmi"
|
|
2529
|
+
}
|
|
2530
|
+
]
|
|
2531
|
+
}
|
|
2532
|
+
},
|
|
2533
|
+
{
|
|
2534
|
+
"name": "documentos_eletronicos",
|
|
2535
|
+
"description": "Documentos de transporte anterior eletrônicos",
|
|
2536
|
+
"type": "Coleção[1-100]",
|
|
2537
|
+
"required": false,
|
|
2538
|
+
"collection_type": "DocumentoTransporteAnteriorEletronicoXML",
|
|
2539
|
+
"collection": {
|
|
2540
|
+
"object_type": "DocumentoTransporteAnteriorEletronicoXML",
|
|
2541
|
+
"object_description": "Documentos de transporte anterior eletrônicos. Tag XML idDocAntEle.",
|
|
2542
|
+
"object_attributes": [
|
|
2543
|
+
{
|
|
2544
|
+
"name": "chave_cte",
|
|
2545
|
+
"description": "Chave de acesso do CT-e",
|
|
2546
|
+
"type": "String[44]",
|
|
2547
|
+
"required": false,
|
|
2548
|
+
"tag": "chCTe"
|
|
2549
|
+
}
|
|
2550
|
+
]
|
|
2551
|
+
}
|
|
2552
|
+
}
|
|
2553
|
+
]
|
|
2554
|
+
}
|
|
2555
|
+
}
|
|
2556
|
+
]
|
|
2557
|
+
}
|
|
2558
|
+
},
|
|
2559
|
+
{
|
|
2560
|
+
"name": "veiculos_transportados",
|
|
2561
|
+
"description": "Informações dos veículos novos transportados",
|
|
2562
|
+
"type": "Coleção[0-100]",
|
|
2563
|
+
"required": false,
|
|
2564
|
+
"collection_type": "InfoVeiculoTransportadoXML",
|
|
2565
|
+
"collection": {
|
|
2566
|
+
"object_type": "InfoVeiculoTransportadoXML",
|
|
2567
|
+
"object_description": "informações dos veículos novos transportados. Tag XML veicNovos.",
|
|
2568
|
+
"object_attributes": [
|
|
2569
|
+
{
|
|
2570
|
+
"name": "chassi",
|
|
2571
|
+
"description": "Chassi do veículo",
|
|
2572
|
+
"type": "String[17]",
|
|
2573
|
+
"required": false,
|
|
2574
|
+
"tag": "chassi"
|
|
2575
|
+
},
|
|
2576
|
+
{
|
|
2577
|
+
"name": "codigo_cor",
|
|
2578
|
+
"description": "Cor do veículo",
|
|
2579
|
+
"type": "String[1-4]",
|
|
2580
|
+
"required": false,
|
|
2581
|
+
"tag": "cCor"
|
|
2582
|
+
},
|
|
2583
|
+
{
|
|
2584
|
+
"name": "nome_cor",
|
|
2585
|
+
"description": "Descrição da cor",
|
|
2586
|
+
"type": "String[1-40]",
|
|
2587
|
+
"required": false,
|
|
2588
|
+
"tag": "xCor"
|
|
2589
|
+
},
|
|
2590
|
+
{
|
|
2591
|
+
"name": "codigo_modelo",
|
|
2592
|
+
"description": "Código Marca Modelo",
|
|
2593
|
+
"type": "String[1-6]",
|
|
2594
|
+
"required": false,
|
|
2595
|
+
"tag": "cMod"
|
|
2596
|
+
},
|
|
2597
|
+
{
|
|
2598
|
+
"name": "valor_unitario",
|
|
2599
|
+
"description": "Valor Unitário do Veículo",
|
|
2600
|
+
"type": "Decimal[13.2]",
|
|
2601
|
+
"required": false,
|
|
2602
|
+
"tag": "vUnit"
|
|
2603
|
+
},
|
|
2604
|
+
{
|
|
2605
|
+
"name": "frete_unitario",
|
|
2606
|
+
"description": "Frete Unitário",
|
|
2607
|
+
"type": "Decimal[13.2]",
|
|
2608
|
+
"required": false,
|
|
2609
|
+
"tag": "vFrete"
|
|
2610
|
+
}
|
|
2611
|
+
]
|
|
2612
|
+
}
|
|
2613
|
+
},
|
|
2614
|
+
{
|
|
2615
|
+
"name": "numero_fatura",
|
|
2616
|
+
"description": "Número da fatura",
|
|
2617
|
+
"type": "String[1-60]",
|
|
2618
|
+
"required": false,
|
|
2619
|
+
"tag": "nFat"
|
|
2620
|
+
},
|
|
2621
|
+
{
|
|
2622
|
+
"name": "valor_original_fatura",
|
|
2623
|
+
"description": "Valor original da fatura",
|
|
2624
|
+
"type": "Decimal[13.2]",
|
|
2625
|
+
"required": false,
|
|
2626
|
+
"tag": "vOrig"
|
|
2627
|
+
},
|
|
2628
|
+
{
|
|
2629
|
+
"name": "valor_desconto_fatura",
|
|
2630
|
+
"description": "Valor do desconto da fatura",
|
|
2631
|
+
"type": "Decimal[13.2]",
|
|
2632
|
+
"required": false,
|
|
2633
|
+
"tag": "vDesc"
|
|
2634
|
+
},
|
|
2635
|
+
{
|
|
2636
|
+
"name": "valor_liquido_fatura",
|
|
2637
|
+
"description": "Valor líquido da fatura",
|
|
2638
|
+
"type": "Decimal[13.2]",
|
|
2639
|
+
"required": false,
|
|
2640
|
+
"tag": "vLiq"
|
|
2641
|
+
},
|
|
2642
|
+
{
|
|
2643
|
+
"name": "duplicatas",
|
|
2644
|
+
"description": "Dados das duplicatas",
|
|
2645
|
+
"type": "Coleção[1-100]",
|
|
2646
|
+
"required": false,
|
|
2647
|
+
"collection_type": "DadoDuplicataXML",
|
|
2648
|
+
"collection": {
|
|
2649
|
+
"object_type": "DadoDuplicataXML",
|
|
2650
|
+
"object_description": "Dados das duplicatas. Tag XML dup.",
|
|
2651
|
+
"object_attributes": [
|
|
2652
|
+
{
|
|
2653
|
+
"name": "numero",
|
|
2654
|
+
"description": "Número da duplicata",
|
|
2655
|
+
"type": "String[1-60]",
|
|
2656
|
+
"required": false,
|
|
2657
|
+
"tag": "nDup"
|
|
2658
|
+
},
|
|
2659
|
+
{
|
|
2660
|
+
"name": "data_vencimento",
|
|
2661
|
+
"description": "Data de vencimento da duplicata",
|
|
2662
|
+
"type": null,
|
|
2663
|
+
"required": false,
|
|
2664
|
+
"tag": "dVenc"
|
|
2665
|
+
},
|
|
2666
|
+
{
|
|
2667
|
+
"name": "valor",
|
|
2668
|
+
"description": "Valor da duplicata",
|
|
2669
|
+
"type": "Decimal[13.2]",
|
|
2670
|
+
"required": false,
|
|
2671
|
+
"tag": "vDup"
|
|
2672
|
+
}
|
|
2673
|
+
]
|
|
2674
|
+
}
|
|
2675
|
+
},
|
|
2676
|
+
{
|
|
2677
|
+
"name": "chave_cte_original_sub",
|
|
2678
|
+
"description": "CTe Substituição: Chave de acesso do CT-e a ser substituído (original)",
|
|
2679
|
+
"type": "String[44]",
|
|
2680
|
+
"required": false,
|
|
2681
|
+
"tag": "chCte"
|
|
2682
|
+
},
|
|
2683
|
+
{
|
|
2684
|
+
"name": "indicador_cte_alteracao_tomador",
|
|
2685
|
+
"description": "Indicador de CT-e Alteração de Tomador. Informar apenas valor \"1\" quando houver alteração do tomador. Não informar se não houver alteração.",
|
|
2686
|
+
"type": "String[1]",
|
|
2687
|
+
"required": false,
|
|
2688
|
+
"tag": "indAlteraToma"
|
|
2689
|
+
},
|
|
2690
|
+
{
|
|
2691
|
+
"name": "informacoes_cte_globalizado",
|
|
2692
|
+
"description": "Preencher com informações adicionais, legislação do regime especial, etc",
|
|
2693
|
+
"type": "String[15-256]",
|
|
2694
|
+
"required": false,
|
|
2695
|
+
"tag": "xObs"
|
|
2696
|
+
},
|
|
2697
|
+
{
|
|
2698
|
+
"name": "ctes_multimodais_vinculados",
|
|
2699
|
+
"description": "Informações do CT-e multimodal vinculado",
|
|
2700
|
+
"type": "Coleção[0-100]",
|
|
2701
|
+
"required": false,
|
|
2702
|
+
"collection_type": "InfoCTeMultimodalVinculadoXML",
|
|
2703
|
+
"collection": {
|
|
2704
|
+
"object_type": "InfoCTeMultimodalVinculadoXML",
|
|
2705
|
+
"object_description": "Informações do CT-e Multimodal. Tag XML infCTeMultimodal.",
|
|
2706
|
+
"object_attributes": [
|
|
2707
|
+
{
|
|
2708
|
+
"name": "chave_cte_multimodal",
|
|
2709
|
+
"description": "Chave de acesso do CT-e Multimodal",
|
|
2710
|
+
"type": "String[44]",
|
|
2711
|
+
"required": false,
|
|
2712
|
+
"tag": "chCTeMultimodal"
|
|
2713
|
+
}
|
|
2714
|
+
]
|
|
2715
|
+
}
|
|
2716
|
+
},
|
|
2717
|
+
{
|
|
2718
|
+
"name": "chave_cte_complementado",
|
|
2719
|
+
"description": "Chave do CT-e complementado",
|
|
2720
|
+
"type": "String[44]",
|
|
2721
|
+
"required": false,
|
|
2722
|
+
"tag": "chCTe"
|
|
2723
|
+
},
|
|
2724
|
+
{
|
|
2725
|
+
"name": "chave_cte_original_anulado",
|
|
2726
|
+
"description": "CTe Anulação: Chave de acesso do CT-e original a ser anulado e substituído",
|
|
2727
|
+
"type": "String[44]",
|
|
2728
|
+
"required": false,
|
|
2729
|
+
"tag": "chCte"
|
|
2730
|
+
},
|
|
2731
|
+
{
|
|
2732
|
+
"name": "data_declaracao_anulacao",
|
|
2733
|
+
"description": "CTe Anulação: Data de emissão da declaração do tomador não contribuinte do ICMS",
|
|
2734
|
+
"type": null,
|
|
2735
|
+
"required": false,
|
|
2736
|
+
"tag": "dEmi"
|
|
2737
|
+
},
|
|
2738
|
+
{
|
|
2739
|
+
"name": "pessoas_autorizadas",
|
|
2740
|
+
"description": "Pessoas autorizadas a acessar o XML da CT-e",
|
|
2741
|
+
"type": "Coleção[0-10]",
|
|
2742
|
+
"required": false,
|
|
2743
|
+
"collection_type": "PessoaAutorizadaXML",
|
|
2744
|
+
"collection": {
|
|
2745
|
+
"object_type": "PessoaAutorizadaXML",
|
|
2746
|
+
"object_description": "Pessoa autorizada a acessar o XML da CT-e. Tag XML autXML",
|
|
2747
|
+
"object_attributes": [
|
|
2748
|
+
{
|
|
2749
|
+
"name": "cnpj",
|
|
2750
|
+
"description": "CNPJ autorizado",
|
|
2751
|
+
"type": "String[14]",
|
|
2752
|
+
"required": false,
|
|
2753
|
+
"tag": "CNPJ"
|
|
2754
|
+
},
|
|
2755
|
+
{
|
|
2756
|
+
"name": "cpf",
|
|
2757
|
+
"description": "CPF autorizado",
|
|
2758
|
+
"type": "Integer[11]",
|
|
2759
|
+
"required": false,
|
|
2760
|
+
"tag": "CPF"
|
|
2761
|
+
}
|
|
2762
|
+
]
|
|
2763
|
+
}
|
|
2764
|
+
},
|
|
2765
|
+
{
|
|
2766
|
+
"name": "cnpj_responsavel_tecnico",
|
|
2767
|
+
"description": "CNPJ da pessoa a ser contatada na empresa desenvolvedora do sistema utilizado na emissão do documento fiscal eletrônico",
|
|
2768
|
+
"type": "String[14]",
|
|
2769
|
+
"required": false,
|
|
2770
|
+
"tag": "CNPJ"
|
|
2771
|
+
},
|
|
2772
|
+
{
|
|
2773
|
+
"name": "contato_responsavel_tecnico",
|
|
2774
|
+
"description": "Nome da pessoa a ser contatada na empresa desenvolvedora do sistema",
|
|
2775
|
+
"type": "String[2-60]",
|
|
2776
|
+
"required": false,
|
|
2777
|
+
"tag": "xContato"
|
|
2778
|
+
},
|
|
2779
|
+
{
|
|
2780
|
+
"name": "email_responsavel_tecnico",
|
|
2781
|
+
"description": "E-mail da pessoa a ser contatada na empresa desenvolvedora do sistema",
|
|
2782
|
+
"type": "String[6-60]",
|
|
2783
|
+
"required": false,
|
|
2784
|
+
"tag": "email"
|
|
2785
|
+
},
|
|
2786
|
+
{
|
|
2787
|
+
"name": "telefone_responsavel_tecnico",
|
|
2788
|
+
"description": "Telefone da pessoa a ser contatada na empresa desenvolvedora do sistema",
|
|
2789
|
+
"type": "String[6-14]",
|
|
2790
|
+
"required": false,
|
|
2791
|
+
"tag": "fone"
|
|
2792
|
+
}
|
|
2793
|
+
]
|