AES C 0505 – For countries in CL505 (countries without mandatory postcodes), postcode is optional ("O") for parties like exporter, declarant, exit carrier, consignee, consignor, locations; required ("R") otherwise.

Created by Omer Farooq, Modified on Wed, 18 Feb at 11:01 AM by Omer Farooq

System: C

Error Code: C 0505 (C-0505)

Explanation

For countries in CL505 (countries without mandatory postcodes), postcode is optional ("O") for parties like exporter, declarant, exit carrier, consignee, consignor, locations; required ("R") otherwise. The error occurs if postcode is missing when required or format invalid.

When it happens (Reason)

IF //Exporter/Address/country is in SET CL505 THEN //Exporter/Address/postcode="O" ELSE //Exporter/Address/postcode="R"; IF //Declarant/Address/country is in SET CL505 THEN //Declarant/Address/postcode="O" ELSE //Declarant/Address/postcode="R"; IF //ExitCarrier/Address/country is in SET CL505 THEN /CC507C/ExitCarrier/Address/postcode="O" ELSE /CC507C/ExitCarrier/Address/postcode="R"; IF //GoodsShipment/Consignee/Address/country is in SET CL505 THEN //GoodsShipment/Consignee/Address/postcode="O" ELSE //GoodsShipment/Consignee/Address/postcode="R"; IF //GoodsShipment/Consignment/Consignor/Address/country is in SET CL505 THEN //GoodsShipment/Consignment/Consignor/Address/postcode="O" ELSE //GoodsShipment/Consignment/Consignor/Address/postcode="R"; IF //GoodsShipment/GoodsItem/Consignee/Address/country is in SET CL505 THEN //GoodsShipment/GoodsItem/Consignee/Address/postcode="O" ELSE //GoodsShipment/GoodsItem/Consignee/Address/postcode="R"; IF //GoodsShipment/GoodsItem/Consignor/Address/country is in SET CL505 THEN //GoodsShipment/GoodsItem/Consignor/Address/postcode="O" ELSE //GoodsShipment/GoodsItem/Consignor/Address/postcode="R"; IF //Consignment/LocationOfGoods/Address/country is in SET CL505 THEN //Consignment/LocationOfGoods/Address/postcode="O" ELSE //Consignment/LocationOfGoods/Address/postcode="R"; IF //Consignment/Consignee/Address/country is in SET CL505 THEN //Consignment/Consignee/Address/postcode="O" ELSE //Consignment/Consignee/Address/postcode="R"; IF //Consignment/Consignor/Address/country is in SET CL505 THEN //Consignment/Consignor/Address/postcode="O" ELSE //Consignment/Consignor/Address/postcode="R"; IF //Consignment/ConsignmentItem/Consignor/Address/country is in SET CL505 VALUE IS REQUIRED © Revenue Commissioners Page 24 of 57 AES Business Rules and Conditions Version 4.00 THEN //Consignment/ConsignmentItem/Consignor/Address/postcode="O" ELSE //Consignment/ConsignmentItem/Consignor/Address/postcode="R"; IF //Consignment/ConsignmentItem/Consignee/Address/country is in SET CL505 THEN //Consignment/ConsignmentItem/Consignee/Address/postcode="O" ELSE //Consignment/ConsignmentItem/Consignee/Address/postcode="R"

Quick Fix

For each party or location with address, check country against CL505 (e.g., countries like Ireland may not require postcodes). If in CL505, make postcode optional ("O"). If not, provide valid postcode ("R"). Ensure postcode format is an..9 or per national rules. Apply to all addresses in the declaration. Resubmit.

Step-by-step resolution

For each party or location with address, check country against CL505 (e.g., countries like Ireland may not require postcodes). If in CL505, make postcode optional ("O"). If not, provide valid postcode ("R"). Ensure postcode format is an..9 or per national rules. Apply to all addresses in the declaration. Resubmit.

Keywords

C 0505, C-0505, C0505

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article