CorebanqCorebanq Developer Docs
Invoicesv1QR Code

Read QR code from image or PDF

Decodes a Swiss QR-bill or any QR code embedded in the provided base64-encoded image or PDF and returns the raw QR code text

POST/v1/invoices/qrcode

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://example.com/v1/invoices/qrcode" \  -H "Content-Type: application/json" \  -d '{    "base64_file": "JVBERi0xLjcKCjEgMCBvYmogICUgZW50..."  }'
{
  "qr_info": "string"
}
{
  "code": "invalid_input",
  "message": "Invalid input data",
  "details": {}
}
Empty
Empty