Invoices

Billing API for managing invoices


Parameters

Name In Type Required Description
orgId path string true Executes the request in the context of the given organization
accountId path string true Executes the request in the context of the given account

Request example

1
2
3
4
5

curl -X GET https://billing.masstack.com/v1/orgs/masmovil/accounts/123456789/billing_details \
  -H "Accept: application/json" \
  -H "Authorization: Bearer {access-token}"

Responses

Code Meaning Description Schema
200 OK Account next billing date AccountBillingDetailsResponseDTO
400 Bad Request The request could not be processed because it was malformed GenericResponseDTO
401 Unauthorized The user is not authorized GenericResponseDTO
403 Forbidden The user does not have permission to access that resource GenericResponseDTO
404 Not Found The specified resource was not found GenericResponseDTO
500 Internal Server Error The request failed to be processed by the server GenericResponseDTO
502 Bad Gateway A third party connection is not responding GenericResponseDTO
504 Gateway Time-out The request timed out GenericResponseDTO

Endpoints

Consumptions

    Movements

      Refunds

        Invoices

          BillingInfo

            LocationTax