# Buildxact

> Run your building business in Buildxact: add leads and customers, start estimates and jobs, track variations, invoices and orders, and keep notes.

App · 22 actions. Web page: https://docs.lodol.com/docs/integrations/buildxact

## Actions

### Add note

Add a note to a job, estimate, lead or customer.

**Inputs**

- Record ID (`reference_id`, text, required): The ID of the job, estimate, lead or customer.
- Note (`text`, text, required): The note.

**Outputs**

- `added` (true/false): True once added
- `note` (object): The new note, when Buildxact returns it

**Example output**

```json
{
  "added": true,
  "note": {
    "dateEntered": "2026-11-30T03:00:00Z",
    "noteId": "n2",
    "noteText": "Site visit booked",
    "source": "Lodol",
    "userName": "sam"
  }
}
```

### Create customer

Add a customer (client).

**Inputs**

- Name (`name`, text, required): The customer's name.
- Email (`email`, text): Their email address.
- Phone (`phone`, text): Their phone number.
- Mobile (`mobile`, text): Their mobile number.
- Address (`address`, text): Their street address.
- City (`city`, text): Their city or suburb.
- State (`state`, text): Their state.
- Postcode (`post_code`, text): Their postcode.
- External reference (`external_ref`, text): Your own ID for them in another system.

**Outputs**

- `customer` (object): The new customer

**Example output**

```json
{
  "customer": {
    "address": "1 Main St",
    "cityTown": "Richmond",
    "customerId": "a1",
    "customerType": "Residential",
    "dateCreated": "2026-11-30T03:00:00Z",
    "email": "jane@example.com",
    "externalRef": "",
    "mobile": "0400000000",
    "name": "Jane Doe",
    "phone": "0390000000",
    "postCode": "3121",
    "state": "VIC"
  }
}
```

### Create estimate

Start an empty estimate for a new client at a site; price it in Buildxact. Counts toward your plan's estimate limit.

**Inputs**

- Description (`description`, text, required): What the estimate is for.
- Client name (`client_name`, text, required): The client's name.
- Client email (`client_email`, text): The client's email address.
- Client phone (`client_phone`, text): The client's phone number.
- Client mobile (`client_mobile`, text): The client's mobile number.
- Site address (`address`, text): The site's street address.
- City (`city`, text): The site's city or suburb.
- State (`state`, text): The site's state.
- Postcode (`post_code`, text): The site's postcode.
- From lead (`lead_id`, text): The lead the estimate is for, by ID.

**Outputs**

- `estimate_id` (text): The new estimate's ID

**Example output**

```json
{
  "estimate_id": "e2"
}
```

### Create job

Create a job for a client, optionally from an accepted estimate. Counts toward your plan's job limit.

**Inputs**

- Client name (`name`, text, required): The client's name.
- Description (`description`, text): What the job is.
- Client email (`email`, text): The client's email address.
- Client phone (`phone`, text): The client's phone number.
- Client mobile (`mobile`, text): The client's mobile number.
- Site address (`address`, text): The site's street address.
- Suburb (`suburb`, text): The site's suburb or city.
- State (`state`, text): The site's state.
- Postcode (`post_code`, text): The site's postcode.
- Start date (`start_date`, date and time): When work starts.
- Contract price (`contract_price`, number): The agreed price. At least 0.
- Invoice by (`invoice_method`, text): How the client is invoiced. One of: `ContractPrice` (Contract price), `CostPlus` (Cost plus), `CompletionPercent` (Percent complete).
- From estimate (`estimate_id`, text): The estimate to make it from, by ID.

**Outputs**

- `job` (object): The new job

**Example output**

```json
{
  "job": {
    "balance": 12000,
    "clientEmail": "jane@example.com",
    "clientName": "Jane Doe",
    "clientPhone": "0400000000",
    "contractTotalIncTax": 48500,
    "createdAt": "2026-11-30T03:00:00Z",
    "customerId": "a1",
    "description": "Kitchen renovation",
    "estimateId": "e1",
    "isCompleted": false,
    "jobId": "5c2a6f0e-0f2a-4b55-8f2c-3b7e5d1a9c01",
    "number": "J-1042",
    "progressPercent": 40,
    "status": "InProgress",
    "worksLocationAddress": "1 Main St",
    "worksLocationSuburb": "Richmond"
  }
}
```

### Create lead

Add a lead (a possible job) for a client.

**Inputs**

- Client name (`client_name`, text, required): The client's name.
- Status (`status`, text): Where the lead is up to. One of: `New`, `Qualifying`, `Quoting`, `Won`, `Lost`.
- Job type (`job_type`, text): The kind of work. One of: `Renovation`, `NewBuild` (New build), `Landscape`, `Insurance`, `Other`.
- Budget (`estimated_budget`, number): The client's estimated budget. At least 0.
- Project address (`project_address`, text): The site's street address.
- Project city (`project_city`, text): The site's city or suburb.
- Project state (`project_state`, text): The site's state.
- Project postcode (`project_postcode`, text): The site's postcode.
- Scope of works (`scope_of_works`, text): What the client wants done.
- Referral (`referral`, text): Where the lead came from.
- Start date (`start_date`, date and time): When the work would start.
- Customer (`customer_id`, text): The customer the lead is for, if they are one already.

**Outputs**

- `lead` (object): The new lead

**Example output**

```json
{
  "lead": {
    "clientName": "Jane Doe",
    "customerId": "a1",
    "dateCreated": "2026-11-30T03:00:00Z",
    "dateModified": "2026-11-30T03:00:00Z",
    "estimatedBudget": 50000,
    "id": "l1",
    "jobType": "Renovation",
    "leadNumber": "L-201",
    "projectAddress1": "1 Main St",
    "projectCity": "Richmond",
    "projectName": "Kitchen",
    "projectPostcode": "3121",
    "projectState": "VIC",
    "referral": "Website",
    "scopeOfWorks": "New kitchen and laundry",
    "startDate": "2027-02-01T00:00:00Z",
    "status": "New"
  }
}
```

### Delete customer

Delete a customer (Buildxact keeps it as deleted).

**Inputs**

- Customer (`customer_id`, text, required): The customer. Pick one, or give its ID.

**Outputs**

- `customer_id` (text): The customer deleted
- `deleted` (true/false): True once deleted

**Example output**

```json
{
  "customer_id": "a1",
  "deleted": true
}
```

### Delete lead

Delete a lead (Buildxact keeps it as deleted).

**Inputs**

- Lead ID (`lead_id`, text, required): The lead's ID, from 'List leads' or 'Create lead'.

**Outputs**

- `deleted` (true/false): True once deleted
- `lead_id` (text): The lead deleted

**Example output**

```json
{
  "deleted": true,
  "lead_id": "l1"
}
```

### Get company

Get the connected Buildxact company (tenant): its name, contact details and plan.

**Inputs**: None.

**Outputs**

- `tenant` (object): The company

**Example output**

```json
{
  "tenant": {
    "billingState": "VIC",
    "companyName": "Acme Builders",
    "emailAddress": "office@example.com"
  }
}
```

### Get estimate

Get one estimate with its client, totals and acceptance.

**Inputs**

- Estimate ID (`estimate_id`, text, required): The estimate's ID (estimateId), from 'List estimates'.

**Outputs**

- `estimate` (object): The estimate

**Example output**

```json
{
  "estimate": {
    "acceptedDate": "2026-11-30T03:00:00Z",
    "clientEmail": "jane@example.com",
    "clientName": "Jane Doe",
    "createdAt": "2026-11-20T03:00:00Z",
    "customerId": "a1",
    "description": "Kitchen renovation",
    "estimateId": "e1",
    "isAccepted": true,
    "jobId": "",
    "leadId": "",
    "number": "E-1042",
    "status": "Accepted",
    "totalIncMarkupTax": 48500,
    "worksLocationAddress": "1 Main St"
  }
}
```

### Get job

Get one job with its client, site, contract value, balance and progress.

**Inputs**

- Job ID (`job_id`, text, required): The job's ID (jobId), from 'List jobs'.

**Outputs**

- `job` (object): The job

**Example output**

```json
{
  "job": {
    "balance": 12000,
    "clientEmail": "jane@example.com",
    "clientName": "Jane Doe",
    "clientPhone": "0400000000",
    "contractTotalIncTax": 48500,
    "createdAt": "2026-11-30T03:00:00Z",
    "customerId": "a1",
    "description": "Kitchen renovation",
    "estimateId": "e1",
    "isCompleted": false,
    "jobId": "5c2a6f0e-0f2a-4b55-8f2c-3b7e5d1a9c01",
    "number": "J-1042",
    "progressPercent": 40,
    "status": "InProgress",
    "worksLocationAddress": "1 Main St",
    "worksLocationSuburb": "Richmond"
  }
}
```

### List customers

List customers, newest first, optionally by name or email.

**Inputs**

- Name (`name`, text): Only customers whose name contains this.
- Email (`email`, text): Only the customer with this email address.
- Page size (`top`, number): How many to return, 1 to 500. Defaults to 50. From 1 to 500.
- Skip (`skip`, number): How many to skip, such as the next skip an earlier page gave. At least 0.

**Outputs**

- `count` (number): How many were returned
- `customers` (list): The customers
- `next_skip` (number): The Skip value for the next page, or -1 if this was the last

**Example output**

```json
{
  "count": 1,
  "customers": [
    {
      "address": "1 Main St",
      "cityTown": "Richmond",
      "customerId": "a1",
      "customerType": "Residential",
      "dateCreated": "2026-11-30T03:00:00Z",
      "email": "jane@example.com",
      "externalRef": "",
      "mobile": "0400000000",
      "name": "Jane Doe",
      "phone": "0390000000",
      "postCode": "3121",
      "state": "VIC"
    }
  ],
  "next_skip": -1
}
```

### List estimate items

List an estimate's line items with their quantities, costs and markups.

**Inputs**

- Estimate ID (`estimate_id`, text, required): The estimate's ID (estimateId), from 'List estimates'.

**Outputs**

- `count` (number): How many were returned
- `items` (list): The line items

**Example output**

```json
{
  "count": 1,
  "items": [
    {
      "description": "Timber framing",
      "unitCost": 45.5,
      "units": 12
    }
  ]
}
```

### List estimates

List estimates, newest first, optionally by client name, accepted only, or made after a time.

**Inputs**

- Client name (`client_name`, text): Only estimates whose client name contains this.
- Accepted only (`accepted_only`, true/false): Only estimates the client accepted.
- Made after (`created_after`, date and time): Only estimates made after this time.
- Page size (`top`, number): How many to return, 1 to 500. Defaults to 50. From 1 to 500.
- Skip (`skip`, number): How many to skip, such as the next skip an earlier page gave. At least 0.

**Outputs**

- `count` (number): How many were returned
- `estimates` (list): The estimates
- `next_skip` (number): The Skip value for the next page, or -1 if this was the last

**Example output**

```json
{
  "count": 1,
  "estimates": [
    {
      "acceptedDate": "2026-11-30T03:00:00Z",
      "clientEmail": "jane@example.com",
      "clientName": "Jane Doe",
      "createdAt": "2026-11-20T03:00:00Z",
      "customerId": "a1",
      "description": "Kitchen renovation",
      "estimateId": "e1",
      "isAccepted": true,
      "jobId": "",
      "leadId": "",
      "number": "E-1042",
      "status": "Accepted",
      "totalIncMarkupTax": 48500,
      "worksLocationAddress": "1 Main St"
    }
  ],
  "next_skip": -1
}
```

### List job invoices

List a job's invoices (progress claims) with their amounts and status.

**Inputs**

- Job ID (`job_id`, text, required): The job's ID (jobId), from 'List jobs'.

**Outputs**

- `count` (number): How many were returned
- `invoices` (list): The invoices

**Example output**

```json
{
  "count": 1,
  "invoices": [
    {
      "jobPaymentId": "i1",
      "number": "INV-1",
      "totalIncTax": 10000
    }
  ]
}
```

### List job purchase orders

List a job's purchase and work orders.

**Inputs**

- Job ID (`job_id`, text, required): The job's ID (jobId), from 'List jobs'.

**Outputs**

- `count` (number): How many were returned
- `purchase_orders` (list): The orders

**Example output**

```json
{
  "count": 1,
  "purchase_orders": [
    {
      "number": "PO-1",
      "purchaseOrderId": "p1",
      "status": "Sent"
    }
  ]
}
```

### List job variations

List a job's variations (changes to the contract) with their status and value.

**Inputs**

- Job ID (`job_id`, text, required): The job's ID (jobId), from 'List jobs'.

**Outputs**

- `count` (number): How many were returned
- `variations` (list): The variations

**Example output**

```json
{
  "count": 1,
  "variations": [
    {
      "status": "Accepted",
      "totalIncTax": 1200,
      "variationId": "v1"
    }
  ]
}
```

### List jobs

List jobs, newest first, optionally by client name, status or when made.

**Inputs**

- Client name (`client_name`, text): Only jobs whose client name contains this.
- Status (`status`, text): Only jobs with this status, as Buildxact names it.
- Made after (`created_after`, date and time): Only jobs made after this time.
- Page size (`top`, number): How many to return, 1 to 500. Defaults to 50. From 1 to 500.
- Skip (`skip`, number): How many to skip, such as the next skip an earlier page gave. At least 0.

**Outputs**

- `count` (number): How many were returned
- `jobs` (list): The jobs
- `next_skip` (number): The Skip value for the next page, or -1 if this was the last

**Example output**

```json
{
  "count": 1,
  "jobs": [
    {
      "balance": 12000,
      "clientEmail": "jane@example.com",
      "clientName": "Jane Doe",
      "clientPhone": "0400000000",
      "contractTotalIncTax": 48500,
      "createdAt": "2026-11-30T03:00:00Z",
      "customerId": "a1",
      "description": "Kitchen renovation",
      "estimateId": "e1",
      "isCompleted": false,
      "jobId": "5c2a6f0e-0f2a-4b55-8f2c-3b7e5d1a9c01",
      "number": "J-1042",
      "progressPercent": 40,
      "status": "InProgress",
      "worksLocationAddress": "1 Main St",
      "worksLocationSuburb": "Richmond"
    }
  ],
  "next_skip": -1
}
```

### List leads

List leads, newest first, optionally by status, client name or when made.

**Inputs**

- Status (`status`, text): Only leads with this status. One of: `New`, `Qualifying`, `Quoting`, `Won`, `Lost`.
- Client name (`client_name`, text): Only leads whose client name contains this.
- Made after (`created_after`, date and time): Only leads made after this time.
- Page size (`top`, number): How many to return, 1 to 500. Defaults to 50. From 1 to 500.
- Skip (`skip`, number): How many to skip, such as the next skip an earlier page gave. At least 0.

**Outputs**

- `count` (number): How many were returned
- `leads` (list): The leads
- `next_skip` (number): The Skip value for the next page, or -1 if this was the last

**Example output**

```json
{
  "count": 1,
  "leads": [
    {
      "clientName": "Jane Doe",
      "customerId": "a1",
      "dateCreated": "2026-11-30T03:00:00Z",
      "dateModified": "2026-11-30T03:00:00Z",
      "estimatedBudget": 50000,
      "id": "l1",
      "jobType": "Renovation",
      "leadNumber": "L-201",
      "projectAddress1": "1 Main St",
      "projectCity": "Richmond",
      "projectName": "Kitchen",
      "projectPostcode": "3121",
      "projectState": "VIC",
      "referral": "Website",
      "scopeOfWorks": "New kitchen and laundry",
      "startDate": "2027-02-01T00:00:00Z",
      "status": "New"
    }
  ],
  "next_skip": -1
}
```

### List notes

List the notes on a job, estimate, lead or customer.

**Inputs**

- Record ID (`reference_id`, text, required): The ID of the job, estimate, lead or customer.

**Outputs**

- `count` (number): How many were returned
- `notes` (list): The notes

**Example output**

```json
{
  "count": 1,
  "notes": [
    {
      "dateEntered": "2026-11-30T03:00:00Z",
      "noteId": "n1",
      "noteText": "Called client",
      "source": "Lodol",
      "userName": "sam"
    }
  ]
}
```

### List users

List the company's Buildxact users.

**Inputs**: None.

**Outputs**

- `count` (number): How many were returned
- `users` (list): The users

**Example output**

```json
{
  "count": 1,
  "users": [
    {
      "email": "sam@example.com",
      "firstName": "Sam",
      "lastName": "Builder",
      "mobile": "",
      "userId": "u1",
      "userName": "sam"
    }
  ]
}
```

### Update customer

Change a customer's name, contact details or address. Only the fields given change.

**Inputs**

- Customer (`customer_id`, text, required): The customer. Pick one, or give its ID.
- Name (`name`, text): A new name.
- Email (`email`, text): A new email address.
- Phone (`phone`, text): A new phone number.
- Mobile (`mobile`, text): A new mobile number.
- Address (`address`, text): A new street address.
- State (`state`, text): A new state.
- Postcode (`post_code`, text): A new postcode.
- External reference (`external_ref`, text): A new external reference.

**Outputs**

- `customer` (object): The customer

**Example output**

```json
{
  "customer": {
    "address": "1 Main St",
    "cityTown": "Richmond",
    "customerId": "a1",
    "customerType": "Residential",
    "dateCreated": "2026-11-30T03:00:00Z",
    "email": "jane@example.com",
    "externalRef": "",
    "mobile": "0411111111",
    "name": "Jane Doe",
    "phone": "0390000000",
    "postCode": "3121",
    "state": "VIC"
  }
}
```

### Update lead

Change a lead's status (such as Won or Lost), budget, site or scope. Only the fields given change.

**Inputs**

- Lead ID (`lead_id`, text, required): The lead's ID, from 'List leads' or 'Create lead'.
- Client name (`client_name`, text): A new client name.
- Status (`status`, text): Where the lead is up to. One of: `New`, `Qualifying`, `Quoting`, `Won`, `Lost`.
- Job type (`job_type`, text): The kind of work. One of: `Renovation`, `NewBuild` (New build), `Landscape`, `Insurance`, `Other`.
- Budget (`estimated_budget`, number): The client's estimated budget. At least 0.
- Project address (`project_address`, text): The site's street address.
- Project city (`project_city`, text): The site's city or suburb.
- Project state (`project_state`, text): The site's state.
- Project postcode (`project_postcode`, text): The site's postcode.
- Scope of works (`scope_of_works`, text): What the client wants done.
- Referral (`referral`, text): Where the lead came from.
- Start date (`start_date`, date and time): When the work would start.
- Customer (`customer_id`, text): The customer the lead is for, if they are one already.

**Outputs**

- `lead` (object): The lead

**Example output**

```json
{
  "lead": {
    "clientName": "Jane Doe",
    "customerId": "a1",
    "dateCreated": "2026-11-30T03:00:00Z",
    "dateModified": "2026-11-30T03:00:00Z",
    "estimatedBudget": 50000,
    "id": "l1",
    "jobType": "Renovation",
    "leadNumber": "L-201",
    "projectAddress1": "1 Main St",
    "projectCity": "Richmond",
    "projectName": "Kitchen",
    "projectPostcode": "3121",
    "projectState": "VIC",
    "referral": "Website",
    "scopeOfWorks": "New kitchen and laundry",
    "startDate": "2027-02-01T00:00:00Z",
    "status": "Quoting"
  }
}
```
