Decoding the Application Response gives you the download URIs for an inbound invoice. Download the format your system needs, then route the document with the ERP System ID.
After a notification arrives, decode the ApplicationResponse to get the download URIs, then use those URIs to download the invoice in your preferred format.
- Decode the ApplicationResponse.
The ApplicationResponse in your notification is Base64-encoded. Decode it to extract the download URIs.
Base64.decode(notification.ApplicationResponse)
The decoded content contains URIs for downloading the invoice in each supported format.
- Download the invoice.
Use the URI from the decoded ApplicationResponse to download the document:
GET {downloadUri}
Authorization: Bearer {token}
Slovakia inbound invoices are available in the following formats:
- Route the document in your system.
Use the erpSystemId from the notification to route the document to the correct internal system. This matches the ERP System ID you configured in ERP System Communications during Configure network.