Skip to content

SFTP Exchange

Exchange invoice files with an SFTP server — for trading partners, EDI providers, or in-house systems that work with file drops instead of PEPPOL or an API.

SFTP works in two directions, each with its own set of folders:

DirectionWhat Tapr doesTrigger
AP — outgoingUploads the source file of each approved Purchase InvoiceWhen the Purchase Invoice reaches Approved
AR — incomingPicks up Sales Invoice files dropped in the AR New folder and creates Sales Invoices in Out DocsEvery poll interval, or Fetch SFTP Now

Files move through New → In Progress → Success, or to Error if something fails. Every transfer is recorded in an SFTP Transfer Log.

Open Tapr Settings → SFTP and tick Enable SFTP.

FieldNotes
HostSFTP server hostname
PortDefault 22
UsernameSFTP account
Authentication MethodPassword or Private Key
PasswordWhen using password auth
Private KeyFull PEM-encoded private key, when using key auth
Private Key PassphraseOnly if the key is encrypted

Click Test SFTP Connection before saving.

FieldNotes
Poll IntervalHow often to check the AR New folder, in minutes (10–60, default 10)
Fetch SFTP NowCheck the folder immediately

Paths are relative to the SFTP user’s home directory. Defaults:

FolderAP (Purchase Invoice upload)AR (Sales Invoice pickup)
Newap/newar/new
In Progressap/wipar/wip
Successap/successar/success
Errorap/errorar/error

Create these folders on the server (or change the paths to match your server’s layout), then Save.

Files in the AR New folder are processed like other AR intake:

File typeHow it is read
.xml (UBL / CII)Structured e-invoice parsing — no AI needed
.pdfEmbedded XML when present (Factur-X / ZUGFeRD), otherwise AI extraction (BYOK required)
.jsonPre-structured invoice data in Tapr’s extracted-invoice format — no AI needed

Each file counts against your plan’s message quota, like other AR intake channels.

When a Purchase Invoice reaches workflow state Approved, Tapr uploads its source file (the original PDF or XML) once. Later edits to the approved invoice do not trigger another upload. A Purchase Invoice with no source file is logged as Failed.

The upload needs that approval workflow. On a site with no workflow, the Submit fallback does not set Approved, so nothing is uploaded.

Desk → SFTP Transfer Log lists every transfer:

FieldMeaning
DirectionOutgoing AP or Incoming AR
StatusQueued, Uploading, Processing, Success, Failed
File Name / Remote PathThe file and where it ended up
Purchase Invoice / Sales InvoiceThe linked document
Attempts, Last Attempt At, Last ErrorRetry history

Open a Failed row and click Retry to queue it again. For AR files, Retry reprocesses the file from the Error folder.

  • Test connection fails: check host, port, firewall rules (Tapr connects outbound to your server), and credentials. For key auth, paste the whole PEM block including the BEGIN/END lines.
  • AR files stay in New: confirm Enable SFTP is ticked and the poll interval has passed, or use Fetch SFTP Now.
  • Files land in Error: open the matching SFTP Transfer Log row for Last Error; also check the Error Log.