Oct 11, 20229:52 AM - edited Oct 11, 20229:53 AM
Participant | Diamond Partner
Getting invoice properties using API
Hi everyone
I'm trying to get invoice properties using OAuth tokens from an account but the API client response says "That information is not available for public use".
Hi, @ACarGa👋 Thanks for the interesting question. You inspired me to do a bit of digging. I found this post which gave me a clue about trying the (soon to be sunset) HAPI key.
The short answer is, if you have an existing HAPI key for the portal in question (production or app test account) you can use it with this endpoint and get the properties you are after:
GET /crm/v3/properties/{objectType}
Example:
Request
curl --request GET \
--url 'https://api.hubapi.com/crm/v3/properties/invoice?archived=false&hapikey=NOPE'
Response
HTTP 200
{
"results": [
{
"name": "hs_all_accessible_team_ids",
"label": "All accessible team IDs",
"type": "enumeration",
"fieldType": "checkbox",
"description": "The team IDs, including up the team hierarchy, corresponding to all owner referencing properties for this object, both default and custom",
"groupName": "invoiceinformation",
"options": [],
"displayOrder": -1,
"calculated": false,
"externalOptions": true,
"hasUniqueValue": false,
"hidden": true,
"hubspotDefined": true,
"modificationMetadata": {
"archivable": true,
"readOnlyDefinition": true,
"readOnlyValue": true
},
"formField": false
},
{
"name": "hs_all_assigned_business_unit_ids",
"label": "Business units",
"type": "enumeration",
"fieldType": "checkbox",
"description": "The business units this record is assigned to.",
"groupName": "invoiceinformation",
"options": [],
"displayOrder": -1,
"calculated": false,
"externalOptions": true,
"hasUniqueValue": false,
"hidden": true,
"hubspotDefined": true,
"modificationMetadata": {
"archivable": true,
"readOnlyDefinition": true,
"readOnlyValue": false
},
"formField": false
},
{
"name": "hs_all_owner_ids",
"label": "All owner ids",
"type": "enumeration",
"fieldType": "select",
"description": "The value of all owner referencing properties for this object, both default and custom.",
"groupName": "invoiceinformation",
"options": [],
"displayOrder": -1,
"calculated": false,
"externalOptions": true,
"hasUniqueValue": false,
"hidden": true,
"hubspotDefined": true,
"modificationMetadata": {
"archivable": true,
"readOnlyDefinition": true,
"readOnlyValue": true
},
"formField": false
},
{
"name": "hs_all_team_ids",
"label": "All team ids",
"type": "enumeration",
"fieldType": "select",
"description": "The team ids corresponding to all owner referencing properties for this object, both default and custom.",
"groupName": "invoiceinformation",
"options": [],
"displayOrder": -1,
"calculated": false,
"externalOptions": true,
"hasUniqueValue": false,
"hidden": true,
"hubspotDefined": true,
"modificationMetadata": {
"archivable": true,
"readOnlyDefinition": true,
"readOnlyValue": true
},
"formField": false
},
{
"updatedAt": "2022-09-21T19:48:42.693Z",
"createdAt": "2022-05-10T14:43:15.436Z",
"name": "hs_comments",
"label": "Comments",
"type": "string",
"fieldType": "text",
"description": "Comments to the Invoice recipient.",
"groupName": "invoiceinformation",
"options": [],
"displayOrder": -1,
"calculated": false,
"externalOptions": false,
"hasUniqueValue": false,
"hidden": false,
"hubspotDefined": true,
"modificationMetadata": {
"archivable": true,
"readOnlyDefinition": true,
"readOnlyValue": false
},
"formField": false
},
{
"updatedAt": "2022-05-28T06:34:18.071Z",
"createdAt": "2021-03-16T17:59:49.672Z",
"name": "hs_created_by_user_id",
"label": "Created by user ID",
"type": "number",
"fieldType": "number",
"description": "The user that created this object. This value is automatically set by HubSpot and may not be modified.",
"groupName": "invoiceinformation",
"options": [],
"displayOrder": -1,
"calculated": false,
"externalOptions": false,
"hasUniqueValue": false,
"hidden": true,
"hubspotDefined": true,
"modificationMetadata": {
"archivable": true,
"readOnlyDefinition": true,
"readOnlyValue": true
},
"formField": false
},
{
"updatedAt": "2022-05-28T06:34:33.157Z",
"createdAt": "2021-03-16T18:01:53.196Z",
"name": "hs_createdate",
"label": "Object create date/time",
"type": "datetime",
"fieldType": "date",
"description": "The date and time at which this object was created. This value is automatically set by HubSpot and may not be modified.",
"groupName": "invoiceinformation",
"options": [],
"displayOrder": -1,
"calculated": false,
"externalOptions": false,
"hasUniqueValue": false,
"hidden": true,
"hubspotDefined": true,
"modificationMetadata": {
"archivable": true,
"readOnlyDefinition": true,
"readOnlyValue": true
},
"formField": false
},
{
"updatedAt": "2022-05-28T06:34:48.236Z",
"createdAt": "2020-03-10T12:40:18.084Z",
"name": "hs_currency",
"label": "Currency",
"type": "string",
"fieldType": "text",
"description": "The currency of the invoice",
"groupName": "invoiceinformation",
"options": [],
"displayOrder": -1,
"calculated": false,
"externalOptions": false,
"hasUniqueValue": false,
"hidden": false,
"hubspotDefined": true,
"modificationMetadata": {
"archivable": true,
"readOnlyDefinition": true,
"readOnlyValue": false
},
"formField": false
},
{
"updatedAt": "2022-09-21T19:49:28.300Z",
"createdAt": "2022-05-10T14:45:29.363Z",
"name": "hs_domain",
"label": "Domain",
"type": "string",
"fieldType": "text",
"description": "Domain of the hosted rendered Invoice.",
"groupName": "invoiceinformation",
"options": [],
"displayOrder": -1,
"calculated": false,
"externalOptions": false,
"hasUniqueValue": false,
"hidden": true,
"hubspotDefined": true,
"modificationMetadata": {
"archivable": true,
"readOnlyDefinition": true,
"readOnlyValue": false
},
"formField": false
},
{
"updatedAt": "2022-05-28T06:35:18.597Z",
"createdAt": "2020-05-07T10:38:33.912Z",
"name": "hs_external_createdate",
"label": "Invoice external create date/time",
"type": "datetime",
"fieldType": "date",
"description": "The date and time at which the invoice was created in the 3rd party accounting application",
"groupName": "invoiceinformation",
"options": [],
"displayOrder": -1,
"calculated": false,
"externalOptions": false,
"hasUniqueValue": false,
"hidden": false,
"hubspotDefined": true,
"modificationMetadata": {
"archivable": true,
"readOnlyDefinition": true,
"readOnlyValue": false
},
"formField": false
},
{
"updatedAt": "2022-05-28T06:35:33.828Z",
"createdAt": "2020-03-10T12:38:23.640Z",
"name": "hs_external_invoice_id",
"label": "External id",
"type": "string",
"fieldType": "text",
"description": "The 3rd party unique Id associated with this Invoice",
"groupName": "invoiceinformation",
"options": [],
"displayOrder": -1,
"calculated": false,
"externalOptions": false,
"hasUniqueValue": false,
"hidden": true,
"hubspotDefined": true,
"modificationMetadata": {
"archivable": true,
"readOnlyDefinition": true,
"readOnlyValue": true
},
"formField": false
},
{
"updatedAt": "2022-09-21T19:48:27.046Z",
"createdAt": "2022-05-10T14:48:27.867Z",
"name": "hs_invoice_date",
"label": "Invoice Date",
"type": "datetime",
"fieldType": "date",
"description": "Date of the Invoice.",
"groupName": "invoiceinformation",
"options": [],
"displayOrder": -1,
"calculated": false,
"externalOptions": false,
"hasUniqueValue": false,
"hidden": false,
"hubspotDefined": true,
"modificationMetadata": {
"archivable": true,
"readOnlyDefinition": true,
"readOnlyValue": false
},
"formField": false
},
{
"updatedAt": "2022-09-21T19:49:13.801Z",
"createdAt": "2022-05-16T16:47:10.545Z",
"name": "hs_invoice_source",
"label": "Invoice Source",
"type": "enumeration",
"fieldType": "select",
"description": "Creation source of the Invoice.",
"groupName": "invoiceinformation",
"options": [
{
"label": "Native Invoice",
"value": "native_invoice",
"displayOrder": 0,
"hidden": false
},
{
"label": "Data Sync",
"value": "data_sync",
"displayOrder": 1,
"hidden": false
}
],
"displayOrder": -1,
"calculated": false,
"externalOptions": false,
"hasUniqueValue": false,
"hidden": false,
"hubspotDefined": true,
"modificationMetadata": {
"archivable": true,
"readOnlyDefinition": true,
"readOnlyValue": true
},
"formField": false
},
{
"updatedAt": "2022-09-21T19:48:34.608Z",
"createdAt": "2022-06-08T14:29:16.711Z",
"name": "hs_invoice_status",
"label": "Invoice Status",
"type": "enumeration",
"fieldType": "select",
"description": "The status of the Invoice. Invoice statuses allow you to categorize and track billing progress.",
"groupName": "invoiceinformation",
"options": [
{
"label": "Draft",
"value": "draft",
"displayOrder": 0,
"hidden": false
},
{
"label": "Open",
"value": "open",
"displayOrder": 1,
"hidden": false
},
{
"label": "Paid",
"value": "paid",
"displayOrder": 2,
"hidden": false
},
{
"label": "Voided",
"value": "voided",
"displayOrder": 3,
"hidden": false
}
],
"displayOrder": -1,
"calculated": false,
"externalOptions": false,
"hasUniqueValue": false,
"hidden": false,
"hubspotDefined": true,
"modificationMetadata": {
"archivable": true,
"readOnlyDefinition": true,
"readOnlyValue": false
},
"formField": false
},
{
"updatedAt": "2022-09-21T19:48:50.983Z",
"createdAt": "2022-05-10T14:46:53.288Z",
"name": "hs_language",
"label": "Language",
"type": "string",
"fieldType": "text",
"description": "Language of the Invoice.",
"groupName": "invoiceinformation",
"options": [],
"displayOrder": -1,
"calculated": false,
"externalOptions": false,
"hasUniqueValue": false,
"hidden": false,
"hubspotDefined": true,
"modificationMetadata": {
"archivable": true,
"readOnlyDefinition": true,
"readOnlyValue": false
},
"formField": false
},
{
"updatedAt": "2022-05-28T06:36:34.682Z",
"createdAt": "2021-03-16T18:00:33.317Z",
"name": "hs_lastmodifieddate",
"label": "Object last modified date/time",
"type": "datetime",
"fieldType": "date",
"description": "Most recent timestamp of any property update for this object. This includes HubSpot internal properties, which can be visible or hidden. This property is updated automatically.",
"groupName": "invoiceinformation",
"options": [],
"displayOrder": -1,
"calculated": false,
"externalOptions": false,
"hasUniqueValue": false,
"hidden": true,
"hubspotDefined": true,
"modificationMetadata": {
"archivable": true,
"readOnlyDefinition": true,
"readOnlyValue": true
},
"formField": false
},
{
"updatedAt": "2022-09-21T19:49:53.511Z",
"createdAt": "2022-05-10T14:47:39.851Z",
"name": "hs_locale",
"label": "Locale",
"type": "string",
"fieldType": "text",
"description": "Locale of the Invoice.",
"groupName": "invoiceinformation",
"options": [],
"displayOrder": -1,
"calculated": false,
"externalOptions": false,
"hasUniqueValue": false,
"hidden": false,
"hubspotDefined": true,
"modificationMetadata": {
"archivable": true,
"readOnlyDefinition": true,
"readOnlyValue": false
},
"formField": false
},
{
"name": "hs_merged_object_ids",
"label": "Merged object IDs",
"type": "enumeration",
"fieldType": "checkbox",
"description": "The list of object IDs that have been merged into this object. This value is automatically set by HubSpot and may not be modified.",
"groupName": "invoiceinformation",
"options": [],
"displayOrder": -1,
"calculated": false,
"externalOptions": true,
"hasUniqueValue": false,
"hidden": true,
"hubspotDefined": true,
"modificationMetadata": {
"archivable": true,
"readOnlyDefinition": true,
"readOnlyValue": true
},
"formField": false
},
{
"updatedAt": "2022-05-28T06:37:04.965Z",
"createdAt": "2021-03-16T18:00:04.516Z",
"name": "hs_object_id",
"label": "Object ID",
"type": "number",
"fieldType": "number",
"description": "The unique ID for this object. This value is automatically set by HubSpot and may not be modified.",
"groupName": "invoiceinformation",
"options": [],
"displayOrder": -1,
"calculated": false,
"externalOptions": false,
"hasUniqueValue": false,
"hidden": true,
"hubspotDefined": true,
"modificationMetadata": {
"archivable": true,
"readOnlyDefinition": true,
"readOnlyValue": true
},
"formField": false
},
{
"updatedAt": "2022-09-21T19:49:21.364Z",
"createdAt": "2022-06-23T14:23:00.823Z",
"name": "hs_payment_status",
"label": "Payment Status",
"type": "enumeration",
"fieldType": "select",
"description": "The state of payment on an Invoice.",
"groupName": "invoiceinformation",
"options": [
{
"label": "Unpaid",
"value": "unpaid",
"displayOrder": 0,
"hidden": false
},
{
"label": "Partially Paid",
"value": "partially_paid",
"displayOrder": 1,
"hidden": false
},
{
"label": "Paid",
"value": "paid",
"displayOrder": 2,
"hidden": false
},
{
"label": "Refunded",
"value": "refunded",
"displayOrder": 3,
"hidden": false
},
{
"label": "Partially Refunded",
"value": "partially_refunded",
"displayOrder": 4,
"hidden": false
}
],
"displayOrder": -1,
"calculated": false,
"externalOptions": false,
"hasUniqueValue": false,
"hidden": false,
"hubspotDefined": true,
"modificationMetadata": {
"archivable": true,
"readOnlyDefinition": true,
"readOnlyValue": true
},
"formField": false
},
{
"updatedAt": "2022-09-21T19:48:13.194Z",
"createdAt": "2022-05-26T20:49:35.606Z",
"name": "hs_pdf_download_link",
"label": "PDF Download Link",
"type": "string",
"fieldType": "text",
"description": "The link to download the pdf of this Invoice.",
"groupName": "invoiceinformation",
"options": [],
"displayOrder": -1,
"calculated": false,
"externalOptions": false,
"hasUniqueValue": false,
"hidden": false,
"hubspotDefined": true,
"modificationMetadata": {
"archivable": true,
"readOnlyDefinition": true,
"readOnlyValue": true
},
"formField": false
},
{
"updatedAt": "2022-10-03T16:04:57.179Z",
"createdAt": "2022-10-03T16:02:47.057Z",
"name": "hs_purchase_order_number",
"label": "PO Number",
"type": "string",
"fieldType": "text",
"description": "Purchase order number of the invoice",
"groupName": "invoiceinformation",
"options": [],
"displayOrder": -1,
"calculated": false,
"externalOptions": false,
"hasUniqueValue": false,
"hidden": false,
"hubspotDefined": true,
"modificationMetadata": {
"archivable": true,
"readOnlyDefinition": true,
"readOnlyValue": false
},
"formField": false
},
{
"name": "hs_read_only",
"label": "Read Only Object",
"type": "bool",
"fieldType": "booleancheckbox",
"description": "Is the object read only",
"groupName": "invoiceinformation",
"options": [
{
"label": "True",
"value": "true",
"displayOrder": 0,
"hidden": false
},
{
"label": "False",
"value": "false",
"displayOrder": 1,
"hidden": false
}
],
"displayOrder": -1,
"calculated": false,
"externalOptions": false,
"hasUniqueValue": false,
"hidden": true,
"hubspotDefined": true,
"modificationMetadata": {
"archivable": true,
"readOnlyDefinition": true,
"readOnlyValue": true
},
"formField": false
},
{
"updatedAt": "2022-05-28T06:37:20.053Z",
"createdAt": "2020-03-10T12:39:43.344Z",
"name": "hs_received_by_recipient_date",
"label": "Received by recipient date",
"type": "datetime",
"fieldType": "date",
"description": "The date the invoice was received by the recipient.",
"groupName": "invoiceinformation",
"options": [],
"displayOrder": -1,
"calculated": false,
"externalOptions": false,
"hasUniqueValue": false,
"hidden": false,
"hubspotDefined": true,
"modificationMetadata": {
"archivable": true,
"readOnlyDefinition": true,
"readOnlyValue": false
},
"formField": false
},
{
"updatedAt": "2022-09-21T19:49:37.457Z",
"createdAt": "2022-05-10T14:46:13.685Z",
"name": "hs_slug",
"label": "Slug",
"type": "string",
"fieldType": "text",
"description": "Slug of the hosted rendered Invoice.",
"groupName": "invoiceinformation",
"options": [],
"displayOrder": -1,
"calculated": false,
"externalOptions": false,
"hasUniqueValue": false,
"hidden": true,
"hubspotDefined": true,
"modificationMetadata": {
"archivable": true,
"readOnlyDefinition": true,
"readOnlyValue": false
},
"formField": false
},
{
"updatedAt": "2022-09-21T19:39:45.976Z",
"createdAt": "2022-09-21T19:39:45.976Z",
"name": "hs_test_mode",
"label": "Test Mode",
"type": "enumeration",
"fieldType": "radio",
"description": "Indicates if the invoice is in test mode",
"groupName": "invoiceinformation",
"options": [
{
"label": "True",
"value": "true",
"displayOrder": 0,
"hidden": false
},
{
"label": "False",
"value": "false",
"displayOrder": 1,
"hidden": false
}
],
"displayOrder": -1,
"calculated": false,
"externalOptions": false,
"hasUniqueValue": false,
"hidden": true,
"hubspotDefined": true,
"modificationMetadata": {
"archivable": true,
"readOnlyDefinition": true,
"readOnlyValue": false
},
"formField": false
},
{
"updatedAt": "2022-09-21T19:49:46.620Z",
"createdAt": "2022-05-10T14:44:06.598Z",
"name": "hs_title",
"label": "Title",
"type": "string",
"fieldType": "text",
"description": "Title of the Invoice.",
"groupName": "invoiceinformation",
"options": [],
"displayOrder": -1,
"calculated": false,
"externalOptions": false,
"hasUniqueValue": false,
"hidden": false,
"hubspotDefined": true,
"modificationMetadata": {
"archivable": true,
"readOnlyDefinition": true,
"readOnlyValue": false
},
"formField": false
},
{
"name": "hs_unique_creation_key",
"label": "Unique creation key",
"type": "string",
"fieldType": "text",
"description": "Unique property used for idempotent creates",
"groupName": "invoiceinformation",
"options": [],
"displayOrder": -1,
"calculated": false,
"externalOptions": false,
"hasUniqueValue": true,
"hidden": true,
"hubspotDefined": true,
"modificationMetadata": {
"archivable": true,
"readOnlyDefinition": true,
"readOnlyValue": true
},
"formField": false
},
{
"updatedAt": "2022-05-28T06:38:05.661Z",
"createdAt": "2021-03-16T17:59:30.642Z",
"name": "hs_updated_by_user_id",
"label": "Updated by user ID",
"type": "number",
"fieldType": "number",
"description": "The user that last updated this object. This value is automatically set by HubSpot and may not be modified.",
"groupName": "invoiceinformation",
"options": [],
"displayOrder": -1,
"calculated": false,
"externalOptions": false,
"hasUniqueValue": false,
"hidden": true,
"hubspotDefined": true,
"modificationMetadata": {
"archivable": true,
"readOnlyDefinition": true,
"readOnlyValue": true
},
"formField": false
},
{
"name": "hs_user_ids_of_all_notification_followers",
"label": "User IDs of all notification followers",
"type": "enumeration",
"fieldType": "checkbox",
"description": "The user IDs of all users that have clicked follow within the object to opt-in to getting follow notifications",
"groupName": "invoiceinformation",
"options": [],
"displayOrder": -1,
"calculated": false,
"externalOptions": true,
"hasUniqueValue": false,
"hidden": true,
"hubspotDefined": true,
"modificationMetadata": {
"archivable": true,
"readOnlyDefinition": true,
"readOnlyValue": true
},
"formField": false
},
{
"name": "hs_user_ids_of_all_notification_unfollowers",
"label": "User IDs of all notification unfollowers",
"type": "enumeration",
"fieldType": "checkbox",
"description": "The user IDs of all object owners that have clicked unfollow within the object to opt-out of getting follow notifications",
"groupName": "invoiceinformation",
"options": [],
"displayOrder": -1,
"calculated": false,
"externalOptions": true,
"hasUniqueValue": false,
"hidden": true,
"hubspotDefined": true,
"modificationMetadata": {
"archivable": true,
"readOnlyDefinition": true,
"readOnlyValue": true
},
"formField": false
},
{
"name": "hs_user_ids_of_all_owners",
"label": "User IDs of all owners",
"type": "enumeration",
"fieldType": "checkbox",
"description": "The user IDs of all owners of this object",
"groupName": "invoiceinformation",
"options": [],
"displayOrder": -1,
"calculated": false,
"externalOptions": true,
"hasUniqueValue": false,
"hidden": true,
"hubspotDefined": true,
"modificationMetadata": {
"archivable": true,
"readOnlyDefinition": true,
"readOnlyValue": true
},
"formField": false
},
{
"name": "hubspot_owner_assigneddate",
"label": "Owner Assigned Date",
"type": "datetime",
"fieldType": "date",
"description": "The most recent date an owner was assigned to this object. This is set automatically by HubSpot and can be used for segmentation and reporting.",
"groupName": "invoiceinformation",
"options": [],
"displayOrder": -1,
"calculated": false,
"externalOptions": false,
"hasUniqueValue": false,
"hidden": false,
"hubspotDefined": true,
"modificationMetadata": {
"archivable": true,
"readOnlyDefinition": true,
"readOnlyValue": true
},
"formField": false
},
{
"name": "hubspot_owner_id",
"label": "Owner",
"type": "enumeration",
"fieldType": "select",
"description": "The owner of the object.",
"groupName": "invoiceinformation",
"options": [],
"referencedObjectType": "OWNER",
"displayOrder": -1,
"calculated": false,
"externalOptions": true,
"hasUniqueValue": false,
"hidden": false,
"hubspotDefined": true,
"modificationMetadata": {
"archivable": true,
"readOnlyDefinition": true,
"readOnlyValue": false
},
"formField": false
},
{
"name": "hubspot_team_id",
"label": "HubSpot Team",
"type": "enumeration",
"fieldType": "select",
"description": "The primary team of the owner.",
"groupName": "invoiceinformation",
"options": [],
"displayOrder": -1,
"calculated": false,
"externalOptions": true,
"hasUniqueValue": false,
"hidden": false,
"hubspotDefined": true,
"modificationMetadata": {
"archivable": true,
"readOnlyDefinition": true,
"readOnlyValue": true
},
"formField": false
},
{
"updatedAt": "2022-06-29T18:46:11.367Z",
"createdAt": "2022-06-29T18:46:11.367Z",
"name": "ip__sync_extension__external_source_account_id",
"label": "Source account ID",
"type": "string",
"fieldType": "text",
"description": "The ID of the external account that synced with this invoice.",
"groupName": "ip__sync_extension__sync_extension",
"options": [],
"createdUserId": "10233975",
"updatedUserId": "10233975",
"displayOrder": -1,
"calculated": false,
"externalOptions": false,
"archived": false,
"hasUniqueValue": false,
"hidden": true,
"modificationMetadata": {
"archivable": true,
"readOnlyDefinition": true,
"readOnlyValue": true
},
"formField": false
},
{
"updatedAt": "2022-06-29T18:46:11.275Z",
"createdAt": "2022-06-29T18:46:11.275Z",
"name": "ip__sync_extension__external_source_app_id",
"label": "Source app ID",
"type": "string",
"fieldType": "text",
"description": "The ID of the app that synced with this invoice.",
"groupName": "ip__sync_extension__sync_extension",
"options": [],
"createdUserId": "10233975",
"updatedUserId": "10233975",
"displayOrder": -1,
"calculated": false,
"externalOptions": false,
"archived": false,
"hasUniqueValue": false,
"hidden": true,
"modificationMetadata": {
"archivable": true,
"readOnlyDefinition": true,
"readOnlyValue": true
},
"formField": false
},
{
"updatedAt": "2022-05-28T06:36:49.768Z",
"createdAt": "2020-03-10T12:28:29.971Z",
"name": "hs_number",
"label": "Number",
"type": "string",
"fieldType": "text",
"description": "The 3rd party number associated to this invoice",
"groupName": "invoiceinformation",
"options": [],
"displayOrder": 1,
"calculated": false,
"externalOptions": false,
"hasUniqueValue": false,
"hidden": false,
"hubspotDefined": true,
"modificationMetadata": {
"archivable": true,
"readOnlyDefinition": true,
"readOnlyValue": false
},
"formField": false
},
{
"updatedAt": "2022-08-19T13:13:09.560Z",
"createdAt": "2020-03-10T12:34:39.202Z",
"name": "hs_amount_billed",
"label": "Amount billed",
"type": "number",
"fieldType": "number",
"description": "The amount billed on the invoice",
"groupName": "invoiceinformation",
"options": [],
"displayOrder": 2,
"calculated": false,
"externalOptions": false,
"hasUniqueValue": false,
"hidden": false,
"hubspotDefined": true,
"showCurrencySymbol": true,
"modificationMetadata": {
"archivable": true,
"readOnlyDefinition": true,
"readOnlyValue": false
},
"formField": false
},
{
"updatedAt": "2022-05-28T06:37:35.226Z",
"createdAt": "2020-03-05T15:30:40.955Z",
"name": "hs_status",
"label": "Status",
"type": "enumeration",
"fieldType": "radio",
"description": "The status of the current invoice. This value is automatically set by HubSpot and may not be modified",
"groupName": "invoiceinformation",
"options": [
{
"label": "Waiting to be sent",
"value": "INVOICE_WAITING_TO_BE_SENT",
"description": "Invoice has been created and is waiting to be sent.",
"displayOrder": 0,
"hidden": false
},
{
"label": "Sent to customer",
"value": "INVOICE_SENT",
"description": "Invoice has been sent to customer.",
"displayOrder": 1,
"hidden": false
},
{
"label": "Partial payment made",
"value": "INVOICE_PAYMENT_MADE",
"description": "Partial payment has been made for invoice.",
"displayOrder": 2,
"hidden": false
},
{
"label": "Fully paid",
"value": "INVOICE_FULLY_PAID",
"description": "Invoice is fully paid and closed.",
"displayOrder": 3,
"hidden": false
},
{
"label": "Overdue",
"value": "INVOICE_OVERDUE",
"description": "Invoice is overdue.",
"displayOrder": 4,
"hidden": false
},
{
"label": "Voided",
"value": "INVOICE_VOIDED",
"description": "Invoice has been voided.",
"displayOrder": 5,
"hidden": false
}
],
"displayOrder": 3,
"calculated": false,
"externalOptions": false,
"hasUniqueValue": false,
"hidden": false,
"hubspotDefined": true,
"modificationMetadata": {
"archivable": true,
"readOnlyDefinition": true,
"readOnlyValue": true
},
"formField": false
},
{
"updatedAt": "2022-05-28T06:35:03.430Z",
"createdAt": "2020-03-10T12:36:17.400Z",
"name": "hs_due_date",
"label": "Due date",
"type": "datetime",
"fieldType": "date",
"description": "The due date for the current invoice.",
"groupName": "invoiceinformation",
"options": [],
"displayOrder": 4,
"calculated": false,
"externalOptions": false,
"hasUniqueValue": false,
"hidden": false,
"hubspotDefined": true,
"modificationMetadata": {
"archivable": true,
"readOnlyDefinition": true,
"readOnlyValue": false
},
"formField": false
},
{
"updatedAt": "2022-05-28T06:34:02.776Z",
"createdAt": "2020-03-10T12:36:57.728Z",
"name": "hs_balance_due",
"label": "Balance due",
"type": "number",
"fieldType": "number",
"description": "The balance due for the invoice.",
"groupName": "invoiceinformation",
"options": [],
"displayOrder": 5,
"calculated": false,
"externalOptions": false,
"hasUniqueValue": false,
"hidden": false,
"hubspotDefined": true,
"showCurrencySymbol": true,
"modificationMetadata": {
"archivable": true,
"readOnlyDefinition": true,
"readOnlyValue": false
},
"formField": false
},
{
"updatedAt": "2022-05-28T06:35:49.045Z",
"createdAt": "2020-03-10T12:37:32.934Z",
"name": "hs_external_recipient",
"label": "External recipient",
"type": "string",
"fieldType": "text",
"description": "The recipient of the current invoice.",
"groupName": "invoiceinformation",
"options": [],
"displayOrder": 6,
"calculated": false,
"externalOptions": false,
"hasUniqueValue": false,
"hidden": false,
"hubspotDefined": true,
"modificationMetadata": {
"archivable": true,
"readOnlyDefinition": false,
"readOnlyValue": false
},
"formField": false
},
{
"updatedAt": "2022-05-28T06:37:50.458Z",
"createdAt": "2020-03-19T09:37:36.935Z",
"name": "hs_unique_id",
"label": "Unique id",
"type": "string",
"fieldType": "text",
"description": "The unique identifier of the Invoice. This value is automatically set by HubSpot and may not be modified.",
"groupName": "invoiceinformation",
"options": [],
"displayOrder": 6,
"calculated": false,
"externalOptions": false,
"hasUniqueValue": true,
"hidden": true,
"hubspotDefined": true,
"modificationMetadata": {
"archivable": true,
"readOnlyDefinition": true,
"readOnlyValue": true
},
"formField": false
}
]
}
Questions I am taking to my team:
Are these properties ties to the Accounting Extension API sunset? If so, will they be accessible after Dec. 1, 2022?
If not, when will Private App access be added to the Properties API for this objectType?
I'll update this post with any additional details I find for us.