Skip to main content

Python SDK for Intacct

Project description


PyPI License: MIT

A simple Python SDK for Sage Intacct.


  • Python >= 3.6
  • pydantic
  • requests
  • jxmlease



pip install pyintacct

Example usage

from pyintacct import IntacctAPI

config = {'SENDER_ID': 'senderid',
          'SENDER_PW': 'senderpassword',
          'COMPANY_ID': 'mycompany',
          'USER_ID': 'username',
          'USER_PW': 'password'}
client = IntacctAPI(config)

customer = {'customer': {'CUSTOMERID': 'C-0001', 'NAME': 'Acme, Inc.'}}

r = client.read_by_query('CUSTOMER', 'CUSTOMERID = \'C-0001\'', fields='NAME', pagesize=1)

You can also use pydantic models:

from pydantic import BaseModel

# API 3.0
class Location(BaseModel):
    NAME: str

location = Location(LOCATIONID='T123', NAME='Test Location', PARENTID='100')

# API 2.1
from pyintacct.models.base import API21Object

class Contact(API21Object):
    contactname: str = ...
    printas: str = None  # Need to assign a default to preserve ordering

    # Override create or delete method to fit your object.
    def delete(cls):
        return 'delete_contact', 'contactname'

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pyintacct, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size pyintacct-0.1.0-py3-none-any.whl (10.1 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size pyintacct-0.1.0.tar.gz (6.6 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page