Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

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.0.7
Filename, size File type Python version Upload date Hashes
Filename, size pyintacct-0.0.7-py3-none-any.whl (10.0 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size pyintacct-0.0.7.tar.gz (6.5 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page