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": "396eccf6-22c2-4957-bb07-14ef5b6f1b2d",
"Status": "sample string 2",
"SaleOrderId": "sample string 3",
"SaleSaveId": "684a871b-004d-479a-a101-e46a284c093a",
"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": "2025-11-05T21:53:12.9056824+00:00",
"UpdatedDateTimeStamp": "2025-11-05T21:53:12.9056824+00:00",
"HmrcAddresses": {
"$id": "2",
"$values": [
{
"$id": "3",
"SaveId": "a723f82f-cfce-4900-bf7c-5ff109ec17ff",
"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": "eb7ab47a-a25b-47b5-a322-bdf3df721433",
"HmrcSaveId": "d993e6f1-ebb3-4a4d-a52c-a29d2d890702",
"HmrcDocumnet": {
"$ref": "1"
}
},
{
"$ref": "3"
},
{
"$ref": "3"
}
]
},
"HmrcDetailProducts": {
"$id": "4",
"$values": [
{
"$id": "5",
"SaveId": "5a6e190c-0754-474f-93b6-56308a98f480",
"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": "dff52894-e38a-46fd-bc2d-631c8ee14c47",
"ProductSaveId": "d5b6f5f8-7bee-4f38-afc8-83bf11fc5d99",
"HmrcDocumnet": {
"$ref": "1"
}
},
{
"$ref": "5"
},
{
"$ref": "5"
}
]
},
"HmrcDetail": {
"$id": "6",
"HmrcSaveId": "9715dd45-877a-4a39-9f7a-034ce82a1649",
"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": "1d9634a4-43b1-492c-9b3c-b4101d84c586",
"HmrcDocumnet": {
"$ref": "1"
}
},
"HmrcHeader": {
"$id": "7",
"HmrcSaveId": "05c83b9f-ded6-4506-9f1a-86b066f4de78",
"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": "688ba70c-c003-4ca7-8af9-6de7dc11fe73",
"Status": "sample string 2",
"ProcessDate": "sample string 3",
"ProcessUser": "sample string 4",
"UserComments": "sample string 5",
"HmrcSaveId": "b97e32c3-38f1-4de1-8787-d5410bc2fdaf",
"HmrcDocumnet": {
"$ref": "1"
}
},
{
"$ref": "9"
},
{
"$ref": "9"
}
]
}
}
application/xml
Sample:
text/xml
Sample:
application/x-www-form-urlencoded
Sample: