Lago syncs billing data to HubSpot in real-time.

Lago to HubSpot object mapping

Connect Lago to HubSpot through an oAuth connection

Lago to HubSpot - oAuth connection flow
oauth, crm.objects.companies.read, crm.objects.companies.write,
crm.objects.custom.read, crm.objects.custom.write, crm.schemas.companies.read, crm.schemas.companies.write, crm.schemas.custom.read,
crm.objects.contacts.read, crm.objects.contacts.write, crm.schemas.contacts.read, crm.schemas.contacts.write and crm.schemas.custom.write.
lago_customer_id: internal id of a Lago customer (unique);lago_customer_external_id: your customer’s external id in Lago;lago_billing_email: your customer’s billing email in Lago;lago_tax_identification_number: your customer’s tax identification number in Lago; andlago_customer_link: the URL path to the related Lago customer.
Custom properties deployed by Lago to HubSpot Companies and Contacts
LagoSubscriptions and LagoInvoices.
LagoSubscriptions custom object:
| HubSpot Property Name | Type | Field Type | Has Unique Value |
|---|---|---|---|
| Lago Subscription Id | string | text | true |
| Lago External Subscription Id | string | text | false |
| Lago Subscription Name | string | text | false |
| Lago Subscription Plan Code | string | text | false |
| Lago Subscription Status | string | text | false |
| Lago Subscription Created At | date | date | false |
| Lago Subscription Started At | date | date | false |
| Lago Subscription Ending At | date | date | false |
| Lago Subscription At | date | date | false |
| Lago Subscription Terminated At | date | date | false |
| Lago Subscription Trial Ended At | date | date | false |
| Lago Subscription Link | string | file | false |
| Lago Billing Time | enumeration | radio | false |
LagoInvoices custom object:
| HubSpot Property Name | Type | Field Type | Has Unique Value |
|---|---|---|---|
| Lago Invoice Id | string | text | true |
| Lago Invoice Number | string | text | false |
| Lago Invoice Issuing Date | date | date | false |
| Lago Invoice Payment Due Date | date | date | false |
| Lago Invoice Payment Overdue | bool | booleancheckbox | false |
| Lago Invoice Type | string | text | false |
| Lago Invoice Status | string | text | false |
| Lago Invoice Payment Status | string | text | false |
| Lago Invoice Currency | string | text | false |
| Lago Invoice Total Amount | number | number | false |
| Lago Invoice Subtotal Excluding Taxes | number | number | false |
| Lago Invoice File URL | string | file | false |
| Lago Invoice Link | string | file | false |
customer.customer_type in Lago is company, the data is synced as a HubSpot Company record.customer.customer_type in Lago is individual, the data is synced as a HubSpot Contact record.customer.customer_type is undefined, the data is synced using the default Customer Object set at the connection level.
Customer syncs from Lago to HubSpot

Example of a Company created by Lago
LagoSubscriptions object in HubSpot.
The subscription record is then automatically associated with the corresponding Contact or Company in HubSpot.
LagoInvoices object in HubSpot.
The invoice record is then automatically associated with the corresponding Contact or Company in HubSpot.