Customs Tax Payment

This API pays the customer's customs taxes. If the Ettn number is not entered, all customs taxes under the declaration number are paid.

API Information

URL

/customsTaxPayment

Method

POST

Version

1.0

Scope

Customs Services

Authorization Flow

Client Credentials


Input Information

Name Format Description Required/Optional

AccountNumber

String Account number Required

CustomerNumber

String Customer number Required

DeclarationNo

Number Declaration number Required

EttnNo

String Universal unique identification number Optional


Output Information

Name Format Description

Documents

List<Documents> Detailed document of the customs tax payment

Results

List<Results> Results document


Documents

Alan Adı Format Açıklama

TextDocument

String Receipt

Title

String Payment title


Results

Name Format Description

TotalAmount

Decimal Total tax amount

ResultCode

String Result code
Successful payment result code: VRGI000003

DeclarationNo

Number Declaration number

ResultDescription

String Payment result

KMHUsingStatus

String KMH usage status

EttnNo

String Universal unique identification number

ReferenceNo

Number Referans number

Example

Request:

{
    "Source": {
        "AccountNumber": "00000000000000000",
        "CustomerNumber": "111111111111"
    },
    "Payment": {
        "DeclarationNo": "00000000TT000000",
        "EttnList": [
            {
                "EttnNo": ""
            }
        ]
    }
}

Response:

{
    "Status": {
        "Code": "APIGW000000",
        "Description": "Success",
        "ObjectID": "ecaee4d3-8dce-4516-acd1-7979880f694a"
    },
    "Data": {
        "Documents": [
            {
                "TextDocument": "",
                "Title": "GUMRUK VERGI ALINDISI"
            },
            {
                "TextDocument": "",
                "Title": "Hesaptan Kurum Tahsilat Dekontu"
            },
			...
        ],
        "Results": [
            {
                "DeclarationNo": "00000000TT000000",
                "ResultDescription": "Basarili islem.",
                "TotalAmount": "5964.53",
                "EttnNo": "000A0000-AB00-0A0A-A000-0000000AAA0C",
                "ResultCode": "VRGI000003",
                "KMHUsingStatus": "1",
                "ReferenceNo": "0000000000000065"
            },
            {
                "DeclarationNo": "00000000TT000000",
                "ResultDescription": "Basarili islem.",
                "TotalAmount": "58.8",
                "EttnNo": "000A0000-AB00-0A0A-A000-0000000AAA0A",
                "ResultCode": "VRGI000003",
                "KMHUsingStatus": "1",
                "ReferenceNo": "0000000000000066"
            },
			...
        ]
    }
}