younifyd
Menu

Get Online Invoice

Retrieves a URL to an online invoice

GET/Invoices/{InvoiceID}/OnlineInvoice

Use it in a workflow

  1. Add a step and choose the Xero connector.
  2. Pick the Get Online Invoice action (under Xero).
  3. Fill in the fields below, then reference the result from later steps as {{getOnlineInvoice.response.data}}.

Request

Path parameters

InvoiceIDstring (uuid)required

Unique identifier for an Invoice

Headers

xero-tenant-idstringrequired

Xero identifier for Tenant

Response

Returns 200 with an object. Read it in later steps with {{getOnlineInvoice.response.data.<field>}}.

OnlineInvoicesarray<object>
OnlineInvoiceUrlstring

the URL to an online invoice

json
{
  "OnlineInvoices": [
    {
      "OnlineInvoiceUrl": "string"
    }
  ]
}

Need more? See the Xero guide for connection setup and behaviour shared by every action.

Was this page helpful?
Get Online Invoice — Xero — Documentation