/DocumentLine
Short Description
Chapter Contents:
Long Description
Properties
| Property | Type | Length | Mandatory | Description | Comments |
|---|---|---|---|---|---|
glAccount | String | General Ledger Account. Documentation of GL Account. | Invoice View | ||
isAccountsPayable | Boolean | 0 = Accounts Receivable, 1 = Accounts Payable Inserting Payment/Receipt:
| Invoice View | ||
refDocument | /Document |
| |||
commission | /Commission | ||||
variousText | /VariousText | ||||
realmId | Integer | ?? Invoice View | |||
portCost | /PortCost | ||||
| serviceOrderLine | /ServiceOrderLine | ||||
tcRate | /TcRate | ||||
handlingCost | /HandlingCost | Handling Cost | Invoice View | ||
businessUnit | /BusinessUnit | Business Unit | Invoice View | ||
voyage | /Voyage | Voyage | Invoice View | ||
paymentTerms | /PaymentTerms | ||||
company | /Company | ||||
quantity | Float | Different meaning depending on the document type:
| Invoice View | ||
bunkerHedgeLine | /BunkerHedgeLine | Invoice View | |||
vesselCode | /VesselCode | ||||
exchangeRate | Float | Exchange Rate Between documentAmount and sourceCurrencyAmount | Invoice View | ||
cargo | /Cargo | ||||
documentLineText | String | 1024 | Document Line Text/Description | Invoice View | |
freightRate | /FreightRate | Freight Rate | Invoice View | ||
exchangeRateDate | Date | Exchange Rate Date | Invoice View | ||
portCall | /PortCall | PortCall | Invoice View | ||
businessPartner | /BusinessPartner | Business Partner Object. (Value: businessPartnerCode or businessPartner Key). Invoice and Payment/Receipt:
| Invoice View | ||
sourceCurrencyAmount | Float |
| |||
unitPrice | Float | Unit Price. Quantity * Unit Price = Document Amount | Invoice View | ||
billOfLading | /BillOfLading | Bill of Lading (B/L) | Invoice View | ||
cargoPort | /CargoPort | ||||
document | /Document | ||||
documentCurrency | /Currency | Currency for documentAmount (see documentAmount) | Invoice View | ||
handlingCostCode | /HandlingCostCode | HandlingCostCode | Invoice View | ||
invoicingStatus | /StatusType | Must belong to StatusClass "INV". | Invoice View | ||
offhire | /Offhire | Offhire | Invoice View | ||
policyDeductible | /PolicyDeductible | ||||
companyCurrencyAmount | Float | All /DocumentTypes: Amount in Company Currency for the Document.Company. | Invoice View | ||
documentAmount | Float |
| Invoice View | ||
portAgent | /PortAgent | ||||
portCostCode | /PortCostCode | ||||
refAccount | /Account | ||||
refDocumentLine | /DocumentLine | ||||
sourceCurrency | /Currency | Currency for sourceCurrencyAmount (see sourceCurrencyAmount). | Invoice View | ||
tc | /Tc | ||||
various | /Various | Invoice View | |||
vatRate | /VatRate | Value Added Tax (VAT) Rate | Invoice View | ||
createdDate | Date | Invoice View | |||
modifiedDate | Date | Invoice View | |||
| laytimeCalculation | /LaytimeCalculation | Available from version 5.50 | |||
| bunkerAdjustment | /BunkerAdjustment | Available from version 6.31 |
Example Response Body
Updated for API version 2.0.0 using the new required date format yyyy-dd-MMThh:mi:ss to conform ISO 8601, (prior version has date format: yyyy-dd-MM hh:mi:ss)
{
"key": 1116527,
"self": "http://localhost:8080/ws/rest/DocumentLine/1116527",
"glAccount": "4612",
"isAccountsPayable": true,
"refDocument": null,
"commission": null,
"createdDate": "2012-10-03T10:33:11",
"modifiedDate": "2014-05-14T07:59:04",
"variousText": null,
"realmId": null,
"portCost": null,
"tcRate": null,
"handlingCost": null,
"businessUnit": null,
"voyage": {
"referenceNo": 198,
"vessel": {
"vesselName": "MV Vessel",
"self": "http://localhost:8080/ws/rest/Vessel/1089713",
"key": 1089713
},
"ballastPort": {
"portName": "DOUALA",
"unLoCode": "CMDLA",
"country": {
"countryCode": "CM",
"countryName": "CAMEROON",
"key": 410043,
"self": "http://localhost:8080/ws/rest/Country/410043"
},
"isCanal": false,
"self": "http://localhost:8080/ws/rest/Port/103579",
"key": 103579
},
"portCalls": [
{
"key": 1106792,
"self": "http://localhost:8080/ws/rest/PortCall/1106792"
},
{
"key": 1106668,
"self": "http://localhost:8080/ws/rest/PortCall/1106668"
}
],
"cargos": [
{
"self": "http://localhost:8080/ws/rest/Cargo/1106646",
"key": 1106646
}
],
"ballastBonus": 0,
"ballastBonusCommission": 0,
"ballastBonusNet": 0,
"ballastBonusRevenue": 0,
"canalCost": 0,
"comments": null,
"commission": 0,
"commissionAddress": 0,
"commissionOwnersCost": 0,
"cveTcIn": 0,
"createdDate": "2012-10-01T14:55:41",
"ilohcTcIn": 0,
"ilohcTcOut": 0,
"isTc": false,
"milesBallast": 986,
"milesLoaded": 4477,
"netFreight": 775961.5384615385,
"percentExtraAtSea": 0,
"portCost": 51923.07692307692,
"restrictingCubic": 546697,
"robFixed": 0,
"runningCost": 0,
"runningCostPerDay": 0,
"speedBallast": 11.428571428571429,
"speedLoaded": 11.428571428571427,
"tabTitle": null,
"tcHireCommission": 0,
"tcHireNet": 0,
"tcRate": 0,
"tcResult": 142491.40982905985,
"tcResultDay": 3790.6453011979715,
"tdw": 12086,
"utilisationComments": null,
"variousCost": 104007.07692307692,
"variousRevenue": 0,
"voyageResult": 142491.40982905985,
"tcIn": null,
"tcs": [],
"voyageCurrency": {
"currencyCode": "EUR",
"currencyName": "Euro",
"key": 400008,
"self": "http://localhost:8080/ws/rest/Currency/400008"
},
"cveTcOut": 0,
"daysBallast": 4.041666666666667,
"daysCanal": 0,
"daysCleaning": 0,
"daysDischarging": 4.475694444444445,
"daysExtraAtSea": 0,
"daysExtraInPort": 7.25,
"daysHeating": 0,
"daysIdle": 0,
"daysLoaded": 16.60763888888889,
"daysLoading": 5.215277777777778,
"daysOffhire": 0,
"daysOffhireCharterer": 0,
"daysOffhireOwner": 0,
"daysTotal": 37.59027777777778,
"daysTotalAtSea": 20.649305555555557,
"daysTotalInPort": 16.94097222222222,
"daysWaiting": 0,
"demurrage": 0,
"despatch": 0,
"dlConsumption": 44.236,
"dlCost": 0,
"dlPrice": 0,
"doAtSea": 0,
"doConsumption": 50.27644444444445,
"doCost": 37088.54632478633,
"doInPort": 1.15,
"doInPortWorking": 3.2,
"doPrice": 959,
"estimatedVoyageStartDate": "2012-10-03T07:50:00",
"flConsumption": 68.753,
"flCost": 36439.09,
"flPrice": 689,
"foBallast": 14,
"foCleaning": 0,
"foConsumption": 290.92,
"foCost": 142550.8,
"foHeating": 0,
"foInPort": 0,
"foInPortWorking": 0,
"foLoaded": 15,
"foPrice": 637,
"foPumping": 0,
"freight": 775961.5384615385,
"freightCost": 0,
"grossFreight": 775961.5384615385,
"handlingCost": 261461.53846153847,
"self": "http://localhost:8080/ws/rest/Voyage/1106645",
"key": 1106645
},
"paymentTerms": null,
"company": null,
"quantity": 295.16302,
"bunkerHedgeLine": null,
"vesselCode": null,
"exchangeRate": 1,
"cargo": null,
"documentLineText": "FO Consumption ",
"freightRate": null,
"exchangeRateDate": null,
"portCall": null,
"businessPartner": null,
"sourceCurrencyAmount": -154392.96,
"unitPrice": 523.077,
"billOfLading": null,
"cargoPort": null,
"document": {
"key": 1116529,
"self": "http://localhost:8080/ws/rest/Document/1116529",
"glAccount": "4611",
"externalDocumentNo": null,
"documentPaymentTerms": [],
"documentType": {
"key": 1000045,
"self": "http://localhost:8080/ws/rest/DocumentType/1000045",
"documentType": "ACC",
"documentTypeDesc": "Accounting"
},
"documentNo": "1116529",
"documentText": null,
"modifiedDate": "2014-05-14T07:58:53",
"documentDate": "2012-10-03T10:33:11",
"sourceCurrencyAmount": -154392.96,
"documentCurrency": {
"currencyCode": "EUR",
"currencyName": "Euro",
"key": 400008,
"self": "http://localhost:8080/ws/rest/Currency/400008"
},
"companyCurrencyAmount": -154392.96,
"documentAmount": -154392.96,
"refDocument": null
},
"documentCurrency": {
"currencyCode": "EUR",
"currencyName": "Euro",
"key": 400008,
"self": "http://localhost:8080/ws/rest/Currency/400008"
},
"handlingCostCode": null,
"invoicingStatus": {
"key": 1000091,
"self": "http://localhost:8080/ws/rest/StatusType/1000091",
"statusTypeCode": "PEN",
"statusTypeDesc": "Pending"
},
"offhire": null,
"policyDeductible": null,
"companyCurrencyAmount": -154392.96,
"documentAmount": -154392.96,
"portAgent": null,
"portCostCode": null,
"refAccount": null,
"refDocumentLine": null,
"sourceCurrency": {
"currencyCode": "EUR",
"currencyName": "Euro",
"key": 400008,
"self": "http://localhost:8080/ws/rest/Currency/400008"
},
"tc": null,
"various": null,
"vatRate": null,
"remarks": []
}
Related Content
, multiple selections available,