---
updatedAt: 2026-07-20T11:47:41.000Z
agentTools:
  projectIndex: https://docs.falco-app.be/llms.txt
---

# Send an imported document via Peppol and/or to accounting

Required scopes: `invoices:send`


# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "PDF & UBL Imports",
    "version": "1.0.0",
    "description": "`X-Falco-App-Secret` + `X-Falco-Api-Key`.\n"
  },
  "servers": [
    {
      "url": "https://api.falco-app.be/v1",
      "description": "Production"
    },
    {
      "url": "https://api.sandbox.falco-app.be/v1",
      "description": "Sandbox"
    }
  ],
  "security": [
    {
      "ApiKeyAuth": []
    }
  ],
  "components": {
    "securitySchemes": {
      "ApiKeyAuth": {
        "type": "apiKey",
        "in": "header",
        "name": "X-Falco-App-Secret",
        "description": "`X-Falco-App-Secret`: Falco Application Secret associated to your application. Use together with the `X-Falco-Api-Key` header.",
        "x-scopes": [
          "articles:read",
          "articles:write",
          "customers:read",
          "customers:write",
          "invoices:read",
          "invoices:write",
          "invoices:attachments:read",
          "invoices:attachments:write",
          "invoices:send",
          "invoices:ingest:ubl",
          "invoices:ingest:pdf",
          "peppol:inbound:read",
          "peppol:participants:read"
        ]
      }
    },
    "schemas": {
      "Problem": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "format": "uri"
          },
          "title": {
            "type": "string"
          },
          "status": {
            "type": "integer"
          },
          "code": {
            "type": "string"
          },
          "detail": {
            "type": "string"
          },
          "instance": {
            "type": "string"
          },
          "trace_id": {
            "type": "string"
          }
        }
      },
      "ImportedDocument": {
        "type": "object",
        "properties": {
          "document_id": {
            "type": "string"
          },
          "peppol_status": {
            "type": "object",
            "properties": {
              "peppol_identifier": {
                "type": "string"
              },
              "error_message": {
                "type": "string"
              },
              "status": {
                "type": "string",
                "enum": [
                  "submitted",
                  "failed"
                ]
              }
            }
          },
          "accounting_status": {
            "type": "object",
            "properties": {
              "peppol_identifier": {
                "type": "string"
              },
              "error_message": {
                "type": "string"
              },
              "status": {
                "type": "string",
                "enum": [
                  "submitted",
                  "failed"
                ]
              }
            }
          }
        }
      },
      "SendImportedDocumentRequest": {
        "type": "object",
        "properties": {
          "document_id": {
            "type": "string"
          },
          "send_peppol": {
            "type": "boolean",
            "description": "If set to `true`, an attempt to send it through the Peppol network will be made."
          },
          "send_accounting": {
            "type": "boolean",
            "description": "If set to `true`, an attempt to forward to it to the accounting software (Horus Office) will be made."
          },
          "accounting_info": {
            "type": "object",
            "description": "Only when linked to accounting software (Horus Office).",
            "properties": {
              "number": {
                "type": "number"
              },
              "journal": {
                "type": "string",
                "description": "specify the sale's journal search key"
              }
            }
          }
        },
        "required": [
          "document_id"
        ]
      }
    }
  },
  "paths": {
    "/invoices/imports/send": {
      "post": {
        "summary": "Send an imported document via Peppol and/or to accounting",
        "tags": [
          "Imports"
        ],
        "description": "Required scopes: `invoices:send`\n",
        "parameters": [
          {
            "name": "X-Falco-Api-Key",
            "in": "header",
            "required": true,
            "description": "Falco Api Key (provided by the client - required in addition to X-Falco-App-Secret).",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SendImportedDocumentRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Imported document",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ImportedDocument"
                }
              }
            }
          },
          "default": {
            "description": "Error (RFC 9457)",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            }
          }
        }
      }
    }
  }
}
```