Developer Docs
Transentry
Version 1.0.6

API Doc Version 1.0.6

What's New

GET /accounting/config/criteria

Get Profile Criteria

POST /accounting/config/criteria

Create Criteria Configuration

PATCH /accounting/config/criteria

Update Criteria Configuration

PATCH /accounting/config/event

Update Event

PATCH /accounting/config/posting-key

Update Posting Key

PATCH /accounting/config/account

Update Configuration

PATCH /accounting/config/other-info

Update Config Info Category

PATCH /accounting/config/amount

Update Amount Configuration

What's Deleted

PATCH /accounting/config/event/{event_code}

Update Event

PATCH /accounting/config/posting-key/{posting_key}

Update Posting Key

PATCH /accounting/config/account/{account_code}

Update Configuration

PATCH /accounting/config/other-info/{item_code}

Update Config Info Category

PATCH /accounting/config/amount/{amount_code}

Update Amount Configuration

What's Changed

POST /accounting/config/event

Request:

Changed content type : application/json

New required properties:

  • event_list

New optional properties:

  • code
  • name
  • Added property event_list (array)

    Items (object):

    • Property code (string)

    • Property name (string)

    • Property description (string)

    • Property created_by (string)

  • Deleted property code (string)

  • Deleted property name (string)

  • Deleted property description (string)

  • Deleted property created_by (string)

Return Type:

Changed response : 200 OK

Successful Response

  • Changed content type : application/json

    • Changed property data (array)

      New required properties:

      • errors
      • successful_recorded
      • total_recorded
      • unsuccessful_recorded

      New optional properties:

      • code

      • is_active

      • name

      • Added property total_recorded (integer)

      • Added property successful_recorded (integer)

      • Added property unsuccessful_recorded (integer)

      • Added property errors (array)

        Items (object):

        • Property event_name (string)

        • Property error_details (array)

          Items (object):

          • Property error_code (string)

          • Property error_description (string)

      • Deleted property code (string)

      • Deleted property name (string)

      • Deleted property description (string)

      • Deleted property is_active (string)

GET /accounting/config/posting-key

Parameters:

Changed: behavior in query

POST /accounting/config/posting-key

Request:

Changed content type : application/json

New required properties:

  • posting_list

New optional properties:

  • key_behavior
  • posting_key
  • Added property posting_list (array)

    Items (object):

    • Property posting_key (string)

    • Property key_behavior (string)

      An enumeration.

      Enum values:

      • Debit
      • Credit
    • Property created_by (string)

  • Deleted property posting_key (string)

  • Deleted property key_behavior (string)

    An enumeration.

  • Deleted property created_by (string)

POST /accounting/config/account

Request:

Changed content type : application/json

New required properties:

  • account_list

New optional properties:

  • external_account_code
  • external_account_name
  • Added property account_list (array)

    Items (object):

    • Property external_account_code (string)

    • Property external_account_name (string)

    • Property created_by (string)

  • Deleted property external_account_code (string)

  • Deleted property external_account_name (string)

  • Deleted property created_by (string)

GET /accounting/config/other-info

Parameters:

Added: item_code in query

POST /accounting/config/other-info

Request:

Changed content type : application/json

New required properties:

  • other_info_list

New optional properties:

  • item_code
  • item_name
  • Added property other_info_list (array)

    Items (object):

    • Property item_name (string)

    • Property item_code (string)

    • Property description (string)

    • Property is_fixed (boolean)

    • Property created_by (string)

  • Deleted property item_name (string)

  • Deleted property item_code (string)

  • Deleted property description (string)

  • Deleted property created_by (string)

POST /accounting/config/amount

Request:

Changed content type : application/json

New required properties:

  • amount_list

New optional properties:

  • amount_code
  • amount_name
  • Added property amount_list (array)

    Items (object):

    • Property amount_name (string)

    • Property amount_code (string)

    • Property amount_description (string)

    • Property created_by (string)

  • Deleted property amount_name (string)

  • Deleted property amount_description (string)

  • Deleted property amount_code (string)

  • Deleted property created_by (string)

GET /accounting/config/profile

Return Type:

Changed response : 200 OK

Successful Response

  • Changed content type : application/json

    • Changed property data (array)

      New required properties:

      • events

      New optional properties:

      • line_Item

      • Added property profile_id (string)

      • Added property separator (string)

      • Added property events (array)

        Items (object):

        • Property code (string)

        • Property line_Item (array)

          Items (object):

          • Property line_item_number (string)

          • Property posting_key_name (string)

          • Property account_code (string)

          • Property gl_amounts (array)

            Items (object):

            • Property amount_code (string)

            • Property operator (string)

          • Property other_info (array)

            Items (object):

            • Property item_code (string)

            • Property header (string)

      • Deleted property line_Item (array)

      • Changed property criteria (integer -> string)

POST /accounting/config/profile

Request:

Changed content type : application/json

New required properties:

  • events

New optional properties:

  • line_Item
  • Added property profile_id (string)

  • Added property separator (string)

  • Added property events (array)

  • Deleted property line_Item (array)

  • Changed property criteria (integer -> string)

PATCH /accounting/config/profile/{profile_name}

Request:

Changed content type : application/json

  • Added property events (array)

    Items (object):

    • Property code (string)

    • Property line_Item (array)

      Items (object):

      • Property line_item_number (string)

      • Property posting_key_name (string)

      • Property account_code (string)

      • Property gl_amounts (array)

        Items (object):

        • Property amount_code (string)

        • Property operator (string)

      • Property other_info (array)

        Items (object):

        • Property item_code (string)

        • Property header (string)

  • Deleted property line_Item (array)

POST /accounting/transaction/transactions

Request:

Changed content type : application/json

  • Changed property transactions (array)

    Changed items (object):

    • Changed property currency (integer -> string)