@@ -103,6 +103,14 @@ return new class extends Migration
'description'=>'',
'template'=>'{"root":"CustomsResponse","namespace":"http://ebxml.customs.go.th/XMLSchema/CustomsResponse_8_00","DocumentControl":{"MessageType":"GCLD","ReferenceNumber":"","RegistrationID":"TH0101075570001010000000001T0","DocumentDetail":{"GoodsAudit":{"DeclarationNumber":"","ContainerNumber":"CONT1234567","LoadPort":"0010","Message":"Goods Transition Control Already Cancel Matching","AuditDateTime":""}}}}'
],
[
'mid'=>1,
'code'=>'ERR_TRANS',
'type'=>'ERR_TRANS',
'name'=>'Error Trans',
'description'=>'',
'template'=>'{"root":"ErrorMessage","namespace":null,"DocumentDetails":{"TransactionNo":"E06@240209210907_418","ReferenceNo":"","ErrorType":"ERR_TRANS","ErrorItems":"1","ErrorDate":"","ErrorDescription":"Incorrect length = 0. Facet length = 2. element=\'CustomsExportDeclaration[1]/SEQUENCE1[1]/DocumentControl[1]/SEQUENCE1[1]/TotalPackage[1]/SEQUENCE1[1]/UnitCode\'. At line = 1536 column = 1."}}'
],
//Import
[
...
...
@@ -259,6 +267,14 @@ return new class extends Migration
'description'=>'',
'template'=>'{"root":"CustomsResponse","namespace":"http://ebxml.customs.go.th/XMLSchema/CustomsResponse_8_00","DocumentControl":{"MessageType":"GCLD","ReferenceNumber":"","RegistrationID":"TH0101075570001010000000001T0","DocumentDetail":{"GoodsAudit":{"DeclarationNumber":"","ContainerNumber":"CONT1234567","LoadPort":"2801","Message":"Goods Transition Control Already Cancel Matching","AuditDateTime":""}}}}'
],
[
'mid'=>3,
'code'=>'ERR_TRANS',
'type'=>'ERR_TRANS',
'name'=>'Error Trans',
'description'=>'',
'template'=>'{"root":"ErrorMessage","namespace":null,"DocumentDetails":{"TransactionNo":"E06@240209210907_418","ReferenceNo":"","ErrorType":"ERR_TRANS","ErrorItems":"1","ErrorDate":"","ErrorDescription":"Too few occurences of element=\'CustomsGoodsTransition[1]/SEQUENCE1[1]/DocumentControl[1]/SEQUENCE1[1]/ContainerInfo[1]/SEQUENCE1[1]/TaxNumber\'. Found = 0. Min = 1. At line = 822 column = 1."}}'