BELLEVUE RESORT SARDINIA BY MELIA (DDT) / Bellevue Resort Sardinia (EMAIL_FROM, EMAIL_SUBJECT) - This is a good match and consistent with the resort context. The extracted name is taken as the primary for its completeness in the DDT data. The email metadata confirms the shipping location is a resort called Bellevue Resort Sardinia, which matches the Headquarter_Name from the DDT. There is no contradiction, so we use the DDT extracted value, which is more specific. The shipping address is also consistent with a resort location in Sardinia. The customer legal name is PIAZZA HOTELS&RESIDENCES SRL, which is different from the shipping headquarter. This is common in the hotel industry where a management company (customer) operates multiple resorts (shipping headquarters). The API P.IVA validation for the customer's VAT number indicates it's invalid, which impacts the overall data quality score for the customer's legal identity. However, the extracted customer data itself is internally consistent. The shipping information is well-extracted and corroborated by email metadata. The data quality score reflects the good shipping info but the problematic customer VAT validation. The customer info is taken directly from the extracted DDT as the API validation was negative and provided no usable data. The shipping info from DDT is used as it is complete and consistent with email metadata (Bellevue Resort Sardinia). There is no need to infer a new shipping address. The customer data is distinct from the shipping data, which is appropriate for this scenario. The score is lowered due to the API P.IVA invalidation for the customer's VAT number, which is a critical piece of information for legal entities. However, the shipping information is very clear and well-aligned with the context provided by the email metadata and the extracted DDT data. Therefore, a score of 0.7 is chosen to reflect both the issue with the customer's VAT and the good quality of other extracted and validated fields, especially for shipping. The shipping address from the DDT is taken as is, as it is complete and consistent with the email context (Bellevue Resort Sardinia). No inference needed. The customer's legal name is taken from the extracted data, as the API provided no valid name. The customer's address is taken from the extracted data, as the API provided no valid address. The customer's city is taken from the extracted data. The customer's VAT number is taken from the extracted data, despite the API reporting it as invalid, as it's the only one available and its format is correct. The shipping headquarter name is taken from the extracted data, which is consistent with the email metadata. The shipping address is taken from the extracted data, which is complete and consistent with the email context. The data quality score is set to 0.7 due to the invalid customer VAT number from the API, balanced by the otherwise consistent and plausible extracted data, particularly for shipping. The customer's legal name is taken from the extracted DDT. The customer's address is taken from the extracted DDT. The customer's city is taken from the extracted DDT. The customer's VAT number is taken from the extracted DDT, as the API returned it as invalid, providing no alternative. The shipping headquarter name is taken from the extracted DDT, which is corroborated by the email metadata. The shipping address is taken from the extracted DDT, as it is complete and consistent with the email metadata referring to Bellevue Resort Sardinia. The data quality score is set to 0.7, reflecting the issue with the customer's VAT number from the API P.IVA validation, while acknowledging the good quality and consistency of the other extracted information, especially for shipping. The customer's legal name, address, city, and VAT number are taken from the extracted DDT data. The API P.IVA validation indicated an invalid VAT number for the customer, but provided no valid alternative name or address, so the extracted data is used. The shipping headquarter name and address are taken from the extracted DDT, as they are consistent with the email metadata which mentions Bellevue Resort Sardinia. There is a clear distinction between the customer (PIAZZA HOTELS&RESIDENCES SRL in Rimini) and the shipping location (BELLEVUE RESORT SARDINIA BY MELIA in Valledoria), which is appropriate given the hotel context. The data quality score is reduced to 0.7 due to the invalid customer VAT number reported by the API. All other extracted fields seem consistent and correct within their context. The customer's legal name is taken from the extracted DDT. The customer's address is taken from the extracted DDT. The customer's city is taken from the extracted DDT. The customer's VAT number is taken from the extracted DDT, as the API P.IVA validation returned an invalid status and no usable alternative data. The shipping headquarter name is taken from the extracted DDT, and it is strongly supported by the email metadata (Bellevue Resort Sardinia). The shipping address is taken from the extracted DDT, which is complete and consistent with the shipping headquarter name and the context of a resort in Sardinia. The data quality score is set to 0.7 to reflect the issue with the customer's VAT number (API invalidation) while acknowledging the good quality and consistency of the shipping information and other customer details from the extraction. The customer's legal name is