Create a project prepayment
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
The category of fees this prepayment is applied against.
services, expenses, products, other_items The date of the prepayment. Must be in the form YYYY-MM-DD.
A description of the prepayment (max 255 chars).
The project ID (uuid) for this prepayment.
The invoice item ID (uuid) for this prepayment. All prepayments of the same type on a project must use the same invoice item.
The quantity for calculating the fee. Required when rate is provided.
The rate for calculating the fee. Required when quantity is provided.
The total prepaid amount. Required when quantity and rate are not provided.
Response
200
The unique identifier for the object.
The category of fees this prepayment is applied against.
services, expenses, products, other_items The date of the prepayment. Will be in the form YYYY-MM-DD.
A description of the prepayment.
The quantity used to calculate the fee. null when the fee was entered directly.
The rate used to calculate the fee. null when the fee was entered directly.
The total prepaid amount available to offset future fees.
The timestamp when the object was created.
The project this prepayment belongs to.
The invoice item the prepayment is billed and offset against.
The portion of the fee already consumed to offset fees on issued invoices. This is a calculated value.
Whether the prepayment has been added to an invoice.
Whether the prepayment can no longer be modified because it is on an invoice or has been used to offset fees.