The JournalEntry object

A Rutter Journal Entry represents the atomic transaction used in any accounting system. It must contain at least one credit and debit, and the sum of credit and debit amounts must equal 0.

Files can be attached to Rutter Journal Entries in the form of Rutter Attachments.

Properties

idstring

The Rutter generated unique ID of the journal entry.

platform_idstring

The platform specific ID of the journal entry.

subsidiary_idstringnullable

The Rutter ID of the Subsidiary linked to the journal entry. This feature is currently only supported on NetSuite.

issue_datestring

The ISO 8601 timestamp for the issue date of the journal entry.

currencyenumnullable
One ofAEDAFNALLAMDANGAOAARSAUDAWGAZNBAMBBDBDTBGNBHDBIFBMDBNDBOBBOVBRLBSDBTNBWPBYRBZDCADCDFCHECHFCHWCLFCLPCNYCOPCOUCRCCUCCUPCVECZKDJFDKKDOPDZDEGPERNETBEURFJDFKPGBPGELGHSGIPGMDGNFGTQGYDHKDHNLHRKHTGHUFIDRILSINRIQDIRRISKJMDJODJPYKESKGSKHRKMFKPWKRWKWDKYDKZTLAKLBPLKRLRDLSLLTLLVLLYDMADMDLMGAMKDMMKMNTMOPMROMURMVRMWKMXNMXVMYRMZNNADNGNNIONOKNPRNZDOMRPABPENPGKPHPPKRPLNPYGQARRONRSDRUBRWFSARSBDSCRSDGSEKSGDSHPSLLSOSSRDSSPSTDSYPSZLTHBTJSTMTTNDTOPTRYTTDTWDTZSUAHUGXUSDUSNUSSUYIUYUUYWUZSVEFVNDVUVWSTXAFXAGXAUXBAXBBXBCXBDXCDXDRXFUXOFXPDXPFXPTXTSXXXYERZAR, or ZMW.
depositedbooleannullable

If the journal entry debits the 'Undeposited Funds' account, this field will show whether the journal entry has been deposited (usually in another Bank Deposit transaction). Null if the journal entry doesn't debit the 'Undeposited Funds' account or if the platform does not support this field.

memostringnullable

The memo of the journal entry.

currency_ratestringnullable

The exchange rate between the business default currency and the currency of the journal entry.

line_itemsarray
Show line_items attributes
created_atstringnullable

The ISO 8601 timestamp that the journal entry was created.

updated_atstringnullable

The ISO 8601 timestamp that the journal entry was last updated.

platform_dataobjectoptional

The raw platform data corresponding to the Rutter object.

Show platform_data attributes
Example JournalEntry Object
{
  "id": "00000000-0000-0000-0000-000000000000",
  "platform_id": "12345678",
  "subsidiary_id": "00000000-0000-0000-0000-000000000000",
  "issue_date": "2023-01-02T02:34:56.000Z",
  "currency": "USD",
  "deposited": true,
  "memo": "For goods sold.",
  "currency_rate": "1",
  "line_items": [
    {
      "platform_id": "12345678",
      "tax_rate_id": "123",
      "amount": 12.34,
      "description": "Debit amount for goods sold",
      "tax_amount": 1.23,
      "account_ref": {
        "id": "00000000-0000-0000-0000-000000000000",
        "name": "Expenses"
      }
    },
    {
      "platform_id": "12345678",
      "tax_rate_id": "123",
      "amount": -12.34,
      "description": "Credit amount for goods sold",
      "tax_amount": 0,
      "account_ref": {
        "id": "00000000-0000-0000-0000-000000000000",
        "name": "Cash"
      }
    }
  ],
  "created_at": "2023-01-02T02:34:56.000Z",
  "updated_at": "2023-01-02T02:34:56.000Z",
  "platform_data": {
    "id": 123,
    "data": "Varies by platform"
  }
}

List Journal Entries

GET /accounting/journal_entries
Supported for: NetSuiteQuickBooksQuickBooks DesktopSage IntacctXero

Request Parameters

    access_tokenstringquery

    The access token of the connection.

    cursorstringoptionalquery

    The cursor to use for pagination. This value is passed in from next_cursor field in a previous request.

    expandenumoptionalquery

    Used to request inclusion of optional objects.

    Can beplatform_data.
    force_fetchenumoptionalquery

    Force a response even if the underlying connection hasn't finished the initial sync.

    One oftrue or false.
    limitintegeroptionalquery

    The limit on the number of entities returned.

    updated_at_maxintegeroptionalquery

    Unix Timestamp in milliseconds representing the maximum updated_at datetime to fetch entities from.

    updated_at_minintegeroptionalquery

    Unix Timestamp in milliseconds representing the minimum updated_at datetime to fetch entities from.

Response Body

    connectionobject
    Show connection attributes
    journal_entriesarray
    Show journal_entries attributes
    next_cursorstringnullableoptional
Example Response Body
{
  "connection": {
    "id": "00000000-0000-0000-0000-000000000000",
    "orgId": "00000000-0000-0000-0000-000000000000",
    "platform": "NETSUITE"
  },
  "journal_entries": [
    {
      "id": "00000000-0000-0000-0000-000000000000",
      "platform_id": "12345678",
      "subsidiary_id": "00000000-0000-0000-0000-000000000000",
      "issue_date": "2023-01-02T02:34:56.000Z",
      "currency": "USD",
      "deposited": true,
      "memo": "For goods sold.",
      "currency_rate": "1",
      "line_items": [
        {
          "platform_id": "12345678",
          "tax_rate_id": "123",
          "amount": 12.34,
          "description": "Debit amount for goods sold",
          "tax_amount": 1.23,
          "account_ref": {
            "id": "00000000-0000-0000-0000-000000000000",
            "name": "Expenses"
          }
        },
        {
          "platform_id": "12345678",
          "tax_rate_id": "123",
          "amount": -12.34,
          "description": "Credit amount for goods sold",
          "tax_amount": 0,
          "account_ref": {
            "id": "00000000-0000-0000-0000-000000000000",
            "name": "Cash"
          }
        }
      ],
      "created_at": "2023-01-02T02:34:56.000Z",
      "updated_at": "2023-01-02T02:34:56.000Z",
      "platform_data": {
        "id": 123,
        "data": "Varies by platform"
      }
    }
  ],
  "next_cursor": "MTY3NDgzMTk0Ml82MDY4ZDI0ZC02NGRmLTRmN2EtYTM0Ny0zN2ZmNjY5MGVmMjU="
}

Fetch a Journal Entry

GET /accounting/journal_entries/:id
Supported for: NetSuiteQuickBooksQuickBooks DesktopSage IntacctXero

Request Parameters

    idstringpath

    The Rutter generated unique ID of the object.

    access_tokenstringquery

    The access token of the connection.

    force_fetchenumoptionalquery

    Force a response even if the underlying connection hasn't finished the initial sync.

    One oftrue or false.

Response Body

    connectionobject
    Show connection attributes
    journal_entryobject
    Show journal_entry attributes
Example Response Body
{
  "connection": {
    "id": "00000000-0000-0000-0000-000000000000",
    "orgId": "00000000-0000-0000-0000-000000000000",
    "platform": "NETSUITE"
  },
  "journal_entry": {
    "id": "00000000-0000-0000-0000-000000000000",
    "platform_id": "12345678",
    "subsidiary_id": "00000000-0000-0000-0000-000000000000",
    "issue_date": "2023-01-02T02:34:56.000Z",
    "currency": "USD",
    "deposited": true,
    "memo": "For goods sold.",
    "currency_rate": "1",
    "line_items": [
      {
        "platform_id": "12345678",
        "tax_rate_id": "123",
        "amount": 12.34,
        "description": "Debit amount for goods sold",
        "tax_amount": 1.23,
        "account_ref": {
          "id": "00000000-0000-0000-0000-000000000000",
          "name": "Expenses"
        }
      },
      {
        "platform_id": "12345678",
        "tax_rate_id": "123",
        "amount": -12.34,
        "description": "Credit amount for goods sold",
        "tax_amount": 0,
        "account_ref": {
          "id": "00000000-0000-0000-0000-000000000000",
          "name": "Cash"
        }
      }
    ],
    "created_at": "2023-01-02T02:34:56.000Z",
    "updated_at": "2023-01-02T02:34:56.000Z",
    "platform_data": {
      "id": 123,
      "data": "Varies by platform"
    }
  }
}

Create a Journal Entry

POST /accounting/journal_entries
Supported for: Dynamics 365NetSuiteQuickBooksQuickBooks DesktopSage IntacctXero

Request Parameters

    access_tokenstringquery

    The access token of the connection.

Request Body

    journal_entryobject
    Show journal_entry attributes

Response Body

    Any of:

    journal_entryobject
    Show journal_entry attributes
    async_responseobjectoptional
    Show async_response attributes
    errorsarrayoptional
    Show errors attributes
Example Request Body
{
  "journal_entry": {
    "currency_code": "USD",
    "memo": "For goods sold.",
    "line_items": [
      {
        "account_id": "00000000-0000-0000-0000-000000000000",
        "amount": 12.34,
        "description": "Debit amount for goods sold."
      },
      {
        "account_id": "00000000-0000-0000-0000-000000000000",
        "amount": 12.34,
        "description": "Credit amount for goods sold."
      }
    ],
    "created_at": "2023-01-02T02:34:56.000Z"
  }
}
Example Response Body
{
  "journal_entry": {
    "id": "00000000-0000-0000-0000-000000000000",
    "platform_id": "12345678",
    "subsidiary_id": "00000000-0000-0000-0000-000000000000",
    "issue_date": "2023-01-02T02:34:56.000Z",
    "currency": "USD",
    "deposited": true,
    "memo": "For goods sold.",
    "currency_rate": "1",
    "line_items": [
      {
        "platform_id": "12345678",
        "tax_rate_id": "123",
        "amount": 12.34,
        "description": "Debit amount for goods sold",
        "tax_amount": 1.23,
        "account_ref": {
          "id": "00000000-0000-0000-0000-000000000000",
          "name": "Expenses"
        }
      },
      {
        "platform_id": "12345678",
        "tax_rate_id": "123",
        "amount": -12.34,
        "description": "Credit amount for goods sold",
        "tax_amount": 0,
        "account_ref": {
          "id": "00000000-0000-0000-0000-000000000000",
          "name": "Cash"
        }
      }
    ],
    "created_at": "2023-01-02T02:34:56.000Z",
    "updated_at": "2023-01-02T02:34:56.000Z",
    "platform_data": {
      "id": 123,
      "data": "Varies by platform"
    }
  }
}