TP-Doc Navigator
Transfer Pricing Documentation Outline🏦
General Documentation Info
Intercompany Transactions
List the major cross-border transactions requiring documentation.
Comparables and Benchmarking
**${data.group}** | Reporting Period: **${data.period}**
(Based on OECD BEPS Action 13 Guidance)
`; // --- PART I: MASTER FILE (GLOBAL) --- html += `I. MASTER FILE (Group Overview)
`;
// A. Organizational Structure
html += `A. Organizational Structure
`;
html += `A.1. Chart of MNE's Legal and Ownership Structure
`;
html += `A.2. Geographic location of MNE's facilities
`;
// B. Business of the MNE Group
html += `B. Business of the MNE Group
`;
html += `B.1. Description of MNE's value drivers (e.g., R&D, IP, production)
`;
html += `B.2. Description of Supply Chain for five largest products/services
`;
html += `B.3. Service arrangements (e.g., IT, finance, marketing)
`;
html += `B.4. Key MNE operating markets and business rationale
`;
html += `B.5. Functions, Assets, and Risks (FAR) matrix (Overall)
`;
// C. MNE's Intangibles
html += `C. MNE's Intangibles
`;
html += `C.1. Strategy on Development, Ownership, and Exploitation of IP
`;
html += `C.2. List of Important IP, Ownership, and Location
`;
html += `C.3. Transfer Pricing Policy for R&D and Intangibles
`;
// D. MNE's Financial Activities
html += `D. MNE's Financial Activities
`;
html += `D.1. Description of Intercompany Financing Arrangements (e.g., loans, guarantees)
`;
html += `D.2. TP Policy regarding financing
`;
// E. MNE's Financial and Tax Positions
html += `E. MNE's Financial and Tax Positions
`;
html += `E.1. MNE's Consolidated Financial Statements and Allocation
`;
html += `E.2. Unilateral Advance Pricing Agreements (APAs)
`;
// --- PART II: LOCAL FILE (LOCAL) ---
html += `II. LOCAL FILE (${data.juris} Specific)
`;
// A. Local Entity Information
html += `A. Local Entity Information
`;
html += `A.1. Local Entity Management Structure and Organization Chart
`;
html += `A.2. Detailed Local FAR Analysis (Functions, Assets, Risks)
`;
html += `A.3. Key business strategies and restructuring events
`;
// B. Intercompany Transactions
html += `B. Intercompany Transactions
`;
let transCount = 1;
data.transactions.forEach(t => {
html += `B.${transCount}. ${t.type} (Parties: ${t.parties})
`;
html += `Detailed description of the transaction flow, contractual terms, and amounts (in ${data.currency}).
`;
transCount++;
});
// C. Transfer Pricing Analysis
html += `C. Transfer Pricing Analysis
`;
html += `C.1. Selection of Most Appropriate Transfer Pricing Method (e.g., CUP, TNMM, RPM)
`;
html += `C.2. Comparability Analysis and Benchmarking Study
`;
html += `Comparables Source: ${data.database}; Financial Metrics: ${data.metrics}
`;
html += `C.3. Conclusion on Arm's Length Principle and Summary of Results
`;
// D. Financial Information
html += `D. Financial Information
`;
html += `D.1. Local Entity's Annual Financial Statements (Statutory)
`;
html += `D.2. Reconciliation between tax accounts and GAAP accounts
`;
paper.innerHTML = html;
}
function tpdgLoadExample() {
if(!confirm("Overwrite current inputs with example data?")) return;
document.getElementById('inp-group').value = "Global Manufacturing Co. Ltd.";
document.getElementById('inp-period').value = "FY 2024";
document.getElementById('inp-juris').value = "Germany";
document.getElementById('inp-currency').value = "EUR (€)";
document.getElementById('inp-database').value = "Amadeus Database (European Comparables)";
document.getElementById('inp-metrics').value = "Return on Sales (ROS), Mark-up on Total Costs";
const container = document.getElementById('tpdg-trans-rows-container');
container.innerHTML = '';
tpdgAddTransactionRow("Sale of Finished Goods", "UK HQ to German Distributor");
tpdgAddTransactionRow("Management Fees", "German Sub providing local sales support to UK HQ");
tpdgAddTransactionRow("IP Royalty Payments", "German Sub paying royalty to Netherlands IP Co.");
tpdgRenderOutline();
tpdgSwitchTab('preview');
}
/* --- PDF Generation --- */
async function tpdgGeneratePDF() {
tpdgRenderOutline(); // Final render
const { jsPDF } = window.jspdf;
const doc = new jsPDF();
const data = {
group: document.getElementById('inp-group').value || "[MNE GROUP]",
period: document.getElementById('inp-period').value || "Tax Year",
juris: document.getElementById('inp-juris').value || "Jurisdiction",
currency: document.getElementById('inp-currency').value || "USD",
database: document.getElementById('inp-database').value || "N/A",
metrics: document.getElementById('inp-metrics').value || "N/A",
transactions: tpdgGetTransactionData()
};
const purple = [74, 20, 140]; // Deep Purple
let y = 20;
// Header
doc.setFillColor(...purple);
doc.rect(0, 0, 210, 20, 'F');
doc.setTextColor(255, 255, 255);
doc.setFontSize(16);
doc.text("Transfer Pricing Documentation Outline", 14, 13);
// Metadata
doc.setTextColor(0, 0, 0);
doc.setFontSize(10);
doc.text(`MNE Group: ${data.group}`, 14, y + 15);
doc.text(`Reporting Period: ${data.period}`, 14, y + 21);
doc.text(`Local File Jurisdiction: ${data.juris}`, 14, y + 27);
y += 35;
// Helper function to add sections and content
function addSection(title, level, startY, content = null) {
if (startY > 280) { doc.addPage(); startY = 20; }
let color = [0, 0, 0];
let size = 12;
let margin = 14;
if (level === 1) { color = purple; size = 14; margin = 14; }
else if (level === 2) { color = [123, 31, 162]; size = 11; margin = 20; }
else if (level === 3) { color = [142, 36, 170]; size = 10; margin = 25; }
doc.setFontSize(size);
doc.setFont("helvetica", "bold");
doc.setTextColor(...color);
doc.text(title, margin, startY);
startY += size / 2 + 3;
if (content) {
doc.setFont("helvetica", "normal");
doc.setTextColor(80, 80, 80);
doc.setFontSize(9);
const splitContent = doc.splitTextToSize(content, 180 - margin);
doc.text(splitContent, margin, startY);
startY += (splitContent.length * 4) + 5;
}
return startY;
}
// --- PART I: MASTER FILE ---
y = addSection("I. MASTER FILE (Group Overview)", 1, y);
y = addSection("A. Organizational Structure", 2, y);
y = addSection("A.1. Chart of MNE's Legal and Ownership Structure", 3, y, `(Placeholder: Insert diagram detailing legal ownership and capital structure.)`);
y = addSection("A.2. Geographic location of MNE's facilities", 3, y, `(Placeholder: List principal addresses and location of production, R&D, and services.)`);
y = addSection("B. Business of the MNE Group", 2, y);
y = addSection("B.1. Description of MNE's value drivers", 3, y, `(Placeholder: Detail the drivers, including R&D efforts, key IP, and major profit contributions.)`);
y = addSection("B.2. Description of Supply Chain for five largest products/services", 3, y, `(Placeholder: Provide narrative and diagrams for top products.)`);
y = addSection("C. MNE's Intangibles", 2, y);
y = addSection("C.1. Strategy on Development, Ownership, and Exploitation of IP", 3, y, `(Placeholder: Describe how IP is developed, funded, and managed across entities.)`);
// --- PART II: LOCAL FILE ---
y += 5;
if (y > 250) { doc.addPage(); y = 20; }
y = addSection(`II. LOCAL FILE (${data.juris} Specific)`, 1, y);
y = addSection("A. Local Entity Information", 2, y);
y = addSection("A.1. Local Entity Management Structure and Organization Chart", 3, y, `(Placeholder: Local management and direct reporting lines.)`);
y = addSection("A.2. Detailed Local FAR Analysis", 3, y, `(Placeholder: Specific analysis of Functions, Assets, and Risks carried out by the ${data.juris} entity.)`);
y = addSection("B. Intercompany Transactions", 2, y);
let transCount = 1;
data.transactions.forEach(t => {
if (y > 270) { doc.addPage(); y = 20; }
y = addSection(`B.${transCount}. ${t.type} (Parties: ${t.parties})`, 3, y, `(Placeholder: Transaction flow, contractual terms, and amounts in ${data.currency}.)`);
transCount++;
});
y = addSection("C. Transfer Pricing Analysis", 2, y);
y = addSection("C.1. Selection of Most Appropriate Transfer Pricing Method", 3, y, `(Placeholder: Justification for the chosen TP Method (e.g., TNMM).)`);
y = addSection("C.2. Comparability Analysis and Benchmarking Study", 3, y, `(Placeholder: Comparables Source: ${data.database}; Financial Metrics: ${data.metrics}. Conclusion on Arm's Length Range.)`);
doc.save(`TP_Documentation_Outline_${data.juris}.pdf`);
}
