Skip to content

Family Invoice

FieldTypeIndexDescription
entityIdstringPKPrimary Key, Entity Identifier
refEntityTypestringFKwks_family,
refDatasourceCodestringFKcc-family,
refEntityIdstringFKfamily related entity Id
external_billing_accountstringExternal Billing Account Id
subjectstringSubject
descriptionstringDescription
post_datedatetimePost Date
due_datedatetimeDue Date
paid_datedatetimePaid Date
from_emailstringFrom Email
from_namestringFrom Name
to_emailstringTo Email
to_namestringTo Name
amountdecimalAmount
statusstringStatus
stripe_customerstringStripe Customer Id
stripe_invoicestringStripe Invoice Id
dataobjectData
itemslistItems object list
metadataobjectSet of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
{
"entityId": "12345",
"external_billing_account": "account123",
"subject": "Invoice Subject",
"description": "Description of the invoice",
"post_date": "2023-01-01T00:00:00",
"due_date": "2023-01-31T00:00:00",
"paid_date": "2023-02-01T00:00:00",
"from_email": "sender@example.com",
"from_name": "Sender Name",
"to_email": "recipient@example.com",
"to_name": "Recipient Name",
"amount": 150.00,
"status": "Pending",
"stripe_customer": "cust_123456789",
"stripe_invoice": "inv_123456789",
"data": {
"additionalField1": "value1",
"additionalField2": "value2"
},
"items": [
{
"itemCode": "item1",
"quantity": 1,
"price": 100.00
},
{
"itemCode": "item2",
"quantity": 2,
"price": 25.00
}
],
"metadata": {
"metaField1": "metaValue1",
"metaField2": "metaValue2"
}
}