GET
/
v1
/
choruspro

Headers

authorization
string
required

The partner token (provided by us, contact aurelien.david@pennylane.com). The token is associated to a specific environment (production or sandbox).

Query Parameters

sourceInvoiceId
string
required

The invoice id in the source system

sourceAccountId
string
required

The account id in the source system

sourceUserId
string

The user id in the source system

sourceUserEmail
string

The user email in the source system

Response

200 - application/json
setupUrl
string
required

The URL to redirect the user to, in order to identify to Chorus Pro

iframeUrl
string | null
required

The URL of the iframe to display to the user

invoiceStatus
enum<string> | null
required

The status of the invoice in Chorus Pro

Available options:
TO_SEND,
SENT,
VALIDATED,
REJECTED,
PAID,
PROCESSING,
UNKNOWN,
TO_RECYCLE,
NOT_FOUND