Example of Creating Basic Mileage Details Taxable Benefits for the UK
This example describes how you can create taxable benefits for basic mileage details for the UK.
The Basic Mileage Details card component for the UK Taxable Benefits card has this shape:
![uk taxable benefits mileage component](images/hdl-uk-taxable-benefits-mileage-component.png)
Refer to the Guidelines for Loading Taxable Benefits for the United Kingdom topic for the attributes to supply for each record type.
This example creates a Taxable Benefits card with the Basic Mileage Details and Mileage Allowance Payments card components for employee assignment E472317.
The CalculationCard.dat file is used to bulk-load Taxable Benefits cards with HCM Data Loader:
METADATA|CalculationCard|SourceSystemOwner|SourceSystemId|LegislativeDataGroupName|DirCardDefinitionName|EffectiveStartDate|AssignmentNumber
MERGE|CalculationCard|VISION|TB_472317|UK LDG|Taxable Benefits|2020/01/01|E472317
METADATA|CardComponent|SourceSystemOwner|SourceSystemId|LegislativeDataGroupName|DirCardId(SourceSystemId)|EffectiveStartDate|DirCardCompDefName|ParentDirCardCompId(SourceSystemId)|Context1
MERGE|CardComponent|VISION|TB_472317_BM|UK LDG|TB_472317|2020/01/01|Basic Mileage Details||Mileage Reference
MERGE|CardComponent|VISION|TB_472317_MA|UK LDG|TB_472317|2020/01/01|Mileage Allowance Payments|TB_472317_BM|
METADATA|ComponentDetail|SourceSystemOwner|SourceSystemId|LegislativeDataGroupName|DirCardCompId(SourceSystemId)|EffectiveStartDate|DirCardCompDefName|FLEX:Deduction Developer DF|DirInformationCategory|_PROCESS_OR_REPORT(Deduction Developer DF=ORA_HRX_GB_BSC_MILEAGE_2017)|_VEHICLE_USED(Deduction Developer DF=ORA_HRX_GB_BSC_MILEAGE_2017)|_OPT_REMUNERATION_ARRANGE(Deduction Developer DF=ORA_HRX_GB_BSC_MILEAGE_2017)|_CASH_EQUIVALENT(Deduction Developer DF=ORA_HRX_GB_BSC_MILEAGE_2017)|_BUSINESS_MILES(Deduction Developer DF=ORA_HRX_GB_MILEAGE_PASSNGR_2017)|_BUSINESS_MILES_NOT_REIMB(Deduction Developer DF=ORA_HRX_GB_MILEAGE_PASSNGR_2017)|_MILEAGE_PAYMENT(Deduction Developer DF=ORA_HRX_GB_MILEAGE_PASSNGR_2017)
MERGE|ComponentDetail|VISION|TB_472317_BM_MILEAGE_2017|UK LDG|TB_472317_BM|2020/01/01|Basic Mileage Details|ORA_HRX_GB_BSC_MILEAGE_2017|ORA_HRX_GB_BSC_MILEAGE_2017|PAYROLL|CAR_OR_VAN|N|15000|||
MERGE|ComponentDetail|VISION|TB_472317_MA_PASSNGR_2017|UK LDG|TB_472317_MA|2020/01/01|Mileage Allowance Payments|ORA_HRX_GB_MILEAGE_PASSNGR_2017|ORA_HRX_GB_MILEAGE_PASSNGR_2017|||||500|250|4000
METADATA|CardAssociation|SourceSystemOwner|SourceSystemId|LegislativeDataGroupName|DirCardId(SourceSystemId)|EffectiveStartDate|TaxReportingUnitName
MERGE|CardAssociation|VISION|TB_472317_TRU|UK LDG|TB_472317|2020/01/01|UK TRU
METADATA|CardAssociationDetail|SourceSystemOwner|SourceSystemId|DirCardCompId(SourceSystemId)|DirRepCardId(SourceSystemId)|EffectiveStartDate|AssociationAssignmentNumber
MERGE|CardAssociationDetail|VISION|TB_472317_AD_BASMIL|TB_472317_BM|TB_472317_TRU|2020/01/01|E472317