> ## Documentation Index
> Fetch the complete documentation index at: https://docs.bijection.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Sage Intacct XML accounting

> Publish vendor, receivables, payables and ledger observations through the Sage Intacct XML Web Services gateway.

Use a [protected REST mount](https://docs.bijection.com/integrations/native-rest.md#protected-saas-mounts).
Bind `providerEndpoint` to `https://api.intacct.com` and `/ia/xml/xmlgw.phtml`.
Authorize your XML Web Services sender for the intended company and grant
the Web Services user read access to the selected object. Seal one JSON
credential with `senderId`, `senderPassword`, `companyId`, `userId` and
`userPassword`. Pass it as
`{ kind: "multiSecret", bindings: [{ kind: "saasBody", profile: "intacctAccounting", secret: accountingLogin }] }`.

Initialize one mount per mode with
`{ profile: { mode: "provider", provider, limit: 25 } }`.
The receiver builds the XML query and selects the fixed fields below.
Every row also lands its exact decimal `RECORDNO` as text and uses it as the
key. Amounts and other XML fields land as text when returned.

| Mode | Object | Fields in addition to `RECORDNO` |
| - | - | - |
| `sage-intacct.xml.vendors.observations` | `VENDOR` | `VENDORID`, `NAME`, `STATUS`. |
| `sage-intacct.xml.ap-bills.observations` | `APBILL` | `RECORDID`, `VENDORID`, `WHENCREATED`, `WHENDUE`, `CURRENCY`, `TOTALENTERED`, `TOTALDUE`, `STATE`. |
| `sage-intacct.xml.ar-invoices.observations` | `ARINVOICE` | `RECORDID`, `CUSTOMERID`, `WHENCREATED`, `WHENDUE`, `CURRENCY`, `TOTALENTERED`, `TOTALDUE`, `STATE`. |
| `sage-intacct.xml.gl-accounts.observations` | `GLACCOUNT` | `ACCOUNTNO`, `TITLE`, `ACCOUNTTYPE`, `NORMALBALANCE`. |
| `sage-intacct.xml.journal-batches.observations` | `GLBATCH` | `JOURNAL`, `BATCH_DATE`, `BATCH_TITLE`, `STATE`. |

The last `RECORDNO` supplies the exclusive lower boundary of the next
query. When Sage reports no remaining rows, the next sweep starts at zero.
Pages accept 1–100 rows and 36 KiB. Missing records stay published. The
gateway grants access to the company scope visible to the sealed user.
Invoice lines, journal lines and provider writes are outside these modes.

[Sage Intacct XML query contract](https://developer.intacct.com/web-services/queries/)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.