Transfer_Pricing (loan spreads)
XGBoost model estimating arm's length intercompany loan spreads from synthetic bond data, with a Streamlit UI.
What it does
Estimates an arm's length spread for an intercompany loan with an XGBoost model, giving a 90% prediction interval and a comparable spread table by rating and tenor, in a Streamlit interface. Runs locally with Python after training the model with train.py. Trained on synthetic data calibrated to stylised spread curves; for demonstration and screening, not formal benchmarking, per the README.
Licence unknown: we found no licence we could recognise. Check with the maintainers before you reuse the code.
Where it fits on the map
Not on the map: a demo.
The map places maintained projects for a company tax department or a tax authority, without a demo or paid-service flag. Everything else stays on the list with its label.
Similar projects
Of the same kind, for a shared jurisdiction or tax area. Not a ranking.
- before-you-payStatic decision tool for Irish outbound withholding tax: which rule decides and at what rate.
- beps2-pillar-twoTypeScript app projecting Pillar Two top-up tax for Hong Kong, Singapore and Japan groups under their regimes.
- canada-hsa-calculatorTypeScript library and CLI for Canadian small-business health spending account tax savings, 2025 brackets.For individual taxpayers
- corp-finance-coreRust finance library with a transfer pricing feature: tested party versus comparables, range, price by method.
- crypto-tax-calculatorImports crypto transactions from exchanges and wallets and produces tax reports.For individual taxpayers
- indonesia-tax-calculatorIndonesian tax calculator for foreign investors, with withholding tax and treaty rates for 14 countries.
Maintain this project?
Link to this page from your README, so readers find the facts, the notes and where it fits. The badge is a small SVG served from this site.
[](https://tax-oss.com/projects/transfer-pricing-loan-spreads/)