XpressConnect
  • Introduction
  • Version History
  • Overview
    • How It Works
    • Server
    • API Request/Response
    • Authentication
  • API Endpoints
    • Courier
      • List
    • Declaration
      • Submit
      • Query
      • Attach
    • Commodity
      • List
    • Claim
      • Submit
      • Query
      • Update
      • Attach Document
      • Detach Document
  • Models
    • Courier
    • Declaration
    • Item
    • Commodity
    • Claim
    • Claim Document
  • Reference
    • Example PHP Code
    • Country
    • Errors
Powered by GitBook
On this page

Was this helpful?

  1. Models

Declaration

Parameter

Name

Description

Type

id

Declaration ID

integer

user

User ID

string ( 255 )

type

Declaration Type

char

N: Normal

C: VIP

consignment_note

Consignment Note

string ( 100 )

status

Status

char

C: Cancelled

D: Draft

A: Approved

R: Rejected

F: Refer

S: Saved

X: Request Cancel

cover_date

Cover Date

date ( YYYYMMDD )

courier_code

Courier

Courier Code

courier_others

Courier Name

string ( 255 )

from_country

Send From Country

Country Code

to_country

Send To Country

Country Code

remark

Remark

string ( 255 )

total_value

Total Declare Value

decimal ( 11, 2 )

total_surcharge

Total Surcharge

decimal ( 11, 2 )

tax

Tax

decimal ( 11, 2 )

total_charge

Total Charge ( Total Surcharge + Tax )

decimal ( 11, 2 )

cover_note_url

Cover Note Url

string ( 255 )

created_at

Created Timestamp

UNIX Timestamp

Extra Parameter (Type = VIP Only)

Name

Description

Type

from_address

Send From Address

string ( 255 )

to_address

Send To Address

string ( 255 )

goods_description

Goods Description

string ( 255 )

rate

Rate

decimal ( 2, 2 )

Extra Parameter (Type = Normal Only)

Name

Description

Type

from_city

Send From City

string ( 255 )

to_city

Send To City

string ( 255 )

items

Declaration Items

Array ( Item )

PreviousCourierNextItem

Last updated 3 months ago

Was this helpful?