REST API for submitting, validating, and transmitting invoices over the Peppol AS4 network. OpenPeppol certified access point PAE001045.
POST /auth/login. Pass as Authorization: Bearer <token> header. Expires in 24 hours.client_credentials grant. Issue a client ID and secret per ERP integration. Tokens expire in 1 hour.# 1. Get a token curl -X POST https://api.kasaadvisory.com/auth/login \ -H "Content-Type: application/json" \ -d '{"email":"your@email.com","password":"••••••"}' # 2. Create an invoice draft curl -X POST https://api.kasaadvisory.com/invoices/draft \ -H "Authorization: Bearer <token>" \ -H "Content-Type: application/json" \ -d '{"supplier_name":"KASA Advisory","supplier_tax_id":"100000000000003", "buyer_name":"Buyer LLC","buyer_tax_id":"100000160400003", "buyer_peppol_id":"0235:2222","line_items":[...]}' # 3. Validate, then send curl -X POST https://api.kasaadvisory.com/invoices/{document_id}/validate-draft ... curl -X POST https://api.kasaadvisory.com/invoices/{document_id}/send-validated ...