Skip to main content

Tango Sales Inbound — File

Generated from Tango Sales Inbound Integration Design Specification V0.9.docx in SharePoint folder 02 Lease Integrations. OAS spec: sales-inbound-file.yaml

Overview

SFTP file-based inbound. Client drops a pipe-delimited file containing monthly sales / exclusion rows; Tango processes and feeds Percent Rent calculations. Owner: Tango Analytics Spec version: 0.9 Status: Draft (auto-generated — needs review)

Transport

Integration logic

  • Percent Rent is applied based on Calendar Period and Calendar Year (not fiscal).
  • Sales can be loaded for multiple active percent rent agreements on the same lease.
  • Sales code is optional; uniqueness is (SALES_EXCLUSION, SALES_CATEGORY).
  • Send sales as positive, exclusions as negative.
  • Gross Sales = Net Sales + Exclusion; Net Sales = Gross Sales − Exclusion.
  • Re-sending data for the same month overwrites prior data.
  • Forecast is replaced by Actual when sent later for the same month/year/category.
  • Sales adjustments for past periods (when payment was already generated) must be sent in future periods.
  • Multiple concurrent files are processed in arrival order; all are moved to Processed.

Data fields

Validations

Open Questions / Assumptions

  • CALENDAR_YEAR typed VARCHAR in source mapping but treated as a year value. Schema mirrors the doc.
  • SFTP credentials are <TBD>.
  • Timing/frequency is <TBD>.
  • Cap logic (Annual / Monthly) is detailed in the source’s Functional Design — applied at processing time, not in the inbound row schema.
  • Lookup values for SALES_CODE, SALES_CATEGORY, SALES_EXCLUSION are <TBD> in Appendix.

Changelog