Agencies

Export invoice lines for a client project

The usage of a client project as invoice lines per month, payer and source, from the same numbers as GET /clients/{id}/usage, so you invoice your client in your own accounting with your own markup. format=csv returns text/csv. Hypamoon does not send the invoice.

get/clients/{id}/invoice-lines

Request

  • Base URL: https://api.hypamoon.com/api/v1
  • URL: https://api.hypamoon.com/api/v1/clients/{id}/invoice-lines
  • Auth: one of:
    • HTTP bearer
    • OAuth 2 (authorization code, authorization URL https://app.hypamoon.com/oauth/authorize, token URL https://api.hypamoon.com/oauth/token, scopes: clients:read)

Path parameters

idstring uuid required

The id of the client project.

Query parameters

monthsinteger

How many months back, the current month included.

payer'agency' | 'client' | 'all'

Only the lines your agency paid, only those the client paid, or all.

format'json' | 'csv'

json, or csv for a spreadsheet or import.

Response

The invoice lines.

object'list' required
project_idstring uuid required
currency'EUR' required
monthsstring[] required
total_eurnumber required

Changes

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