PUT api/Hmrc/{id}
No documentation available.
Request Information
Parameters
| Name | Description | Additional information |
|---|---|---|
| id | No documentation available. |
Define this parameter in the request URI. |
| hmrcDocumnet | No documentation available. |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{
"SaveId": "261bd057-c38e-4c4c-b8ba-f054580b7898",
"Status": "sample string 2",
"SaleOrderId": "sample string 3",
"SaleSaveId": "bbf6b9ad-5b75-4433-a434-75840c2633e6",
"DocumentDate": "sample string 4",
"DocumentNo": "sample string 5",
"TenantId": "sample string 6",
"DeclarantOrganisation": "sample string 7",
"DeclarantTelelephone": "sample string 8",
"DeclarationPlace": "sample string 9",
"ChamberLaunched": true,
"DeclarationDate": "sample string 11",
"DeclarantName": "sample string 12",
"DeclarantJoTitle": "sample string 13",
"DeclarantSignature": "sample string 14",
"PdfReport": "sample string 15",
"CreatedDateTimeStamp": "2026-03-21T21:09:39.6899973+00:00",
"UpdatedDateTimeStamp": "2026-03-21T21:09:39.6899973+00:00",
"HmrcAddresses": {
"$id": "2",
"$values": [
{
"$id": "3",
"SaveId": "ef500c15-b35e-4b6d-9534-437e6a023499",
"NAType": "sample string 2",
"LongName": "sample string 3",
"ShortName": "sample string 4",
"CountryId": "sample string 5",
"CountryName": "sample string 6",
"AddressLine1": "sample string 7",
"AddressLine2": "sample string 8",
"TownLocality": "sample string 9",
"CityRegion": "sample string 10",
"PostalZipCode": "sample string 11",
"State": "sample string 12",
"VATNumber": "sample string 13",
"EORINumber": "sample string 14",
"ContactSaveId": "eda2ea67-8a14-433c-901b-453cef8d374f",
"HmrcSaveId": "ba9c6192-6921-40d2-827e-c1287eed3f02",
"HmrcDocumnet": {
"$ref": "1"
}
},
{
"$ref": "3"
},
{
"$ref": "3"
}
]
},
"HmrcDetailProducts": {
"$id": "4",
"$values": [
{
"$id": "5",
"SaveId": "e7dbc60a-19c1-437e-82a4-49f3aba1049c",
"ProductId": "sample string 2",
"CustomsProcedureCode": "sample string 3",
"NetWeight": "sample string 4",
"GoodsDescription": "sample string 5",
"CommodityCode": "sample string 6",
"GrossWeight": "sample string 7",
"SupplementryUnits": "sample string 8",
"StatedValue": "sample string 9",
"ItemPrice": "sample string 10",
"UNDGNCode": "sample string 11",
"AICode": "sample string 12",
"AIStatement": "sample string 13",
"HmrcSaveId": "a2eeee18-e522-46f9-aac8-c8adffd932c3",
"ProductSaveId": "ed861116-7e98-46a3-941b-f780d0896cde",
"HmrcDocumnet": {
"$ref": "1"
}
},
{
"$ref": "5"
},
{
"$ref": "5"
}
]
},
"HmrcDetail": {
"$id": "6",
"HmrcSaveId": "b2b1868d-517b-4817-a658-15b7e0a48f0b",
"PackageType": "sample string 2",
"PackageMarks": "sample string 3",
"PackageCount": "sample string 4",
"DocumentType": "sample string 5",
"DocumentRefId": "sample string 6",
"DocumentExportClass": "sample string 7",
"DocumentLongName": "sample string 8",
"CommercialInvoice": "sample string 9",
"InvoiceSaveId": "02c92fc9-0f7c-4533-9a63-cdd264e99f50",
"HmrcDocumnet": {
"$ref": "1"
}
},
"HmrcHeader": {
"$id": "7",
"HmrcSaveId": "ba8bb7e5-f16a-4ebf-a14d-93fc14d2be06",
"ClientRef": "sample string 2",
"MessageType": "sample string 3",
"DeclarationCcy": "sample string 4",
"DeclarationRep": "sample string 5",
"DeclarationUCR": "sample string 6",
"DeparturePort": "sample string 7",
"DestinationCountry": "sample string 8",
"ConsignorId": "sample string 9",
"ConsigneeId": "sample string 10",
"TotalPackages": "sample string 11",
"GoodsDepartureDate": "sample string 12",
"SpecialCircimstances": "sample string 13",
"InvoiceCcy": "sample string 14",
"ExitOffice": "sample string 15",
"MasterUCR": "sample string 16",
"TransportModeCode": "sample string 17",
"TrnasportModeInland": "sample string 18",
"TransportCharges": "sample string 19",
"SingleTransportContract": "sample string 20",
"UKExportOffice": "sample string 21",
"HmrcDocumnet": {
"$ref": "1"
}
},
"HmrcHistories": {
"$id": "8",
"$values": [
{
"$id": "9",
"SaveId": "da51c10a-9a59-402d-b870-505db3c75959",
"Status": "sample string 2",
"ProcessDate": "sample string 3",
"ProcessUser": "sample string 4",
"UserComments": "sample string 5",
"HmrcSaveId": "2dafc24d-cc2c-48ec-999a-93b086483a00",
"HmrcDocumnet": {
"$ref": "1"
}
},
{
"$ref": "9"
},
{
"$ref": "9"
}
]
}
}
application/xml
Sample:
text/xml
Sample:
application/x-www-form-urlencoded
Sample: