Api Overview

Last updated: Feb 20, 2025

Target API

Get target document for document.
  • Data retrieval
  • Compliance
  • The API endpoint receives a document ID to initiate the retrieval of the document target.
  • Performs validation checks on the document ID.
  • OEI performs tenant validation and fetches Pagero user ID information with the help of company and tenant details.
  • OEI extracts and validates the external document ID from the document, then utilizes it along with Pagero user information to interact with the Pagero API.
  • Returns the document target in XML format with an HTTP status of OK.

This is the base URL. All requests should use the Document Target API URL, which can be found at:

https://api-emea.onesourcetax.com/einvoicing/document/v1/documents/24b5c14a-1dc9-4dc0-8102-025fc25baad1/target-document
  • The API is versioned, you must include the version number in every request you make to access the endpoints.
  • All API requests must be made over HTTPS, requests sent over plain HTTP or without authentication will be refused.
  • For guidance on properly authenticating calls to the Document Target API, see the Authentication section.
  • Use any standard HTTPS client to access the web service.

Key Benefits

  1. 1Allowing controlled access to different document formats (target) through centralized retrieval.

Geographic Availability

API is available to all E-invoicing EMEA customers.

See Next