Momondo
Momondo

Reputation: 326

XeroAPI - Get Invoice shared link

I am not able to see the shared Invoice URL anywhere in the API response. Is there any additional scope to be added so I can receive the URL?

enter image description here

It's not included in the API response.

Upvotes: 1

Views: 372

Answers (1)

Momondo
Momondo

Reputation: 326

Ok, found it:

https://developer.xero.com/documentation/api/invoices#onlineinvoice

You need to append the /OnlineInvoice to the basic call like this:

https://api.xero.com/api.xro/2.0/Invoices/cb5119d0-9759-49d3-800b-7d0a90818178/OnlineInvoice

Upvotes: 3

Related Questions