PEPPOL - Send

PEPPOL - Send (Business Function)

Summary

Send an existing attachment file via PEPPOL.

senderId is treated as an InboxId (not as 9930:... identifier). The backend resolves the inbox and sends with the inbox identifier.

Client Usage

const result = app.businessFunction({
  functionName: "Peppol",
  methodName: "Send",
  attachmentId: 197,                                  // required
  senderId: "89c5026c-23ce-4542-b0b1-4b750c5737f2"   // optional InboxId
});

Request Fields

Required

  • attachmentId: number - Attachment id of the document file to send.

Optional

  • senderId: string - InboxId override for this request.

    • If missing, backend uses workspace setting PEPPOL Default Sender Id.

Backend Route

  • POST /Peppol/Send

Response (shape)

Typical Errors

  • attachmentId is required.

  • PEPPOL API key is missing in workspace settings.

  • senderId (inbox id) is required either in request or workspace settings.

  • Inbox '<id>' was not found.

  • Inbox '<id>' has no identifier.

  • Attachment <id> was not found.

Last updated