Árvore de páginas

Versões comparadas

Chave

  • Esta linha foi adicionada.
  • Esta linha foi removida.
  • A formatação mudou.

...

Deck of Cards
effectDuration0
idJsonEntrada1
Card
effectDuration0
id1
labelVersão 1
Bloco de código
languagexml
themeMidnight
titleJSON Entrada v1
collapsetrue
{
    "content": [
        {
            "Items": [
                {
                    "Manifest": [
                        {
                            "Length": 8,
                            "id": "ManifestNumber",
                            "Description": "Código agrupador/Romaneio",
                            "value": "01      ",
                            "Type": "string"
                        },
                        {
                            "Length": 14,
                            "id": "CarrierCode",
                            "Description": "Transportador a ser considerado no cálculo",
                            "value": "              ",
                            "Type": "string"
                        },
                        {
                            "Length": 10,
                            "id": "TypeOfVehicle",
                            "Description": "Tipo de Veículo",
                            "value": "          ",
                            "Type": "string"
                        },
                        {
                            "Length": 4,
                            "id": "FreightClassification",
                            "Description": "Classificação de frete",
                            "value": "    ",
                            "Type": "string"
                        },
                        {
                            "Length": 10,
                            "id": "OperationType",
                            "Description": "Tipo de Operação",
                            "value": "          ",
                            "Type": "string"
                        },
						{
							"Length": 20,
							"id": "BaseDate",
							"Description": "Data Base para cálculo",
							"value": "2024-08-15T00:00:00"
							"Type": "string"
						}
                    ],
                    "id": "1",
                    "ItemsDocumentBurden": [
                        {
                            "Items": [
                                {
                                    "Length": 14,
                                    "id": "IssuerCode",
                                    "Description": "Emitente do Documento de Carga/Nota Fiscal",
                                    "value": "              ",
                                    "Type": "string"
                                },
                                {
                                    "Length": 3,
                                    "id": "InvoiceSerie",
                                    "Description": "Série do Documento de Carga/Nota Fiscal",
                                    "value": "   ",
                                    "Type": "string"
                                },
                                {
                                    "Length": 16,
                                    "id": "InvoiceNumber",
                                    "Description": "Número do Documento de Carga/Nota Fiscal",
                                    "value": "00001           ",
                                    "Type": "string"
                                },
                                {
                                    "Length": 5,
                                    "id": "TypeOfDocument",
                                    "Description": "Tipo do Documento de Carga/Nota Fiscal",
                                    "value": "     ",
                                    "Type": "string"
                                },
                                {
                                    "Length": 15,
                                    "id": "ItemCode",
                                    "Description": "Código do Item do Documento de Carga/Nota Fiscal",
                                    "value": "ItemA          ",
                                    "Type": "string"
                                },
                                {
                                    "Length": 4,
                                    "id": "FreightClassification",
                                    "Description": "Classificação de Frete do Item Documento de Carga/Nota Fiscal",
                                    "value": "    ",
                                    "Type": "string"
                                },
                                {
                                    "Length": 4,
                                    "id": "ItemType",
                                    "Description": "Tipo do Item do Documento de Carga/Nota Fiscal",
                                    "value": "    ",
                                    "Type": "string"
                                },
                                {
                                    "Length": 13.5,
                                    "id": "Quantity",
                                    "Description": "Quantidade do Item",
                                    "value": 0,
                                    "Type": "double"
                                },
                                {
                                    "Length": 13.5,
                                    "id": "Weight",
                                    "Description": "Peso do Item",
                                    "value": 100,
                                    "Type": "double"
                                },
                                {
                                    "Length": 13.5,
                                    "id": "NetWeight",
                                    "Description": "Peso Cubado",
                                    "value": 0,
                                    "Type": "double"
                                },
                                {
                                    "Length": 13.5,
                                    "id": "AlternativeQuantity",
                                    "Description": "Quantidade/Peso Alternativa",
                                    "value": 0,
                                    "Type": "double"
                                },
                                {
                                    "Length": 11.2,
                                    "id": "NetPrice",
                                    "Description": "Valor do Item",
                                    "value": 100,
                                    "Type": "double"
                                },
                                {
                                    "Length": 11.5,
                                    "id": "CubicVolume",
                                    "Description": "Volume Ocupado (m3)",
                                    "value": 0,
                                    "Type": "double"
                                }
                            ],
                            "id": "1"
                        }
                    ],
                    "Route": [
                        {
                            "Items": [
                                {
                                    "Length": 14,
                                    "id": "IssuerCode",
                                    "Description": "Emitente do Documento de Carga/Nota Fiscal",
                                    "value": "              ",
                                    "Type": "string"
                                },
                                {
                                    "Length": 3,
                                    "id": "InvoiceSerie",
                                    "Description": "Série do Documento de Carga/Nota Fiscal",
                                    "value": "   ",
                                    "Type": "string"
                                },
                                {
                                    "Length": 16,
                                    "id": "InvoiceNumber",
                                    "Description": "Número do Documento de Carga/Nota Fiscal",
                                    "value": "00001           ",
                                    "Type": "string"
                                },
                                {
                                    "Length": 5,
                                    "id": "TypeOfDocument",
                                    "Description": "Tipo de Documento de Carga/Nota Fiscal",
                                    "value": "     ",
                                    "Type": "string"
                                },
                                {
                                    "Length": 2,
                                    "id": "Sequence",
                                    "Description": "Sequência do Trecho. Serial único",
                                    "value": "01",
                                    "Type": "string"
                                },
                                {
                                    "Length": 14,
                                    "id": "CarrierCode",
                                    "Description": "Transportador do Trecho",
                                    "value": "              ",
                                    "Type": "string"
                                },
                                {
                                    "Length": 7,
                                    "id": "CityCodeDelivery",
                                    "Description": "Cidade de Destino",
                                    "value": "       ",
                                    "Type": "string"
                                },
                                {
                                    "Length": 10,
                                    "id": "TypeOfVehicle",
                                    "Description": "Tipo de veículo do trecho",
                                    "value": "          ",
                                    "Type": "string"
                                },
                                {
                                    "Length": 7,
                                    "id": "CityCodeOrigin",
                                    "Description": "Número Cidade Origem",
                                    "value": "       ",
                                    "Type": "string"
                                },
                                {
                                    "Length": 8,
                                    "id": "ZipCodeOrigin",
                                    "Description": "CEP de Origem",
                                    "value": "        ",
                                    "Type": "string"
                                },
                                {
                                    "Length": 8,
                                    "id": "ZipCodeDelivery",
                                    "Description": "CEP de Destino",
                                    "value": "        ",
                                    "Type": "string"
                                },
                                {
                                    "Length": 4,
                                    "id": "FreightClassification",
                                    "Description": "Classificação de Frete",
                                    "value": "    ",
                                    "Type": "string"
                                },
                                {
                                    "Length": 10,
                                    "id": "OperationType",
                                    "Description": "Tipo de Operação",
                                    "value": "          ",
                                    "Type": "string"
                                }
                            ],
                            "id": "1"
                        }
                    ],
                    "DocumentBurden": [
                        {
                            "Items": [
                                {
                                    "Length": 8,
                                    "id": "ManifestNumber",
                                    "Description": "Código agrupador/Romaneio",
                                    "value": "01      ",
                                    "Type": "string"
                                },
                                {
                                    "Length": 14,
                                    "id": "IssuerCode",
                                    "Description": "Emitente do Documento de Carga/Nota Fiscal",
                                    "value": "              ",
                                    "Type": "string"
                                },
                                {
                                    "Length": 3,
                                    "id": "InvoiceSerie",
                                    "Description": "Série do Documento de Carga/Nota Fiscal",
                                    "value": "   ",
                                    "Type": "string"
                                },
                                {
                                    "Length": 16,
                                    "id": "InvoiceNumber",
                                    "Description": "Número do Documento de Carga/Nota Fiscal",
                                    "value": "00001           ",
                                    "Type": "string"
                                },
                                {
                                    "Length": 5,
                                    "id": "TypeOfDocument",
                                    "Description": "Tipo do Documento de Carga/Nota Fiscal",
                                    "value": "",
                                    "Type": "string"
                                },
                                {
                                    "Length": 14,
                                    "id": "SenderCode",
                                    "Description": "Remetente do Documento de Carga/Nota Fiscal",
                                    "value": "000000001     ",
                                    "Type": "string"
                                },
							 	{
                                    "Length": 14,
                                    "id": "CostumerCode",
                                    "Description": "Destinat\ufffdrio do Documento de Carga/Nota Fiscal",
                                    "value": "000000003     ",
                                    "Type": "string"
                                },
                                {
                                    "Length": 60,
                                    "id": "DeliveryAddress",
                                    "Description": "Endereço de Entrega do Documento de Carga/Nota Fiscal",
                                    "value": "",
                                    "Type": "string"
                                },
                                {
                                    "Length": 50,
                                    "id": "DeliveryDistrict",
                                    "Description": "Bairro de Entrega do Documento de Carga/Nota Fiscal",
                                    "value": "",
                                    "Type": "string"
                                },
                                {
                                    "Length": 7,
                                    "id": "CityCodeDelivery",
                                    "Description": "Cidade de Entrega do Documento de Carga/Nota Fiscal",
                                    "value": "       ",
                                    "Type": "string"
                                },
                                {
                                    "Length": 8,
                                    "id": "ZipCodeDelivery",
                                    "Description": "CEP de Entrega do Documento de Carga/Nota Fiscal",
                                    "value": "        ",
                                    "Type": "string"
                                },
                                {
                                    "Length": 13.5,
                                    "id": "Unitizador",
                                    "Description": "Quantidade de Unitizadores",
                                    "value": 1,
                                    "Type": "double"
                                }
                            ],
                            "id": "1"
                        }
                    ]
                }
            ]
        }
    ]
}
Card
defaulttrue
effectDuration0
id2
labelVersão 2 (Recomendada)
Bloco de código
languagexml
themeMidnight
titleJSON Entrada v2
collapsetrue
{
    "content": [
        {
            "Items": [
                {
                    "Manifest": [
                        {
                            "Length": 8,
                            "id": "ManifestNumber",
                            "Description": "Código agrupador/Romaneio",
                            "value": "01      ",
                            "Type": "string"
                        },
                        {
                            "Length": 14,
                            "id": "CarrierCode",
                            "Description": "Transportador a ser considerado no cálculo",
                            "value": "              ",
                            "Type": "string"
                        },
                        {
                            "Length": 10,
                            "id": "TypeOfVehicle",
                            "Description": "Tipo de Veículo",
                            "value": "          ",
                            "Type": "string"
                        },
                        {
                            "Length": 4,
                            "id": "FreightClassification",
                            "Description": "Classificação de frete",
                            "value": "    ",
                            "Type": "string"
                        },
                        {
                            "Length": 10,
                            "id": "OperationType",
                            "Description": "Tipo de Operação",
                            "value": "          ",
                            "Type": "string"
                        }
                    ],
                    "id": "1",
                    "ItemsDocumentBurden": [
                        {
                            "Items": [
                                {
                                    "Length": 14,
                                    "id": "IssuerCode",
                                    "Description": "Emitente do Documento de Carga/Nota Fiscal",
                                    "value": "              ",
                                    "Type": "string"
                                },
                                {
                                    "Length": 3,
                                    "id": "InvoiceSerie",
                                    "Description": "Série do Documento de Carga/Nota Fiscal",
                                    "value": "   ",
                                    "Type": "string"
                                },
                                {
                                    "Length": 16,
                                    "id": "InvoiceNumber",
                                    "Description": "Número do Documento de Carga/Nota Fiscal",
                                    "value": "00001           ",
                                    "Type": "string"
                                },
                                {
                                    "Length": 5,
                                    "id": "TypeOfDocument",
                                    "Description": "Tipo do Documento de Carga/Nota Fiscal",
                                    "value": "     ",
                                    "Type": "string"
                                },
                                {
                                    "Length": 15,
                                    "id": "ItemCode",
                                    "Description": "Código do Item do Documento de Carga/Nota Fiscal",
                                    "value": "ItemA          ",
                                    "Type": "string"
                                },
                                {
                                    "Length": 4,
                                    "id": "FreightClassification",
                                    "Description": "Classificação de Frete do Item Documento de Carga/Nota Fiscal",
                                    "value": "    ",
                                    "Type": "string"
                                },
                                {
                                    "Length": 4,
                                    "id": "ItemType",
                                    "Description": "Tipo do Item do Documento de Carga/Nota Fiscal",
                                    "value": "    ",
                                    "Type": "string"
                                },
                                {
                                    "Length": 13.5,
                                    "id": "Quantity",
                                    "Description": "Quantidade do Item",
                                    "value": 0,
                                    "Type": "double"
                                },
                                {
                                    "Length": 13.5,
                                    "id": "Weight",
                                    "Description": "Peso do Item",
                                    "value": 100,
                                    "Type": "double"
                                },
                                {
                                    "Length": 13.5,
                                    "id": "NetWeight",
                                    "Description": "Peso Cubado",
                                    "value": 0,
                                    "Type": "double"
                                },
                                {
                                    "Length": 13.5,
                                    "id": "AlternativeQuantity",
                                    "Description": "Quantidade/Peso Alternativa",
                                    "value": 0,
                                    "Type": "double"
                                },
                                {
                                    "Length": 11.2,
                                    "id": "NetPrice",
                                    "Description": "Valor do Liquido do Item",
                                    "value": 100,
                                    "Type": "double"
                                },
                                {
                                    "Length": 11.2,
                                    "id": "GrossPrice",
                                    "Description": "Valor do Bruto do Item",
                                    "value": 100,
                                    "Type": "double"
                                },
                                {
                                    "Length": 11.5,
                                    "id": "CubicVolume",
                                    "Description": "Volume Ocupado (m3)",
                                    "value": 0,
                                    "Type": "double"
                                }
                            ],
                            "id": "1"
                        }
                    ],
                    "Route": [
                        {
                            "Items": [
                                {
                                    "Length": 14,
                                    "id": "IssuerCode",
                                    "Description": "Emitente do Documento de Carga/Nota Fiscal",
                                    "value": "              ",
                                    "Type": "string"
                                },
                                {
                                    "Length": 3,
                                    "id": "InvoiceSerie",
                                    "Description": "Série do Documento de Carga/Nota Fiscal",
                                    "value": "   ",
                                    "Type": "string"
                                },
                                {
                                    "Length": 16,
                                    "id": "InvoiceNumber",
                                    "Description": "Número do Documento de Carga/Nota Fiscal",
                                    "value": "00001           ",
                                    "Type": "string"
                                },
                                {
                                    "Length": 5,
                                    "id": "TypeOfDocument",
                                    "Description": "Tipo de Documento de Carga/Nota Fiscal",
                                    "value": "     ",
                                    "Type": "string"
                                },
                                {
                                    "Length": 2,
                                    "id": "Sequence",
                                    "Description": "Sequência do Trecho. Serial único",
                                    "value": "01",
                                    "Type": "string"
                                },
                                {
                                    "Length": 14,
                                    "id": "CarrierCode",
                                    "Description": "Transportador do Trecho",
                                    "value": "              ",
                                    "Type": "string"
                                },
                                {
                                    "Length": 7,
                                    "id": "CityCodeDelivery",
                                    "Description": "Cidade de Destino",
                                    "value": "       ",
                                    "Type": "string"
                                },
                                {
                                    "Length": 10,
                                    "id": "TypeOfVehicle",
                                    "Description": "Tipo de veículo do trecho",
                                    "value": "          ",
                                    "Type": "string"
                                },
                                {
                                    "Length": 7,
                                    "id": "CityCodeOrigin",
                                    "Description": "Número Cidade Origem",
                                    "value": "       ",
                                    "Type": "string"
                                },
                                {
                                    "Length": 8,
                                    "id": "ZipCodeOrigin",
                                    "Description": "CEP de Origem",
                                    "value": "        ",
                                    "Type": "string"
                                },
                                {
                                    "Length": 8,
                                    "id": "ZipCodeDelivery",
                                    "Description": "CEP de Destino",
                                    "value": "        ",
                                    "Type": "string"
                                },
                                {
                                    "Length": 4,
                                    "id": "FreightClassification",
                                    "Description": "Classificação de Frete",
                                    "value": "    ",
                                    "Type": "string"
                                },
                                {
                                    "Length": 10,
                                    "id": "OperationType",
                                    "Description": "Tipo de Operação",
                                    "value": "          ",
                                    "Type": "string"
                                }
                            ],
                            "id": "1"
                        }
                    ],
                    "DocumentBurden": [
                        {
                            "Items": [
                                {
                                    "Length": 8,
                                    "id": "ManifestNumber",
                                    "Description": "Código agrupador/Romaneio",
                                    "value": "01      ",
                                    "Type": "string"
                                },
                                {
                                    "Length": 14,
                                    "id": "IssuerCode",
                                    "Description": "Emitente do Documento de Carga/Nota Fiscal",
                                    "value": "              ",
                                    "Type": "string"
                                },
                                {
                                    "Length": 3,
                                    "id": "InvoiceSerie",
                                    "Description": "Série do Documento de Carga/Nota Fiscal",
                                    "value": "   ",
                                    "Type": "string"
                                },
                                {
                                    "Length": 16,
                                    "id": "InvoiceNumber",
                                    "Description": "Número do Documento de Carga/Nota Fiscal",
                                    "value": "00001           ",
                                    "Type": "string"
                                },
                                {
                                    "Length": 5,
                                    "id": "TypeOfDocument",
                                    "Description": "Tipo do Documento de Carga/Nota Fiscal",
                                    "value": "",
                                    "Type": "string"
                                },
                                {
                                    "Length": 14,
                                    "id": "SenderCode",
                                    "Description": "Remetente do Documento de Carga/Nota Fiscal",
                                    "value": "000000001     ",
                                    "Type": "string"
                                },
							 	{
                                    "Length": 6,
                                    "id": "SenderERPCode",
                                    "Description": "Código do ERP do Remetente do Documento de Carga/Nota Fiscal",
                                    "value": "000000001     ",
                                    "Type": "string"
                                },
                                {
                                    "Length": 14,
                                    "id": "CostumerCode",
                                    "Description": "Destinat\ufffdrio do Documento de Carga/Nota Fiscal",
                                    "value": "000000003     ",
                                    "Type": "string"
                                },        
							 	{
                                    "Length": 6,
                                    "id": "CostumerERPCode",
                                    "Description": "Código do ERP do Destinat\ufffdrio do Documento de Carga/Nota Fiscal",
                                    "value": "000000003     ",
                                    "Type": "string"
                                },                                  {
                                    "Length": 60,
                                    "id": "DeliveryAddress",
                                    "Description": "Endereço de Entrega do Documento de Carga/Nota Fiscal",
                                    "value": "",
                                    "Type": "string"
                                },
                                {
                                    "Length": 50,
                                    "id": "DeliveryDistrict",
                                    "Description": "Bairro de Entrega do Documento de Carga/Nota Fiscal",
                                    "value": "",
                                    "Type": "string"
                                },
                                {
                                    "Length": 7,
                                    "id": "CityCodeDelivery",
                                    "Description": "Cidade de Entrega do Documento de Carga/Nota Fiscal",
                                    "value": "       ",
                                    "Type": "string"
                                },
                                {
                                    "Length": 8,
                                    "id": "ZipCodeDelivery",
                                    "Description": "CEP de Entrega do Documento de Carga/Nota Fiscal",
                                    "value": "        ",
                                    "Type": "string"
                                },
                                {
                                    "Length": 13.5,
                                    "id": "Unitizador",
                                    "Description": "Quantidade de Unitizadores",
                                    "value": 1,
                                    "Type": "double"
                                }
                            ],
                            "id": "1"
                        }
                    ]
                }
            ]
        }
    ]
}

...

Manifest - Informações do romaneio. Ocorrências 1 ou mais.
FieldDescriçãoChaveTipoTamanhoObservação
ManifestNumberCódigo agrupador/Romaneio.*Alfanumerico8Obrigatório.
CarrierCodeTransportador a ser considerado no cálculo, quando não informado no trecho/rota.
Alfanumérico14
TypeOfVehicleTipo de Veículo.
Alfanumérico10
FreightClassificationClassificação de Frete.
Alfanumérico4
OperationTypeTipo de Operação.
Alfanumérico10
BaseDateData Base para cálculo.
Alfanumérico20



DocumentBurden - Documentos de Carga do Romaneio - Para cada Manifest haverá uma ou mais ocorrências de DocumentBurden.
FieldDescriçãoChaveTipoTamanhoObservação
ManifestNumberCódigo agrupador/Romaneio.*Alfanumérico8Obrigatório. Campo de ligação com o agrupador Manifest/ManifestNumber.
IssuerCodeEmitente do Documento de Carga/Nota Fiscal.*Alfanumérico14
InvoiceSerieSérie do Documento de Carga/Nota Fiscal.*Alfanumérico3
InvoiceNumberNúmero do Documento de Carga/Nota Fiscal.*Alfanumérico16
TypeOfDocumentTipo do Documento de Carga/Nota Fiscal.*Alfanumérico5Caso não seja informado, será considerado o primeiro registro ativo na tabela GV5.
SenderCodeRemetente do Documento de Carga/Nota Fiscal.
Alfanumérico14A obrigatoriedade desta tag está em conjunto com a tag CityCodeDelivery, uma das duas deve estar preenchida para funcionamento da API. O registro informado deve estar cadastro na rotina de emitentes. (Tabela GU3)
SenderERPCodeCódigo do ERP do Remetente do Documento de Carga/Nota Fiscal.
Alfanumérico6Esta tag serve apenas para busca na tabela de Emitentes do código do remetente, preenchendo após esta busca, a mesma informação do SenderCode. Caso a tag SenderCode esteja preenchida, esta tag será desconsiderada.
CostumerCodeDestinatário do Documento de Carga/Nota Fiscal.
Alfanumérico14Obrigatório. O registro informado deve estar cadastro na rotina de emitentes. (Tabela GU3)
CostumerERPCodeCódigo do ERP do Destinatário do Documento de Carga/Nota Fiscal.
Alfanumérico6Esta tag serve apenas para busca na tabela de Emitentes do código do destinatário, preenchendo após esta busca, a mesma informação do CostumerCode. Caso a tag CostumerCode esteja preenchida, esta tag será desconsiderada.
DeliveryAddressEndereço de Entrega do Documento de Carga/Nota Fiscal.
Alfanumérico60
DeliveryDistrictBairro de Entrega do Documento de Carga/Nota Fiscal.
Alfanumérico50
CityCodeDeliveryCidade de Entrega do Documento de Carga/Nota Fiscal.
Alfanumérico7
ZipCodeDeliveryCEP de Entrega do Documento de Carga/Nota Fiscal.
Alfanumérico8
UnitizadorQuantidade de Unitizadores.
Numérico13,5Padrão "1".

...