Field
|
Type
|
Value
|
Purpose
|
Stripe Field
|
---|---|---|---|---|
entity_id | Field | int | Unique identifier, used for invoice numeration | |
service_buyer | Array of objects |
Inner fields: id address agreements |
Service Buyer user who was Project Creator for the parent project of work order. Identified by user ID, contains address data and user agreements as a compliance part of the work order | |
service_provider | Array of objects |
Inner fields: id address agreements |
Service Provider user who was Service Buyer for the parent project of work order. Identified by user ID, contains address data and user agreements as a compliance part of the work order | |
status | Field |
pending |
Indicating the status of invoice and available actions with invoice items. pending - 'To Be Received', new invoice that can be paid partially or as a whole processing - 'Transfer In Progress', some items were paid, some items remain unpaid complete - 'Received', all items, except rejected, are paid canceled - 'Canceled', all items are rejected |
|
approvers | Array of objects |
Inner fields: company_id customer_id link_id role_id status name image_url |
Identifies a list of approvers who can approve the invoice from the Service Buyer's side | |
grand_total | Field | decimal | Total of invoice items | |
order_items | Array of objects |
Inner fields: item_id price qty_ordered qty_invoiced qty_canceled row_total product_id name |
Respective work order items that were invoiced. Price and quantity result in row total for the given order item with unique item id and name. product_id reflects original project ID. qty_invoiced indicates successful payment for item. qty_canceled indicates rejection of item |