Files
Investidor-V2/tests/frontend/helpers/irpc-investment-case.mjs
T
2026-11-10 15:09:31 +02:00

63 lines
2.6 KiB
JavaScript

import { internationalCase } from './irpc-international-case.mjs';
import { prepareInvestmentCredit } from '../../../resources/js/lib/irpc-annual-settlement.ts';
import { newInvestmentAsset } from '../../../resources/js/lib/irpc-investment-credit.ts';
export function investmentCase() {
const c = internationalCase();
c.b = prepareInvestmentCredit(c.d, c.b);
Object.assign(c.b.investmentCredit, {
qualification: {
state: 'known',
eligible: 'yes',
from: '2026-01-01',
to: '2026-12-31',
reference: 'SYNTHETIC CBF3/9/13 qualification and eligible project',
periodReference: 'SYNTHETIC current civil2026 fiscal period',
},
projectReference: 'SYNTHETIC-APPROVED-PROJECT-2026',
location: 'maputo_city',
locationReference:
'SYNTHETIC actual investment in Maputo city, not company address',
startKind: 'new',
startDate: '2026-06-01',
startReference:
'SYNTHETIC start of taxable operations in first exercise2026',
cbfRequirements: 'yes',
recognition: 'documented',
recognitionReference:
'SYNTHETIC competent investment authorisation and CBF10 recognition presented; not a real administrative act',
genericOnly: 'yes',
noOtherBenefits: 'yes',
noOtherBenefitsReference:
'SYNTHETIC no specific or other CBF/IRPC benefits in this case; statutory international/PEC remain separate',
soleProject: 'yes',
soleProjectReference:
'SYNTHETIC whole current collecta relates to project activity',
assets: [
{
...newInvestmentAsset('machine-1'),
issuer: 'SYNTHETIC-SUPPLIER',
document: 'SYNTHETIC-INVESTMENT-INVOICE-2026',
parcel: 'machine-1',
parcelReference:
'SYNTHETIC supported asset line, not another use of same investment',
date: '2026-05-01',
proofAmount: '10000',
amount: '10000',
realised: 'yes',
newTangible: 'yes',
domesticUse: 'yes',
directProductive: 'yes',
excluded15_6: 'no',
reference:
'SYNTHETIC realised ordinary productive new machine, not advanced technology or other15(6) exclusions',
},
],
previousUse: {
state: 'known',
amount: '0',
reference: 'SYNTHETIC actual prior credit use known zero',
},
});
return c;
}