Billing
Billing Documents
Download a billing document PDF
Downloads a billing document PDF
Authentication
This endpoint accepts any one of the following token types:
- Company-scoped access token (OAuth2AuthorizationCode) — obtained through the Authorization Code flow or the Refresh Token flow. See Authentication for partners.
- Customer API token (CustomerAPIToken) — generated by the customer on their Integration Settings page. See Authorization for customers.
Scopes
| Category | Read only Scope | Write only Scope (read access implicit) |
|---|---|---|
| Manage invoices (invoices) | View invoices (invoices:read) | Manage invoices (invoices:write) |
get/v1/billing-documents/{billing_document_id}/pdf
Request
- Base URL: https://gateway.remote.com
- URL: https://gateway.remote.com/v1/billing-documents/{billing_document_id}/pdf
- Auth: HTTP bearer and OAuth 2 (authorization code, authorization URL /auth/oauth2/authorize, token URL /auth/oauth2/token, scopes: https://gateway.remote.com/company.manage, invoices:read, invoices:write, invoices, all:write, all:read)
Path parameters
billing_document_idstring required
The billing document's ID
Headers
Authorizationstring required
Requires a Company-scoped access token obtained through the Authorization Code flow or the Refresh Token flow.
The refresh token needs to have been obtained through the Authorization Code flow.
Response
Success
string binary required
A file represented as a base64-encoded string.
Example response
"base64 encoded content"
Changes
No recorded changes to this operation across all 65 revisions of this API.