Tango Currency Conversion — File
Generated fromTango Currency Conversion Integration Design Specification V0.5.docxin SharePoint folder01 Common Integrations. OAS spec:currency-conversion-file.yaml
Overview
SFTP file-based inbound. Client drops a pipe-delimited file with forex rate entries; Tango inserts new rates into its forex table. Insert-only — does not update existing rates. Owner: Tango Analytics Spec version: 0.5 Status: Draft (auto-generated — needs review)Transport
Integration logic
- Insert-only — never updates existing rate entries.
- Duplicate currency combinations for the same
exchg_rate_dateare NOT allowed (e.g.,MEX→USDcannot appear twice for the same date). - Pipe characters inside data must be removed/replaced before delimiting.
- Leading/trailing whitespace, embedded CR/LF, and non-ASCII bytes must be stripped from cell values.
Data fields (required ✅)
Validations
Open Questions / Assumptions
- Field name casing inconsistency: source mapping mixes
source_currency_code(snake_case) withEffective_From/Effective_To/Avg_rate(PascalCase). Preserved verbatim — confirm which the actual file headers use. - Field names differ from the API version: this file spec uses
source_currency_code/to_currency_code/exchange_rate/Avg_rate/exchg_rate_date; the API usessource_currency/converted_currency/spot_exchange_rate/avg_exchange_rate/exchange_rate_date. The two integrations are functionally equivalent but won’t share parsers. - SFTP path is
<TBD>— placeholderinbound/currency-conversionused. - SFTP credentials are
<TBD>. - Date format ambiguity in test scenario #3 mentions either
MM/DD/YYYYorMM-DD-YYYY— the mapping table only documentsMM/DD/YYYY.

