The QR Invoice REST API provides various services for creation and processing of Swiss QR Invoices. This API is available as a Cloud Service but is also available as a self-hosted solution.
582c9ea9-741a-4bb6-acae-cf92f8805864
https://rest.qr-invoice.cloud/
https://rest.qr-invoice.cloud/v2/alternative-schemas/parse
curl -i -X POST \
https://rest.qr-invoice.cloud/v2/alternative-schemas/parse \
-H 'Content-Type: text/plain' \
-H 'X-API-Key: YOUR_API_KEY_HERE' \
-d string
{}
https://rest.qr-invoice.cloud/v2/alternative-schemas/parse/raw
curl -i -X POST \
https://rest.qr-invoice.cloud/v2/alternative-schemas/parse/raw \
-H 'Content-Type: text/plain' \
-H 'X-API-Key: YOUR_API_KEY_HERE' \
-d string
{}
Unique identification of the invoice recipient (e.g. PID)
Enterprise identification number (UID) for companies as invoice recipients (in the eBill for Business context).
https://rest.qr-invoice.cloud/v2/alternative-schemas/ebill/validate
curl -i -X POST \
https://rest.qr-invoice.cloud/v2/alternative-schemas/ebill/validate \
-H 'Content-Type: application/json' \
-H 'X-API-Key: YOUR_API_KEY_HERE' \
-d '{
"type": "BILL",
"recipientEmailAddress": "john.doe@example.com",
"recipientId": "41010560425610173",
"recipientEnterpriseIdentificationNumber": "CHE123456789",
"referencedBill": "2018-123456-22"
}'
https://rest.qr-invoice.cloud/v2/alternative-schemas/ebill/parse
curl -i -X POST \
https://rest.qr-invoice.cloud/v2/alternative-schemas/ebill/parse \
-H 'Content-Type: text/plain' \
-H 'X-API-Key: YOUR_API_KEY_HERE' \
-d string
{ "type": "BILL", "recipientEmailAddress": "john.doe@example.com", "recipientId": "41010560425610173", "recipientEnterpriseIdentificationNumber": "CHE123456789", "referencedBill": "2018-123456-22" }
Unique identification of the invoice recipient (e.g. PID)
Enterprise identification number (UID) for companies as invoice recipients (in the eBill for Business context).
https://rest.qr-invoice.cloud/v2/alternative-schemas/ebill/create
curl -i -X POST \
https://rest.qr-invoice.cloud/v2/alternative-schemas/ebill/create \
-H 'Content-Type: application/json' \
-H 'X-API-Key: YOUR_API_KEY_HERE' \
-d '{
"type": "BILL",
"recipientEmailAddress": "john.doe@example.com",
"recipientId": "41010560425610173",
"recipientEnterpriseIdentificationNumber": "CHE123456789",
"referencedBill": "2018-123456-22"
}'