Hi, I would like to receive invoice URLs via API. I cannot see this option in the API docs.
I see in Invoice SEARCH response such a link:
but it doesn’t resemble the invoice typical URL. Can you please tell me how I can show the customers their invoice URLs via API?
Thanks.
The ViewHref
tag returned in Invoice_Search
will give you the HTML for the invoice, so you can render this on your own site, for example.
There is a function called System_LogIn
, which can produce a tokenised login link. This would log the client straight into their account and direct them to where you wish, for example, an invoice.
{
"payload": {
"Header": {
// Header info
},
"Body": {
"LandingPage": {
"InvoiceView": {
"InvoiceID": 456789
}
},
"ClientID": 123456
}
}
}
This returns a response, similar to this:
{
"System_LogIn": {
"Header": {
"MessageType": "Response",
"SubmissionNumber": "00001"
},
"Body": {
"RedirectUrl": "https://my-company.quickFile.co.uk/resources/in.aspx?q=token-goes-here"
}
}
}
There’s more information on this, here: https://api.quickfile.co.uk/d/v1_2/System_Login
This topic was automatically closed after 7 days. New replies are no longer allowed.