> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tangoanalytics.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Drop approved PO file at SFTP path

> Virtual operation. Tango selects approved POs (excluding zero-dollar lines)
and writes them to the file. After writing, the prior file is moved to
`Processed/<timestamp>` and exported POs are flagged `Exported`.




## OpenAPI

````yaml /tango_projects/integrations/guides/po-outbound.yaml post /outbound/PO
openapi: 3.1.0
info:
  title: Tango PO Outbound
  version: '0.5'
  description: |
    SFTP file-based outbound integration. Tango exports approved Purchase Order
    (PO) header + detail rows as a pipe-delimited text file. Source design doc
    does not annotate required fields, so the schema lists none as required.

    `PO_ID` is the Tango unique identifier and is the reconciliation key — the
    client round-trips it in the PO Inbound file.
  x-direction: outbound
  x-source: Tango
  x-destination: Client System
  x-transport: sftp
  x-file-format: pipe-delimited text (.txt)
  x-file-naming-convention: '{ClientName}_poout_MMDDYYYYHHMMSS.txt'
servers:
  - url: sftp://sftp.tangoanalytics.com
    description: Production SFTP host
    x-environment: production
    x-path: /outbound/PO
  - url: sftp://sftpdev.tangoanalytics.com
    description: Test SFTP host (SIT/UAT)
    x-environment: test
    x-path: /outbound/PO
security:
  - sftpUserPassword: []
tags:
  - name: PO Outbound
paths:
  /outbound/PO:
    post:
      tags:
        - PO Outbound
      summary: Drop approved PO file at SFTP path
      description: >
        Virtual operation. Tango selects approved POs (excluding zero-dollar
        lines)

        and writes them to the file. After writing, the prior file is moved to

        `Processed/<timestamp>` and exported POs are flagged `Exported`.
      operationId: deliverPOOutboundFile
      requestBody:
        required: true
        content:
          text/plain:
            schema:
              type: string
              format: binary
              x-record-schema:
                $ref: '#/components/schemas/POOutboundRow'
      responses:
        '200':
          description: File delivered.
components:
  securitySchemes:
    sftpUserPassword:
      type: http
      scheme: basic
      description: SFTP user/password — values not specified in the source design doc.

````