Webhook
General
After the successful transmission and delivery of the tax data to the tax authorities, the PDF transfer protocol (as a base64-encoded string) can be automatically passed together with the official transfer ticket to a defined endpoint.
Enabling
Set the following environment variable in docker-compose.yml
Endpoint
The URI can be adjusted as needed:
Example endpoint
For testing an example endpoint is provided within the solution
hook-endpoint
POST
http://deric:8080/dummy/hook-endpoint
Example endpoint for accepting the notification of the successful transmission of the tax data to the tax authorities.
Query Parameters
Content-Type
string
application/json
Request Body
ticket
string
Ticket ID
transfer_ticket
string
Transfer Ticket (generated by tax authorities)
file_name
string
File name
file_content
string
base64-encoded content of the file
store
boolean
true (default) - store the file
hook-run
GET
http://deric:8080/dummy/hook-run/:id
Test call to notify a provided endpoint with data for the selected ticket.
Path Parameters
:id
string
Ticket ID
Last updated
Was this helpful?