Warning: file_put_contents(/opt/downloads/cloud.meatmessaging.info/segment_list.csv): Failed to open stream: No such file or directory in /opt/sites/cloud.meatmessaging.org/json_api_format.php on line 58 Meat Messaging JSON data format for API upload
The required information for completing a consignment with Meat Messaging can be managed through JSON format payload and API upload.
Requirements of accurate and correct terminology for information to be uploaded to Meat Messaging
The information contained in Meat Messaging is used for the purpose of export trade of meat. This means the information entered into Meat Messaging must comply with Meat Notices related to product description. For more details refer to Meat Notice:
Jun 2019 - updates for additional trade description segments mm_det_IMD_E_A through to mm_det_IMD_E_F
Aug 2019 - updates for Add QA segments - QA segments are used for 3rd party cold stores, TDT_20_email - Transport company email address, and mm_det_IMD_C_c - Corrected text description for segment
Nov 2019 - updates for Destination management (LOC_8_dest_city and LOC_36_dest_country), and on the line level the Certificate of Analysis (mm_det_AAY_CFA )and Certificate of Origin (mm_det_AAY_COO)
Mar 2021 - update for Receipt message through API and JSON payload. Add Status message through API and JSON Get request. Update to "BGM_function" option list to align with API model. Add "EX_MMCID" segment for NPE message access.
May 2023 - update for Meat Messaging Industry Notice Meat Messaging Industry Notice changes that will come into force on the 1st of May 2024.
Jun 2024 - update for "Required" segments now shown as 3 distinct values for Export messages, eMTCs and Domestic messages
Jul 2024 - update for additional group level segments mm_det_PIA_GSIN (Global Shipment Identification Number) and mm_det_IMD_E_G (Handbook of Australian Meat distinct four-digit number)
Who uploads messages into Meat Messaging?
There are many different sections of the Meat Supply Chain that interact with Meat Messaging.
Interaction occurs from the Export Processing Establishment that produce cartons of meat all the way through to end users and retailers in export markets.
The Australian Export Establishments and Non-Packer Exporters (NPE)s generally are the creators of messages that are uploaded into Meat Messaging. The receivers or owners of shipments access the consignment information from meat messaging.
Each case/carton, carcase, and bulk package is barcoded following the GS1 standards for Global Trade Item Number (specifically GTIN-14) and the Application Identifiers (AIs) for weight, date, and serial number. This ensures that each case/carton is barcoded with a global unique number that provides the basis for traceability along the whole supply chain. For more information on the GS1 standards go to: gs1.org
The barcodes used in Meat Messaging MUST be GS1 compliant barcodes.
Understanding Message SSCC and group level SSCC usage
The Meat Messaging system is based on the use of the GS1 standards for trade and commerce. This includes the use of the GS1 Serial Shipping Container Code (SSCC). Refer to the GS1 standards for information of the construction of the SSCC. Within the Meat Message usage there is a Message Level SSCC that uniquely identifies the message as well as Group Level SSCCs that uniquely identify each group, virtual pallet or physical pallet. A Meat Messaging SSCC must never repeat.
MessageStatus - Shows the status of the message with the options of 'OPEN', 'CANCELLED', 'SENT', 'RECEIPT'.
RFF_AAK - Unique message reference of the last message uploaded to Meat Messaging.
DateTimeCreated - System date time CCYYMMDDHHMM of the creation of the first message for the SSCC.
Validation Endpoint vs Process Endpoint
The Validation endpoint is used for validation the payload without committing data to the Meat Messaging database. This endpoint is used for testing during system development to ensure the payload is structurally valid. The Validation endpoint includes industry business rule validation and will return warnings and errors.
The Process endpoint is used for uploading shipment details to Meat Messaging and the payload is committed to the Meat Messaging database. This endpoint is used for production.
There are a number of Verification related endpoints. These end points are used for QA monitoring activities or for recording the details (including carton barcodes) on a verification of received product.
The SessionType needs to either be "QA" or "VALIDATION".
Message_Source - Type of message and version of this type of message always set to the value MM-RECADV-22-01 until a new version of this message is released.
MMCID - Receiving company/ company sending receipt message. The MMCID's corresponding "export establishment number" must match the "LOC_11_est" of the message being receipted, unless performing a self attestation, where the MMCID’s corresponding “export establishment number” must match the “DEQ_est_no” of the message being receipted. The MMCID in the payload must match the corresponding MMCID of the API Key used.
MMUID - Meat Message User code for receiving officer. MMUID must be a member of the specified MMCID.
RFF_AAK - Unique message reference of the company sending the receipt message.
Message_SSCC - Message SSCC being the identification of the consignment being receipted.
Received_DateTime - Date/Time of consignment receipt. Format: CCYYMMDDHHMM.
Detailed_Inspection_Performed - If a detailed inspection has been conducted this value is 'true' else 'false'.
Self_Attestation - If a Self Attestation has been conducted this value is 'true' else 'false'.
Self_Attestation_Receiving_Officer - Name of receiving party officer if Self Attestation is performed.
Meat Messaging Cancel JSON payload example
Note: Cancellation is performed through the Process endpoint.
{
"Message_Source":"MM-DESADV-22-01",
"MMCID":"10000016",
"RFF_AAK":"193312345840410940G",
"BGM_type":"Export",
"BGM_function":"1",
"Message_SSCC":"193312345840410940"
}
Message_Source - Type of message and version of this type of message.
MMCID - This is the Meat Messaging identification of the company. Must start with the number 1 and is 8 digits.
RFF_AAK - Unique message reference of the company sending the cancel message. The RFF_AAK suffix letter MUST be imcremented
BGM_type - This is set type of message with the options of 'Export', 'eMTC' or 'Domestic' .
BGM_function - This is the flow control for the message with the value of 1 defining the message is to be Cancelled.
Message_SSCC - Message SSCC being the identification of the consignment being cancelled.
NOTE: Meat Messaging is an industry portal that holds the data uploaded by Export Establishments. The segment meaning and "Required" status for a number of segments change for the different message types of Export (Exp) message, eMTC (eMTC) and Domestic (Dom) message. The business rules and data validation for compliance to the Export Control Act and subordinate regulations and Meat Notices related to uploaded data is the responsibility of the uploading establishment. Meat Messaging does not control nor determine the business rules nor the validation requirements, these requirements are outlined by the Export Control Act and subordinate regulations and Meat Notices as interpreted by each uploading establishment. The number "1" indicates that the segment is required and "0" indicates that it is not mandatory, but is likely be required for certain market access, for commercial reasons or as determined by DAFF on a case by case basis.
Senders unique message reference (SSCC number) (Despatch Advice Number) with version indicator. The 00 for the SSCC must be removed. Total length must be 19 characters.
"DEQ_c_name":
"Really Good Meats Company Pty Ltd"
,
String
Text
an..255
1 / 1 / 1
For Export shipments: This group of segments [DEQ] is used for the Exporter/ Consignor details as shown on the Health Certificate. When a Non-Packer Export is exporting the shipment the segment [EX_MMCID] MUST be used. For eMTC shipments: This group of segments [DEQ] is used for the Establishment where the product placed into the vehicle and is in control of the product. Called the Consigned From on the eMTC. For Domestic shipments: This group of segments [DEQ] is used for the Establishment where the product placed into the vehicle and is in control of the product.
Accredited Export Establishment - Refer to AUS-MEAT Accredited
26 Jul 21
"DP_c_name":
"Meat Importing Company"
,
String
Text
an..255
0 / 1 / 1
This segment [DP] is Conditional but recommended for the foreign company [import inspection facility] where the consignment is inspected (export) or Mandatory for the establishment where the product is consigned to (eMTC or domestic). Called the "Consigned To.
GLN (Global Location Number) provides the global identification of physical locations.
01 Jan 14
"DP_p_name":
"Fred Jones"
,
String
Text
an..255
0 / 0 / 0
Contact name for communication
01 Jan 14
"DP_email":
"info@importco.com"
,
String
Email
an..255
0 / 0 / 0
01 Jan 14
"DP_phone_1":
"+1202999234"
,
String
Text
an..255
0 / 0 / 0
01 Jan 14
"DP_phone_2":
"+1483948560"
,
String
Text
an..255
0 / 0 / 0
01 Jan 14
"CN_c_name":
"My Meat Buyer"
,
String
Text
an..255
0 / 1 / 1
This segment [CN] is Optional for the foreign company buyer (export) or Mandatory and copied from the segment [DP] (eMTC or domestic). Called the "Consignee or Buyer".
There are simple security requirements that must be included in eMTCs solutions that ensure
authenticity of the message.
01 Jan 14
"RA_phone_1":
""
,
String
Text
an..255
0 / 0 / 0
01 Jan 14
"RA_phone_2":
""
,
String
Text
an..255
0 / 0 / 0
01 Jan 14
"BY_c_name":
"My Meat Buyer"
,
String
Text
an..255
0 / 0 / 0
This segment [BY] is Conditional based on the need for notifying the buyer in advance of the arrival of the consignment. The company that is buying the product.
GLN (Global Location Number) provides the global identification of physical locations.
01 Jan 14
"BY_p_name":
"Mark Mathews"
,
String
Text
an..255
0 / 0 / 0
Contact name for communication
01 Jan 14
"BY_email":
"data@importco.com"
,
String
Email
an..255
0 / 0 / 0
Email address for communication
01 Jan 14
"BY_phone_1":
"+1332884234"
,
String
Text
an..255
0 / 0 / 0
01 Jan 14
"BY_phone_2":
"+1204884234"
,
String
Text
an..255
0 / 0 / 0
01 Jan 14
"QA_c_name":
""
,
String
Text
an..255
1 / 1 / 1
For Shipping Container Export shipments: This group of segments [QA] is used for the Export Establishment details where the shipping container was loaded and the seal applied. On the All Carton Serial Number Report this is shown on the Third Party/ Loading Establishment. For Air Freight Export shipments: This group of segments [QA] is used for the Export Establishment details of the Air Freight Forwarder where the aircraft was loaded. On the All Carton Serial Number Report this is shown on the Third Party/ Loading Establishment. For Bulk Ship Export shipments: This group of segments [QA] is used for the Export Establishment details of terminal where the vessel was loaded. On the All Carton Serial Number Report this is shown on the Third Party/ Loading Establishment. For eMTC and Domestic shipments: This group of segments [QA] is used for the Export Establishment details that loaded the truck or transport unit. The group of segments [QA] is not shown on the eMTC report.
NOTE: Mandatory as at 1st May 2024
Export clearance number (Export Reference Number - reference No. given to a export shipment)
01 Jan 14
"RFF_BM":
"SUDU39BNE001266X"
,
String
Text
an..50
0 / 0 / 0
Bill of lading reference number
01 Jan 14
"RFF_EX":
"AA325364"
,
String
Text
an..50
0 / 0 / 0
Mandatory for export - EX DOC application number issued for the ECN process eg RFP
VALIDATION RULE: Required if the message is export (BGM_type = EXPORT) and (not air freight (TDT_20_mode <> 40) or not for an Non Packer Exporter (EX_MMCID = null)).
01 Jan 14
"RFF_AWS":
"934482"
,
String
Text
an..50
0 / 0 / 0
Mandatory for export - Health Certificate number (Hygienic Certificate number, national Nationally set Hygienic Certificate number, such as sanitary, epidemiologic)
VALIDATION RULE: Required if the message is export (BGM_type = EXPORT) and (not air freight (TDT_20_mode <> 40) or not for an Non Packer Exporter (EX_MMCID = null)).
01 Jan 14
"RFF_IV":
"37756423"
,
String
Text
an..50
0 / 0 / 0
Company Invoice number
01 Jan 14
"RFF_ON":
"PT55638"
,
String
Text
an..255
0 / 0 / 0
Buyer Order number
01 Jan 14
"RFF_GN":
""
,
String
Text
an..255
0 / 0 / 0
Paper MTC Number if applicable - Government reference number - A number that identifies a government reference
01 Jan 14
"RFF_AWT":
"These products are eligible for export to the following countries"
,
String
Text
an..5000
0 / 1 / 0
This is required for eMTC
01 Jan 14
"RFF_SRN":
"ABC012345674"
,
String
Text
an..255
0 / 0 / 0
Shipping or Port Mark for US Pallet Pilot comprising 3 alpha and 9 digits being the last 9 digits of the shipment SSCC.
26 May 20
"RFF_SO":
"SO55638"
,
String
Text
an..255
0 / 0 / 0
Internal company unique identification - non GS1
01 Jan 14
"TDT_20_ref":
"908N"
,
String
Text
an..255
0 / 0 / 0
Details of transport carrier such as the Voyage/Flight no.
This segment [LOC_9] is used for either the Port of Loading (As per RFP or Health Certificate) for Export, or of the detail of the location of Load Out for eMTC. For Export this is likely be the terminal name (Refer to the UN/LOCODE code list) if no company name is known. For eMTC or domestication this is an Australian Establishment and address details.
This segment [LOC_11] is used for either the Port of Discharge (As per RFP or Health Certificate) for Export, or of the detail of the location of Receiving for eMTC. For Export this is likely be the terminal name (Refer to the UN/LOCODE code list) if no company name is known. For eMTC or domestication this is an Australian Establishment and address details.
For Export (optional usage), eg U.S.A. export - use U.S.A. inspection facility list, if eMTC (mandatory) use Australian AUS-MEAT list of export listed establishment numbers. For Domestication of product either the AUS-MEAT list of export listed establishment numbers or leave blank if the destination is a non-export location.
01 Jan 14
"LOC_11_gln":
"1039900949623"
,
Number
GLN
n13
0 / 0 / 0
GLN (Global Location Number) provides the global identification of physical locations.
This segment is used to provide access to NPE for the finalisation of Health Certificates. The value is the MMCID for the NPE that has had the RFP transferred. The NPE can access the Messages and add the Health Certificate number to the message. This is permitted for OPEN or SENT only messages. An NPE must be registered with Meat Messaging to be issued a MMCID and use Meat Messaging. To obtain the MMCID for the NPE, contact the NPE.
Total number of units, eg cartons. VALIDATION RULE: The count at the header level (total_unit_count) must match the sum of the counts at the group level (mm_det_PAC_count) which must match the actual count of the items.
01 Jan 14
"p_portmark":
""
,
String
Text
an..255
0 / 0 / 0
For US and some other markets the shipping mark is Mandatory. There can be one or more shipping marks per consignment.When different shipping marks are used per group, show the shipping marks on the group level segment.
01 Jan 14
"lines": [
{
"mm_det_CPS_group":
"1"
,
Number
Number
n..4
1 / 1 / 1
Increments for each item group in a message. A group must have only one product code/GTIN.
Shipping mark for this group - used when required for market. When different shipping marks are used per group, show the shipping marks on the group level segment.
Global Shipment Identification Number (GSIN) (similar to an SSCC and can be referred to as the SSCC shipping mark). The GSIN is equivalent to the shipping mark. The Global Shipment Identification Number (GSIN) is a number assigned by a seller and shipper of goods to identify a shipment comprised of one or more logistic units that are intended to be delivered together. The GSIN is fully compatible with ISO/IEC 15459 – PART 8: GROUPING OF TRANSPORT UNITS. The GSIN meets the requirements for a Unique Consignment Reference (UCR) According to the world Customs Organisation.
UN/ECE code for the carton/carcase product. Contact AUS-MEAT for UNECE coding specifications
01 Jan 14
"mm_det_IMD_E":
"Raw - Intact, Raw intact beef, Primals and Subprimals"
,
String
Text
an..255
1 / 1 / 1
Trade Description (Heath Certificate Description) for this group of cartons. This is typically what is shown on the Health Certificate Description line. For US markets this would be as required by FSIS. This may be the same or different to the commercial description that is printed as the Commercial Product Description on the carton label.
01 Jan 14
"mm_det_IMD_E_A":
"Grass Fed, Range Fed"
,
String
Text
an..255
0 / 0 / 0
Commercial raising claims for this group of cartons. Eg Grass fed, grain fed, fee range, range fed
01 Jun 19
"mm_det_IMD_E_B":
" Certified Organic"
,
String
Text
an..255
0 / 0 / 0
Commercial product system claims for this group of cartons Eg Certified Organic, Organic, Conventional
01 Jun 19
"mm_det_IMD_E_C":
"Halal"
,
String
Text
an..255
0 / 0 / 0
Commercial religious product system claims for this group of cartons. Eg Halal,
01 Jun 19
"mm_det_IMD_E_D":
"Raised in the Gippsland district"
,
String
Text
an..255
0 / 0 / 0
Commercial raising/ production region claims for this group of cartons. Eg raised in the Gippsland district
01 Jun 19
"mm_det_IMD_E_E":
" MSA GRILL 4 @ 10 days"
,
String
Text
an..255
0 / 0 / 0
Commercial grading claims for this group of cartons. Eg MSA GRILL 4 @ 10 days
01 Jun 19
"mm_det_IMD_E_F":
"Certified Angus"
,
String
Text
an..255
0 / 0 / 0
Commercial branding claims for this group of cartons.Eg Certified Angus,
01 Jun 19
"mm_det_IMD_E_G":
"2560"
,
Number
n4
0 / 0 / 0
Handbook of Australian Meat distinct four-digit number for every primal cut specification and offal product derived from beef, veal, sheep and goat. Primal cuts are a muscle, or group of muscles, (Bone in or Boneless) which are defined by detailed cutting lines using objective measurements (e.g. rib number), standard descriptions and directions.
12 Jul 24
"mm_det_IMD_E_G":
"2560"
,
Number
Number
n4
0 / 0 / 0
Handbook of Australian Meat distinct four-digit number for every primal cut specification and offal product derived from beef, veal, sheep and goat. Primal cuts are a muscle, or group of muscles, (Bone in or Boneless) which are defined by detailed cutting lines using objective measurements (e.g. rib number), standard descriptions and directions.
12 Jul 24
"mm_det_IMD_F":
"*S-CT* CHUCK TENDER"
,
String
Text
an..255
1 / 1 / 1
Commercial Product Description for this group of cartons eg description on the carton label.
Used to indicate the test and hold status of the product group. 0 = Product for release (This can be considered the default for products, unless there is a requirement for a product to have a successful test results to allow it to leave). 1 = Product held awaiting inspection/ test results.
This is the Processing (or Production) Establishment Number using the Accredited Export Establishment Listing - Refer to AUS-MEAT Accreditation Listing.
Shipping mark for this group - used when required for market. When different shipping marks are used per group, show the shipping marks on the group level segment.
Global Shipment Identification Number (GSIN) (similar to an SSCC and can be referred to as the SSCC shipping mark). The GSIN is equivalent to the shipping mark. The Global Shipment Identification Number (GSIN) is a number assigned by a seller and shipper of goods to identify a shipment comprised of one or more logistic units that are intended to be delivered together. The GSIN is fully compatible with ISO/IEC 15459 – PART 8: GROUPING OF TRANSPORT UNITS. The GSIN meets the requirements for a Unique Consignment Reference (UCR) According to the world Customs Organisation.
Trade Description (Heath Certificate Description) for this group of cartons. This is typically what is shown on the Health Certificate Description line. For US markets this would be as required by FSIS. This may be the same or different to the commercial description that is printed as the Commercial Product Description on the carton label.
01 Jan 14
"mm_det_IMD_E_A":
"Grass Fed, Range Fed"
,
String
Text
an..255
0 / 0 / 0
Commercial raising claims for this group of cartons. Eg Grass fed, grain fed, fee range, range fed
01 Jun 19
"mm_det_IMD_E_B":
"Certified Organic"
,
String
Text
an..255
0 / 0 / 0
Commercial product system claims for this group of cartons Eg Certified Organic, Organic, Conventional
01 Jun 19
"mm_det_IMD_E_C":
"Halal"
,
String
Text
an..255
0 / 0 / 0
Commercial religious product system claims for this group of cartons. Eg Halal,
01 Jun 19
"mm_det_IMD_E_D":
"Raised in the Gippsland district"
,
String
Text
an..255
0 / 0 / 0
Commercial raising/ production region claims for this group of cartons. Eg raised in the Gippsland district
01 Jun 19
"mm_det_IMD_E_E":
""
,
String
Text
an..255
0 / 0 / 0
Commercial grading claims for this group of cartons. Eg MSA GRILL 4 @ 10 days
01 Jun 19
"mm_det_IMD_E_F":
""
,
String
Text
an..255
0 / 0 / 0
Commercial branding claims for this group of cartons.Eg Certified Angus,
01 Jun 19
"mm_det_IMD_E_G":
"2560"
,
Number
Number
n4
0 / 0 / 0
Handbook of Australian Meat distinct four-digit number for every primal cut specification and offal product derived from beef, veal, sheep and goat. Primal cuts are a muscle, or group of muscles, (Bone in or Boneless) which are defined by detailed cutting lines using objective measurements (e.g. rib number), standard descriptions and directions.
12 Jul 24
"mm_det_IMD_F":
"*A* 85CL Trim"
,
String
Text
an..255
1 / 1 / 1
Commercial Product Description for this group of cartons eg description on the carton label.
Used to indicate the test and hold status of the product group. 0 = Product for release (This can be considered the default for products, unless there is a requirement for a product to have a successful test results to allow it to leave). 1 = Product held awaiting inspection/ test results.
This is the Processing (or Production) Establishment Number using the Accredited Export Establishment Listing - Refer to AUS-MEAT Accreditation Listing.