Why use the Scrada API to send invoices via Peppol to customer and accounting?

Developers, cash register suppliers, web shop builders… thanks to Scrada’s API, they can easily and inexpensively link their systems with accounting programmes.

On the other hand, using the same API, sales invoices can also be sent via Peppol and/or e-mail.

In addition, daily receipts and cash transactions can be kept in a digital daily receipts and cash book which complies with Belgian legal requirements.

Scrada API: send invoices via Peppol

Software programmes using Scrada’s API can send invoices to customers from their POS system, webshop or invoicing software. Via Peppol or email.

With one API call, an invoice is sent to Scrada. Scrada then sends this invoice to the customer via Peppol (for companies) or e-mail (for individuals). Finally, Scrada automatically sends the invoice to the accounting department.

So no need to implement Peppol yourself, set up email servers or create links to accounting programmes.

This is the route the invoice follows:

Example API call forwarding invoice:

curl -X 'POST' \
'https://api.scrada.be/v1/company/3fa85f64-5717-4562-b3fc-2c963f66afa1/invoice' \
-H 'accept: application/json' \
-H 'X-API-KEY: apiKeySample' \
-H 'X-PASSWORD: apiPassword' \
-H 'Content-Type: application/json' \
-d '{
"bookYear": "2024",
"journal": "V1",
"number": "12525",
"type": 1,
"invoiceDate": "2024-05-22",
"invoiceExpiryDate": "2024-05-22",
"partyName": "Test BV",
"partyStreet": "Kegelstraat",
"partyStreetNumber": "15",
"partyCity": "Gent",
"partyZipCode": "9000",
"partyCountryCode": "BE",
"partyEmail": "info@testbv.be",
"partyVatNumber": "BE0000000097",
"totalInclVat": 121,
"totalVat": 21,
"totalExclVat": 100,
"lines": [
 {
  "lineNumber": "1",
  "itemName": "Article 1",
  "quantity": 5,
  "unitType": 1,
  "itemExclVat": 10,
  "vatType": 1,
  "vatPerc": 21,
  "totalExclVat": 50,
  "totalVat": 10.5
 },
 {
  "lineNumber": "2",
  "itemName": "Article 2",
  "quantity": 1,
  "unitType": 1,
  "itemExclVat": 50,
  "vatType": 1,
  "vatPerc": 21,
  "totalExclVat": 50,
  "totalVat": 10.5
 }
],
"paymentMethods": [
 {
  "paymentType": 1,
  "totalPaid": 10,
  "totalToPay": 111
 }
],
"filename": "Invoice12525.pdf",
"mimeType": "application/pdf",
"base64Data": "dGVzdC5wZGY="
}'

Want to know more about Peppol? Read all the information in our article ‘What is Peppol?‘.

Scrada API: digital management of daily receipts and cash transactions

With the Scrada API, daily receipts and cash transactions can be tracked in a legal digital daily receipts and cash book. This data is then automatically forwarded to the accounting programme set up.

Moreover, the user can manually supplement and/or check the data via the Scrada App if required.

Scrada’s digital daily receipts and cash book complies with Belgian legal requirements to replace the mandatory paper version.

Example:

curl -X 'PUT' \
'https://api.scrada.be/v1/company/3fa85f64-5717-4562-b3fc-2c963f66afa1/journal/3fa85f64-5717-4562-b3fc-2c963f66afa2/lines' \
-H 'accept: application/json' \
-H 'X-API-KEY: apiKeySample' \
-H 'X-PASSWORD: apiPassword' \
-H 'Content-Type: application/json' \
-d '{
"date": "2024-05-22",
"lines": [
 {
  "lineType": 1,
  "vatTypeID": "7befe0fc-7131-4b15-9fe6-ca4b9280b63c",
  "vatPerc": 6,
  "amount": 7,
  "categoryID": "3fa85f64-5717-4562-b3fc-2c963f66afa3"
 },
 {
  "lineType": 1,
  "vatTypeID": "8424d909-78b9-483c-9b1d-4584fb537846",
  "vatPerc": 21,
  "amount": 8,
  "categoryID": "3fa85f64-5717-4562-b3fc-2c963f66afa4"
 }
],
"paymentMethods": [
 {
  "paymentMethodID": "3fa85f64-5717-4562-b3fc-2c963f66afa5",
  "amount": 5
 },
 {
  "paymentMethodID": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "amount": 10
 }
]
}'

Want to use the Scrada API?

Contact us. You can test the API for free, we will provide you with the necessary documentation.

Try the demo

Give us a call or fill in the form below and we'll contact you. We endeavor to answer all inquiries within 24 hours on business days.