Employers

Get an employer invoice's PDF download link

Returns the time-limited PDF download link for a single invoice belonging to the employer's billing customer. invoice_id is the external Chargebee id (not a prefixed UUID). The caller must be authorized for the employer; an unknown or unauthorized employer or invoice returns 404.

get/v1/employers/{employer_id}/invoices/{invoice_id}/pdf

Request

  • Base URL: https://api.vitablehealth.com
  • URL: https://api.vitablehealth.com/v1/employers/{employer_id}/invoices/{invoice_id}/pdf
  • Auth: HTTP bearer

Path parameters

employer_idstring required

Unique employer identifier (empr_*)

invoice_idstring required

External Chargebee invoice id (not a prefixed UUID).

Headers

X-Vitable-Organizationstring

Organization to act as for this request (e.g. org_SGVsbG8gV29ybGQ). Optional when your credentials reach a single organization. Required when they reach several — omitting it then returns 400 organization_required. A malformed value returns 400 invalid_organization_header, and naming an organization you do not have access to returns 403 organization_access_denied.

Response

Changes

No recorded changes to this operation across all 1 revision of this API.