Tango Project Invoice Inbound (Payment Confirmation) API
Generated fromTango Project Invoice Inbound (Payment Confirmation) API Integration Design Specification V0.9.docxin SharePoint folder04 Projects Integrations. OAS spec:invoice-inbound-api.yaml
Overview
Async REST API for posting invoice payment confirmations into Tango. The clientPUTs a batch of payment records; Tango records them under Projects → Costs → Payments. Tango returns a gu_id; the client polls the Status endpoint for processing outcomes.
Owner: Tango Analytics
Spec version: 0.9
Status: Draft (auto-generated from design doc — needs review)
Base URLs
Authentication
x-client and x-api-key headers, required on every call.
Endpoints
PUT /v1/projectmgmt/batch/invoicepayments
Request
GET /v1/batch/status?gu_id=...
Three response shapes: PROCESSING, COMPLETED (with total_records), or ERROR (with per-record errors).
Data model
Validations (per source doc)
Open Questions / Assumptions
-
payment_methodfield is contradictory — the data-mapping table marks it optional, but validation #4 rejects payloads missing it. Treat as required pending clarification. -
statusenum: source listsPAID/VOIDas the “default value” — interpreted as the allowed set; confirm. - One-of constraint (
inv_idXORinv_number) cannot be expressed natively in OAS 3.1 properties; documented in the schema description and runtime validators must enforce it. - Date strings use
MM/DD/YYYY(not ISO 8601). Confirm intentional. - Error payload’s
record_keytype varies between string and integer in the doc’s examples — modeled asoneOf.

