Summary:
Intui expands API capabilities: we have added a URL for automatic download of invoices for completed transfers to the GetBookingDetails method.
Now you can set up automatic receipt of reporting documents for your clients via API.
1. Listen Callback and read when the booking got completed status = 'CF'(completed)
2. When the trip becomes 'CF', set up downloading the invoice from the URL in the "invoice_url" variable using the GetBookingDetails method.
Example"invoice_url" for CF booking with RS GetBookingDetails:
"invoice_url":"https://en.intui.travel\/order_invoice_apiwide/?key=MTg3MjY4OS4xNzI4NTQ4NDk2LjE0NjU0MTYwNGI4Yjg4N2VjOGM2ZmNhOTc0YTNmNGI1NDhhODM2OTQ="}
Done!
Petrichenko Rimma & Intui travel
