Skip to main content

Tango Project Invoice Inbound (Payment Confirmation) API

Generated from Tango Project Invoice Inbound (Payment Confirmation) API Integration Design Specification V0.9.docx in SharePoint folder 04 Projects Integrations. OAS spec: invoice-inbound-api.yaml

Overview

Async REST API for posting invoice payment confirmations into Tango. The client PUTs 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
Response — 200 OK
Optional fields may be omitted entirely or sent with empty values.

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_method field is contradictory — the data-mapping table marks it optional, but validation #4 rejects payloads missing it. Treat as required pending clarification.
  • status enum: source lists PAID/VOID as the “default value” — interpreted as the allowed set; confirm.
  • One-of constraint (inv_id XOR inv_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_key type varies between string and integer in the doc’s examples — modeled as oneOf.

Changelog