List Billing Documents
Changed onList billing documents for a company
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) |
Request
- Base URL: https://gateway.remote.com
- URL: https://gateway.remote.com/v1/billing-documents
- 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)
Query parameters
The month for the billing documents (in ISO-8601 format)
Filters the results by the type of the billing document. Matches the response's billing_document_type field.
Starts fetching records after the given page
Number of items per page
Headers
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
Example response
{
"data": {
"billing_documents": [
{
"billing_document_period": "2023-12",
"billing_document_type": "reconciliation_invoice",
"id": "8772a9f1-b43c-46be-a1ce-e50b6819f5ee"
}
],
"current_page": 1,
"total_count": 1,
"total_pages": 1
}
}Changes
- warning
added the new
prefunding_credit_noteenum value to the///response property for the response status - warning
added the new
supplemental_service_credit_noteenum value to the///response property for the response status - info
added the new optional
queryrequest parametertype
- warning
- warning
added the new
cor_service_invoiceenum value to the///response property for the response status - warning
added the new
eor_reserve_credit_noteenum value to the///response property for the response status - warning
added the new
eor_reserve_invoiceenum value to the///response property for the response status - warning
added the new
payroll_service_invoiceenum value to the///response property for the response status - warning
added the new
peo_service_invoiceenum value to the///response property for the response status
- warning