# Sage Intacct

> Work with Sage Intacct accounting: create and find customers, vendors, invoices and bills, record customer payments, post journal entries and look up any record. Start workflows when customers, vendors, invoices or bills are added.

App · 25 actions. Web page: https://docs.lodol.com/docs/integrations/sage-intacct

## Actions

### Create bill

Enter an accounts payable bill from a vendor, with one or more lines, each with a GL account, amount and dimensions.

**Inputs**

- Vendor (`vendor_id`, text, required): The vendor. Pick one, or give its ID (such as V-00014).
- Due date (`due_date`, date, required): When payment is due.
- Bill date (`bill_date`, date): The date on the vendor's bill. Defaults to today.
- Bill number (`bill_number`, text): The vendor's own number for the bill.
- Reference number (`reference_number`, text): A reference such as a purchase order number.
- Description (`description`, text): What it is for.
- Payment terms (`payment_term`, text): Payment terms, such as Net 30.
- Currency (`currency`, text): Three-letter currency code, such as USD. Leave empty for the company's own currency.
- GL account (`gl_account`, text): The first line's GL account.
- Amount (`amount`, number): The first line's amount, such as 125.50.
- Memo (`memo`, text): The first line's memo.
- Location (`location_id`, text): Location dimension. Many companies require one on every line.
- Department (`department_id`, text): Department dimension.
- Class (`class_id`, text): Class dimension.
- Project (`project_id`, text): Project dimension.
- More lines (`more_lines`, list): Further lines, each with a GL account and an amount. A line that names no dimension takes the ones chosen for the first line.
- Save as (`save_as`, text): Posted goes straight to the books; a draft waits for you to post it. One of: `posted` (Posted (default)), `draft`. Default: `posted`.

**Outputs**

- `bill` (object): The bill

**Example output**

```json
{
  "bill": {
    "audit": {
      "createdDateTime": "2026-05-16T15:34:35Z",
      "modifiedDateTime": "2026-09-14T21:23:42Z"
    },
    "billNumber": "Bill-001-06",
    "createdDate": "2026-02-21",
    "currency": {
      "baseCurrency": "USD",
      "txnCurrency": "USD"
    },
    "description": "Annual maintenance charge",
    "dueDate": "2026-03-08",
    "href": "/objects/accounts-payable/bill/60",
    "id": "60",
    "key": "60",
    "lines": [
      {
        "dimensions": {
          "department": {
            "id": "SA"
          },
          "location": {
            "id": "1"
          }
        },
        "glAccount": {
          "id": "6000",
          "name": "Repairs"
        },
        "key": "62",
        "memo": "Service charges",
        "txnAmount": "100.00"
      }
    ],
    "referenceNumber": "Ref-123",
    "state": "posted",
    "totalTxnAmount": "100.00",
    "totalTxnAmountDue": "100.00",
    "vendor": {
      "id": "VEND-00010",
      "key": "111",
      "name": "Design Works"
    },
    "webURL": "https://www.intacct.com/ia/acct/ur.phtml?.r=ijVqUVXUX3Tz"
  }
}
```

### Create customer

Add a customer with its contact details, address, payment terms and credit limit.

**Inputs**

- Name (`name`, text, required): The name, usually the company name.
- Customer ID (`customer_id`, text): A unique ID such as C-00125. Leave empty when Sage Intacct numbers customers for you.
- Email (`email`, text): Email address on the display contact.
- Phone (`phone`, text): Phone number on the display contact.
- Contact first name (`first_name`, text): First name of the person to contact.
- Contact last name (`last_name`, text): Last name of the person to contact.
- Address line 1 (`address_line1`, text): Street address.
- Address line 2 (`address_line2`, text): Suite, unit or building.
- City (`city`, text): City or town.
- State or region (`state`, text): State, province or region.
- Postal code (`postal_code`, text): ZIP or postal code.
- Country (`country_code`, text): Two-letter country code, such as US, CA or GB.
- Payment terms (`payment_term`, text): Payment terms, such as Net 30.
- Credit limit (`credit_limit`, number): The most this customer may owe. At least 0.
- Tax ID (`tax_id`, text): Tax identification number.
- Notes (`notes`, text): Notes kept on the record.

**Outputs**

- `customer` (object): The customer

**Example output**

```json
{
  "customer": {
    "audit": {
      "createdDateTime": "2026-05-16T15:34:35Z",
      "modifiedDateTime": "2026-09-14T21:23:42Z"
    },
    "contacts": {
      "default": {
        "email1": "ap@gomez.example",
        "firstName": "Sandy",
        "lastName": "Tieber",
        "mailingAddress": {
          "addressLine1": "1120 Harbor Bay Pkwy",
          "city": "Sacramento",
          "country": "United States",
          "postCode": "95119",
          "state": "CA"
        },
        "phone1": "(408) 395-2539",
        "printAs": "Gomez Manufacturers"
      }
    },
    "creditLimit": 10000,
    "href": "/objects/accounts-receivable/customer/24",
    "id": "C-00003",
    "key": "24",
    "name": "Gomez Manufacturers",
    "notes": "Service tier 1",
    "status": "active",
    "term": {
      "id": "Net 30"
    },
    "totalDue": "3250.00"
  }
}
```

### Create invoice

Create an accounts receivable invoice for a customer, with one or more lines, each with a GL account, amount and dimensions.

**Inputs**

- Customer (`customer_id`, text, required): The customer. Pick one, or give its ID (such as C-00012).
- Due date (`due_date`, date, required): When payment is due.
- Invoice date (`invoice_date`, date): The invoice's date. Defaults to today.
- Invoice number (`invoice_number`, text): Leave empty when Sage Intacct numbers invoices for you; otherwise give a unique number.
- Reference number (`reference_number`, text): A reference such as a purchase order number.
- Description (`description`, text): What it is for.
- Payment terms (`payment_term`, text): Payment terms, such as Net 30.
- Currency (`currency`, text): Three-letter currency code, such as USD. Leave empty for the company's own currency.
- GL account (`gl_account`, text): The first line's GL account.
- Amount (`amount`, number): The first line's amount, such as 125.50.
- Memo (`memo`, text): The first line's memo.
- Location (`location_id`, text): Location dimension. Many companies require one on every line.
- Department (`department_id`, text): Department dimension.
- Class (`class_id`, text): Class dimension.
- Project (`project_id`, text): Project dimension.
- More lines (`more_lines`, list): Further lines, each with a GL account and an amount. A line that names no dimension takes the ones chosen for the first line.
- Save as (`save_as`, text): Posted goes straight to the books; a draft waits for you to post it. One of: `posted` (Posted (default)), `draft`. Default: `posted`.

**Outputs**

- `invoice` (object): The invoice

**Example output**

```json
{
  "invoice": {
    "audit": {
      "createdDateTime": "2026-05-16T15:34:35Z",
      "modifiedDateTime": "2026-09-14T21:23:42Z"
    },
    "currency": {
      "baseCurrency": "USD",
      "txnCurrency": "USD"
    },
    "customer": {
      "id": "C-00003",
      "key": "24",
      "name": "Gomez Manufacturers"
    },
    "description": "September consulting",
    "dueDate": "2026-10-24",
    "href": "/objects/accounts-receivable/invoice/292",
    "id": "292",
    "invoiceDate": "2026-09-24",
    "invoiceNumber": "INV-0034",
    "key": "292",
    "lines": [
      {
        "dimensions": {
          "department": {
            "id": "SA"
          },
          "location": {
            "id": "1"
          }
        },
        "glAccount": {
          "id": "4000",
          "name": "Sales"
        },
        "key": "1904",
        "memo": "Consulting, September",
        "txnAmount": "440.00"
      }
    ],
    "referenceNumber": "PO6917",
    "state": "posted",
    "totalTxnAmount": "440.00",
    "totalTxnAmountDue": "440.00",
    "webURL": "https://www.intacct.com/ia/acct/ur.phtml?.r=ijVqUVXUX3Tz"
  }
}
```

### Create journal entry

Post a journal entry: one account debited and another credited, or any balanced set of lines, with dimensions.

**Inputs**

- Journal (`journal`, text, required): The journal to post to, such as the general journal.
- Description (`description`, text, required): What the entry is for.
- Posting date (`posting_date`, date): The date it posts to the books. Defaults to today.
- Reference number (`reference_number`, text): Your own reference for the entry.
- Debit account (`debit_account`, text): The GL account to debit. Leave empty when using 'Lines'.
- Credit account (`credit_account`, text): The GL account to credit. Leave empty when using 'Lines'.
- Amount (`amount`, number): The amount debited and credited, such as 1200. At least 0.01.
- Memo (`memo`, text): A memo on both lines.
- Location (`location_id`, text): Location dimension. Many companies require one on every line.
- Department (`department_id`, text): Department dimension.
- Class (`class_id`, text): Class dimension.
- Project (`project_id`, text): Project dimension.
- Lines (`lines`, list): For more than two lines: each a GL account, debit or credit, and an amount. Debits and credits must total the same.
- Reverse on (`reversal_date`, date): To undo the entry automatically, the date to reverse it.
- Save as (`save_as`, text): Posted goes straight to the books; a draft waits for you to post it. One of: `posted` (Posted (default)), `draft`. Default: `posted`.

**Outputs**

- `journal_entry` (object): The journal entry

**Example output**

```json
{
  "journal_entry": {
    "audit": {
      "createdDateTime": "2026-05-16T15:34:35Z",
      "modifiedDateTime": "2026-09-14T21:23:42Z"
    },
    "description": "October revenue posting",
    "glJournal": {
      "id": "GJ",
      "name": "General Journal"
    },
    "id": "30565",
    "key": "30565",
    "lines": [
      {
        "description": "October revenue",
        "dimensions": {
          "department": {
            "id": "SA"
          },
          "location": {
            "id": "1"
          }
        },
        "glAccount": {
          "id": "1000",
          "name": "Operating Account"
        },
        "key": "465744",
        "lineNumber": 1,
        "txnAmount": "200.00",
        "txnType": "debit"
      },
      {
        "description": "October revenue",
        "dimensions": {
          "department": {
            "id": "SA"
          },
          "location": {
            "id": "1"
          }
        },
        "glAccount": {
          "id": "4000",
          "name": "Sales"
        },
        "key": "465745",
        "lineNumber": 2,
        "txnAmount": "200.00",
        "txnType": "credit"
      }
    ],
    "postingDate": "2026-11-01",
    "referenceNumber": "Rev_Oct",
    "state": "posted",
    "txnNumber": 493,
    "webURL": "https://www.intacct.com/ia/acct/ur.phtml?.r=ijVqUVXUX3Tz"
  }
}
```

### Create vendor

Add a vendor with its contact details, address, payment terms and default expense account.

**Inputs**

- Name (`name`, text, required): The name, usually the company name.
- Vendor ID (`vendor_id`, text): A unique ID such as V-00125. Leave empty when Sage Intacct numbers vendors for you.
- Email (`email`, text): Email address on the display contact.
- Phone (`phone`, text): Phone number on the display contact.
- Contact first name (`first_name`, text): First name of the person to contact.
- Contact last name (`last_name`, text): Last name of the person to contact.
- Address line 1 (`address_line1`, text): Street address.
- Address line 2 (`address_line2`, text): Suite, unit or building.
- City (`city`, text): City or town.
- State or region (`state`, text): State, province or region.
- Postal code (`postal_code`, text): ZIP or postal code.
- Country (`country_code`, text): Two-letter country code, such as US, CA or GB.
- Payment terms (`payment_term`, text): Payment terms, such as Net 30.
- Default expense account (`default_expense_account`, text): The GL account new bills from this vendor use by default.
- Tax ID (`tax_id`, text): Tax identification number.
- Notes (`notes`, text): Notes kept on the record.

**Outputs**

- `vendor` (object): The vendor

**Example output**

```json
{
  "vendor": {
    "audit": {
      "createdDateTime": "2026-05-16T15:34:35Z",
      "modifiedDateTime": "2026-09-14T21:23:42Z"
    },
    "contacts": {
      "default": {
        "email1": "ap@gomez.example",
        "firstName": "Sandy",
        "lastName": "Tieber",
        "mailingAddress": {
          "addressLine1": "1120 Harbor Bay Pkwy",
          "city": "Sacramento",
          "country": "United States",
          "postCode": "95119",
          "state": "CA"
        },
        "phone1": "(408) 395-2539",
        "printAs": "Design Works"
      }
    },
    "defaultExpenseGLAccount": {
      "id": "6700"
    },
    "href": "/objects/accounts-payable/vendor/111",
    "id": "VEND-00010",
    "key": "111",
    "name": "Design Works",
    "notes": "Make sure to include on form 1099.",
    "status": "active",
    "term": {
      "id": "Net 30"
    },
    "totalDue": "100.00"
  }
}
```

### Delete bill

Delete a bill that has no payments applied.

**Inputs**

- Bill (`bill_key`, text, required): The bill's key (record number), from 'Create bill' or 'Find bills'.

**Outputs**

- `deleted` (true/false): True once it is deleted
- `key` (text): The key of the record deleted

**Example output**

```json
{
  "deleted": true,
  "key": "60"
}
```

### Delete customer

Delete a customer. Sage Intacct refuses if the customer has transactions; make it inactive instead.

**Inputs**

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

**Outputs**

- `customer_id` (text): The ID of the customer deleted
- `deleted` (true/false): True once it is deleted
- `key` (text): The key of the customer deleted

**Example output**

```json
{
  "customer_id": "C-00003",
  "deleted": true,
  "key": "24"
}
```

### Delete customer payment

Delete a customer payment that hasn't been deposited or reconciled, which reopens the invoice it paid.

**Inputs**

- Payment (`payment_key`, text, required): The payment's key (record number), from 'Record customer payment'.

**Outputs**

- `deleted` (true/false): True once it is deleted
- `key` (text): The key of the record deleted

**Example output**

```json
{
  "deleted": true,
  "key": "464"
}
```

### Delete invoice

Delete an invoice. One with payments applied can't be deleted until they are removed.

**Inputs**

- Invoice (`invoice_key`, text, required): The invoice's key (record number), from 'Create invoice' or 'Find invoices'.

**Outputs**

- `deleted` (true/false): True once it is deleted
- `key` (text): The key of the record deleted

**Example output**

```json
{
  "deleted": true,
  "key": "292"
}
```

### Delete journal entry

Delete a journal entry, such as a draft. A posted entry in a closed period can't be deleted.

**Inputs**

- Journal entry (`journal_entry_key`, text, required): The journal entry's key (record number), from 'Create journal entry' or 'Search records'.

**Outputs**

- `deleted` (true/false): True once it is deleted
- `key` (text): The key of the record deleted

**Example output**

```json
{
  "deleted": true,
  "key": "30565"
}
```

### Delete vendor

Delete a vendor. Sage Intacct refuses if the vendor has transactions; make it inactive instead.

**Inputs**

- Vendor (`vendor_id`, text, required): The vendor. Pick one, or give its ID (such as V-00014).

**Outputs**

- `deleted` (true/false): True once it is deleted
- `key` (text): The key of the vendor deleted
- `vendor_id` (text): The ID of the vendor deleted

**Example output**

```json
{
  "deleted": true,
  "key": "111",
  "vendor_id": "VEND-00010"
}
```

### Find bills

Find bills by vendor, bill number, state, date or whether they are unpaid. Newest first, up to 100 by default.

**Inputs**

- Vendor (`vendor_id`, text): Only this vendor's bills.
- Bill number (`bill_number`, text): Only the bill with this number.
- State (`state`, text): Only bills in this state. One of: `posted`, `partiallyPaid` (Partially paid), `paid`, `draft`, `submitted` (Submitted for approval), `reversed`.
- Unpaid only (`unpaid_only`, true/false): Only those with an amount still due. Default: `false`.
- From date (`from_date`, date): Only those dated on or after this day.
- To date (`to_date`, date): Only those dated on or before this day.
- Added since (`created_since`, date and time): Only those added at or after this time.
- Max results (`max_results`, number): How many to return, 1 to 4000. Defaults to 100. From 1 to 4000.
- Start at (`start_at`, number): For the next page: the 'next_start' an earlier step returned. At least 1.

**Outputs**

- `bills` (list): The bills
- `count` (number): How many are in this page
- `next_start` (number): Where the next page starts, for 'Start at'; 0 when this is the last page
- `total_count` (number): How many match in all

**Example output**

```json
{
  "bills": [
    {
      "audit": {
        "createdDateTime": "2026-02-21T09:00:00Z"
      },
      "billNumber": "Bill-001-06",
      "createdDate": "2026-02-21",
      "dueDate": "2026-03-08",
      "href": "/objects/accounts-payable/bill/60",
      "id": "60",
      "key": "60",
      "state": "posted",
      "totalTxnAmount": "100.00",
      "totalTxnAmountDue": "100.00",
      "vendor": {
        "id": "VEND-00010",
        "name": "Design Works"
      }
    }
  ],
  "count": 1,
  "next_start": 0,
  "total_count": 1
}
```

### Find customers

Find customers by name or ID, status, or when they were added or changed. Returns up to 100 by default, sorted by name.

**Inputs**

- Search (`search`, text): Only those whose name or ID contains this text (any case).
- Status (`status`, text): Which to include. Defaults to active ones. One of: `active` (Active (default)), `inactive`, `any` (Any status).
- Added since (`created_since`, date and time): Only those added at or after this time.
- Changed since (`modified_since`, date and time): Only those changed at or after this time.
- Max results (`max_results`, number): How many to return, 1 to 4000. Defaults to 100. From 1 to 4000.
- Start at (`start_at`, number): For the next page: the 'next_start' an earlier step returned. At least 1.

**Outputs**

- `count` (number): How many are in this page
- `customers` (list): The customers
- `next_start` (number): Where the next page starts, for 'Start at'; 0 when this is the last page
- `total_count` (number): How many match in all

**Example output**

```json
{
  "count": 1,
  "customers": [
    {
      "audit": {
        "createdDateTime": "2026-05-16T15:34:35Z",
        "modifiedDateTime": "2026-09-14T21:23:42Z"
      },
      "contacts": {
        "default": {
          "email1": "ap@gomez.example",
          "phone1": "(408) 395-2539"
        }
      },
      "href": "/objects/accounts-receivable/customer/24",
      "id": "C-00003",
      "key": "24",
      "name": "Gomez Manufacturers",
      "status": "active",
      "totalDue": "3250.00"
    }
  ],
  "next_start": 0,
  "total_count": 1
}
```

### Find GL accounts

List the chart of accounts, or find accounts by number, name, type or status. Sorted by account number.

**Inputs**

- Search (`search`, text): Accounts whose number starts with, or name contains, this text.
- Account type (`account_type`, text): Only balance sheet or only income statement accounts. One of: `balanceSheet` (Balance sheet), `incomeStatement` (Income statement).
- Status (`status`, text): Which to include. Defaults to active ones. One of: `active` (Active (default)), `inactive`, `any` (Any status).
- Max results (`max_results`, number): How many to return, 1 to 4000. Defaults to 100. From 1 to 4000.
- Start at (`start_at`, number): For the next page: the 'next_start' an earlier step returned. At least 1.

**Outputs**

- `accounts` (list): The accounts
- `count` (number): How many are in this page
- `next_start` (number): Where the next page starts, for 'Start at'; 0 when this is the last page
- `total_count` (number): How many match in all

**Example output**

```json
{
  "accounts": [
    {
      "accountType": "incomeStatement",
      "href": "/objects/general-ledger/account/41",
      "id": "4000",
      "key": "41",
      "name": "Sales",
      "normalBalance": "credit",
      "status": "active"
    }
  ],
  "count": 1,
  "next_start": 0,
  "total_count": 1
}
```

### Find invoices

Find invoices by customer, number, state, date or whether they are unpaid. Newest first, up to 100 by default.

**Inputs**

- Customer (`customer_id`, text): Only this customer's invoices.
- Invoice number (`invoice_number`, text): Only the invoice with this number.
- State (`state`, text): Only invoices in this state. One of: `posted`, `partiallyPaid` (Partially paid), `paid`, `draft`, `reversed`.
- Unpaid only (`unpaid_only`, true/false): Only those with an amount still due. Default: `false`.
- From date (`from_date`, date): Only those dated on or after this day.
- To date (`to_date`, date): Only those dated on or before this day.
- Added since (`created_since`, date and time): Only those added at or after this time.
- Max results (`max_results`, number): How many to return, 1 to 4000. Defaults to 100. From 1 to 4000.
- Start at (`start_at`, number): For the next page: the 'next_start' an earlier step returned. At least 1.

**Outputs**

- `count` (number): How many are in this page
- `invoices` (list): The invoices
- `next_start` (number): Where the next page starts, for 'Start at'; 0 when this is the last page
- `total_count` (number): How many match in all

**Example output**

```json
{
  "count": 1,
  "invoices": [
    {
      "audit": {
        "createdDateTime": "2026-09-24T14:18:20Z"
      },
      "customer": {
        "id": "C-00003",
        "name": "Gomez Manufacturers"
      },
      "dueDate": "2026-10-24",
      "href": "/objects/accounts-receivable/invoice/292",
      "id": "292",
      "invoiceDate": "2026-09-24",
      "invoiceNumber": "INV-0034",
      "key": "292",
      "state": "posted",
      "totalTxnAmount": "440.00",
      "totalTxnAmountDue": "440.00"
    }
  ],
  "next_start": 0,
  "total_count": 1
}
```

### Find vendors

Find vendors by name or ID, status, or when they were added or changed. Returns up to 100 by default, sorted by name.

**Inputs**

- Search (`search`, text): Only those whose name or ID contains this text (any case).
- Status (`status`, text): Which to include. Defaults to active ones. One of: `active` (Active (default)), `inactive`, `any` (Any status).
- Added since (`created_since`, date and time): Only those added at or after this time.
- Changed since (`modified_since`, date and time): Only those changed at or after this time.
- Max results (`max_results`, number): How many to return, 1 to 4000. Defaults to 100. From 1 to 4000.
- Start at (`start_at`, number): For the next page: the 'next_start' an earlier step returned. At least 1.

**Outputs**

- `count` (number): How many are in this page
- `next_start` (number): Where the next page starts, for 'Start at'; 0 when this is the last page
- `total_count` (number): How many match in all
- `vendors` (list): The vendors

**Example output**

```json
{
  "count": 1,
  "next_start": 0,
  "total_count": 1,
  "vendors": [
    {
      "audit": {
        "createdDateTime": "2026-05-16T15:34:35Z",
        "modifiedDateTime": "2026-09-14T21:23:42Z"
      },
      "contacts": {
        "default": {
          "email1": "ap@gomez.example",
          "phone1": "(408) 395-2539"
        }
      },
      "href": "/objects/accounts-payable/vendor/111",
      "id": "VEND-00010",
      "key": "111",
      "name": "Design Works",
      "status": "active",
      "totalDue": "100.00"
    }
  ]
}
```

### Get bill

Get a bill with its vendor, dates, lines, total and the amount still due.

**Inputs**

- Bill (`bill_key`, text, required): The bill's key (record number), from 'Create bill' or 'Find bills'.

**Outputs**

- `bill` (object): The bill

**Example output**

```json
{
  "bill": {
    "audit": {
      "createdDateTime": "2026-05-16T15:34:35Z",
      "modifiedDateTime": "2026-09-14T21:23:42Z"
    },
    "billNumber": "Bill-001-06",
    "createdDate": "2026-02-21",
    "currency": {
      "baseCurrency": "USD",
      "txnCurrency": "USD"
    },
    "description": "Annual maintenance charge",
    "dueDate": "2026-03-08",
    "href": "/objects/accounts-payable/bill/60",
    "id": "60",
    "key": "60",
    "lines": [
      {
        "dimensions": {
          "department": {
            "id": "SA"
          },
          "location": {
            "id": "1"
          }
        },
        "glAccount": {
          "id": "6000",
          "name": "Repairs"
        },
        "key": "62",
        "memo": "Service charges",
        "txnAmount": "100.00"
      }
    ],
    "referenceNumber": "Ref-123",
    "state": "posted",
    "totalTxnAmount": "100.00",
    "totalTxnAmountDue": "100.00",
    "vendor": {
      "id": "VEND-00010",
      "key": "111",
      "name": "Design Works"
    },
    "webURL": "https://www.intacct.com/ia/acct/ur.phtml?.r=ijVqUVXUX3Tz"
  }
}
```

### Get customer

Get a customer's details, contact, terms and amount due.

**Inputs**

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

**Outputs**

- `customer` (object): The customer

**Example output**

```json
{
  "customer": {
    "audit": {
      "createdDateTime": "2026-05-16T15:34:35Z",
      "modifiedDateTime": "2026-09-14T21:23:42Z"
    },
    "contacts": {
      "default": {
        "email1": "ap@gomez.example",
        "firstName": "Sandy",
        "lastName": "Tieber",
        "mailingAddress": {
          "addressLine1": "1120 Harbor Bay Pkwy",
          "city": "Sacramento",
          "country": "United States",
          "postCode": "95119",
          "state": "CA"
        },
        "phone1": "(408) 395-2539",
        "printAs": "Gomez Manufacturers"
      }
    },
    "creditLimit": 10000,
    "href": "/objects/accounts-receivable/customer/24",
    "id": "C-00003",
    "key": "24",
    "name": "Gomez Manufacturers",
    "notes": "Service tier 1",
    "status": "active",
    "term": {
      "id": "Net 30"
    },
    "totalDue": "3250.00"
  }
}
```

### Get invoice

Get an invoice with its customer, dates, lines, total and the amount still due.

**Inputs**

- Invoice (`invoice_key`, text, required): The invoice's key (record number), from 'Create invoice' or 'Find invoices'.

**Outputs**

- `invoice` (object): The invoice

**Example output**

```json
{
  "invoice": {
    "audit": {
      "createdDateTime": "2026-05-16T15:34:35Z",
      "modifiedDateTime": "2026-09-14T21:23:42Z"
    },
    "currency": {
      "baseCurrency": "USD",
      "txnCurrency": "USD"
    },
    "customer": {
      "id": "C-00003",
      "key": "24",
      "name": "Gomez Manufacturers"
    },
    "description": "September consulting",
    "dueDate": "2026-10-24",
    "href": "/objects/accounts-receivable/invoice/292",
    "id": "292",
    "invoiceDate": "2026-09-24",
    "invoiceNumber": "INV-0034",
    "key": "292",
    "lines": [
      {
        "dimensions": {
          "department": {
            "id": "SA"
          },
          "location": {
            "id": "1"
          }
        },
        "glAccount": {
          "id": "4000",
          "name": "Sales"
        },
        "key": "1904",
        "memo": "Consulting, September",
        "txnAmount": "440.00"
      }
    ],
    "referenceNumber": "PO6917",
    "state": "posted",
    "totalTxnAmount": "440.00",
    "totalTxnAmountDue": "440.00",
    "webURL": "https://www.intacct.com/ia/acct/ur.phtml?.r=ijVqUVXUX3Tz"
  }
}
```

### Get journal entry

Get a journal entry with its journal, date, state and lines.

**Inputs**

- Journal entry (`journal_entry_key`, text, required): The journal entry's key (record number), from 'Create journal entry' or 'Search records'.

**Outputs**

- `journal_entry` (object): The journal entry

**Example output**

```json
{
  "journal_entry": {
    "audit": {
      "createdDateTime": "2026-05-16T15:34:35Z",
      "modifiedDateTime": "2026-09-14T21:23:42Z"
    },
    "description": "October revenue posting",
    "glJournal": {
      "id": "GJ",
      "name": "General Journal"
    },
    "id": "30565",
    "key": "30565",
    "lines": [
      {
        "description": "October revenue",
        "dimensions": {
          "department": {
            "id": "SA"
          },
          "location": {
            "id": "1"
          }
        },
        "glAccount": {
          "id": "1000",
          "name": "Operating Account"
        },
        "key": "465744",
        "lineNumber": 1,
        "txnAmount": "200.00",
        "txnType": "debit"
      },
      {
        "description": "October revenue",
        "dimensions": {
          "department": {
            "id": "SA"
          },
          "location": {
            "id": "1"
          }
        },
        "glAccount": {
          "id": "4000",
          "name": "Sales"
        },
        "key": "465745",
        "lineNumber": 2,
        "txnAmount": "200.00",
        "txnType": "credit"
      }
    ],
    "postingDate": "2026-11-01",
    "referenceNumber": "Rev_Oct",
    "state": "posted",
    "txnNumber": 493,
    "webURL": "https://www.intacct.com/ia/acct/ur.phtml?.r=ijVqUVXUX3Tz"
  }
}
```

### Get vendor

Get a vendor's details, contact, terms and amount due.

**Inputs**

- Vendor (`vendor_id`, text, required): The vendor. Pick one, or give its ID (such as V-00014).

**Outputs**

- `vendor` (object): The vendor

**Example output**

```json
{
  "vendor": {
    "audit": {
      "createdDateTime": "2026-05-16T15:34:35Z",
      "modifiedDateTime": "2026-09-14T21:23:42Z"
    },
    "contacts": {
      "default": {
        "email1": "ap@gomez.example",
        "firstName": "Sandy",
        "lastName": "Tieber",
        "mailingAddress": {
          "addressLine1": "1120 Harbor Bay Pkwy",
          "city": "Sacramento",
          "country": "United States",
          "postCode": "95119",
          "state": "CA"
        },
        "phone1": "(408) 395-2539",
        "printAs": "Design Works"
      }
    },
    "defaultExpenseGLAccount": {
      "id": "6700"
    },
    "href": "/objects/accounts-payable/vendor/111",
    "id": "VEND-00010",
    "key": "111",
    "name": "Design Works",
    "notes": "Make sure to include on form 1099.",
    "status": "active",
    "term": {
      "id": "Net 30"
    },
    "totalDue": "100.00"
  }
}
```

### Record customer payment

Record money received against an invoice, into a bank account or undeposited funds. The amount defaults to what is still due.

**Inputs**

- Invoice (`invoice_key`, text, required): The invoice's key (record number), from 'Create invoice' or 'Find invoices'.
- Deposit to (`deposit_to`, text): Where the money went. One of: `bank` (A bank account (default)), `undeposited` (Undeposited funds). Default: `bank`.
- Bank account (`bank_account`, text): The bank account the money was deposited in. Only when Deposit to is A bank account (default).
- Undeposited funds account (`undeposited_funds_account`, text): The GL account that holds payments waiting to be deposited. Only when Deposit to is Undeposited funds.
- Payment method (`payment_method`, text): How the customer paid. One of: `printedCheck` (Check (default)), `cash`, `eft` (EFT (bank transfer)), `creditCard` (Credit card). Default: `printedCheck`.
- Payment date (`payment_date`, date): When the money was received. Defaults to today.
- Amount (`amount`, number): How much was paid. Defaults to everything still due. At least 0.01.
- Check or reference number (`reference_number`, text): The check number or the bank's reference.
- Memo (`memo`, text): A note kept with the payment.

**Outputs**

- `payment` (object): The payment

**Example output**

```json
{
  "payment": {
    "customer": {
      "id": "C-00003",
      "key": "24",
      "name": "Gomez Manufacturers"
    },
    "description": "Regular payment for services",
    "documentNumber": "1567",
    "financialEntity": {
      "entityId": "BOA"
    },
    "id": "464",
    "key": "464",
    "paymentMethod": "printedCheck",
    "paymentSummary": {
      "receiptDate": "2026-10-10"
    },
    "state": "complete",
    "txnCurrency": {
      "currency": "USD",
      "totalAmount": "440.00"
    }
  }
}
```

### Search records

Read any kind of Sage Intacct record, such as departments, projects or employees, choosing the fields, filters and order.

**Inputs**

- Record type (`record_type`, text, required): The kind of record, written application/object, such as company-config/department or projects/project.
- Fields (`fields`, list): The fields to return, such as id, name and status. Use a dot for a related record's field, such as vendor.name. Defaults to key and id.
- Match (`match`, object): Fields and the value each must equal, such as status: active.
- Advanced filters (`advanced_filters`, list): Sage Intacct query filters, all of which must match, such as {"$gt": {"totalDue": "0"}}.
- Sort by (`sort_by`, text): Field names, each optionally followed by desc, such as name.
- Max results (`max_results`, number): How many to return, 1 to 4000. Defaults to 100. From 1 to 4000.
- Start at (`start_at`, number): For the next page: the 'next_start' an earlier step returned. At least 1.

**Outputs**

- `count` (number): How many are in this page
- `next_start` (number): Where the next page starts, for 'Start at'; 0 when this is the last page
- `record_type` (text): The record type searched
- `records` (list): The records, each with the fields asked for
- `total_count` (number): How many match in all

**Example output**

```json
{
  "count": 1,
  "next_start": 0,
  "record_type": "company-config/department",
  "records": [
    {
      "id": "FIN-AP",
      "key": "11",
      "name": "Finance - Accounts Payable"
    }
  ],
  "total_count": 1
}
```

### Update customer

Change a customer's name, status, contact details, terms or credit limit. Only the fields given change.

**Inputs**

- Customer (`customer_id`, text, required): The customer. Pick one, or give its ID (such as C-00012).
- Name (`name`, text): A new name. Leave empty to keep it.
- Status (`status`, text): Inactive hides it from new transactions. Leave empty to keep it. One of: `active`, `inactive`.
- Email (`email`, text): Email address on the display contact.
- Phone (`phone`, text): Phone number on the display contact.
- Contact first name (`first_name`, text): First name of the person to contact.
- Contact last name (`last_name`, text): Last name of the person to contact.
- Address line 1 (`address_line1`, text): Street address.
- Address line 2 (`address_line2`, text): Suite, unit or building.
- City (`city`, text): City or town.
- State or region (`state`, text): State, province or region.
- Postal code (`postal_code`, text): ZIP or postal code.
- Country (`country_code`, text): Two-letter country code, such as US, CA or GB.
- Payment terms (`payment_term`, text): Payment terms, such as Net 30.
- Credit limit (`credit_limit`, number): The most this customer may owe. At least 0.
- Tax ID (`tax_id`, text): Tax identification number.
- Notes (`notes`, text): Notes kept on the record.

**Outputs**

- `customer` (object): The customer

**Example output**

```json
{
  "customer": {
    "audit": {
      "createdDateTime": "2026-05-16T15:34:35Z",
      "modifiedDateTime": "2026-09-14T21:23:42Z"
    },
    "contacts": {
      "default": {
        "email1": "ap@gomez.example",
        "firstName": "Sandy",
        "lastName": "Tieber",
        "mailingAddress": {
          "addressLine1": "1120 Harbor Bay Pkwy",
          "city": "Sacramento",
          "country": "United States",
          "postCode": "95119",
          "state": "CA"
        },
        "phone1": "(408) 395-2539",
        "printAs": "Gomez Manufacturers"
      }
    },
    "creditLimit": 10000,
    "href": "/objects/accounts-receivable/customer/24",
    "id": "C-00003",
    "key": "24",
    "name": "Gomez Manufacturers",
    "notes": "Service tier 1",
    "status": "active",
    "term": {
      "id": "Net 30"
    },
    "totalDue": "3250.00"
  }
}
```

### Update vendor

Change a vendor's name, status, contact details, terms or default expense account. Only the fields given change.

**Inputs**

- Vendor (`vendor_id`, text, required): The vendor. Pick one, or give its ID (such as V-00014).
- Name (`name`, text): A new name. Leave empty to keep it.
- Status (`status`, text): Inactive hides it from new transactions. Leave empty to keep it. One of: `active`, `inactive`.
- Email (`email`, text): Email address on the display contact.
- Phone (`phone`, text): Phone number on the display contact.
- Contact first name (`first_name`, text): First name of the person to contact.
- Contact last name (`last_name`, text): Last name of the person to contact.
- Address line 1 (`address_line1`, text): Street address.
- Address line 2 (`address_line2`, text): Suite, unit or building.
- City (`city`, text): City or town.
- State or region (`state`, text): State, province or region.
- Postal code (`postal_code`, text): ZIP or postal code.
- Country (`country_code`, text): Two-letter country code, such as US, CA or GB.
- Payment terms (`payment_term`, text): Payment terms, such as Net 30.
- Default expense account (`default_expense_account`, text): The GL account new bills from this vendor use by default.
- Tax ID (`tax_id`, text): Tax identification number.
- Notes (`notes`, text): Notes kept on the record.

**Outputs**

- `vendor` (object): The vendor

**Example output**

```json
{
  "vendor": {
    "audit": {
      "createdDateTime": "2026-05-16T15:34:35Z",
      "modifiedDateTime": "2026-09-14T21:23:42Z"
    },
    "contacts": {
      "default": {
        "email1": "ap@gomez.example",
        "firstName": "Sandy",
        "lastName": "Tieber",
        "mailingAddress": {
          "addressLine1": "1120 Harbor Bay Pkwy",
          "city": "Sacramento",
          "country": "United States",
          "postCode": "95119",
          "state": "CA"
        },
        "phone1": "(408) 395-2539",
        "printAs": "Design Works"
      }
    },
    "defaultExpenseGLAccount": {
      "id": "6700"
    },
    "href": "/objects/accounts-payable/vendor/111",
    "id": "VEND-00010",
    "key": "111",
    "name": "Design Works",
    "notes": "Make sure to include on form 1099.",
    "status": "active",
    "term": {
      "id": "Net 30"
    },
    "totalDue": "100.00"
  }
}
```
