ShipmentCost

Anterior
Próximo
Imprimir

ShipmentCost

Costs details. All the individual costs must be informed here.

XML Path: /Transmission/TransmissionBody/GLogXMLElementType/PlannedShipment/Shipment/ShipmentHeader/ShipmentCost

 


<ShipmentCost>
	<ShipmentCostSeqno>1</ShipmentCostSeqno>
	<CostType>B</CostType>
	<Cost>
		<FinancialAmount>
			<GlobalCurrencyCode>BRL</GlobalCurrencyCode>
			<MonetaryAmount>1000.00</MonetaryAmount>
		</FinancialAmount>
	</Cost>
	<IsWeighted>N</IsWeighted>
</ShipmentCost>
<ShipmentCost>
	<ShipmentCostSeqno>2</ShipmentCostSeqno>
	<CostType>A</CostType>
	<Cost>
		<FinancialAmount>
			<GlobalCurrencyCode>BRL</GlobalCurrencyCode>
			<MonetaryAmount>30.00</MonetaryAmount>
		</FinancialAmount>
	</Cost>
	<AccessorialCodeGid>
		<Gid>
			<DomainName>COMPANY1</DomainName>
			<Xid>UNLOAD</Xid>
		</Gid>
	</AccessorialCodeGid>
	<IsCostFixed>Y</IsCostFixed>
	<IsWeighted>Y</IsWeighted>
</ShipmentCost>
    

 

Field

Type

Occurrences

Max. Length

Format

Description

ShipmentCostSeqno

Number

1-1

10

-

Cost sequence number. Maximum number: 2147483647

CostType

Character

1-1

1

B/A

B: Base - Planned and standard freight costs;

A: Acessorial - Extra costs added to the freight.

Cost

-

1-N

-

Go to format

Currency and monetary amount.

AccessorialCodeGid

Character

0-1

49

Go to format

Cost identification. Mandatory for acessorial costs.

IsCostFixed

Character

0-1

1

Y/N


IsWeighted

Character

1-1

1

Y/N

It means if the cost will be payed to the carrier or if it's just an operation cost in the shipment but it won't be added to the freight cost.

Y: Yes - The cost will be added to the freight cost;

N: No - The cost won't be part of the freight, it will just appear on the screen and on the shipment details. It won't change the charged cost.