Namirasoft ERP API V1

Namira Software Corporation ERP API Version 1 (1.5.10)

Install


To use this cli, we need to first Install Nodejs, then run the following command.

npm i -g namirasoft-erp-api-v1

Copied!

Commands


Health

Liveness

Returns the application liveness status

ns-erp health liveness

Copied!

Readiness

Returns the application readiness status

ns-erp health readiness

Copied!

Metrics

Get

Returns the application metrics

ns-erp metrics get

Copied!

Value

List

Returns the value list of a given table and column

ns-erp value list {table} {column} {search} {field_id} {limit}

Copied!

CurrencyCategory

List

Returns the currency category list

ns-erp currencycategory list {filters} {page} {size} {sorts} {all_workspaces}

Copied!

Get

Returns a currency category by id.

ns-erp currencycategory get {id}

Copied!

Create

Creates a new currency category for an entity

ns-erp currencycategory create

Copied!

--slot_id (String)

--category_id (String)

Delete

Deletes a currency category by an id.

ns-erp currencycategory delete {id}

Copied!

CurrencyField

List

Returns the currency field list

ns-erp currencyfield list {filters} {page} {size} {sorts} {all_workspaces}

Copied!

Get

Returns a currency field by id.

ns-erp currencyfield get {id}

Copied!

Create

Creates a new currency field for an entity

ns-erp currencyfield create

Copied!

--slot_id (String)

--field_id (String)

--value (Any)

Update

Updates a currency field by an id for an entity

ns-erp currencyfield update {id}

Copied!

--slot_id (String)

--field_id (String)

--value (Any)

Delete

Deletes a currency field by an id.

ns-erp currencyfield delete {id}

Copied!

CurrencyTag

List

Returns the currency tag list

ns-erp currencytag list {filters} {page} {size} {sorts} {all_workspaces}

Copied!

Get

Returns a currency tag by id.

ns-erp currencytag get {id}

Copied!

Create

Creates a new currency tag for an entity

ns-erp currencytag create

Copied!

--name (String)

--value (String)

Update

Updates a currency tag by an id for an entity

ns-erp currencytag update {id}

Copied!

--name (String)

--value (String)

Delete

Deletes a currency tag by an id.

ns-erp currencytag delete {id}

Copied!

CurrencyExchangeCategory

List

Returns the currency exchange category list

ns-erp currencyexchangecategory list {filters} {page} {size} {sorts} {all_workspaces}

Copied!

Get

Returns a currency exchange category by id.

ns-erp currencyexchangecategory get {id}

Copied!

Create

Creates a new currency exchange category for an entity

ns-erp currencyexchangecategory create

Copied!

--slot_id (String)

--category_id (String)

Delete

Deletes a currency exchange category by an id.

ns-erp currencyexchangecategory delete {id}

Copied!

CurrencyExchangeField

List

Returns the currency exchange field list

ns-erp currencyexchangefield list {filters} {page} {size} {sorts} {all_workspaces}

Copied!

Get

Returns a currency exchange field by id.

ns-erp currencyexchangefield get {id}

Copied!

Create

Creates a new currency exchange field for an entity

ns-erp currencyexchangefield create

Copied!

--slot_id (String)

--field_id (String)

--value (Any)

Update

Updates a currency exchange field by an id for an entity

ns-erp currencyexchangefield update {id}

Copied!

--slot_id (String)

--field_id (String)

--value (Any)

Delete

Deletes a currency exchange field by an id.

ns-erp currencyexchangefield delete {id}

Copied!

CurrencyExchangeTag

List

Returns the currency exchange tag list

ns-erp currencyexchangetag list {filters} {page} {size} {sorts} {all_workspaces}

Copied!

Get

Returns a currency exchange tag by id.

ns-erp currencyexchangetag get {id}

Copied!

Create

Creates a new currency exchange tag for an entity

ns-erp currencyexchangetag create

Copied!

--name (String)

--value (String)

Update

Updates a currency exchange tag by an id for an entity

ns-erp currencyexchangetag update {id}

Copied!

--name (String)

--value (String)

Delete

Deletes a currency exchange tag by an id.

ns-erp currencyexchangetag delete {id}

Copied!

CompanyCategory

List

Returns the company category list

ns-erp companycategory list {filters} {page} {size} {sorts} {all_workspaces}

Copied!

Get

Returns a company category by id.

ns-erp companycategory get {id}

Copied!

Create

Creates a new company category for an entity

ns-erp companycategory create

Copied!

--slot_id (String)

--category_id (String)

Delete

Deletes a company category by an id.

ns-erp companycategory delete {id}

Copied!

CompanyField

List

Returns the company field list

ns-erp companyfield list {filters} {page} {size} {sorts} {all_workspaces}

Copied!

Get

Returns a company field by id.

ns-erp companyfield get {id}

Copied!

Create

Creates a new company field for an entity

ns-erp companyfield create

Copied!

--slot_id (String)

--field_id (String)

--value (Any)

Update

Updates a company field by an id for an entity

ns-erp companyfield update {id}

Copied!

--slot_id (String)

--field_id (String)

--value (Any)

Delete

Deletes a company field by an id.

ns-erp companyfield delete {id}

Copied!

CompanyTag

List

Returns the company tag list

ns-erp companytag list {filters} {page} {size} {sorts} {all_workspaces}

Copied!

Get

Returns a company tag by id.

ns-erp companytag get {id}

Copied!

Create

Creates a new company tag for an entity

ns-erp companytag create

Copied!

--name (String)

--value (String)

Update

Updates a company tag by an id for an entity

ns-erp companytag update {id}

Copied!

--name (String)

--value (String)

Delete

Deletes a company tag by an id.

ns-erp companytag delete {id}

Copied!

BranchCategory

List

Returns the branch category list

ns-erp branchcategory list {filters} {page} {size} {sorts} {all_workspaces}

Copied!

Get

Returns a branch category by id.

ns-erp branchcategory get {id}

Copied!

Create

Creates a new branch category for an entity

ns-erp branchcategory create

Copied!

--slot_id (String)

--category_id (String)

Delete

Deletes a branch category by an id.

ns-erp branchcategory delete {id}

Copied!

BranchField

List

Returns the branch field list

ns-erp branchfield list {filters} {page} {size} {sorts} {all_workspaces}

Copied!

Get

Returns a branch field by id.

ns-erp branchfield get {id}

Copied!

Create

Creates a new branch field for an entity

ns-erp branchfield create

Copied!

--slot_id (String)

--field_id (String)

--value (Any)

Update

Updates a branch field by an id for an entity

ns-erp branchfield update {id}

Copied!

--slot_id (String)

--field_id (String)

--value (Any)

Delete

Deletes a branch field by an id.

ns-erp branchfield delete {id}

Copied!

BranchTag

List

Returns the branch tag list

ns-erp branchtag list {filters} {page} {size} {sorts} {all_workspaces}

Copied!

Get

Returns a branch tag by id.

ns-erp branchtag get {id}

Copied!

Create

Creates a new branch tag for an entity

ns-erp branchtag create

Copied!

--name (String)

--value (String)

Update

Updates a branch tag by an id for an entity

ns-erp branchtag update {id}

Copied!

--name (String)

--value (String)

Delete

Deletes a branch tag by an id.

ns-erp branchtag delete {id}

Copied!

FiscalYearCategory

List

Returns the fiscal year category list

ns-erp fiscalyearcategory list {filters} {page} {size} {sorts} {all_workspaces}

Copied!

Get

Returns a fiscal year category by id.

ns-erp fiscalyearcategory get {id}

Copied!

Create

Creates a new fiscal year category for an entity

ns-erp fiscalyearcategory create

Copied!

--slot_id (String)

--category_id (String)

Delete

Deletes a fiscal year category by an id.

ns-erp fiscalyearcategory delete {id}

Copied!

FiscalYearField

List

Returns the fiscal year field list

ns-erp fiscalyearfield list {filters} {page} {size} {sorts} {all_workspaces}

Copied!

Get

Returns a fiscal year field by id.

ns-erp fiscalyearfield get {id}

Copied!

Create

Creates a new fiscal year field for an entity

ns-erp fiscalyearfield create

Copied!

--slot_id (String)

--field_id (String)

--value (Any)

Update

Updates a fiscal year field by an id for an entity

ns-erp fiscalyearfield update {id}

Copied!

--slot_id (String)

--field_id (String)

--value (Any)

Delete

Deletes a fiscal year field by an id.

ns-erp fiscalyearfield delete {id}

Copied!

FiscalYearTag

List

Returns the fiscal year tag list

ns-erp fiscalyeartag list {filters} {page} {size} {sorts} {all_workspaces}

Copied!

Get

Returns a fiscal year tag by id.

ns-erp fiscalyeartag get {id}

Copied!

Create

Creates a new fiscal year tag for an entity

ns-erp fiscalyeartag create

Copied!

--name (String)

--value (String)

Update

Updates a fiscal year tag by an id for an entity

ns-erp fiscalyeartag update {id}

Copied!

--name (String)

--value (String)

Delete

Deletes a fiscal year tag by an id.

ns-erp fiscalyeartag delete {id}

Copied!

AccountCategory

List

Returns the account category list

ns-erp accountcategory list {filters} {page} {size} {sorts} {all_workspaces}

Copied!

Get

Returns a account category by id.

ns-erp accountcategory get {id}

Copied!

Create

Creates a new account category for an entity

ns-erp accountcategory create

Copied!

--slot_id (String)

--category_id (String)

Delete

Deletes a account category by an id.

ns-erp accountcategory delete {id}

Copied!

AccountField

List

Returns the account field list

ns-erp accountfield list {filters} {page} {size} {sorts} {all_workspaces}

Copied!

Get

Returns a account field by id.

ns-erp accountfield get {id}

Copied!

Create

Creates a new account field for an entity

ns-erp accountfield create

Copied!

--slot_id (String)

--field_id (String)

--value (Any)

Update

Updates a account field by an id for an entity

ns-erp accountfield update {id}

Copied!

--slot_id (String)

--field_id (String)

--value (Any)

Delete

Deletes a account field by an id.

ns-erp accountfield delete {id}

Copied!

AccountTag

List

Returns the account tag list

ns-erp accounttag list {filters} {page} {size} {sorts} {all_workspaces}

Copied!

Get

Returns a account tag by id.

ns-erp accounttag get {id}

Copied!

Create

Creates a new account tag for an entity

ns-erp accounttag create

Copied!

--name (String)

--value (String)

Update

Updates a account tag by an id for an entity

ns-erp accounttag update {id}

Copied!

--name (String)

--value (String)

Delete

Deletes a account tag by an id.

ns-erp accounttag delete {id}

Copied!

PartyTypeCategory

List

Returns the party type category list

ns-erp partytypecategory list {filters} {page} {size} {sorts} {all_workspaces}

Copied!

Get

Returns a party type category by id.

ns-erp partytypecategory get {id}

Copied!

Create

Creates a new party type category for an entity

ns-erp partytypecategory create

Copied!

--slot_id (String)

--category_id (String)

Delete

Deletes a party type category by an id.

ns-erp partytypecategory delete {id}

Copied!

PartyTypeField

List

Returns the party type field list

ns-erp partytypefield list {filters} {page} {size} {sorts} {all_workspaces}

Copied!

Get

Returns a party type field by id.

ns-erp partytypefield get {id}

Copied!

Create

Creates a new party type field for an entity

ns-erp partytypefield create

Copied!

--slot_id (String)

--field_id (String)

--value (Any)

Update

Updates a party type field by an id for an entity

ns-erp partytypefield update {id}

Copied!

--slot_id (String)

--field_id (String)

--value (Any)

Delete

Deletes a party type field by an id.

ns-erp partytypefield delete {id}

Copied!

PartyTypeTag

List

Returns the party type tag list

ns-erp partytypetag list {filters} {page} {size} {sorts} {all_workspaces}

Copied!

Get

Returns a party type tag by id.

ns-erp partytypetag get {id}

Copied!

Create

Creates a new party type tag for an entity

ns-erp partytypetag create

Copied!

--name (String)

--value (String)

Update

Updates a party type tag by an id for an entity

ns-erp partytypetag update {id}

Copied!

--name (String)

--value (String)

Delete

Deletes a party type tag by an id.

ns-erp partytypetag delete {id}

Copied!

PartyCategory

List

Returns the party category list

ns-erp partycategory list {filters} {page} {size} {sorts} {all_workspaces}

Copied!

Get

Returns a party category by id.

ns-erp partycategory get {id}

Copied!

Create

Creates a new party category for an entity

ns-erp partycategory create

Copied!

--slot_id (String)

--category_id (String)

Delete

Deletes a party category by an id.

ns-erp partycategory delete {id}

Copied!

PartyField

List

Returns the party field list

ns-erp partyfield list {filters} {page} {size} {sorts} {all_workspaces}

Copied!

Get

Returns a party field by id.

ns-erp partyfield get {id}

Copied!

Create

Creates a new party field for an entity

ns-erp partyfield create

Copied!

--slot_id (String)

--field_id (String)

--value (Any)

Update

Updates a party field by an id for an entity

ns-erp partyfield update {id}

Copied!

--slot_id (String)

--field_id (String)

--value (Any)

Delete

Deletes a party field by an id.

ns-erp partyfield delete {id}

Copied!

PartyTag

List

Returns the party tag list

ns-erp partytag list {filters} {page} {size} {sorts} {all_workspaces}

Copied!

Get

Returns a party tag by id.

ns-erp partytag get {id}

Copied!

Create

Creates a new party tag for an entity

ns-erp partytag create

Copied!

--name (String)

--value (String)

Update

Updates a party tag by an id for an entity

ns-erp partytag update {id}

Copied!

--name (String)

--value (String)

Delete

Deletes a party tag by an id.

ns-erp partytag delete {id}

Copied!

TagGroupCategory

List

Returns the tag group category list

ns-erp taggroupcategory list {filters} {page} {size} {sorts} {all_workspaces}

Copied!

Get

Returns a tag group category by id.

ns-erp taggroupcategory get {id}

Copied!

Create

Creates a new tag group category for an entity

ns-erp taggroupcategory create

Copied!

--slot_id (String)

--category_id (String)

Delete

Deletes a tag group category by an id.

ns-erp taggroupcategory delete {id}

Copied!

TagGroupField

List

Returns the tag group field list

ns-erp taggroupfield list {filters} {page} {size} {sorts} {all_workspaces}

Copied!

Get

Returns a tag group field by id.

ns-erp taggroupfield get {id}

Copied!

Create

Creates a new tag group field for an entity

ns-erp taggroupfield create

Copied!

--slot_id (String)

--field_id (String)

--value (Any)

Update

Updates a tag group field by an id for an entity

ns-erp taggroupfield update {id}

Copied!

--slot_id (String)

--field_id (String)

--value (Any)

Delete

Deletes a tag group field by an id.

ns-erp taggroupfield delete {id}

Copied!

TagGroupTag

List

Returns the tag group tag list

ns-erp taggrouptag list {filters} {page} {size} {sorts} {all_workspaces}

Copied!

Get

Returns a tag group tag by id.

ns-erp taggrouptag get {id}

Copied!

Create

Creates a new tag group tag for an entity

ns-erp taggrouptag create

Copied!

--name (String)

--value (String)

Update

Updates a tag group tag by an id for an entity

ns-erp taggrouptag update {id}

Copied!

--name (String)

--value (String)

Delete

Deletes a tag group tag by an id.

ns-erp taggrouptag delete {id}

Copied!

TagCategory

List

Returns the tag category list

ns-erp tagcategory list {filters} {page} {size} {sorts} {all_workspaces}

Copied!

Get

Returns a tag category by id.

ns-erp tagcategory get {id}

Copied!

Create

Creates a new tag category for an entity

ns-erp tagcategory create

Copied!

--slot_id (String)

--category_id (String)

Delete

Deletes a tag category by an id.

ns-erp tagcategory delete {id}

Copied!

TagField

List

Returns the tag field list

ns-erp tagfield list {filters} {page} {size} {sorts} {all_workspaces}

Copied!

Get

Returns a tag field by id.

ns-erp tagfield get {id}

Copied!

Create

Creates a new tag field for an entity

ns-erp tagfield create

Copied!

--slot_id (String)

--field_id (String)

--value (Any)

Update

Updates a tag field by an id for an entity

ns-erp tagfield update {id}

Copied!

--slot_id (String)

--field_id (String)

--value (Any)

Delete

Deletes a tag field by an id.

ns-erp tagfield delete {id}

Copied!

TagTag

List

Returns the tag tag list

ns-erp tagtag list {filters} {page} {size} {sorts} {all_workspaces}

Copied!

Get

Returns a tag tag by id.

ns-erp tagtag get {id}

Copied!

Create

Creates a new tag tag for an entity

ns-erp tagtag create

Copied!

--name (String)

--value (String)

Update

Updates a tag tag by an id for an entity

ns-erp tagtag update {id}

Copied!

--name (String)

--value (String)

Delete

Deletes a tag tag by an id.

ns-erp tagtag delete {id}

Copied!

JournalEntryCategory

List

Returns the journal entry category list

ns-erp journalentrycategory list {filters} {page} {size} {sorts} {all_workspaces}

Copied!

Get

Returns a journal entry category by id.

ns-erp journalentrycategory get {id}

Copied!

Create

Creates a new journal entry category for an entity

ns-erp journalentrycategory create

Copied!

--slot_id (String)

--category_id (String)

Delete

Deletes a journal entry category by an id.

ns-erp journalentrycategory delete {id}

Copied!

JournalEntryField

List

Returns the journal entry field list

ns-erp journalentryfield list {filters} {page} {size} {sorts} {all_workspaces}

Copied!

Get

Returns a journal entry field by id.

ns-erp journalentryfield get {id}

Copied!

Create

Creates a new journal entry field for an entity

ns-erp journalentryfield create

Copied!

--slot_id (String)

--field_id (String)

--value (Any)

Update

Updates a journal entry field by an id for an entity

ns-erp journalentryfield update {id}

Copied!

--slot_id (String)

--field_id (String)

--value (Any)

Delete

Deletes a journal entry field by an id.

ns-erp journalentryfield delete {id}

Copied!

JournalEntryTag

List

Returns the journal entry tag list

ns-erp journalentrytag list {filters} {page} {size} {sorts} {all_workspaces}

Copied!

Get

Returns a journal entry tag by id.

ns-erp journalentrytag get {id}

Copied!

Create

Creates a new journal entry tag for an entity

ns-erp journalentrytag create

Copied!

--name (String)

--value (String)

Update

Updates a journal entry tag by an id for an entity

ns-erp journalentrytag update {id}

Copied!

--name (String)

--value (String)

Delete

Deletes a journal entry tag by an id.

ns-erp journalentrytag delete {id}

Copied!

LockCategory

List

Returns the lock category list

ns-erp lockcategory list {filters} {page} {size} {sorts} {all_workspaces}

Copied!

Get

Returns a lock category by id.

ns-erp lockcategory get {id}

Copied!

Create

Creates a new lock category for an entity

ns-erp lockcategory create

Copied!

--slot_id (String)

--category_id (String)

Delete

Deletes a lock category by an id.

ns-erp lockcategory delete {id}

Copied!

LockField

List

Returns the lock field list

ns-erp lockfield list {filters} {page} {size} {sorts} {all_workspaces}

Copied!

Get

Returns a lock field by id.

ns-erp lockfield get {id}

Copied!

Create

Creates a new lock field for an entity

ns-erp lockfield create

Copied!

--slot_id (String)

--field_id (String)

--value (Any)

Update

Updates a lock field by an id for an entity

ns-erp lockfield update {id}

Copied!

--slot_id (String)

--field_id (String)

--value (Any)

Delete

Deletes a lock field by an id.

ns-erp lockfield delete {id}

Copied!

LockTag

List

Returns the lock tag list

ns-erp locktag list {filters} {page} {size} {sorts} {all_workspaces}

Copied!

Get

Returns a lock tag by id.

ns-erp locktag get {id}

Copied!

Create

Creates a new lock tag for an entity

ns-erp locktag create

Copied!

--name (String)

--value (String)

Update

Updates a lock tag by an id for an entity

ns-erp locktag update {id}

Copied!

--name (String)

--value (String)

Delete

Deletes a lock tag by an id.

ns-erp locktag delete {id}

Copied!

VehicleCategory

List

Returns the vehicle category list

ns-erp vehiclecategory list {filters} {page} {size} {sorts} {all_workspaces}

Copied!

Get

Returns a vehicle category by id.

ns-erp vehiclecategory get {id}

Copied!

Create

Creates a new vehicle category for an entity

ns-erp vehiclecategory create

Copied!

--slot_id (String)

--category_id (String)

Delete

Deletes a vehicle category by an id.

ns-erp vehiclecategory delete {id}

Copied!

VehicleField

List

Returns the vehicle field list

ns-erp vehiclefield list {filters} {page} {size} {sorts} {all_workspaces}

Copied!

Get

Returns a vehicle field by id.

ns-erp vehiclefield get {id}

Copied!

Create

Creates a new vehicle field for an entity

ns-erp vehiclefield create

Copied!

--slot_id (String)

--field_id (String)

--value (Any)

Update

Updates a vehicle field by an id for an entity

ns-erp vehiclefield update {id}

Copied!

--slot_id (String)

--field_id (String)

--value (Any)

Delete

Deletes a vehicle field by an id.

ns-erp vehiclefield delete {id}

Copied!

VehicleTag

List

Returns the vehicle tag list

ns-erp vehicletag list {filters} {page} {size} {sorts} {all_workspaces}

Copied!

Get

Returns a vehicle tag by id.

ns-erp vehicletag get {id}

Copied!

Create

Creates a new vehicle tag for an entity

ns-erp vehicletag create

Copied!

--name (String)

--value (String)

Update

Updates a vehicle tag by an id for an entity

ns-erp vehicletag update {id}

Copied!

--name (String)

--value (String)

Delete

Deletes a vehicle tag by an id.

ns-erp vehicletag delete {id}

Copied!

ServiceTypeCategory

List

Returns the service type category list

ns-erp servicetypecategory list {filters} {page} {size} {sorts} {all_workspaces}

Copied!

Get

Returns a service type category by id.

ns-erp servicetypecategory get {id}

Copied!

Create

Creates a new service type category for an entity

ns-erp servicetypecategory create

Copied!

--slot_id (String)

--category_id (String)

Delete

Deletes a service type category by an id.

ns-erp servicetypecategory delete {id}

Copied!

ServiceTypeField

List

Returns the service type field list

ns-erp servicetypefield list {filters} {page} {size} {sorts} {all_workspaces}

Copied!

Get

Returns a service type field by id.

ns-erp servicetypefield get {id}

Copied!

Create

Creates a new service type field for an entity

ns-erp servicetypefield create

Copied!

--slot_id (String)

--field_id (String)

--value (Any)

Update

Updates a service type field by an id for an entity

ns-erp servicetypefield update {id}

Copied!

--slot_id (String)

--field_id (String)

--value (Any)

Delete

Deletes a service type field by an id.

ns-erp servicetypefield delete {id}

Copied!

ServiceTypeTag

List

Returns the service type tag list

ns-erp servicetypetag list {filters} {page} {size} {sorts} {all_workspaces}

Copied!

Get

Returns a service type tag by id.

ns-erp servicetypetag get {id}

Copied!

Create

Creates a new service type tag for an entity

ns-erp servicetypetag create

Copied!

--name (String)

--value (String)

Update

Updates a service type tag by an id for an entity

ns-erp servicetypetag update {id}

Copied!

--name (String)

--value (String)

Delete

Deletes a service type tag by an id.

ns-erp servicetypetag delete {id}

Copied!

MaintenancePlanCategory

List

Returns the maintenance plan category list

ns-erp maintenanceplancategory list {filters} {page} {size} {sorts} {all_workspaces}

Copied!

Get

Returns a maintenance plan category by id.

ns-erp maintenanceplancategory get {id}

Copied!

Create

Creates a new maintenance plan category for an entity

ns-erp maintenanceplancategory create

Copied!

--slot_id (String)

--category_id (String)

Delete

Deletes a maintenance plan category by an id.

ns-erp maintenanceplancategory delete {id}

Copied!

MaintenancePlanField

List

Returns the maintenance plan field list

ns-erp maintenanceplanfield list {filters} {page} {size} {sorts} {all_workspaces}

Copied!

Get

Returns a maintenance plan field by id.

ns-erp maintenanceplanfield get {id}

Copied!

Create

Creates a new maintenance plan field for an entity

ns-erp maintenanceplanfield create

Copied!

--slot_id (String)

--field_id (String)

--value (Any)

Update

Updates a maintenance plan field by an id for an entity

ns-erp maintenanceplanfield update {id}

Copied!

--slot_id (String)

--field_id (String)

--value (Any)

Delete

Deletes a maintenance plan field by an id.

ns-erp maintenanceplanfield delete {id}

Copied!

MaintenancePlanTag

List

Returns the maintenance plan tag list

ns-erp maintenanceplantag list {filters} {page} {size} {sorts} {all_workspaces}

Copied!

Get

Returns a maintenance plan tag by id.

ns-erp maintenanceplantag get {id}

Copied!

Create

Creates a new maintenance plan tag for an entity

ns-erp maintenanceplantag create

Copied!

--name (String)

--value (String)

Update

Updates a maintenance plan tag by an id for an entity

ns-erp maintenanceplantag update {id}

Copied!

--name (String)

--value (String)

Delete

Deletes a maintenance plan tag by an id.

ns-erp maintenanceplantag delete {id}

Copied!

ServiceCategory

List

Returns the service category list

ns-erp servicecategory list {filters} {page} {size} {sorts} {all_workspaces}

Copied!

Get

Returns a service category by id.

ns-erp servicecategory get {id}

Copied!

Create

Creates a new service category for an entity

ns-erp servicecategory create

Copied!

--slot_id (String)

--category_id (String)

Delete

Deletes a service category by an id.

ns-erp servicecategory delete {id}

Copied!

ServiceField

List

Returns the service field list

ns-erp servicefield list {filters} {page} {size} {sorts} {all_workspaces}

Copied!

Get

Returns a service field by id.

ns-erp servicefield get {id}

Copied!

Create

Creates a new service field for an entity

ns-erp servicefield create

Copied!

--slot_id (String)

--field_id (String)

--value (Any)

Update

Updates a service field by an id for an entity

ns-erp servicefield update {id}

Copied!

--slot_id (String)

--field_id (String)

--value (Any)

Delete

Deletes a service field by an id.

ns-erp servicefield delete {id}

Copied!

ServiceTag

List

Returns the service tag list

ns-erp servicetag list {filters} {page} {size} {sorts} {all_workspaces}

Copied!

Get

Returns a service tag by id.

ns-erp servicetag get {id}

Copied!

Create

Creates a new service tag for an entity

ns-erp servicetag create

Copied!

--name (String)

--value (String)

Update

Updates a service tag by an id for an entity

ns-erp servicetag update {id}

Copied!

--name (String)

--value (String)

Delete

Deletes a service tag by an id.

ns-erp servicetag delete {id}

Copied!

OdometerCategory

List

Returns the odometer category list

ns-erp odometercategory list {filters} {page} {size} {sorts} {all_workspaces}

Copied!

Get

Returns a odometer category by id.

ns-erp odometercategory get {id}

Copied!

Create

Creates a new odometer category for an entity

ns-erp odometercategory create

Copied!

--slot_id (String)

--category_id (String)

Delete

Deletes a odometer category by an id.

ns-erp odometercategory delete {id}

Copied!

OdometerField

List

Returns the odometer field list

ns-erp odometerfield list {filters} {page} {size} {sorts} {all_workspaces}

Copied!

Get

Returns a odometer field by id.

ns-erp odometerfield get {id}

Copied!

Create

Creates a new odometer field for an entity

ns-erp odometerfield create

Copied!

--slot_id (String)

--field_id (String)

--value (Any)

Update

Updates a odometer field by an id for an entity

ns-erp odometerfield update {id}

Copied!

--slot_id (String)

--field_id (String)

--value (Any)

Delete

Deletes a odometer field by an id.

ns-erp odometerfield delete {id}

Copied!

OdometerTag

List

Returns the odometer tag list

ns-erp odometertag list {filters} {page} {size} {sorts} {all_workspaces}

Copied!

Get

Returns a odometer tag by id.

ns-erp odometertag get {id}

Copied!

Create

Creates a new odometer tag for an entity

ns-erp odometertag create

Copied!

--name (String)

--value (String)

Update

Updates a odometer tag by an id for an entity

ns-erp odometertag update {id}

Copied!

--name (String)

--value (String)

Delete

Deletes a odometer tag by an id.

ns-erp odometertag delete {id}

Copied!

FuelCategory

List

Returns the fuel category list

ns-erp fuelcategory list {filters} {page} {size} {sorts} {all_workspaces}

Copied!

Get

Returns a fuel category by id.

ns-erp fuelcategory get {id}

Copied!

Create

Creates a new fuel category for an entity

ns-erp fuelcategory create

Copied!

--slot_id (String)

--category_id (String)

Delete

Deletes a fuel category by an id.

ns-erp fuelcategory delete {id}

Copied!

FuelField

List

Returns the fuel field list

ns-erp fuelfield list {filters} {page} {size} {sorts} {all_workspaces}

Copied!

Get

Returns a fuel field by id.

ns-erp fuelfield get {id}

Copied!

Create

Creates a new fuel field for an entity

ns-erp fuelfield create

Copied!

--slot_id (String)

--field_id (String)

--value (Any)

Update

Updates a fuel field by an id for an entity

ns-erp fuelfield update {id}

Copied!

--slot_id (String)

--field_id (String)

--value (Any)

Delete

Deletes a fuel field by an id.

ns-erp fuelfield delete {id}

Copied!

FuelTag

List

Returns the fuel tag list

ns-erp fueltag list {filters} {page} {size} {sorts} {all_workspaces}

Copied!

Get

Returns a fuel tag by id.

ns-erp fueltag get {id}

Copied!

Create

Creates a new fuel tag for an entity

ns-erp fueltag create

Copied!

--name (String)

--value (String)

Update

Updates a fuel tag by an id for an entity

ns-erp fueltag update {id}

Copied!

--name (String)

--value (String)

Delete

Deletes a fuel tag by an id.

ns-erp fueltag delete {id}

Copied!

RefuelingCategory

List

Returns the refueling category list

ns-erp refuelingcategory list {filters} {page} {size} {sorts} {all_workspaces}

Copied!

Get

Returns a refueling category by id.

ns-erp refuelingcategory get {id}

Copied!

Create

Creates a new refueling category for an entity

ns-erp refuelingcategory create

Copied!

--slot_id (String)

--category_id (String)

Delete

Deletes a refueling category by an id.

ns-erp refuelingcategory delete {id}

Copied!

RefuelingField

List

Returns the refueling field list

ns-erp refuelingfield list {filters} {page} {size} {sorts} {all_workspaces}

Copied!

Get

Returns a refueling field by id.

ns-erp refuelingfield get {id}

Copied!

Create

Creates a new refueling field for an entity

ns-erp refuelingfield create

Copied!

--slot_id (String)

--field_id (String)

--value (Any)

Update

Updates a refueling field by an id for an entity

ns-erp refuelingfield update {id}

Copied!

--slot_id (String)

--field_id (String)

--value (Any)

Delete

Deletes a refueling field by an id.

ns-erp refuelingfield delete {id}

Copied!

RefuelingTag

List

Returns the refueling tag list

ns-erp refuelingtag list {filters} {page} {size} {sorts} {all_workspaces}

Copied!

Get

Returns a refueling tag by id.

ns-erp refuelingtag get {id}

Copied!

Create

Creates a new refueling tag for an entity

ns-erp refuelingtag create

Copied!

--name (String)

--value (String)

Update

Updates a refueling tag by an id for an entity

ns-erp refuelingtag update {id}

Copied!

--name (String)

--value (String)

Delete

Deletes a refueling tag by an id.

ns-erp refuelingtag delete {id}

Copied!

Currency

List

Returns the currency list

ns-erp currency list {filters} {page} {size} {sorts} {all_workspaces}

Copied!

Get

Returns a currency by an id

ns-erp currency get {id}

Copied!

Create

Creates a new currency

ns-erp currency create

Copied!

--name (String)

--fraction_name (String)

--fraction_value (Integer)

--symbol (String)

--enabled (Boolean)

--description (String)

--currency_category (Array)

--currency_field (Array)

--currency_tag (Array)

Update

Updates a currency by an id

ns-erp currency update {id}

Copied!

--name (String)

--fraction_name (String)

--fraction_value (Integer)

--symbol (String)

--enabled (Boolean)

--description (String)

--currency_category (Array)

--currency_field (Array)

--currency_tag (Array)

Delete

Deletes a currency by an id

ns-erp currency delete {id}

Copied!

CurrencyExchange

List

Returns the currency exchange list

ns-erp currencyexchange list {filters} {page} {size} {sorts} {all_workspaces}

Copied!

Get

Returns a currency exchange by an id

ns-erp currencyexchange get {id}

Copied!

Resolve

Returns the nearest currency exchange at or before the given date_time for the given from/to currency

ns-erp currencyexchange resolve {date_time} {from_currency_id} {to_currency_id}

Copied!

Create

Creates a new currency exchange

ns-erp currencyexchange create

Copied!

--date_time (DateTime)

--from_currency_id (String)

--to_currency_id (String)

--rate_num (Decimal)

--rate_den (Decimal)

--currency_exchange_category (Array)

--currency_exchange_field (Array)

--currency_exchange_tag (Array)

Update

Updates a currency exchange by an id

ns-erp currencyexchange update {id}

Copied!

--date_time (DateTime)

--from_currency_id (String)

--to_currency_id (String)

--rate_num (Decimal)

--rate_den (Decimal)

--currency_exchange_category (Array)

--currency_exchange_field (Array)

--currency_exchange_tag (Array)

Delete

Deletes a currency exchange by an id

ns-erp currencyexchange delete {id}

Copied!

Company

List

Returns the company list

ns-erp company list {filters} {page} {size} {sorts} {all_workspaces}

Copied!

Get

Returns a company by an id

ns-erp company get {id}

Copied!

Create

Creates a new company

ns-erp company create

Copied!

--name (String)

--enabled (Boolean)

--description (String)

--current_year_pl_account_id (String)

--retained_earnings_account_id (String)

--company_category (Array)

--company_field (Array)

--company_tag (Array)

Update

Updates a company by an id

ns-erp company update {id}

Copied!

--name (String)

--enabled (Boolean)

--description (String)

--current_year_pl_account_id (String)

--retained_earnings_account_id (String)

--company_category (Array)

--company_field (Array)

--company_tag (Array)

Delete

Deletes a company by an id

ns-erp company delete {id}

Copied!

Branch

List

Returns the branch list

ns-erp branch list {filters} {page} {size} {sorts} {all_workspaces}

Copied!

Get

Returns a branch by an id

ns-erp branch get {id}

Copied!

Create

Creates a new branch

ns-erp branch create

Copied!

--company_id (String)

--default_currency_id (String)

--name (String)

--country (String)

--enabled (Boolean)

--description (String)

--branch_category (Array)

--branch_field (Array)

--branch_tag (Array)

Update

Updates a branch by an id

ns-erp branch update {id}

Copied!

--company_id (String)

--default_currency_id (String)

--name (String)

--country (String)

--enabled (Boolean)

--description (String)

--branch_category (Array)

--branch_field (Array)

--branch_tag (Array)

Delete

Deletes a branch by an id

ns-erp branch delete {id}

Copied!

FiscalYear

List

Returns the fiscal year list

ns-erp fiscalyear list {filters} {page} {size} {sorts} {all_workspaces}

Copied!

Get

Returns a fiscal year by an id

ns-erp fiscalyear get {id}

Copied!

Create

Creates a new fiscal year

ns-erp fiscalyear create

Copied!

--company_id (String)

--name (String)

--date_start (Date)

--date_end (Date)

--enabled (Boolean)

--description (String)

--fiscal_year_category (Array)

--fiscal_year_field (Array)

--fiscal_year_tag (Array)

Update

Updates a fiscal year by an id

ns-erp fiscalyear update {id}

Copied!

--company_id (String)

--name (String)

--date_start (Date)

--date_end (Date)

--enabled (Boolean)

--description (String)

--fiscal_year_category (Array)

--fiscal_year_field (Array)

--fiscal_year_tag (Array)

Delete

Deletes a fiscal year by an id

ns-erp fiscalyear delete {id}

Copied!

Open

Opens a fiscal year by registering an opening journal entry derived from the previous fiscal year's balance-sheet carry-forward

ns-erp fiscalyear open {id}

Copied!

--branch_id (String)

Close

Closes a fiscal year by registering a closing journal entry that zeroes P/L accounts into current-year P/L and transfers the net to retained earnings

ns-erp fiscalyear close {id}

Copied!

--branch_id (String)

Unopen

Reverses the opening of a fiscal year by deleting the opening journal entry

ns-erp fiscalyear unopen {id}

Copied!

--branch_id (String)

Unclose

Reverses the closing of a fiscal year by deleting the closing journal entry

ns-erp fiscalyear unclose {id}

Copied!

--branch_id (String)

Account

List

Returns the account list

ns-erp account list {filters} {page} {size} {sorts} {all_workspaces}

Copied!

Get

Returns an account by an id

ns-erp account get {id}

Copied!

Create

Creates a new account

ns-erp account create

Copied!

--company_id (String)

--branch_id (String)

--account_id (String)

--code (String)

--name (String)

--is_group (Boolean)

--type (Enum)

--party_type_ids (Array)

--tag_group_ids (Array)

--enabled (Boolean)

--description (String)

--account_category (Array)

--account_field (Array)

--account_tag (Array)

Update

Updates an account by an id

ns-erp account update {id}

Copied!

--company_id (String)

--branch_id (String)

--account_id (String)

--code (String)

--name (String)

--is_group (Boolean)

--type (Enum)

--party_type_ids (Array)

--tag_group_ids (Array)

--enabled (Boolean)

--description (String)

--account_category (Array)

--account_field (Array)

--account_tag (Array)

Delete

Deletes an account by an id

ns-erp account delete {id}

Copied!

PartyType

List

Returns the party type list

ns-erp partytype list {filters} {page} {size} {sorts} {all_workspaces}

Copied!

Get

Returns a party type by an id

ns-erp partytype get {id}

Copied!

Create

Creates a new party type

ns-erp partytype create

Copied!

--company_id (String)

--branch_id (String)

--name (String)

--enabled (Boolean)

--description (String)

--party_type_category (Array)

--party_type_field (Array)

--party_type_tag (Array)

Update

Updates a party type by an id

ns-erp partytype update {id}

Copied!

--company_id (String)

--branch_id (String)

--name (String)

--enabled (Boolean)

--description (String)

--party_type_category (Array)

--party_type_field (Array)

--party_type_tag (Array)

Delete

Deletes a party type by an id

ns-erp partytype delete {id}

Copied!

Party

List

Returns the party list

ns-erp party list {filters} {page} {size} {sorts} {all_workspaces}

Copied!

Get

Returns a party by an id

ns-erp party get {id}

Copied!

Create

Creates a new party

ns-erp party create

Copied!

--company_id (String)

--branch_id (String)

--party_type_id (String)

--name (String)

--enabled (Boolean)

--description (String)

--party_category (Array)

--party_field (Array)

--party_tag (Array)

Update

Updates a party by an id

ns-erp party update {id}

Copied!

--company_id (String)

--branch_id (String)

--party_type_id (String)

--name (String)

--enabled (Boolean)

--description (String)

--party_category (Array)

--party_field (Array)

--party_tag (Array)

Delete

Deletes a party by an id

ns-erp party delete {id}

Copied!

TagGroup

List

Returns the tag group list

ns-erp taggroup list {filters} {page} {size} {sorts} {all_workspaces}

Copied!

Get

Returns a tag group by an id

ns-erp taggroup get {id}

Copied!

Create

Creates a new tag group

ns-erp taggroup create

Copied!

--company_id (String)

--branch_id (String)

--name (String)

--enabled (Boolean)

--description (String)

--tag_group_category (Array)

--tag_group_field (Array)

--tag_group_tag (Array)

Update

Updates a tag group by an id

ns-erp taggroup update {id}

Copied!

--company_id (String)

--branch_id (String)

--name (String)

--enabled (Boolean)

--description (String)

--tag_group_category (Array)

--tag_group_field (Array)

--tag_group_tag (Array)

Delete

Deletes a tag group by an id

ns-erp taggroup delete {id}

Copied!

Tag

List

Returns the tag list

ns-erp tag list {filters} {page} {size} {sorts} {all_workspaces}

Copied!

Get

Returns a tag by an id

ns-erp tag get {id}

Copied!

Create

Creates a new tag

ns-erp tag create

Copied!

--company_id (String)

--branch_id (String)

--tag_group_id (String)

--name (String)

--enabled (Boolean)

--description (String)

--tag_category (Array)

--tag_field (Array)

--tag_tag (Array)

Update

Updates a tag by an id

ns-erp tag update {id}

Copied!

--company_id (String)

--branch_id (String)

--tag_group_id (String)

--name (String)

--enabled (Boolean)

--description (String)

--tag_category (Array)

--tag_field (Array)

--tag_tag (Array)

Delete

Deletes a tag by an id

ns-erp tag delete {id}

Copied!

JournalEntry

List

Returns the journal entry list

ns-erp journalentry list {filters} {page} {size} {sorts} {all_workspaces}

Copied!

Get

Returns a journal entry by an id

ns-erp journalentry get {id}

Copied!

Create

Creates a new journal entry

ns-erp journalentry create

Copied!

--company_id (String)

--branch_id (String)

--fiscal_year_id (String)

--date_time (DateTime)

--reference_number (String)

--reference_date_time (DateTime)

--enabled (Boolean)

--description (String)

--lines (Array)

--journal_entry_category (Array)

--journal_entry_field (Array)

--journal_entry_tag (Array)

Update

Updates a journal entry by an id

ns-erp journalentry update {id}

Copied!

--company_id (String)

--branch_id (String)

--fiscal_year_id (String)

--date_time (DateTime)

--reference_number (String)

--reference_date_time (DateTime)

--enabled (Boolean)

--description (String)

--lines (Array)

--journal_entry_category (Array)

--journal_entry_field (Array)

--journal_entry_tag (Array)

Delete

Deletes a journal entry by an id

ns-erp journalentry delete {id}

Copied!

SetFinalized

Sets the finalized flag on a journal entry

ns-erp journalentry setfinalized {id}

Copied!

--finalized (Boolean)

JournalEntryLine

SetMarked

Sets the marked flag on a journal entry line

ns-erp journalentryline setmarked {journal_entry_id} {journal_entry_line_id}

Copied!

--marked (Boolean)

SetChecked

Sets the checked flag on a journal entry line

ns-erp journalentryline setchecked {journal_entry_id} {journal_entry_line_id}

Copied!

--checked (Boolean)

Lock

List

Returns the lock list

ns-erp lock list {filters} {page} {size} {sorts} {all_workspaces}

Copied!

Get

Returns a lock by an id

ns-erp lock get {id}

Copied!

Create

Creates a new lock

ns-erp lock create

Copied!

--company_id (String)

--branch_id (String)

--account_id (String)

--party_type_id (String)

--party_id (String)

--to_date_time (DateTime)

--enabled (Boolean)

--description (String)

--lock_category (Array)

--lock_field (Array)

--lock_tag (Array)

Update

Updates a lock by an id

ns-erp lock update {id}

Copied!

--company_id (String)

--branch_id (String)

--account_id (String)

--party_type_id (String)

--party_id (String)

--to_date_time (DateTime)

--enabled (Boolean)

--description (String)

--lock_category (Array)

--lock_field (Array)

--lock_tag (Array)

Delete

Deletes a lock by an id

ns-erp lock delete {id}

Copied!

Vehicle

List

Returns the vehicle list

ns-erp vehicle list {filters} {page} {size} {sorts} {all_workspaces}

Copied!

Get

Returns a vehicle by an id

ns-erp vehicle get {id}

Copied!

Create

Creates a new vehicle

ns-erp vehicle create

Copied!

--company_id (String)

--branch_id (String)

--fuel_id (String)

--name (String)

--license_plate (String)

--vin (String)

--model_year (Integer)

--color (String)

--odometer_unit (Enum)

--tank_capacity_value (Integer)

--tank_capacity_unit (Enum)

--description (String)

--vehicle_category (Array)

--vehicle_field (Array)

--vehicle_tag (Array)

Update

Updates a vehicle by an id

ns-erp vehicle update {id}

Copied!

--company_id (String)

--branch_id (String)

--fuel_id (String)

--name (String)

--license_plate (String)

--vin (String)

--model_year (Integer)

--color (String)

--odometer_unit (Enum)

--tank_capacity_value (Integer)

--tank_capacity_unit (Enum)

--description (String)

--vehicle_category (Array)

--vehicle_field (Array)

--vehicle_tag (Array)

Delete

Deletes a vehicle by an id

ns-erp vehicle delete {id}

Copied!

ServiceType

List

Returns the service type list

ns-erp servicetype list {filters} {page} {size} {sorts} {all_workspaces}

Copied!

Get

Returns a service type by an id

ns-erp servicetype get {id}

Copied!

Create

Creates a new service type

ns-erp servicetype create

Copied!

--company_id (String)

--branch_id (String)

--name (String)

--description (String)

--service_type_category (Array)

--service_type_field (Array)

--service_type_tag (Array)

Update

Updates a service type by an id

ns-erp servicetype update {id}

Copied!

--company_id (String)

--branch_id (String)

--name (String)

--description (String)

--service_type_category (Array)

--service_type_field (Array)

--service_type_tag (Array)

Delete

Deletes a service type by an id

ns-erp servicetype delete {id}

Copied!

MaintenancePlan

List

Returns the maintenance plan list

ns-erp maintenanceplan list {filters} {page} {size} {sorts} {all_workspaces}

Copied!

Get

Returns a maintenance plan by an id

ns-erp maintenanceplan get {id}

Copied!

Create

Creates a new maintenance plan

ns-erp maintenanceplan create

Copied!

--company_id (String)

--branch_id (String)

--vehicle_id (String)

--service_type_id (String)

--topic_id (String)

--starts_at (DateTime)

--every_distance_value (Integer)

--every_distance_unit (Enum)

--every_time_value (Integer)

--every_time_unit (Enum)

--description (String)

--maintenance_plan_category (Array)

--maintenance_plan_field (Array)

--maintenance_plan_tag (Array)

Update

Updates a maintenance plan by an id

ns-erp maintenanceplan update {id}

Copied!

--company_id (String)

--branch_id (String)

--vehicle_id (String)

--service_type_id (String)

--topic_id (String)

--starts_at (DateTime)

--every_distance_value (Integer)

--every_distance_unit (Enum)

--every_time_value (Integer)

--every_time_unit (Enum)

--description (String)

--maintenance_plan_category (Array)

--maintenance_plan_field (Array)

--maintenance_plan_tag (Array)

Delete

Deletes a maintenance plan by an id

ns-erp maintenanceplan delete {id}

Copied!

Service

List

Returns the service list

ns-erp service list {filters} {page} {size} {sorts} {all_workspaces}

Copied!

Get

Returns a service by an id

ns-erp service get {id}

Copied!

Create

Creates a new service

ns-erp service create

Copied!

--company_id (String)

--branch_id (String)

--service_type_id (String)

--vehicle_id (String)

--datetime (DateTime)

--description (String)

--service_category (Array)

--service_field (Array)

--service_tag (Array)

Update

Updates a service by an id

ns-erp service update {id}

Copied!

--company_id (String)

--branch_id (String)

--service_type_id (String)

--vehicle_id (String)

--datetime (DateTime)

--description (String)

--service_category (Array)

--service_field (Array)

--service_tag (Array)

Delete

Deletes a service by an id

ns-erp service delete {id}

Copied!

Odometer

List

Returns the odometer list

ns-erp odometer list {filters} {page} {size} {sorts} {all_workspaces}

Copied!

Get

Returns an odometer by an id

ns-erp odometer get {id}

Copied!

Create

Creates a new odometer

ns-erp odometer create

Copied!

--company_id (String)

--branch_id (String)

--vehicle_id (String)

--date (DateTime)

--value (Integer)

--unit (Enum)

--description (String)

--odometer_category (Array)

--odometer_field (Array)

--odometer_tag (Array)

Update

Updates an odometer by an id

ns-erp odometer update {id}

Copied!

--company_id (String)

--branch_id (String)

--vehicle_id (String)

--date (DateTime)

--value (Integer)

--unit (Enum)

--description (String)

--odometer_category (Array)

--odometer_field (Array)

--odometer_tag (Array)

Delete

Deletes an odometer by an id

ns-erp odometer delete {id}

Copied!

Fuel

List

Returns the fuel list

ns-erp fuel list {filters} {page} {size} {sorts} {all_workspaces}

Copied!

Get

Returns a fuel by an id

ns-erp fuel get {id}

Copied!

Create

Creates a new fuel

ns-erp fuel create

Copied!

--company_id (String)

--branch_id (String)

--name (String)

--description (String)

--fuel_category (Array)

--fuel_field (Array)

--fuel_tag (Array)

Update

Updates a fuel by an id

ns-erp fuel update {id}

Copied!

--company_id (String)

--branch_id (String)

--name (String)

--description (String)

--fuel_category (Array)

--fuel_field (Array)

--fuel_tag (Array)

Delete

Deletes a fuel by an id

ns-erp fuel delete {id}

Copied!

Refueling

List

Returns the refueling list

ns-erp refueling list {filters} {page} {size} {sorts} {all_workspaces}

Copied!

Get

Returns a refueling by an id

ns-erp refueling get {id}

Copied!

Create

Creates a new refueling

ns-erp refueling create

Copied!

--company_id (String)

--branch_id (String)

--vehicle_id (String)

--fuel_id (String)

--datetime (DateTime)

--quantity (Integer)

--unit (Enum)

--is_full_tank (Boolean)

--description (String)

--refueling_category (Array)

--refueling_field (Array)

--refueling_tag (Array)

Update

Updates a refueling by an id

ns-erp refueling update {id}

Copied!

--company_id (String)

--branch_id (String)

--vehicle_id (String)

--fuel_id (String)

--datetime (DateTime)

--quantity (Integer)

--unit (Enum)

--is_full_tank (Boolean)

--description (String)

--refueling_category (Array)

--refueling_field (Array)

--refueling_tag (Array)

Delete

Deletes a refueling by an id

ns-erp refueling delete {id}

Copied!

Report

GeneralLedger

Returns the General Ledger report for an account from enabled journal entries

ns-erp report generalledger {company_id} {branch_id} {fiscal_year_id} {date_time_from} {date_time_to} {account_ids} {party_type_ids} {party_ids} {tag_ids} {currency_id} {has_party} {has_tag} {show_debit} {show_credit} {convert_to_branch_currency}

Copied!

BalanceSheet

Returns the Balance Sheet report from enabled journal entries

ns-erp report balancesheet {company_id} {branch_id} {fiscal_year_id} {as_of_date_time} {account_ids} {party_type_ids} {party_ids} {tag_ids} {currency_id} {has_party} {has_tag} {group_by_account} {group_by_party} {show_zero} {show_debit} {show_credit} {convert_to_branch_currency}

Copied!

Schemas


CurrencyCategory

{
  "name": "CurrencyCategory",
  "type": "Object",
  "required": true,
  "fields": {
    "id": {
      "type": "Integer",
      "required": true
    },
    "user_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "entity_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "slot_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "category_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "created_at": {
      "type": "DateTime",
      "required": true
    },
    "updated_at": {
      "type": "DateTime",
      "required": true
    }
  }
}

EntityCategoryInput

{
  "name": "EntityCategoryInput",
  "type": "Object",
  "required": true,
  "fields": {
    "slot_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "category_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    }
  }
}

CurrencyField

{
  "name": "CurrencyField",
  "type": "Object",
  "required": true,
  "fields": {
    "id": {
      "type": "Integer",
      "required": true
    },
    "user_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "entity_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "slot_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "field_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "value": {
      "type": "String",
      "required": false
    },
    "created_at": {
      "type": "DateTime",
      "required": true
    },
    "updated_at": {
      "type": "DateTime",
      "required": true
    }
  }
}

EntityFieldInput

{
  "name": "EntityFieldInput",
  "type": "Object",
  "required": true,
  "fields": {
    "slot_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "field_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "value": {
      "type": "Any",
      "required": false
    }
  }
}

CurrencyTag

{
  "name": "CurrencyTag",
  "type": "Object",
  "required": true,
  "fields": {
    "id": {
      "type": "Integer",
      "required": true
    },
    "user_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "entity_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "name": {
      "type": "String",
      "required": true,
      "max": 255
    },
    "value": {
      "type": "String",
      "required": false
    },
    "created_at": {
      "type": "DateTime",
      "required": true
    },
    "updated_at": {
      "type": "DateTime",
      "required": true
    }
  }
}

EntityTagInput

{
  "name": "EntityTagInput",
  "type": "Object",
  "required": true,
  "fields": {
    "name": {
      "type": "String",
      "required": true,
      "max": 255
    },
    "value": {
      "type": "String",
      "required": false
    }
  }
}

CurrencyExchangeCategory

{
  "name": "CurrencyExchangeCategory",
  "type": "Object",
  "required": true,
  "fields": {
    "id": {
      "type": "Integer",
      "required": true
    },
    "user_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "entity_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "slot_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "category_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "created_at": {
      "type": "DateTime",
      "required": true
    },
    "updated_at": {
      "type": "DateTime",
      "required": true
    }
  }
}

CurrencyExchangeField

{
  "name": "CurrencyExchangeField",
  "type": "Object",
  "required": true,
  "fields": {
    "id": {
      "type": "Integer",
      "required": true
    },
    "user_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "entity_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "slot_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "field_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "value": {
      "type": "String",
      "required": false
    },
    "created_at": {
      "type": "DateTime",
      "required": true
    },
    "updated_at": {
      "type": "DateTime",
      "required": true
    }
  }
}

CurrencyExchangeTag

{
  "name": "CurrencyExchangeTag",
  "type": "Object",
  "required": true,
  "fields": {
    "id": {
      "type": "Integer",
      "required": true
    },
    "user_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "entity_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "name": {
      "type": "String",
      "required": true,
      "max": 255
    },
    "value": {
      "type": "String",
      "required": false
    },
    "created_at": {
      "type": "DateTime",
      "required": true
    },
    "updated_at": {
      "type": "DateTime",
      "required": true
    }
  }
}

CompanyCategory

{
  "name": "CompanyCategory",
  "type": "Object",
  "required": true,
  "fields": {
    "id": {
      "type": "Integer",
      "required": true
    },
    "user_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "entity_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "slot_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "category_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "created_at": {
      "type": "DateTime",
      "required": true
    },
    "updated_at": {
      "type": "DateTime",
      "required": true
    }
  }
}

CompanyField

{
  "name": "CompanyField",
  "type": "Object",
  "required": true,
  "fields": {
    "id": {
      "type": "Integer",
      "required": true
    },
    "user_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "entity_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "slot_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "field_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "value": {
      "type": "String",
      "required": false
    },
    "created_at": {
      "type": "DateTime",
      "required": true
    },
    "updated_at": {
      "type": "DateTime",
      "required": true
    }
  }
}

CompanyTag

{
  "name": "CompanyTag",
  "type": "Object",
  "required": true,
  "fields": {
    "id": {
      "type": "Integer",
      "required": true
    },
    "user_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "entity_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "name": {
      "type": "String",
      "required": true,
      "max": 255
    },
    "value": {
      "type": "String",
      "required": false
    },
    "created_at": {
      "type": "DateTime",
      "required": true
    },
    "updated_at": {
      "type": "DateTime",
      "required": true
    }
  }
}

BranchCategory

{
  "name": "BranchCategory",
  "type": "Object",
  "required": true,
  "fields": {
    "id": {
      "type": "Integer",
      "required": true
    },
    "user_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "entity_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "slot_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "category_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "created_at": {
      "type": "DateTime",
      "required": true
    },
    "updated_at": {
      "type": "DateTime",
      "required": true
    }
  }
}

BranchField

{
  "name": "BranchField",
  "type": "Object",
  "required": true,
  "fields": {
    "id": {
      "type": "Integer",
      "required": true
    },
    "user_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "entity_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "slot_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "field_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "value": {
      "type": "String",
      "required": false
    },
    "created_at": {
      "type": "DateTime",
      "required": true
    },
    "updated_at": {
      "type": "DateTime",
      "required": true
    }
  }
}

BranchTag

{
  "name": "BranchTag",
  "type": "Object",
  "required": true,
  "fields": {
    "id": {
      "type": "Integer",
      "required": true
    },
    "user_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "entity_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "name": {
      "type": "String",
      "required": true,
      "max": 255
    },
    "value": {
      "type": "String",
      "required": false
    },
    "created_at": {
      "type": "DateTime",
      "required": true
    },
    "updated_at": {
      "type": "DateTime",
      "required": true
    }
  }
}

FiscalYearCategory

{
  "name": "FiscalYearCategory",
  "type": "Object",
  "required": true,
  "fields": {
    "id": {
      "type": "Integer",
      "required": true
    },
    "user_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "entity_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "slot_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "category_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "created_at": {
      "type": "DateTime",
      "required": true
    },
    "updated_at": {
      "type": "DateTime",
      "required": true
    }
  }
}

FiscalYearField

{
  "name": "FiscalYearField",
  "type": "Object",
  "required": true,
  "fields": {
    "id": {
      "type": "Integer",
      "required": true
    },
    "user_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "entity_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "slot_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "field_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "value": {
      "type": "String",
      "required": false
    },
    "created_at": {
      "type": "DateTime",
      "required": true
    },
    "updated_at": {
      "type": "DateTime",
      "required": true
    }
  }
}

FiscalYearTag

{
  "name": "FiscalYearTag",
  "type": "Object",
  "required": true,
  "fields": {
    "id": {
      "type": "Integer",
      "required": true
    },
    "user_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "entity_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "name": {
      "type": "String",
      "required": true,
      "max": 255
    },
    "value": {
      "type": "String",
      "required": false
    },
    "created_at": {
      "type": "DateTime",
      "required": true
    },
    "updated_at": {
      "type": "DateTime",
      "required": true
    }
  }
}

AccountCategory

{
  "name": "AccountCategory",
  "type": "Object",
  "required": true,
  "fields": {
    "id": {
      "type": "Integer",
      "required": true
    },
    "user_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "entity_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "slot_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "category_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "created_at": {
      "type": "DateTime",
      "required": true
    },
    "updated_at": {
      "type": "DateTime",
      "required": true
    }
  }
}

AccountField

{
  "name": "AccountField",
  "type": "Object",
  "required": true,
  "fields": {
    "id": {
      "type": "Integer",
      "required": true
    },
    "user_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "entity_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "slot_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "field_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "value": {
      "type": "String",
      "required": false
    },
    "created_at": {
      "type": "DateTime",
      "required": true
    },
    "updated_at": {
      "type": "DateTime",
      "required": true
    }
  }
}

AccountTag

{
  "name": "AccountTag",
  "type": "Object",
  "required": true,
  "fields": {
    "id": {
      "type": "Integer",
      "required": true
    },
    "user_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "entity_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "name": {
      "type": "String",
      "required": true,
      "max": 255
    },
    "value": {
      "type": "String",
      "required": false
    },
    "created_at": {
      "type": "DateTime",
      "required": true
    },
    "updated_at": {
      "type": "DateTime",
      "required": true
    }
  }
}

PartyTypeCategory

{
  "name": "PartyTypeCategory",
  "type": "Object",
  "required": true,
  "fields": {
    "id": {
      "type": "Integer",
      "required": true
    },
    "user_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "entity_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "slot_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "category_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "created_at": {
      "type": "DateTime",
      "required": true
    },
    "updated_at": {
      "type": "DateTime",
      "required": true
    }
  }
}

PartyTypeField

{
  "name": "PartyTypeField",
  "type": "Object",
  "required": true,
  "fields": {
    "id": {
      "type": "Integer",
      "required": true
    },
    "user_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "entity_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "slot_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "field_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "value": {
      "type": "String",
      "required": false
    },
    "created_at": {
      "type": "DateTime",
      "required": true
    },
    "updated_at": {
      "type": "DateTime",
      "required": true
    }
  }
}

PartyTypeTag

{
  "name": "PartyTypeTag",
  "type": "Object",
  "required": true,
  "fields": {
    "id": {
      "type": "Integer",
      "required": true
    },
    "user_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "entity_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "name": {
      "type": "String",
      "required": true,
      "max": 255
    },
    "value": {
      "type": "String",
      "required": false
    },
    "created_at": {
      "type": "DateTime",
      "required": true
    },
    "updated_at": {
      "type": "DateTime",
      "required": true
    }
  }
}

PartyCategory

{
  "name": "PartyCategory",
  "type": "Object",
  "required": true,
  "fields": {
    "id": {
      "type": "Integer",
      "required": true
    },
    "user_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "entity_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "slot_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "category_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "created_at": {
      "type": "DateTime",
      "required": true
    },
    "updated_at": {
      "type": "DateTime",
      "required": true
    }
  }
}

PartyField

{
  "name": "PartyField",
  "type": "Object",
  "required": true,
  "fields": {
    "id": {
      "type": "Integer",
      "required": true
    },
    "user_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "entity_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "slot_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "field_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "value": {
      "type": "String",
      "required": false
    },
    "created_at": {
      "type": "DateTime",
      "required": true
    },
    "updated_at": {
      "type": "DateTime",
      "required": true
    }
  }
}

PartyTag

{
  "name": "PartyTag",
  "type": "Object",
  "required": true,
  "fields": {
    "id": {
      "type": "Integer",
      "required": true
    },
    "user_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "entity_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "name": {
      "type": "String",
      "required": true,
      "max": 255
    },
    "value": {
      "type": "String",
      "required": false
    },
    "created_at": {
      "type": "DateTime",
      "required": true
    },
    "updated_at": {
      "type": "DateTime",
      "required": true
    }
  }
}

TagGroupCategory

{
  "name": "TagGroupCategory",
  "type": "Object",
  "required": true,
  "fields": {
    "id": {
      "type": "Integer",
      "required": true
    },
    "user_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "entity_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "slot_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "category_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "created_at": {
      "type": "DateTime",
      "required": true
    },
    "updated_at": {
      "type": "DateTime",
      "required": true
    }
  }
}

TagGroupField

{
  "name": "TagGroupField",
  "type": "Object",
  "required": true,
  "fields": {
    "id": {
      "type": "Integer",
      "required": true
    },
    "user_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "entity_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "slot_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "field_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "value": {
      "type": "String",
      "required": false
    },
    "created_at": {
      "type": "DateTime",
      "required": true
    },
    "updated_at": {
      "type": "DateTime",
      "required": true
    }
  }
}

TagGroupTag

{
  "name": "TagGroupTag",
  "type": "Object",
  "required": true,
  "fields": {
    "id": {
      "type": "Integer",
      "required": true
    },
    "user_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "entity_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "name": {
      "type": "String",
      "required": true,
      "max": 255
    },
    "value": {
      "type": "String",
      "required": false
    },
    "created_at": {
      "type": "DateTime",
      "required": true
    },
    "updated_at": {
      "type": "DateTime",
      "required": true
    }
  }
}

TagCategory

{
  "name": "TagCategory",
  "type": "Object",
  "required": true,
  "fields": {
    "id": {
      "type": "Integer",
      "required": true
    },
    "user_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "entity_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "slot_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "category_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "created_at": {
      "type": "DateTime",
      "required": true
    },
    "updated_at": {
      "type": "DateTime",
      "required": true
    }
  }
}

TagField

{
  "name": "TagField",
  "type": "Object",
  "required": true,
  "fields": {
    "id": {
      "type": "Integer",
      "required": true
    },
    "user_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "entity_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "slot_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "field_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "value": {
      "type": "String",
      "required": false
    },
    "created_at": {
      "type": "DateTime",
      "required": true
    },
    "updated_at": {
      "type": "DateTime",
      "required": true
    }
  }
}

TagTag

{
  "name": "TagTag",
  "type": "Object",
  "required": true,
  "fields": {
    "id": {
      "type": "Integer",
      "required": true
    },
    "user_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "entity_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "name": {
      "type": "String",
      "required": true,
      "max": 255
    },
    "value": {
      "type": "String",
      "required": false
    },
    "created_at": {
      "type": "DateTime",
      "required": true
    },
    "updated_at": {
      "type": "DateTime",
      "required": true
    }
  }
}

JournalEntryCategory

{
  "name": "JournalEntryCategory",
  "type": "Object",
  "required": true,
  "fields": {
    "id": {
      "type": "Integer",
      "required": true
    },
    "user_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "entity_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "slot_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "category_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "created_at": {
      "type": "DateTime",
      "required": true
    },
    "updated_at": {
      "type": "DateTime",
      "required": true
    }
  }
}

JournalEntryField

{
  "name": "JournalEntryField",
  "type": "Object",
  "required": true,
  "fields": {
    "id": {
      "type": "Integer",
      "required": true
    },
    "user_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "entity_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "slot_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "field_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "value": {
      "type": "String",
      "required": false
    },
    "created_at": {
      "type": "DateTime",
      "required": true
    },
    "updated_at": {
      "type": "DateTime",
      "required": true
    }
  }
}

JournalEntryTag

{
  "name": "JournalEntryTag",
  "type": "Object",
  "required": true,
  "fields": {
    "id": {
      "type": "Integer",
      "required": true
    },
    "user_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "entity_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "name": {
      "type": "String",
      "required": true,
      "max": 255
    },
    "value": {
      "type": "String",
      "required": false
    },
    "created_at": {
      "type": "DateTime",
      "required": true
    },
    "updated_at": {
      "type": "DateTime",
      "required": true
    }
  }
}

LockCategory

{
  "name": "LockCategory",
  "type": "Object",
  "required": true,
  "fields": {
    "id": {
      "type": "Integer",
      "required": true
    },
    "user_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "entity_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "slot_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "category_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "created_at": {
      "type": "DateTime",
      "required": true
    },
    "updated_at": {
      "type": "DateTime",
      "required": true
    }
  }
}

LockField

{
  "name": "LockField",
  "type": "Object",
  "required": true,
  "fields": {
    "id": {
      "type": "Integer",
      "required": true
    },
    "user_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "entity_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "slot_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "field_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "value": {
      "type": "String",
      "required": false
    },
    "created_at": {
      "type": "DateTime",
      "required": true
    },
    "updated_at": {
      "type": "DateTime",
      "required": true
    }
  }
}

LockTag

{
  "name": "LockTag",
  "type": "Object",
  "required": true,
  "fields": {
    "id": {
      "type": "Integer",
      "required": true
    },
    "user_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "entity_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "name": {
      "type": "String",
      "required": true,
      "max": 255
    },
    "value": {
      "type": "String",
      "required": false
    },
    "created_at": {
      "type": "DateTime",
      "required": true
    },
    "updated_at": {
      "type": "DateTime",
      "required": true
    }
  }
}

VehicleCategory

{
  "name": "VehicleCategory",
  "type": "Object",
  "required": true,
  "fields": {
    "id": {
      "type": "Integer",
      "required": true
    },
    "user_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "entity_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "slot_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "category_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "created_at": {
      "type": "DateTime",
      "required": true
    },
    "updated_at": {
      "type": "DateTime",
      "required": true
    }
  }
}

VehicleField

{
  "name": "VehicleField",
  "type": "Object",
  "required": true,
  "fields": {
    "id": {
      "type": "Integer",
      "required": true
    },
    "user_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "entity_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "slot_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "field_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "value": {
      "type": "String",
      "required": false
    },
    "created_at": {
      "type": "DateTime",
      "required": true
    },
    "updated_at": {
      "type": "DateTime",
      "required": true
    }
  }
}

VehicleTag

{
  "name": "VehicleTag",
  "type": "Object",
  "required": true,
  "fields": {
    "id": {
      "type": "Integer",
      "required": true
    },
    "user_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "entity_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "name": {
      "type": "String",
      "required": true,
      "max": 255
    },
    "value": {
      "type": "String",
      "required": false
    },
    "created_at": {
      "type": "DateTime",
      "required": true
    },
    "updated_at": {
      "type": "DateTime",
      "required": true
    }
  }
}

ServiceTypeCategory

{
  "name": "ServiceTypeCategory",
  "type": "Object",
  "required": true,
  "fields": {
    "id": {
      "type": "Integer",
      "required": true
    },
    "user_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "entity_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "slot_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "category_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "created_at": {
      "type": "DateTime",
      "required": true
    },
    "updated_at": {
      "type": "DateTime",
      "required": true
    }
  }
}

ServiceTypeField

{
  "name": "ServiceTypeField",
  "type": "Object",
  "required": true,
  "fields": {
    "id": {
      "type": "Integer",
      "required": true
    },
    "user_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "entity_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "slot_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "field_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "value": {
      "type": "String",
      "required": false
    },
    "created_at": {
      "type": "DateTime",
      "required": true
    },
    "updated_at": {
      "type": "DateTime",
      "required": true
    }
  }
}

ServiceTypeTag

{
  "name": "ServiceTypeTag",
  "type": "Object",
  "required": true,
  "fields": {
    "id": {
      "type": "Integer",
      "required": true
    },
    "user_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "entity_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "name": {
      "type": "String",
      "required": true,
      "max": 255
    },
    "value": {
      "type": "String",
      "required": false
    },
    "created_at": {
      "type": "DateTime",
      "required": true
    },
    "updated_at": {
      "type": "DateTime",
      "required": true
    }
  }
}

MaintenancePlanCategory

{
  "name": "MaintenancePlanCategory",
  "type": "Object",
  "required": true,
  "fields": {
    "id": {
      "type": "Integer",
      "required": true
    },
    "user_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "entity_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "slot_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "category_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "created_at": {
      "type": "DateTime",
      "required": true
    },
    "updated_at": {
      "type": "DateTime",
      "required": true
    }
  }
}

MaintenancePlanField

{
  "name": "MaintenancePlanField",
  "type": "Object",
  "required": true,
  "fields": {
    "id": {
      "type": "Integer",
      "required": true
    },
    "user_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "entity_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "slot_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "field_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "value": {
      "type": "String",
      "required": false
    },
    "created_at": {
      "type": "DateTime",
      "required": true
    },
    "updated_at": {
      "type": "DateTime",
      "required": true
    }
  }
}

MaintenancePlanTag

{
  "name": "MaintenancePlanTag",
  "type": "Object",
  "required": true,
  "fields": {
    "id": {
      "type": "Integer",
      "required": true
    },
    "user_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "entity_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "name": {
      "type": "String",
      "required": true,
      "max": 255
    },
    "value": {
      "type": "String",
      "required": false
    },
    "created_at": {
      "type": "DateTime",
      "required": true
    },
    "updated_at": {
      "type": "DateTime",
      "required": true
    }
  }
}

ServiceCategory

{
  "name": "ServiceCategory",
  "type": "Object",
  "required": true,
  "fields": {
    "id": {
      "type": "Integer",
      "required": true
    },
    "user_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "entity_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "slot_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "category_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "created_at": {
      "type": "DateTime",
      "required": true
    },
    "updated_at": {
      "type": "DateTime",
      "required": true
    }
  }
}

ServiceField

{
  "name": "ServiceField",
  "type": "Object",
  "required": true,
  "fields": {
    "id": {
      "type": "Integer",
      "required": true
    },
    "user_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "entity_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "slot_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "field_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "value": {
      "type": "String",
      "required": false
    },
    "created_at": {
      "type": "DateTime",
      "required": true
    },
    "updated_at": {
      "type": "DateTime",
      "required": true
    }
  }
}

ServiceTag

{
  "name": "ServiceTag",
  "type": "Object",
  "required": true,
  "fields": {
    "id": {
      "type": "Integer",
      "required": true
    },
    "user_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "entity_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "name": {
      "type": "String",
      "required": true,
      "max": 255
    },
    "value": {
      "type": "String",
      "required": false
    },
    "created_at": {
      "type": "DateTime",
      "required": true
    },
    "updated_at": {
      "type": "DateTime",
      "required": true
    }
  }
}

OdometerCategory

{
  "name": "OdometerCategory",
  "type": "Object",
  "required": true,
  "fields": {
    "id": {
      "type": "Integer",
      "required": true
    },
    "user_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "entity_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "slot_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "category_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "created_at": {
      "type": "DateTime",
      "required": true
    },
    "updated_at": {
      "type": "DateTime",
      "required": true
    }
  }
}

OdometerField

{
  "name": "OdometerField",
  "type": "Object",
  "required": true,
  "fields": {
    "id": {
      "type": "Integer",
      "required": true
    },
    "user_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "entity_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "slot_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "field_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "value": {
      "type": "String",
      "required": false
    },
    "created_at": {
      "type": "DateTime",
      "required": true
    },
    "updated_at": {
      "type": "DateTime",
      "required": true
    }
  }
}

OdometerTag

{
  "name": "OdometerTag",
  "type": "Object",
  "required": true,
  "fields": {
    "id": {
      "type": "Integer",
      "required": true
    },
    "user_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "entity_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "name": {
      "type": "String",
      "required": true,
      "max": 255
    },
    "value": {
      "type": "String",
      "required": false
    },
    "created_at": {
      "type": "DateTime",
      "required": true
    },
    "updated_at": {
      "type": "DateTime",
      "required": true
    }
  }
}

FuelCategory

{
  "name": "FuelCategory",
  "type": "Object",
  "required": true,
  "fields": {
    "id": {
      "type": "Integer",
      "required": true
    },
    "user_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "entity_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "slot_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "category_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "created_at": {
      "type": "DateTime",
      "required": true
    },
    "updated_at": {
      "type": "DateTime",
      "required": true
    }
  }
}

FuelField

{
  "name": "FuelField",
  "type": "Object",
  "required": true,
  "fields": {
    "id": {
      "type": "Integer",
      "required": true
    },
    "user_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "entity_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "slot_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "field_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "value": {
      "type": "String",
      "required": false
    },
    "created_at": {
      "type": "DateTime",
      "required": true
    },
    "updated_at": {
      "type": "DateTime",
      "required": true
    }
  }
}

FuelTag

{
  "name": "FuelTag",
  "type": "Object",
  "required": true,
  "fields": {
    "id": {
      "type": "Integer",
      "required": true
    },
    "user_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "entity_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "name": {
      "type": "String",
      "required": true,
      "max": 255
    },
    "value": {
      "type": "String",
      "required": false
    },
    "created_at": {
      "type": "DateTime",
      "required": true
    },
    "updated_at": {
      "type": "DateTime",
      "required": true
    }
  }
}

RefuelingCategory

{
  "name": "RefuelingCategory",
  "type": "Object",
  "required": true,
  "fields": {
    "id": {
      "type": "Integer",
      "required": true
    },
    "user_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "entity_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "slot_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "category_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "created_at": {
      "type": "DateTime",
      "required": true
    },
    "updated_at": {
      "type": "DateTime",
      "required": true
    }
  }
}

RefuelingField

{
  "name": "RefuelingField",
  "type": "Object",
  "required": true,
  "fields": {
    "id": {
      "type": "Integer",
      "required": true
    },
    "user_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "entity_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "slot_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "field_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "value": {
      "type": "String",
      "required": false
    },
    "created_at": {
      "type": "DateTime",
      "required": true
    },
    "updated_at": {
      "type": "DateTime",
      "required": true
    }
  }
}

RefuelingTag

{
  "name": "RefuelingTag",
  "type": "Object",
  "required": true,
  "fields": {
    "id": {
      "type": "Integer",
      "required": true
    },
    "user_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "entity_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "name": {
      "type": "String",
      "required": true,
      "max": 255
    },
    "value": {
      "type": "String",
      "required": false
    },
    "created_at": {
      "type": "DateTime",
      "required": true
    },
    "updated_at": {
      "type": "DateTime",
      "required": true
    }
  }
}

Currency

{
  "name": "Currency",
  "type": "Object",
  "required": true,
  "fields": {
    "id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "user_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "name": {
      "type": "String",
      "required": true,
      "max": 255
    },
    "fraction_name": {
      "type": "String",
      "required": false,
      "max": 255
    },
    "fraction_value": {
      "type": "Integer",
      "required": false
    },
    "symbol": {
      "type": "String",
      "required": true,
      "max": 255
    },
    "enabled": {
      "type": "Boolean",
      "required": true
    },
    "description": {
      "type": "String",
      "required": false
    },
    "created_at": {
      "type": "DateTime",
      "required": true
    },
    "updated_at": {
      "type": "DateTime",
      "required": true
    }
  }
}

CurrencyInput

{
  "name": "CurrencyInput",
  "type": "Object",
  "required": true,
  "fields": {
    "name": {
      "type": "String",
      "required": true,
      "max": 255
    },
    "fraction_name": {
      "type": "String",
      "required": false,
      "max": 255
    },
    "fraction_value": {
      "type": "Integer",
      "required": false
    },
    "symbol": {
      "type": "String",
      "required": true,
      "max": 255
    },
    "enabled": {
      "type": "Boolean",
      "required": true
    },
    "description": {
      "type": "String",
      "required": false
    },
    "currency_category": {
      "type": "Array",
      "required": true,
      "items": [
        {
          "name": "EntityCategoryInput",
          "type": "Object",
          "required": false,
          "fields": {
            "slot_id": {
              "type": "String",
              "required": true,
              "min": 20,
              "max": 20
            },
            "category_id": {
              "type": "String",
              "required": true,
              "min": 20,
              "max": 20
            }
          }
        }
      ]
    },
    "currency_field": {
      "type": "Array",
      "required": true,
      "items": [
        {
          "name": "EntityFieldInput",
          "type": "Object",
          "required": false,
          "fields": {
            "slot_id": {
              "type": "String",
              "required": true,
              "min": 20,
              "max": 20
            },
            "field_id": {
              "type": "String",
              "required": true,
              "min": 20,
              "max": 20
            },
            "value": {
              "type": "Any",
              "required": false
            }
          }
        }
      ]
    },
    "currency_tag": {
      "type": "Array",
      "required": true,
      "items": [
        {
          "name": "EntityTagInput",
          "type": "Object",
          "required": false,
          "fields": {
            "name": {
              "type": "String",
              "required": true,
              "max": 255
            },
            "value": {
              "type": "String",
              "required": false
            }
          }
        }
      ]
    }
  }
}

CurrencyExchange

{
  "name": "CurrencyExchange",
  "type": "Object",
  "required": true,
  "fields": {
    "id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "user_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "date_time": {
      "type": "DateTime",
      "required": true
    },
    "from_currency_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "to_currency_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "rate_num": {
      "type": "Decimal",
      "required": true,
      "precision": 8
    },
    "rate_den": {
      "type": "Decimal",
      "required": true,
      "precision": 8
    },
    "created_at": {
      "type": "DateTime",
      "required": true
    },
    "updated_at": {
      "type": "DateTime",
      "required": true
    }
  }
}

CurrencyExchangeInput

{
  "name": "CurrencyExchangeInput",
  "type": "Object",
  "required": true,
  "fields": {
    "date_time": {
      "type": "DateTime",
      "required": true
    },
    "from_currency_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "to_currency_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "rate_num": {
      "type": "Decimal",
      "required": true,
      "precision": 8
    },
    "rate_den": {
      "type": "Decimal",
      "required": true,
      "precision": 8
    },
    "currency_exchange_category": {
      "type": "Array",
      "required": true,
      "items": [
        {
          "name": "EntityCategoryInput",
          "type": "Object",
          "required": false,
          "fields": {
            "slot_id": {
              "type": "String",
              "required": true,
              "min": 20,
              "max": 20
            },
            "category_id": {
              "type": "String",
              "required": true,
              "min": 20,
              "max": 20
            }
          }
        }
      ]
    },
    "currency_exchange_field": {
      "type": "Array",
      "required": true,
      "items": [
        {
          "name": "EntityFieldInput",
          "type": "Object",
          "required": false,
          "fields": {
            "slot_id": {
              "type": "String",
              "required": true,
              "min": 20,
              "max": 20
            },
            "field_id": {
              "type": "String",
              "required": true,
              "min": 20,
              "max": 20
            },
            "value": {
              "type": "Any",
              "required": false
            }
          }
        }
      ]
    },
    "currency_exchange_tag": {
      "type": "Array",
      "required": true,
      "items": [
        {
          "name": "EntityTagInput",
          "type": "Object",
          "required": false,
          "fields": {
            "name": {
              "type": "String",
              "required": true,
              "max": 255
            },
            "value": {
              "type": "String",
              "required": false
            }
          }
        }
      ]
    }
  }
}

Company

{
  "name": "Company",
  "type": "Object",
  "required": true,
  "fields": {
    "id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "user_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "name": {
      "type": "String",
      "required": true,
      "max": 255
    },
    "enabled": {
      "type": "Boolean",
      "required": true
    },
    "description": {
      "type": "String",
      "required": false
    },
    "current_year_pl_account_id": {
      "type": "String",
      "required": false,
      "min": 20,
      "max": 20
    },
    "retained_earnings_account_id": {
      "type": "String",
      "required": false,
      "min": 20,
      "max": 20
    },
    "created_at": {
      "type": "DateTime",
      "required": true
    },
    "updated_at": {
      "type": "DateTime",
      "required": true
    }
  }
}

CompanyInput

{
  "name": "CompanyInput",
  "type": "Object",
  "required": true,
  "fields": {
    "name": {
      "type": "String",
      "required": true,
      "max": 255
    },
    "enabled": {
      "type": "Boolean",
      "required": true
    },
    "description": {
      "type": "String",
      "required": false
    },
    "current_year_pl_account_id": {
      "type": "String",
      "required": false,
      "min": 20,
      "max": 20
    },
    "retained_earnings_account_id": {
      "type": "String",
      "required": false,
      "min": 20,
      "max": 20
    },
    "company_category": {
      "type": "Array",
      "required": true,
      "items": [
        {
          "name": "EntityCategoryInput",
          "type": "Object",
          "required": false,
          "fields": {
            "slot_id": {
              "type": "String",
              "required": true,
              "min": 20,
              "max": 20
            },
            "category_id": {
              "type": "String",
              "required": true,
              "min": 20,
              "max": 20
            }
          }
        }
      ]
    },
    "company_field": {
      "type": "Array",
      "required": true,
      "items": [
        {
          "name": "EntityFieldInput",
          "type": "Object",
          "required": false,
          "fields": {
            "slot_id": {
              "type": "String",
              "required": true,
              "min": 20,
              "max": 20
            },
            "field_id": {
              "type": "String",
              "required": true,
              "min": 20,
              "max": 20
            },
            "value": {
              "type": "Any",
              "required": false
            }
          }
        }
      ]
    },
    "company_tag": {
      "type": "Array",
      "required": true,
      "items": [
        {
          "name": "EntityTagInput",
          "type": "Object",
          "required": false,
          "fields": {
            "name": {
              "type": "String",
              "required": true,
              "max": 255
            },
            "value": {
              "type": "String",
              "required": false
            }
          }
        }
      ]
    }
  }
}

Branch

{
  "name": "Branch",
  "type": "Object",
  "required": true,
  "fields": {
    "id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "user_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "company_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "default_currency_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "name": {
      "type": "String",
      "required": true,
      "max": 255
    },
    "country": {
      "type": "String",
      "required": false,
      "max": 255
    },
    "enabled": {
      "type": "Boolean",
      "required": true
    },
    "description": {
      "type": "String",
      "required": false
    },
    "created_at": {
      "type": "DateTime",
      "required": true
    },
    "updated_at": {
      "type": "DateTime",
      "required": true
    }
  }
}

BranchInput

{
  "name": "BranchInput",
  "type": "Object",
  "required": true,
  "fields": {
    "company_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "default_currency_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "name": {
      "type": "String",
      "required": true,
      "max": 255
    },
    "country": {
      "type": "String",
      "required": false,
      "max": 255
    },
    "enabled": {
      "type": "Boolean",
      "required": true
    },
    "description": {
      "type": "String",
      "required": false
    },
    "branch_category": {
      "type": "Array",
      "required": true,
      "items": [
        {
          "name": "EntityCategoryInput",
          "type": "Object",
          "required": false,
          "fields": {
            "slot_id": {
              "type": "String",
              "required": true,
              "min": 20,
              "max": 20
            },
            "category_id": {
              "type": "String",
              "required": true,
              "min": 20,
              "max": 20
            }
          }
        }
      ]
    },
    "branch_field": {
      "type": "Array",
      "required": true,
      "items": [
        {
          "name": "EntityFieldInput",
          "type": "Object",
          "required": false,
          "fields": {
            "slot_id": {
              "type": "String",
              "required": true,
              "min": 20,
              "max": 20
            },
            "field_id": {
              "type": "String",
              "required": true,
              "min": 20,
              "max": 20
            },
            "value": {
              "type": "Any",
              "required": false
            }
          }
        }
      ]
    },
    "branch_tag": {
      "type": "Array",
      "required": true,
      "items": [
        {
          "name": "EntityTagInput",
          "type": "Object",
          "required": false,
          "fields": {
            "name": {
              "type": "String",
              "required": true,
              "max": 255
            },
            "value": {
              "type": "String",
              "required": false
            }
          }
        }
      ]
    }
  }
}

FiscalYear

{
  "name": "FiscalYear",
  "type": "Object",
  "required": true,
  "fields": {
    "id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "user_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "company_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "name": {
      "type": "String",
      "required": true,
      "max": 255
    },
    "date_start": {
      "type": "Date",
      "required": true
    },
    "date_end": {
      "type": "Date",
      "required": true
    },
    "enabled": {
      "type": "Boolean",
      "required": true
    },
    "description": {
      "type": "String",
      "required": false
    },
    "created_at": {
      "type": "DateTime",
      "required": true
    },
    "updated_at": {
      "type": "DateTime",
      "required": true
    }
  }
}

FiscalYearFull

{
  "name": "FiscalYearFull",
  "type": "Object",
  "required": true,
  "fields": {
    "id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "user_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "company_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "name": {
      "type": "String",
      "required": true,
      "max": 255
    },
    "date_start": {
      "type": "Date",
      "required": true
    },
    "date_end": {
      "type": "Date",
      "required": true
    },
    "enabled": {
      "type": "Boolean",
      "required": true
    },
    "description": {
      "type": "String",
      "required": false
    },
    "created_at": {
      "type": "DateTime",
      "required": true
    },
    "updated_at": {
      "type": "DateTime",
      "required": true
    },
    "branches": {
      "type": "Array",
      "required": true,
      "items": [
        {
          "name": "FiscalYearBranch",
          "type": "Object",
          "required": true,
          "fields": {
            "id": {
              "type": "String",
              "required": true,
              "min": 20,
              "max": 20
            },
            "user_id": {
              "type": "String",
              "required": true,
              "min": 20,
              "max": 20
            },
            "fiscal_year_id": {
              "type": "String",
              "required": true,
              "min": 20,
              "max": 20
            },
            "branch_id": {
              "type": "String",
              "required": true,
              "min": 20,
              "max": 20
            },
            "opening_journal_entry_id": {
              "type": "String",
              "required": false,
              "min": 20,
              "max": 20
            },
            "closing_journal_entry_id": {
              "type": "String",
              "required": false,
              "min": 20,
              "max": 20
            },
            "created_at": {
              "type": "DateTime",
              "required": true
            },
            "updated_at": {
              "type": "DateTime",
              "required": true
            }
          }
        }
      ]
    },
    "fiscal_year_category": {
      "type": "Array",
      "required": true,
      "items": [
        {
          "name": "EntityCategoryInput",
          "type": "Object",
          "required": false,
          "fields": {
            "slot_id": {
              "type": "String",
              "required": true,
              "min": 20,
              "max": 20
            },
            "category_id": {
              "type": "String",
              "required": true,
              "min": 20,
              "max": 20
            }
          }
        }
      ]
    },
    "fiscal_year_field": {
      "type": "Array",
      "required": true,
      "items": [
        {
          "name": "EntityFieldInput",
          "type": "Object",
          "required": false,
          "fields": {
            "slot_id": {
              "type": "String",
              "required": true,
              "min": 20,
              "max": 20
            },
            "field_id": {
              "type": "String",
              "required": true,
              "min": 20,
              "max": 20
            },
            "value": {
              "type": "Any",
              "required": false
            }
          }
        }
      ]
    },
    "fiscal_year_tag": {
      "type": "Array",
      "required": true,
      "items": [
        {
          "name": "EntityTagInput",
          "type": "Object",
          "required": false,
          "fields": {
            "name": {
              "type": "String",
              "required": true,
              "max": 255
            },
            "value": {
              "type": "String",
              "required": false
            }
          }
        }
      ]
    }
  }
}

FiscalYearBranch

{
  "name": "FiscalYearBranch",
  "type": "Object",
  "required": true,
  "fields": {
    "id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "user_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "fiscal_year_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "branch_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "opening_journal_entry_id": {
      "type": "String",
      "required": false,
      "min": 20,
      "max": 20
    },
    "closing_journal_entry_id": {
      "type": "String",
      "required": false,
      "min": 20,
      "max": 20
    },
    "created_at": {
      "type": "DateTime",
      "required": true
    },
    "updated_at": {
      "type": "DateTime",
      "required": true
    }
  }
}

FiscalYearInput

{
  "name": "FiscalYearInput",
  "type": "Object",
  "required": true,
  "fields": {
    "company_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "name": {
      "type": "String",
      "required": true,
      "max": 255
    },
    "date_start": {
      "type": "Date",
      "required": true
    },
    "date_end": {
      "type": "Date",
      "required": true
    },
    "enabled": {
      "type": "Boolean",
      "required": true
    },
    "description": {
      "type": "String",
      "required": false
    },
    "fiscal_year_category": {
      "type": "Array",
      "required": true,
      "items": [
        {
          "name": "EntityCategoryInput",
          "type": "Object",
          "required": false,
          "fields": {
            "slot_id": {
              "type": "String",
              "required": true,
              "min": 20,
              "max": 20
            },
            "category_id": {
              "type": "String",
              "required": true,
              "min": 20,
              "max": 20
            }
          }
        }
      ]
    },
    "fiscal_year_field": {
      "type": "Array",
      "required": true,
      "items": [
        {
          "name": "EntityFieldInput",
          "type": "Object",
          "required": false,
          "fields": {
            "slot_id": {
              "type": "String",
              "required": true,
              "min": 20,
              "max": 20
            },
            "field_id": {
              "type": "String",
              "required": true,
              "min": 20,
              "max": 20
            },
            "value": {
              "type": "Any",
              "required": false
            }
          }
        }
      ]
    },
    "fiscal_year_tag": {
      "type": "Array",
      "required": true,
      "items": [
        {
          "name": "EntityTagInput",
          "type": "Object",
          "required": false,
          "fields": {
            "name": {
              "type": "String",
              "required": true,
              "max": 255
            },
            "value": {
              "type": "String",
              "required": false
            }
          }
        }
      ]
    }
  }
}

FiscalYearOpenInput

{
  "name": "FiscalYearOpenInput",
  "type": "Object",
  "required": true,
  "fields": {
    "branch_id": {
      "type": "String",
      "required": false
    }
  }
}

JournalEntry

{
  "name": "JournalEntry",
  "type": "Object",
  "required": true,
  "fields": {
    "id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "user_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "company_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "branch_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "fiscal_year_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "type": {
      "name": "JournalEntryType",
      "type": "Enum",
      "required": true,
      "valids": [
        "Normal",
        "Opening",
        "Closing"
      ]
    },
    "date_time": {
      "type": "DateTime",
      "required": true
    },
    "reference_number": {
      "type": "String",
      "required": false,
      "max": 255
    },
    "reference_date_time": {
      "type": "DateTime",
      "required": false
    },
    "total_debit": {
      "type": "Decimal",
      "required": true,
      "precision": 4
    },
    "total_credit": {
      "type": "Decimal",
      "required": true,
      "precision": 4
    },
    "finalized": {
      "type": "Boolean",
      "required": true
    },
    "enabled": {
      "type": "Boolean",
      "required": true
    },
    "description": {
      "type": "String",
      "required": false
    },
    "created_at": {
      "type": "DateTime",
      "required": true
    },
    "updated_at": {
      "type": "DateTime",
      "required": true
    }
  }
}

FiscalYearCloseInput

{
  "name": "FiscalYearCloseInput",
  "type": "Object",
  "required": true,
  "fields": {
    "branch_id": {
      "type": "String",
      "required": false
    }
  }
}

FiscalYearUnopenInput

{
  "name": "FiscalYearUnopenInput",
  "type": "Object",
  "required": true,
  "fields": {
    "branch_id": {
      "type": "String",
      "required": false
    }
  }
}

FiscalYearUncloseInput

{
  "name": "FiscalYearUncloseInput",
  "type": "Object",
  "required": true,
  "fields": {
    "branch_id": {
      "type": "String",
      "required": false
    }
  }
}

Account

{
  "name": "Account",
  "type": "Object",
  "required": true,
  "fields": {
    "id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "user_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "company_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "branch_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "account_id": {
      "type": "String",
      "required": false,
      "min": 20,
      "max": 20
    },
    "code": {
      "type": "String",
      "required": true,
      "max": 255
    },
    "name": {
      "type": "String",
      "required": true,
      "max": 255
    },
    "is_group": {
      "type": "Boolean",
      "required": true
    },
    "type": {
      "name": "AccountType",
      "type": "Enum",
      "required": true,
      "valids": [
        "Asset",
        "Liability",
        "Equity",
        "Income",
        "Expense"
      ]
    },
    "party_type_ids": {
      "type": "Any",
      "required": true
    },
    "tag_group_ids": {
      "type": "Any",
      "required": true
    },
    "enabled": {
      "type": "Boolean",
      "required": true
    },
    "description": {
      "type": "String",
      "required": false
    },
    "created_at": {
      "type": "DateTime",
      "required": true
    },
    "updated_at": {
      "type": "DateTime",
      "required": true
    }
  }
}

AccountInput

{
  "name": "AccountInput",
  "type": "Object",
  "required": true,
  "fields": {
    "company_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "branch_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "account_id": {
      "type": "String",
      "required": false,
      "min": 20,
      "max": 20
    },
    "code": {
      "type": "String",
      "required": true,
      "max": 255
    },
    "name": {
      "type": "String",
      "required": true,
      "max": 255
    },
    "is_group": {
      "type": "Boolean",
      "required": true
    },
    "type": {
      "name": "AccountType",
      "type": "Enum",
      "required": true,
      "valids": [
        "Asset",
        "Liability",
        "Equity",
        "Income",
        "Expense"
      ]
    },
    "party_type_ids": {
      "type": "Array",
      "required": false,
      "items": [
        {
          "type": "String",
          "required": true
        }
      ]
    },
    "tag_group_ids": {
      "type": "Array",
      "required": false,
      "items": [
        {
          "type": "String",
          "required": true
        }
      ]
    },
    "enabled": {
      "type": "Boolean",
      "required": true
    },
    "description": {
      "type": "String",
      "required": false
    },
    "account_category": {
      "type": "Array",
      "required": true,
      "items": [
        {
          "name": "EntityCategoryInput",
          "type": "Object",
          "required": false,
          "fields": {
            "slot_id": {
              "type": "String",
              "required": true,
              "min": 20,
              "max": 20
            },
            "category_id": {
              "type": "String",
              "required": true,
              "min": 20,
              "max": 20
            }
          }
        }
      ]
    },
    "account_field": {
      "type": "Array",
      "required": true,
      "items": [
        {
          "name": "EntityFieldInput",
          "type": "Object",
          "required": false,
          "fields": {
            "slot_id": {
              "type": "String",
              "required": true,
              "min": 20,
              "max": 20
            },
            "field_id": {
              "type": "String",
              "required": true,
              "min": 20,
              "max": 20
            },
            "value": {
              "type": "Any",
              "required": false
            }
          }
        }
      ]
    },
    "account_tag": {
      "type": "Array",
      "required": true,
      "items": [
        {
          "name": "EntityTagInput",
          "type": "Object",
          "required": false,
          "fields": {
            "name": {
              "type": "String",
              "required": true,
              "max": 255
            },
            "value": {
              "type": "String",
              "required": false
            }
          }
        }
      ]
    }
  }
}

PartyType

{
  "name": "PartyType",
  "type": "Object",
  "required": true,
  "fields": {
    "id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "user_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "company_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "branch_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "name": {
      "type": "String",
      "required": true,
      "max": 255
    },
    "enabled": {
      "type": "Boolean",
      "required": true
    },
    "description": {
      "type": "String",
      "required": false
    },
    "created_at": {
      "type": "DateTime",
      "required": true
    },
    "updated_at": {
      "type": "DateTime",
      "required": true
    }
  }
}

PartyTypeInput

{
  "name": "PartyTypeInput",
  "type": "Object",
  "required": true,
  "fields": {
    "company_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "branch_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "name": {
      "type": "String",
      "required": true,
      "max": 255
    },
    "enabled": {
      "type": "Boolean",
      "required": true
    },
    "description": {
      "type": "String",
      "required": false
    },
    "party_type_category": {
      "type": "Array",
      "required": true,
      "items": [
        {
          "name": "EntityCategoryInput",
          "type": "Object",
          "required": false,
          "fields": {
            "slot_id": {
              "type": "String",
              "required": true,
              "min": 20,
              "max": 20
            },
            "category_id": {
              "type": "String",
              "required": true,
              "min": 20,
              "max": 20
            }
          }
        }
      ]
    },
    "party_type_field": {
      "type": "Array",
      "required": true,
      "items": [
        {
          "name": "EntityFieldInput",
          "type": "Object",
          "required": false,
          "fields": {
            "slot_id": {
              "type": "String",
              "required": true,
              "min": 20,
              "max": 20
            },
            "field_id": {
              "type": "String",
              "required": true,
              "min": 20,
              "max": 20
            },
            "value": {
              "type": "Any",
              "required": false
            }
          }
        }
      ]
    },
    "party_type_tag": {
      "type": "Array",
      "required": true,
      "items": [
        {
          "name": "EntityTagInput",
          "type": "Object",
          "required": false,
          "fields": {
            "name": {
              "type": "String",
              "required": true,
              "max": 255
            },
            "value": {
              "type": "String",
              "required": false
            }
          }
        }
      ]
    }
  }
}

Party

{
  "name": "Party",
  "type": "Object",
  "required": true,
  "fields": {
    "id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "user_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "company_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "branch_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "party_type_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "name": {
      "type": "String",
      "required": true,
      "max": 255
    },
    "enabled": {
      "type": "Boolean",
      "required": true
    },
    "description": {
      "type": "String",
      "required": false
    },
    "created_at": {
      "type": "DateTime",
      "required": true
    },
    "updated_at": {
      "type": "DateTime",
      "required": true
    }
  }
}

PartyInput

{
  "name": "PartyInput",
  "type": "Object",
  "required": true,
  "fields": {
    "company_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "branch_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "party_type_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "name": {
      "type": "String",
      "required": true,
      "max": 255
    },
    "enabled": {
      "type": "Boolean",
      "required": true
    },
    "description": {
      "type": "String",
      "required": false
    },
    "party_category": {
      "type": "Array",
      "required": true,
      "items": [
        {
          "name": "EntityCategoryInput",
          "type": "Object",
          "required": false,
          "fields": {
            "slot_id": {
              "type": "String",
              "required": true,
              "min": 20,
              "max": 20
            },
            "category_id": {
              "type": "String",
              "required": true,
              "min": 20,
              "max": 20
            }
          }
        }
      ]
    },
    "party_field": {
      "type": "Array",
      "required": true,
      "items": [
        {
          "name": "EntityFieldInput",
          "type": "Object",
          "required": false,
          "fields": {
            "slot_id": {
              "type": "String",
              "required": true,
              "min": 20,
              "max": 20
            },
            "field_id": {
              "type": "String",
              "required": true,
              "min": 20,
              "max": 20
            },
            "value": {
              "type": "Any",
              "required": false
            }
          }
        }
      ]
    },
    "party_tag": {
      "type": "Array",
      "required": true,
      "items": [
        {
          "name": "EntityTagInput",
          "type": "Object",
          "required": false,
          "fields": {
            "name": {
              "type": "String",
              "required": true,
              "max": 255
            },
            "value": {
              "type": "String",
              "required": false
            }
          }
        }
      ]
    }
  }
}

TagGroup

{
  "name": "TagGroup",
  "type": "Object",
  "required": true,
  "fields": {
    "id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "user_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "company_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "branch_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "name": {
      "type": "String",
      "required": true,
      "max": 255
    },
    "enabled": {
      "type": "Boolean",
      "required": true
    },
    "description": {
      "type": "String",
      "required": false
    },
    "created_at": {
      "type": "DateTime",
      "required": true
    },
    "updated_at": {
      "type": "DateTime",
      "required": true
    }
  }
}

TagGroupInput

{
  "name": "TagGroupInput",
  "type": "Object",
  "required": true,
  "fields": {
    "company_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "branch_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "name": {
      "type": "String",
      "required": true,
      "max": 255
    },
    "enabled": {
      "type": "Boolean",
      "required": true
    },
    "description": {
      "type": "String",
      "required": false
    },
    "tag_group_category": {
      "type": "Array",
      "required": true,
      "items": [
        {
          "name": "EntityCategoryInput",
          "type": "Object",
          "required": false,
          "fields": {
            "slot_id": {
              "type": "String",
              "required": true,
              "min": 20,
              "max": 20
            },
            "category_id": {
              "type": "String",
              "required": true,
              "min": 20,
              "max": 20
            }
          }
        }
      ]
    },
    "tag_group_field": {
      "type": "Array",
      "required": true,
      "items": [
        {
          "name": "EntityFieldInput",
          "type": "Object",
          "required": false,
          "fields": {
            "slot_id": {
              "type": "String",
              "required": true,
              "min": 20,
              "max": 20
            },
            "field_id": {
              "type": "String",
              "required": true,
              "min": 20,
              "max": 20
            },
            "value": {
              "type": "Any",
              "required": false
            }
          }
        }
      ]
    },
    "tag_group_tag": {
      "type": "Array",
      "required": true,
      "items": [
        {
          "name": "EntityTagInput",
          "type": "Object",
          "required": false,
          "fields": {
            "name": {
              "type": "String",
              "required": true,
              "max": 255
            },
            "value": {
              "type": "String",
              "required": false
            }
          }
        }
      ]
    }
  }
}

Tag

{
  "name": "Tag",
  "type": "Object",
  "required": true,
  "fields": {
    "id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "user_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "company_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "branch_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "tag_group_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "name": {
      "type": "String",
      "required": true,
      "max": 255
    },
    "enabled": {
      "type": "Boolean",
      "required": true
    },
    "description": {
      "type": "String",
      "required": false
    },
    "created_at": {
      "type": "DateTime",
      "required": true
    },
    "updated_at": {
      "type": "DateTime",
      "required": true
    }
  }
}

TagInput

{
  "name": "TagInput",
  "type": "Object",
  "required": true,
  "fields": {
    "company_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "branch_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "tag_group_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "name": {
      "type": "String",
      "required": true,
      "max": 255
    },
    "enabled": {
      "type": "Boolean",
      "required": true
    },
    "description": {
      "type": "String",
      "required": false
    },
    "tag_category": {
      "type": "Array",
      "required": true,
      "items": [
        {
          "name": "EntityCategoryInput",
          "type": "Object",
          "required": false,
          "fields": {
            "slot_id": {
              "type": "String",
              "required": true,
              "min": 20,
              "max": 20
            },
            "category_id": {
              "type": "String",
              "required": true,
              "min": 20,
              "max": 20
            }
          }
        }
      ]
    },
    "tag_field": {
      "type": "Array",
      "required": true,
      "items": [
        {
          "name": "EntityFieldInput",
          "type": "Object",
          "required": false,
          "fields": {
            "slot_id": {
              "type": "String",
              "required": true,
              "min": 20,
              "max": 20
            },
            "field_id": {
              "type": "String",
              "required": true,
              "min": 20,
              "max": 20
            },
            "value": {
              "type": "Any",
              "required": false
            }
          }
        }
      ]
    },
    "tag_tag": {
      "type": "Array",
      "required": true,
      "items": [
        {
          "name": "EntityTagInput",
          "type": "Object",
          "required": false,
          "fields": {
            "name": {
              "type": "String",
              "required": true,
              "max": 255
            },
            "value": {
              "type": "String",
              "required": false
            }
          }
        }
      ]
    }
  }
}

JournalEntryFull

{
  "name": "JournalEntryFull",
  "type": "Object",
  "required": true,
  "fields": {
    "id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "user_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "company_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "branch_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "fiscal_year_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "type": {
      "name": "JournalEntryType",
      "type": "Enum",
      "required": true,
      "valids": [
        "Normal",
        "Opening",
        "Closing"
      ]
    },
    "date_time": {
      "type": "DateTime",
      "required": true
    },
    "reference_number": {
      "type": "String",
      "required": false,
      "max": 255
    },
    "reference_date_time": {
      "type": "DateTime",
      "required": false
    },
    "total_debit": {
      "type": "Decimal",
      "required": true,
      "precision": 4
    },
    "total_credit": {
      "type": "Decimal",
      "required": true,
      "precision": 4
    },
    "finalized": {
      "type": "Boolean",
      "required": true
    },
    "enabled": {
      "type": "Boolean",
      "required": true
    },
    "description": {
      "type": "String",
      "required": false
    },
    "created_at": {
      "type": "DateTime",
      "required": true
    },
    "updated_at": {
      "type": "DateTime",
      "required": true
    },
    "lines": {
      "type": "Array",
      "required": true,
      "items": [
        {
          "name": "JournalEntryLine",
          "type": "Object",
          "required": true,
          "fields": {
            "id": {
              "type": "String",
              "required": true,
              "min": 20,
              "max": 20
            },
            "journal_entry_id": {
              "type": "String",
              "required": true,
              "min": 20,
              "max": 20
            },
            "number": {
              "type": "Integer",
              "required": true
            },
            "account_id": {
              "type": "String",
              "required": true,
              "min": 20,
              "max": 20
            },
            "party_id": {
              "type": "String",
              "required": false,
              "min": 20,
              "max": 20
            },
            "tag_ids": {
              "type": "Any",
              "required": true
            },
            "currency_id": {
              "type": "String",
              "required": true,
              "min": 20,
              "max": 20
            },
            "debit": {
              "type": "Decimal",
              "required": true,
              "precision": 4
            },
            "credit": {
              "type": "Decimal",
              "required": true,
              "precision": 4
            },
            "marked": {
              "type": "Boolean",
              "required": true
            },
            "checked": {
              "type": "Boolean",
              "required": true
            },
            "rate_num": {
              "type": "Decimal",
              "required": true,
              "precision": 8
            },
            "rate_den": {
              "type": "Decimal",
              "required": true,
              "precision": 8
            },
            "created_at": {
              "type": "DateTime",
              "required": true
            },
            "updated_at": {
              "type": "DateTime",
              "required": true
            }
          }
        }
      ]
    },
    "journal_entry_category": {
      "type": "Array",
      "required": true,
      "items": [
        {
          "name": "EntityCategoryInput",
          "type": "Object",
          "required": false,
          "fields": {
            "slot_id": {
              "type": "String",
              "required": true,
              "min": 20,
              "max": 20
            },
            "category_id": {
              "type": "String",
              "required": true,
              "min": 20,
              "max": 20
            }
          }
        }
      ]
    },
    "journal_entry_field": {
      "type": "Array",
      "required": true,
      "items": [
        {
          "name": "EntityFieldInput",
          "type": "Object",
          "required": false,
          "fields": {
            "slot_id": {
              "type": "String",
              "required": true,
              "min": 20,
              "max": 20
            },
            "field_id": {
              "type": "String",
              "required": true,
              "min": 20,
              "max": 20
            },
            "value": {
              "type": "Any",
              "required": false
            }
          }
        }
      ]
    },
    "journal_entry_tag": {
      "type": "Array",
      "required": true,
      "items": [
        {
          "name": "EntityTagInput",
          "type": "Object",
          "required": false,
          "fields": {
            "name": {
              "type": "String",
              "required": true,
              "max": 255
            },
            "value": {
              "type": "String",
              "required": false
            }
          }
        }
      ]
    }
  }
}

JournalEntryLine

{
  "name": "JournalEntryLine",
  "type": "Object",
  "required": true,
  "fields": {
    "id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "journal_entry_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "number": {
      "type": "Integer",
      "required": true
    },
    "account_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "party_id": {
      "type": "String",
      "required": false,
      "min": 20,
      "max": 20
    },
    "tag_ids": {
      "type": "Any",
      "required": true
    },
    "currency_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "debit": {
      "type": "Decimal",
      "required": true,
      "precision": 4
    },
    "credit": {
      "type": "Decimal",
      "required": true,
      "precision": 4
    },
    "marked": {
      "type": "Boolean",
      "required": true
    },
    "checked": {
      "type": "Boolean",
      "required": true
    },
    "rate_num": {
      "type": "Decimal",
      "required": true,
      "precision": 8
    },
    "rate_den": {
      "type": "Decimal",
      "required": true,
      "precision": 8
    },
    "created_at": {
      "type": "DateTime",
      "required": true
    },
    "updated_at": {
      "type": "DateTime",
      "required": true
    }
  }
}

JournalEntryInput

{
  "name": "JournalEntryInput",
  "type": "Object",
  "required": true,
  "fields": {
    "company_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "branch_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "fiscal_year_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "date_time": {
      "type": "DateTime",
      "required": true
    },
    "reference_number": {
      "type": "String",
      "required": false,
      "max": 255
    },
    "reference_date_time": {
      "type": "DateTime",
      "required": false
    },
    "enabled": {
      "type": "Boolean",
      "required": true
    },
    "description": {
      "type": "String",
      "required": false
    },
    "lines": {
      "type": "Array",
      "required": true,
      "items": [
        {
          "name": "JournalEntryLineInput",
          "type": "Object",
          "required": true,
          "fields": {
            "account_id": {
              "type": "String",
              "required": true,
              "min": 20,
              "max": 20
            },
            "party_id": {
              "type": "String",
              "required": false,
              "min": 20,
              "max": 20
            },
            "tag_ids": {
              "type": "Array",
              "required": false,
              "items": [
                {
                  "type": "String",
                  "required": false
                }
              ]
            },
            "currency_id": {
              "type": "String",
              "required": true,
              "min": 20,
              "max": 20
            },
            "debit": {
              "type": "Decimal",
              "required": true,
              "precision": 4
            },
            "credit": {
              "type": "Decimal",
              "required": true,
              "precision": 4
            }
          }
        }
      ]
    },
    "journal_entry_category": {
      "type": "Array",
      "required": true,
      "items": [
        {
          "name": "EntityCategoryInput",
          "type": "Object",
          "required": false,
          "fields": {
            "slot_id": {
              "type": "String",
              "required": true,
              "min": 20,
              "max": 20
            },
            "category_id": {
              "type": "String",
              "required": true,
              "min": 20,
              "max": 20
            }
          }
        }
      ]
    },
    "journal_entry_field": {
      "type": "Array",
      "required": true,
      "items": [
        {
          "name": "EntityFieldInput",
          "type": "Object",
          "required": false,
          "fields": {
            "slot_id": {
              "type": "String",
              "required": true,
              "min": 20,
              "max": 20
            },
            "field_id": {
              "type": "String",
              "required": true,
              "min": 20,
              "max": 20
            },
            "value": {
              "type": "Any",
              "required": false
            }
          }
        }
      ]
    },
    "journal_entry_tag": {
      "type": "Array",
      "required": true,
      "items": [
        {
          "name": "EntityTagInput",
          "type": "Object",
          "required": false,
          "fields": {
            "name": {
              "type": "String",
              "required": true,
              "max": 255
            },
            "value": {
              "type": "String",
              "required": false
            }
          }
        }
      ]
    }
  }
}

JournalEntryLineInput

{
  "name": "JournalEntryLineInput",
  "type": "Object",
  "required": true,
  "fields": {
    "account_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "party_id": {
      "type": "String",
      "required": false,
      "min": 20,
      "max": 20
    },
    "tag_ids": {
      "type": "Array",
      "required": false,
      "items": [
        {
          "type": "String",
          "required": false
        }
      ]
    },
    "currency_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "debit": {
      "type": "Decimal",
      "required": true,
      "precision": 4
    },
    "credit": {
      "type": "Decimal",
      "required": true,
      "precision": 4
    }
  }
}

JournalEntrySetFinalizedInput

{
  "name": "JournalEntrySetFinalizedInput",
  "type": "Object",
  "required": true,
  "fields": {
    "finalized": {
      "type": "Boolean",
      "required": false
    }
  }
}

JournalEntryLineSetMarkedInput

{
  "name": "JournalEntryLineSetMarkedInput",
  "type": "Object",
  "required": true,
  "fields": {
    "marked": {
      "type": "Boolean",
      "required": false
    }
  }
}

JournalEntryLineSetCheckedInput

{
  "name": "JournalEntryLineSetCheckedInput",
  "type": "Object",
  "required": true,
  "fields": {
    "checked": {
      "type": "Boolean",
      "required": false
    }
  }
}

Lock

{
  "name": "Lock",
  "type": "Object",
  "required": true,
  "fields": {
    "id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "user_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "company_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "branch_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "account_id": {
      "type": "String",
      "required": false,
      "min": 20,
      "max": 20
    },
    "party_type_id": {
      "type": "String",
      "required": false,
      "min": 20,
      "max": 20
    },
    "party_id": {
      "type": "String",
      "required": false,
      "min": 20,
      "max": 20
    },
    "to_date_time": {
      "type": "DateTime",
      "required": true
    },
    "enabled": {
      "type": "Boolean",
      "required": true
    },
    "description": {
      "type": "String",
      "required": false
    },
    "created_at": {
      "type": "DateTime",
      "required": true
    },
    "updated_at": {
      "type": "DateTime",
      "required": true
    }
  }
}

LockInput

{
  "name": "LockInput",
  "type": "Object",
  "required": true,
  "fields": {
    "company_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "branch_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "account_id": {
      "type": "String",
      "required": false,
      "min": 20,
      "max": 20
    },
    "party_type_id": {
      "type": "String",
      "required": false,
      "min": 20,
      "max": 20
    },
    "party_id": {
      "type": "String",
      "required": false,
      "min": 20,
      "max": 20
    },
    "to_date_time": {
      "type": "DateTime",
      "required": true
    },
    "enabled": {
      "type": "Boolean",
      "required": true
    },
    "description": {
      "type": "String",
      "required": false
    },
    "lock_category": {
      "type": "Array",
      "required": true,
      "items": [
        {
          "name": "EntityCategoryInput",
          "type": "Object",
          "required": false,
          "fields": {
            "slot_id": {
              "type": "String",
              "required": true,
              "min": 20,
              "max": 20
            },
            "category_id": {
              "type": "String",
              "required": true,
              "min": 20,
              "max": 20
            }
          }
        }
      ]
    },
    "lock_field": {
      "type": "Array",
      "required": true,
      "items": [
        {
          "name": "EntityFieldInput",
          "type": "Object",
          "required": false,
          "fields": {
            "slot_id": {
              "type": "String",
              "required": true,
              "min": 20,
              "max": 20
            },
            "field_id": {
              "type": "String",
              "required": true,
              "min": 20,
              "max": 20
            },
            "value": {
              "type": "Any",
              "required": false
            }
          }
        }
      ]
    },
    "lock_tag": {
      "type": "Array",
      "required": true,
      "items": [
        {
          "name": "EntityTagInput",
          "type": "Object",
          "required": false,
          "fields": {
            "name": {
              "type": "String",
              "required": true,
              "max": 255
            },
            "value": {
              "type": "String",
              "required": false
            }
          }
        }
      ]
    }
  }
}

Vehicle

{
  "name": "Vehicle",
  "type": "Object",
  "required": true,
  "fields": {
    "id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "user_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "company_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "branch_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "fuel_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "name": {
      "type": "String",
      "required": true,
      "max": 255
    },
    "license_plate": {
      "type": "String",
      "required": true,
      "max": 255
    },
    "vin": {
      "type": "String",
      "required": true,
      "max": 255
    },
    "model_year": {
      "type": "Integer",
      "required": true
    },
    "color": {
      "type": "String",
      "required": true,
      "max": 255
    },
    "odometer_unit": {
      "name": "VehicleOdometerUnit",
      "type": "Enum",
      "required": true,
      "valids": [
        "KM",
        "Mile"
      ]
    },
    "tank_capacity_value": {
      "type": "Integer",
      "required": true
    },
    "tank_capacity_unit": {
      "name": "VehicleTankCapacityUnit",
      "type": "Enum",
      "required": true,
      "valids": [
        "Liter",
        "Galon"
      ]
    },
    "description": {
      "type": "String",
      "required": false
    },
    "created_at": {
      "type": "DateTime",
      "required": true
    },
    "updated_at": {
      "type": "DateTime",
      "required": true
    }
  }
}

VehicleInput

{
  "name": "VehicleInput",
  "type": "Object",
  "required": true,
  "fields": {
    "company_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "branch_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "fuel_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "name": {
      "type": "String",
      "required": true,
      "max": 255
    },
    "license_plate": {
      "type": "String",
      "required": true,
      "max": 255
    },
    "vin": {
      "type": "String",
      "required": true,
      "max": 255
    },
    "model_year": {
      "type": "Integer",
      "required": true
    },
    "color": {
      "type": "String",
      "required": true,
      "max": 255
    },
    "odometer_unit": {
      "name": "VehicleOdometerUnit",
      "type": "Enum",
      "required": true,
      "valids": [
        "KM",
        "Mile"
      ]
    },
    "tank_capacity_value": {
      "type": "Integer",
      "required": true
    },
    "tank_capacity_unit": {
      "name": "VehicleTankCapacityUnit",
      "type": "Enum",
      "required": true,
      "valids": [
        "Liter",
        "Galon"
      ]
    },
    "description": {
      "type": "String",
      "required": false
    },
    "vehicle_category": {
      "type": "Array",
      "required": true,
      "items": [
        {
          "name": "EntityCategoryInput",
          "type": "Object",
          "required": false,
          "fields": {
            "slot_id": {
              "type": "String",
              "required": true,
              "min": 20,
              "max": 20
            },
            "category_id": {
              "type": "String",
              "required": true,
              "min": 20,
              "max": 20
            }
          }
        }
      ]
    },
    "vehicle_field": {
      "type": "Array",
      "required": true,
      "items": [
        {
          "name": "EntityFieldInput",
          "type": "Object",
          "required": false,
          "fields": {
            "slot_id": {
              "type": "String",
              "required": true,
              "min": 20,
              "max": 20
            },
            "field_id": {
              "type": "String",
              "required": true,
              "min": 20,
              "max": 20
            },
            "value": {
              "type": "Any",
              "required": false
            }
          }
        }
      ]
    },
    "vehicle_tag": {
      "type": "Array",
      "required": true,
      "items": [
        {
          "name": "EntityTagInput",
          "type": "Object",
          "required": false,
          "fields": {
            "name": {
              "type": "String",
              "required": true,
              "max": 255
            },
            "value": {
              "type": "String",
              "required": false
            }
          }
        }
      ]
    }
  }
}

ServiceType

{
  "name": "ServiceType",
  "type": "Object",
  "required": true,
  "fields": {
    "id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "user_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "company_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "branch_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "name": {
      "type": "String",
      "required": true,
      "max": 255
    },
    "description": {
      "type": "String",
      "required": false
    },
    "created_at": {
      "type": "DateTime",
      "required": true
    },
    "updated_at": {
      "type": "DateTime",
      "required": true
    }
  }
}

ServiceTypeInput

{
  "name": "ServiceTypeInput",
  "type": "Object",
  "required": true,
  "fields": {
    "company_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "branch_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "name": {
      "type": "String",
      "required": true,
      "max": 255
    },
    "description": {
      "type": "String",
      "required": false
    },
    "service_type_category": {
      "type": "Array",
      "required": true,
      "items": [
        {
          "name": "EntityCategoryInput",
          "type": "Object",
          "required": false,
          "fields": {
            "slot_id": {
              "type": "String",
              "required": true,
              "min": 20,
              "max": 20
            },
            "category_id": {
              "type": "String",
              "required": true,
              "min": 20,
              "max": 20
            }
          }
        }
      ]
    },
    "service_type_field": {
      "type": "Array",
      "required": true,
      "items": [
        {
          "name": "EntityFieldInput",
          "type": "Object",
          "required": false,
          "fields": {
            "slot_id": {
              "type": "String",
              "required": true,
              "min": 20,
              "max": 20
            },
            "field_id": {
              "type": "String",
              "required": true,
              "min": 20,
              "max": 20
            },
            "value": {
              "type": "Any",
              "required": false
            }
          }
        }
      ]
    },
    "service_type_tag": {
      "type": "Array",
      "required": true,
      "items": [
        {
          "name": "EntityTagInput",
          "type": "Object",
          "required": false,
          "fields": {
            "name": {
              "type": "String",
              "required": true,
              "max": 255
            },
            "value": {
              "type": "String",
              "required": false
            }
          }
        }
      ]
    }
  }
}

MaintenancePlan

{
  "name": "MaintenancePlan",
  "type": "Object",
  "required": true,
  "fields": {
    "id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "user_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "company_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "branch_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "vehicle_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "service_type_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "topic_id": {
      "type": "String",
      "required": false,
      "min": 20,
      "max": 20
    },
    "starts_at": {
      "type": "DateTime",
      "required": true
    },
    "every_distance_value": {
      "type": "Integer",
      "required": true
    },
    "every_distance_unit": {
      "name": "MaintenancePlanEveryDistanceUnit",
      "type": "Enum",
      "required": true,
      "valids": [
        "KM",
        "Mile"
      ]
    },
    "every_time_value": {
      "type": "Integer",
      "required": true
    },
    "every_time_unit": {
      "name": "MaintenancePlanEveryTimeUnit",
      "type": "Enum",
      "required": true,
      "valids": [
        "Day",
        "Week",
        "Month"
      ]
    },
    "description": {
      "type": "String",
      "required": false
    },
    "status": {
      "name": "MaintenancePlanStatus",
      "type": "Enum",
      "required": true,
      "valids": [
        "Ok",
        "Warning",
        "Overdue"
      ]
    },
    "overdue_odometer_value": {
      "type": "Integer",
      "required": false
    },
    "overdue_time_at": {
      "type": "DateTime",
      "required": false
    },
    "remaining_days": {
      "type": "Integer",
      "required": false
    },
    "remaining_odometer_value": {
      "type": "Integer",
      "required": false
    },
    "created_at": {
      "type": "DateTime",
      "required": true
    },
    "updated_at": {
      "type": "DateTime",
      "required": true
    }
  }
}

MaintenancePlanInput

{
  "name": "MaintenancePlanInput",
  "type": "Object",
  "required": true,
  "fields": {
    "company_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "branch_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "vehicle_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "service_type_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "topic_id": {
      "type": "String",
      "required": false,
      "min": 20,
      "max": 20
    },
    "starts_at": {
      "type": "DateTime",
      "required": true
    },
    "every_distance_value": {
      "type": "Integer",
      "required": true
    },
    "every_distance_unit": {
      "name": "MaintenancePlanEveryDistanceUnit",
      "type": "Enum",
      "required": true,
      "valids": [
        "KM",
        "Mile"
      ]
    },
    "every_time_value": {
      "type": "Integer",
      "required": true
    },
    "every_time_unit": {
      "name": "MaintenancePlanEveryTimeUnit",
      "type": "Enum",
      "required": true,
      "valids": [
        "Day",
        "Week",
        "Month"
      ]
    },
    "description": {
      "type": "String",
      "required": false
    },
    "maintenance_plan_category": {
      "type": "Array",
      "required": true,
      "items": [
        {
          "name": "EntityCategoryInput",
          "type": "Object",
          "required": false,
          "fields": {
            "slot_id": {
              "type": "String",
              "required": true,
              "min": 20,
              "max": 20
            },
            "category_id": {
              "type": "String",
              "required": true,
              "min": 20,
              "max": 20
            }
          }
        }
      ]
    },
    "maintenance_plan_field": {
      "type": "Array",
      "required": true,
      "items": [
        {
          "name": "EntityFieldInput",
          "type": "Object",
          "required": false,
          "fields": {
            "slot_id": {
              "type": "String",
              "required": true,
              "min": 20,
              "max": 20
            },
            "field_id": {
              "type": "String",
              "required": true,
              "min": 20,
              "max": 20
            },
            "value": {
              "type": "Any",
              "required": false
            }
          }
        }
      ]
    },
    "maintenance_plan_tag": {
      "type": "Array",
      "required": true,
      "items": [
        {
          "name": "EntityTagInput",
          "type": "Object",
          "required": false,
          "fields": {
            "name": {
              "type": "String",
              "required": true,
              "max": 255
            },
            "value": {
              "type": "String",
              "required": false
            }
          }
        }
      ]
    }
  }
}

Service

{
  "name": "Service",
  "type": "Object",
  "required": true,
  "fields": {
    "id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "user_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "company_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "branch_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "service_type_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "vehicle_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "datetime": {
      "type": "DateTime",
      "required": true
    },
    "description": {
      "type": "String",
      "required": false
    },
    "odometer_value": {
      "type": "Integer",
      "required": false
    },
    "odometer_unit": {
      "name": "ServiceOdometerUnit",
      "type": "Enum",
      "required": false,
      "valids": [
        "KM",
        "Mile"
      ]
    },
    "created_at": {
      "type": "DateTime",
      "required": true
    },
    "updated_at": {
      "type": "DateTime",
      "required": true
    }
  }
}

ServiceInput

{
  "name": "ServiceInput",
  "type": "Object",
  "required": true,
  "fields": {
    "company_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "branch_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "service_type_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "vehicle_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "datetime": {
      "type": "DateTime",
      "required": true
    },
    "description": {
      "type": "String",
      "required": false
    },
    "service_category": {
      "type": "Array",
      "required": true,
      "items": [
        {
          "name": "EntityCategoryInput",
          "type": "Object",
          "required": false,
          "fields": {
            "slot_id": {
              "type": "String",
              "required": true,
              "min": 20,
              "max": 20
            },
            "category_id": {
              "type": "String",
              "required": true,
              "min": 20,
              "max": 20
            }
          }
        }
      ]
    },
    "service_field": {
      "type": "Array",
      "required": true,
      "items": [
        {
          "name": "EntityFieldInput",
          "type": "Object",
          "required": false,
          "fields": {
            "slot_id": {
              "type": "String",
              "required": true,
              "min": 20,
              "max": 20
            },
            "field_id": {
              "type": "String",
              "required": true,
              "min": 20,
              "max": 20
            },
            "value": {
              "type": "Any",
              "required": false
            }
          }
        }
      ]
    },
    "service_tag": {
      "type": "Array",
      "required": true,
      "items": [
        {
          "name": "EntityTagInput",
          "type": "Object",
          "required": false,
          "fields": {
            "name": {
              "type": "String",
              "required": true,
              "max": 255
            },
            "value": {
              "type": "String",
              "required": false
            }
          }
        }
      ]
    }
  }
}

Odometer

{
  "name": "Odometer",
  "type": "Object",
  "required": true,
  "fields": {
    "id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "user_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "company_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "branch_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "vehicle_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "name": {
      "type": "String",
      "required": true,
      "max": 255
    },
    "date": {
      "type": "DateTime",
      "required": true
    },
    "value": {
      "type": "Integer",
      "required": true
    },
    "unit": {
      "name": "OdometerUnit",
      "type": "Enum",
      "required": true,
      "valids": [
        "KM",
        "Mile"
      ]
    },
    "description": {
      "type": "String",
      "required": false
    },
    "created_at": {
      "type": "DateTime",
      "required": true
    },
    "updated_at": {
      "type": "DateTime",
      "required": true
    }
  }
}

OdometerInput

{
  "name": "OdometerInput",
  "type": "Object",
  "required": true,
  "fields": {
    "company_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "branch_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "vehicle_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "date": {
      "type": "DateTime",
      "required": true
    },
    "value": {
      "type": "Integer",
      "required": true
    },
    "unit": {
      "name": "OdometerUnit",
      "type": "Enum",
      "required": true,
      "valids": [
        "KM",
        "Mile"
      ]
    },
    "description": {
      "type": "String",
      "required": false
    },
    "odometer_category": {
      "type": "Array",
      "required": true,
      "items": [
        {
          "name": "EntityCategoryInput",
          "type": "Object",
          "required": false,
          "fields": {
            "slot_id": {
              "type": "String",
              "required": true,
              "min": 20,
              "max": 20
            },
            "category_id": {
              "type": "String",
              "required": true,
              "min": 20,
              "max": 20
            }
          }
        }
      ]
    },
    "odometer_field": {
      "type": "Array",
      "required": true,
      "items": [
        {
          "name": "EntityFieldInput",
          "type": "Object",
          "required": false,
          "fields": {
            "slot_id": {
              "type": "String",
              "required": true,
              "min": 20,
              "max": 20
            },
            "field_id": {
              "type": "String",
              "required": true,
              "min": 20,
              "max": 20
            },
            "value": {
              "type": "Any",
              "required": false
            }
          }
        }
      ]
    },
    "odometer_tag": {
      "type": "Array",
      "required": true,
      "items": [
        {
          "name": "EntityTagInput",
          "type": "Object",
          "required": false,
          "fields": {
            "name": {
              "type": "String",
              "required": true,
              "max": 255
            },
            "value": {
              "type": "String",
              "required": false
            }
          }
        }
      ]
    }
  }
}

Fuel

{
  "name": "Fuel",
  "type": "Object",
  "required": true,
  "fields": {
    "id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "user_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "company_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "branch_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "name": {
      "type": "String",
      "required": true,
      "max": 255
    },
    "description": {
      "type": "String",
      "required": false
    },
    "created_at": {
      "type": "DateTime",
      "required": true
    },
    "updated_at": {
      "type": "DateTime",
      "required": true
    }
  }
}

FuelInput

{
  "name": "FuelInput",
  "type": "Object",
  "required": true,
  "fields": {
    "company_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "branch_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "name": {
      "type": "String",
      "required": true,
      "max": 255
    },
    "description": {
      "type": "String",
      "required": false
    },
    "fuel_category": {
      "type": "Array",
      "required": true,
      "items": [
        {
          "name": "EntityCategoryInput",
          "type": "Object",
          "required": false,
          "fields": {
            "slot_id": {
              "type": "String",
              "required": true,
              "min": 20,
              "max": 20
            },
            "category_id": {
              "type": "String",
              "required": true,
              "min": 20,
              "max": 20
            }
          }
        }
      ]
    },
    "fuel_field": {
      "type": "Array",
      "required": true,
      "items": [
        {
          "name": "EntityFieldInput",
          "type": "Object",
          "required": false,
          "fields": {
            "slot_id": {
              "type": "String",
              "required": true,
              "min": 20,
              "max": 20
            },
            "field_id": {
              "type": "String",
              "required": true,
              "min": 20,
              "max": 20
            },
            "value": {
              "type": "Any",
              "required": false
            }
          }
        }
      ]
    },
    "fuel_tag": {
      "type": "Array",
      "required": true,
      "items": [
        {
          "name": "EntityTagInput",
          "type": "Object",
          "required": false,
          "fields": {
            "name": {
              "type": "String",
              "required": true,
              "max": 255
            },
            "value": {
              "type": "String",
              "required": false
            }
          }
        }
      ]
    }
  }
}

Refueling

{
  "name": "Refueling",
  "type": "Object",
  "required": true,
  "fields": {
    "id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "user_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "company_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "branch_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "vehicle_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "fuel_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "datetime": {
      "type": "DateTime",
      "required": true
    },
    "quantity": {
      "type": "Integer",
      "required": true
    },
    "unit": {
      "name": "RefuelingUnit",
      "type": "Enum",
      "required": true,
      "valids": [
        "Liter",
        "Galon"
      ]
    },
    "is_full_tank": {
      "type": "Boolean",
      "required": true
    },
    "description": {
      "type": "String",
      "required": false
    },
    "odometer_value": {
      "type": "Integer",
      "required": false
    },
    "odometer_unit": {
      "name": "RefuelingOdometerUnit",
      "type": "Enum",
      "required": false,
      "valids": [
        "KM",
        "Mile"
      ]
    },
    "created_at": {
      "type": "DateTime",
      "required": true
    },
    "updated_at": {
      "type": "DateTime",
      "required": true
    }
  }
}

RefuelingInput

{
  "name": "RefuelingInput",
  "type": "Object",
  "required": true,
  "fields": {
    "company_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "branch_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "vehicle_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "fuel_id": {
      "type": "String",
      "required": true,
      "min": 20,
      "max": 20
    },
    "datetime": {
      "type": "DateTime",
      "required": true
    },
    "quantity": {
      "type": "Integer",
      "required": true
    },
    "unit": {
      "name": "RefuelingUnit",
      "type": "Enum",
      "required": true,
      "valids": [
        "Liter",
        "Galon"
      ]
    },
    "is_full_tank": {
      "type": "Boolean",
      "required": true
    },
    "description": {
      "type": "String",
      "required": false
    },
    "refueling_category": {
      "type": "Array",
      "required": true,
      "items": [
        {
          "name": "EntityCategoryInput",
          "type": "Object",
          "required": false,
          "fields": {
            "slot_id": {
              "type": "String",
              "required": true,
              "min": 20,
              "max": 20
            },
            "category_id": {
              "type": "String",
              "required": true,
              "min": 20,
              "max": 20
            }
          }
        }
      ]
    },
    "refueling_field": {
      "type": "Array",
      "required": true,
      "items": [
        {
          "name": "EntityFieldInput",
          "type": "Object",
          "required": false,
          "fields": {
            "slot_id": {
              "type": "String",
              "required": true,
              "min": 20,
              "max": 20
            },
            "field_id": {
              "type": "String",
              "required": true,
              "min": 20,
              "max": 20
            },
            "value": {
              "type": "Any",
              "required": false
            }
          }
        }
      ]
    },
    "refueling_tag": {
      "type": "Array",
      "required": true,
      "items": [
        {
          "name": "EntityTagInput",
          "type": "Object",
          "required": false,
          "fields": {
            "name": {
              "type": "String",
              "required": true,
              "max": 255
            },
            "value": {
              "type": "String",
              "required": false
            }
          }
        }
      ]
    }
  }
}

GeneralLedger

{
  "name": "GeneralLedger",
  "type": "Object",
  "required": true,
  "fields": {
    "currencies": {
      "type": "Array",
      "required": true,
      "items": [
        {
          "name": "GeneralLedgerCurrency",
          "type": "Object",
          "required": true,
          "fields": {
            "id": {
              "type": "String",
              "required": true
            },
            "symbol": {
              "type": "String",
              "required": true
            }
          }
        }
      ]
    },
    "opening": {
      "type": "Array",
      "required": true,
      "items": [
        {
          "name": "GeneralLedgerCurrencyMoney",
          "type": "Object",
          "required": true,
          "fields": {
            "currency_id": {
              "type": "String",
              "required": true
            },
            "debit": {
              "type": "Decimal",
              "required": true,
              "precision": 4
            },
            "credit": {
              "type": "Decimal",
              "required": true,
              "precision": 4
            },
            "balance_debit": {
              "type": "Decimal",
              "required": true,
              "precision": 4
            },
            "balance_credit": {
              "type": "Decimal",
              "required": true,
              "precision": 4
            },
            "balance": {
              "type": "Decimal",
              "required": true,
              "precision": 4
            }
          }
        }
      ]
    },
    "rows": {
      "type": "Array",
      "required": true,
      "items": [
        {
          "name": "GeneralLedgerRow",
          "type": "Object",
          "required": true,
          "fields": {
            "journal_entry_id": {
              "type": "String",
              "required": true
            },
            "journal_entry_date_time": {
              "type": "DateTime",
              "required": true
            },
            "journal_entry_description": {
              "type": "String",
              "required": false
            },
            "journal_entry_finalized": {
              "type": "Boolean",
              "required": true
            },
            "currency_id": {
              "type": "String",
              "required": true
            },
            "currency_symbol": {
              "type": "String",
              "required": true
            },
            "company_id": {
              "type": "String",
              "required": true
            },
            "branch_id": {
              "type": "String",
              "required": true
            },
            "line_id": {
              "type": "String",
              "required": true
            },
            "account_id": {
              "type": "String",
              "required": true
            },
            "party_type_id": {
              "type": "String",
              "required": false
            },
            "party_id": {
              "type": "String",
              "required": false
            },
            "tag_ids": {
              "type": "Array",
              "required": true,
              "items": [
                {
                  "type": "String",
                  "required": true
                }
              ]
            },
            "debit": {
              "type": "Decimal",
              "required": true,
              "precision": 4
            },
            "credit": {
              "type": "Decimal",
              "required": true,
              "precision": 4
            },
            "balances": {
              "type": "Array",
              "required": true,
              "items": [
                {
                  "name": "GeneralLedgerRowBalance",
                  "type": "Object",
                  "required": true,
                  "fields": {
                    "currency_id": {
                      "type": "String",
                      "required": true
                    },
                    "balance_debit": {
                      "type": "Decimal",
                      "required": true,
                      "precision": 4
                    },
                    "balance_credit": {
                      "type": "Decimal",
                      "required": true,
                      "precision": 4
                    },
                    "balance": {
                      "type": "Decimal",
                      "required": true,
                      "precision": 4
                    }
                  }
                }
              ]
            },
            "marked": {
              "type": "Boolean",
              "required": true
            },
            "checked": {
              "type": "Boolean",
              "required": true
            }
          }
        }
      ]
    },
    "period": {
      "type": "Array",
      "required": true,
      "items": [
        {
          "name": "GeneralLedgerCurrencyMoney",
          "type": "Object",
          "required": true,
          "fields": {
            "currency_id": {
              "type": "String",
              "required": true
            },
            "debit": {
              "type": "Decimal",
              "required": true,
              "precision": 4
            },
            "credit": {
              "type": "Decimal",
              "required": true,
              "precision": 4
            },
            "balance_debit": {
              "type": "Decimal",
              "required": true,
              "precision": 4
            },
            "balance_credit": {
              "type": "Decimal",
              "required": true,
              "precision": 4
            },
            "balance": {
              "type": "Decimal",
              "required": true,
              "precision": 4
            }
          }
        }
      ]
    },
    "closing": {
      "type": "Array",
      "required": true,
      "items": [
        {
          "name": "GeneralLedgerCurrencyMoney",
          "type": "Object",
          "required": true,
          "fields": {
            "currency_id": {
              "type": "String",
              "required": true
            },
            "debit": {
              "type": "Decimal",
              "required": true,
              "precision": 4
            },
            "credit": {
              "type": "Decimal",
              "required": true,
              "precision": 4
            },
            "balance_debit": {
              "type": "Decimal",
              "required": true,
              "precision": 4
            },
            "balance_credit": {
              "type": "Decimal",
              "required": true,
              "precision": 4
            },
            "balance": {
              "type": "Decimal",
              "required": true,
              "precision": 4
            }
          }
        }
      ]
    }
  }
}

GeneralLedgerCurrency

{
  "name": "GeneralLedgerCurrency",
  "type": "Object",
  "required": true,
  "fields": {
    "id": {
      "type": "String",
      "required": true
    },
    "symbol": {
      "type": "String",
      "required": true
    }
  }
}

GeneralLedgerCurrencyMoney

{
  "name": "GeneralLedgerCurrencyMoney",
  "type": "Object",
  "required": true,
  "fields": {
    "currency_id": {
      "type": "String",
      "required": true
    },
    "debit": {
      "type": "Decimal",
      "required": true,
      "precision": 4
    },
    "credit": {
      "type": "Decimal",
      "required": true,
      "precision": 4
    },
    "balance_debit": {
      "type": "Decimal",
      "required": true,
      "precision": 4
    },
    "balance_credit": {
      "type": "Decimal",
      "required": true,
      "precision": 4
    },
    "balance": {
      "type": "Decimal",
      "required": true,
      "precision": 4
    }
  }
}

GeneralLedgerRow

{
  "name": "GeneralLedgerRow",
  "type": "Object",
  "required": true,
  "fields": {
    "journal_entry_id": {
      "type": "String",
      "required": true
    },
    "journal_entry_date_time": {
      "type": "DateTime",
      "required": true
    },
    "journal_entry_description": {
      "type": "String",
      "required": false
    },
    "journal_entry_finalized": {
      "type": "Boolean",
      "required": true
    },
    "currency_id": {
      "type": "String",
      "required": true
    },
    "currency_symbol": {
      "type": "String",
      "required": true
    },
    "company_id": {
      "type": "String",
      "required": true
    },
    "branch_id": {
      "type": "String",
      "required": true
    },
    "line_id": {
      "type": "String",
      "required": true
    },
    "account_id": {
      "type": "String",
      "required": true
    },
    "party_type_id": {
      "type": "String",
      "required": false
    },
    "party_id": {
      "type": "String",
      "required": false
    },
    "tag_ids": {
      "type": "Array",
      "required": true,
      "items": [
        {
          "type": "String",
          "required": true
        }
      ]
    },
    "debit": {
      "type": "Decimal",
      "required": true,
      "precision": 4
    },
    "credit": {
      "type": "Decimal",
      "required": true,
      "precision": 4
    },
    "balances": {
      "type": "Array",
      "required": true,
      "items": [
        {
          "name": "GeneralLedgerRowBalance",
          "type": "Object",
          "required": true,
          "fields": {
            "currency_id": {
              "type": "String",
              "required": true
            },
            "balance_debit": {
              "type": "Decimal",
              "required": true,
              "precision": 4
            },
            "balance_credit": {
              "type": "Decimal",
              "required": true,
              "precision": 4
            },
            "balance": {
              "type": "Decimal",
              "required": true,
              "precision": 4
            }
          }
        }
      ]
    },
    "marked": {
      "type": "Boolean",
      "required": true
    },
    "checked": {
      "type": "Boolean",
      "required": true
    }
  }
}

GeneralLedgerRowBalance

{
  "name": "GeneralLedgerRowBalance",
  "type": "Object",
  "required": true,
  "fields": {
    "currency_id": {
      "type": "String",
      "required": true
    },
    "balance_debit": {
      "type": "Decimal",
      "required": true,
      "precision": 4
    },
    "balance_credit": {
      "type": "Decimal",
      "required": true,
      "precision": 4
    },
    "balance": {
      "type": "Decimal",
      "required": true,
      "precision": 4
    }
  }
}

BalanceSheet

{
  "name": "BalanceSheet",
  "type": "Object",
  "required": true,
  "fields": {
    "rows": {
      "type": "Array",
      "required": true,
      "items": [
        {
          "name": "BalanceSheetRow",
          "type": "Object",
          "required": true,
          "fields": {
            "account_id": {
              "type": "String",
              "required": false
            },
            "parent_account_id": {
              "type": "String",
              "required": false
            },
            "account_code": {
              "type": "String",
              "required": false
            },
            "party_type_id": {
              "type": "String",
              "required": false
            },
            "party_id": {
              "type": "String",
              "required": false
            },
            "count": {
              "type": "Integer",
              "required": true
            },
            "min_date_time": {
              "type": "DateTime",
              "required": false
            },
            "max_date_time": {
              "type": "DateTime",
              "required": false
            },
            "debit": {
              "type": "Decimal",
              "required": true,
              "precision": 4
            },
            "credit": {
              "type": "Decimal",
              "required": true,
              "precision": 4
            },
            "balance_debit": {
              "type": "Decimal",
              "required": true,
              "precision": 4
            },
            "balance_credit": {
              "type": "Decimal",
              "required": true,
              "precision": 4
            },
            "currency_id": {
              "type": "String",
              "required": false
            }
          }
        }
      ]
    },
    "total": {
      "name": "BalanceSheetMoney",
      "type": "Object",
      "required": true,
      "fields": {
        "count": {
          "type": "Integer",
          "required": true
        },
        "min_date_time": {
          "type": "DateTime",
          "required": false
        },
        "max_date_time": {
          "type": "DateTime",
          "required": false
        },
        "debit": {
          "type": "Decimal",
          "required": true,
          "precision": 4
        },
        "credit": {
          "type": "Decimal",
          "required": true,
          "precision": 4
        },
        "balance_debit": {
          "type": "Decimal",
          "required": true,
          "precision": 4
        },
        "balance_credit": {
          "type": "Decimal",
          "required": true,
          "precision": 4
        }
      }
    }
  }
}

BalanceSheetRow

{
  "name": "BalanceSheetRow",
  "type": "Object",
  "required": true,
  "fields": {
    "account_id": {
      "type": "String",
      "required": false
    },
    "parent_account_id": {
      "type": "String",
      "required": false
    },
    "account_code": {
      "type": "String",
      "required": false
    },
    "party_type_id": {
      "type": "String",
      "required": false
    },
    "party_id": {
      "type": "String",
      "required": false
    },
    "count": {
      "type": "Integer",
      "required": true
    },
    "min_date_time": {
      "type": "DateTime",
      "required": false
    },
    "max_date_time": {
      "type": "DateTime",
      "required": false
    },
    "debit": {
      "type": "Decimal",
      "required": true,
      "precision": 4
    },
    "credit": {
      "type": "Decimal",
      "required": true,
      "precision": 4
    },
    "balance_debit": {
      "type": "Decimal",
      "required": true,
      "precision": 4
    },
    "balance_credit": {
      "type": "Decimal",
      "required": true,
      "precision": 4
    },
    "currency_id": {
      "type": "String",
      "required": false
    }
  }
}

BalanceSheetMoney

{
  "name": "BalanceSheetMoney",
  "type": "Object",
  "required": true,
  "fields": {
    "count": {
      "type": "Integer",
      "required": true
    },
    "min_date_time": {
      "type": "DateTime",
      "required": false
    },
    "max_date_time": {
      "type": "DateTime",
      "required": false
    },
    "debit": {
      "type": "Decimal",
      "required": true,
      "precision": 4
    },
    "credit": {
      "type": "Decimal",
      "required": true,
      "precision": 4
    },
    "balance_debit": {
      "type": "Decimal",
      "required": true,
      "precision": 4
    },
    "balance_credit": {
      "type": "Decimal",
      "required": true,
      "precision": 4
    }
  }
}

Enums

JournalEntryType

Normal

Opening

Closing

AccountType

Asset

Liability

Equity

Income

Expense

VehicleOdometerUnit

KM

Mile

VehicleTankCapacityUnit

Liter

Galon

MaintenancePlanEveryDistanceUnit

KM

Mile

MaintenancePlanEveryTimeUnit

Day

Week

Month

MaintenancePlanStatus

Ok

Warning

Overdue

ServiceOdometerUnit

KM

Mile

OdometerUnit

KM

Mile

RefuelingUnit

Liter

Galon

RefuelingOdometerUnit

KM

Mile

Namira Software Corporation

©Copyright 2010 to 2026 Namira Software Corporation. All rights reserved.