Docs

Download a received file or its check

  • In the sandbox
GET
/received/{id}/documents/{kind}

Since 0.35.0. The ETag is the SHA-256 of the file.

Authorization

apiKey
headerAuthorizationBearer <token>

Send your key as a bearer token: Authorization: Bearer <your-api-key>. Health is the only call that needs no key.

Path parameters

id*string

The service's id for a received invoice (returned by POST /received).

Match^rcv_[0-9a-f]{24}$
kind*string

received-xml (the file exactly as handed in, application/xml), validation-report and manifest (what the check found, application/json).

Value in"received-xml""validation-report""manifest"

Response body

The file. ETag is its SHA-256.

response?string
curl -X GET "https://example.com/received/string/documents/received-xml" \  -H "Authorization: Bearer <your-api-key>"
{}