GigPayment
One expected or received payment on a gig: the retainer at signing, the balance a month out, an addendum due with the balance. A row with percent_of_total recomputes its amount from the contract (or gig) total; a fixed amount stays. The links to the band’s invoicing system ride along.
- amountType: integer | nullread-onlyrequired
Minor units: the fixed amount, or percent_of_total of the contract’s (or gig’s) total. Computed.
- createdType: stringFormat: date-time
_time read-onlyrequiredthe date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z
- dueType: string | nullFormat: date
_at requiredfull-date notation as defined by RFC 3339, section 5.6, for example, 2017-07-21
- externalType: string | null
_invoice _id requiredThe invoice in the band’s books (QuickBooks, Stripe).
- externalType: string | nullFormat: uri
_invoice _url required - gigType: string | nullFormat: uuid
_contract _id requiredThe contract this payment settles. With percent_of_total, the base is that contract’s total; without a contract, the gig’s. References gig_contracts.id.
- gigType: string | nullFormat: uuid
_id requiredReferences gigs.id.
- idType: stringFormat: uuidread-onlyrequired
- labelType: string | nullrequired
"Retainer", "Balance", "Addendum 1".
- lastType: stringFormat: date-time
_edited _time read-onlyrequiredthe date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z
- methodType: string | nullenumrequiredvaluesbankcheckcardothernull
- notesType: string | nullrequired
- paidType: string | nullFormat: date
_at requiredfull-date notation as defined by RFC 3339, section 5.6, for example, 2017-07-21
- percentType: number | null
_of _total required0 to 100. When set, amount is computed from it and follows the total.
- surchargeType: number | null
_percent requiredAdded to the amount when paid this way, e.g. 3 for cards.