tipalti v0.3.0 Tipalti.IFrame.InvoiceHistory View Source

Generate URLs for the Tipalti Invoice History iFrame.

Link to this section Summary

Functions

Generates an Invoice History iFrame URL for the given payee

Link to this section Functions

Generates an Invoice History iFrame URL for the given payee.

Examples

iex> url("mypayee")
%URI{
  authority: "ui2.sandbox.tipalti.com",
  fragment: nil,
  host: "ui2.sandbox.tipalti.com",
  path: "/PayeeDashboard/Invoices",
  port: 443,
  query: "idap=mypayee&payer=MyPayer&ts=1521234048&hashkey=9413b4db4c08519497b6c236861049793e8834ac4de5e3cd866b7fec96e54eaa",
  scheme: "https",
  userinfo: nil
}

iex> url("mypayee") |> URI.to_string()
"https://ui2.sandbox.tipalti.com/PayeeDashboard/Invoices?idap=mypayee&payer=MyPayer&ts=1521234048&hashkey=9413b4db4c08519497b6c236861049793e8834ac4de5e3cd866b7fec96e54eaa"