To use this cli, we need to first Install Nodejs, then run the following command.
npm i -g namirasoft-erp-api-v1
Returns the application liveness status
ns-erp health liveness
Returns the application readiness status
ns-erp health readiness
Returns the application metrics
ns-erp metrics get
Returns the value list of a given table and column
ns-erp value list {table} {column} {search} {field_id} {limit}
Returns the row count of every entity across all databases, optionally grouped by workspace_id and filtered to specific workspaces
ns-erp overview count
--group_by_workspace (Boolean)
--workspace_ids (Array)
Returns the currency category list
ns-erp currencycategory list {filters} {page} {size} {sorts} {all_workspaces}
Returns a currency category by id.
ns-erp currencycategory get {id}
Creates a new currency category for an entity
ns-erp currencycategory create
--slot_id (String)
--category_id (String)
Deletes a currency category by an id.
ns-erp currencycategory delete {id}
Returns the currency field list
ns-erp currencyfield list {filters} {page} {size} {sorts} {all_workspaces}
Returns a currency field by id.
ns-erp currencyfield get {id}
Creates a new currency field for an entity
ns-erp currencyfield create
--slot_id (String)
--field_id (String)
--value (Any)
Updates a currency field by an id for an entity
ns-erp currencyfield update {id}
--slot_id (String)
--field_id (String)
--value (Any)
Deletes a currency field by an id.
ns-erp currencyfield delete {id}
Returns the currency tag list
ns-erp currencytag list {filters} {page} {size} {sorts} {all_workspaces}
Returns a currency tag by id.
ns-erp currencytag get {id}
Creates a new currency tag for an entity
ns-erp currencytag create
--name (String)
--value (String)
Updates a currency tag by an id for an entity
ns-erp currencytag update {id}
--name (String)
--value (String)
Deletes a currency tag by an id.
ns-erp currencytag delete {id}
Returns the currency exchange category list
ns-erp currencyexchangecategory list {filters} {page} {size} {sorts} {all_workspaces}
Returns a currency exchange category by id.
ns-erp currencyexchangecategory get {id}
Creates a new currency exchange category for an entity
ns-erp currencyexchangecategory create
--slot_id (String)
--category_id (String)
Deletes a currency exchange category by an id.
ns-erp currencyexchangecategory delete {id}
Returns the currency exchange field list
ns-erp currencyexchangefield list {filters} {page} {size} {sorts} {all_workspaces}
Returns a currency exchange field by id.
ns-erp currencyexchangefield get {id}
Creates a new currency exchange field for an entity
ns-erp currencyexchangefield create
--slot_id (String)
--field_id (String)
--value (Any)
Updates a currency exchange field by an id for an entity
ns-erp currencyexchangefield update {id}
--slot_id (String)
--field_id (String)
--value (Any)
Deletes a currency exchange field by an id.
ns-erp currencyexchangefield delete {id}
Returns the currency exchange tag list
ns-erp currencyexchangetag list {filters} {page} {size} {sorts} {all_workspaces}
Returns a currency exchange tag by id.
ns-erp currencyexchangetag get {id}
Creates a new currency exchange tag for an entity
ns-erp currencyexchangetag create
--name (String)
--value (String)
Updates a currency exchange tag by an id for an entity
ns-erp currencyexchangetag update {id}
--name (String)
--value (String)
Deletes a currency exchange tag by an id.
ns-erp currencyexchangetag delete {id}
Returns the company category list
ns-erp companycategory list {filters} {page} {size} {sorts} {all_workspaces}
Returns a company category by id.
ns-erp companycategory get {id}
Creates a new company category for an entity
ns-erp companycategory create
--slot_id (String)
--category_id (String)
Deletes a company category by an id.
ns-erp companycategory delete {id}
Returns the company field list
ns-erp companyfield list {filters} {page} {size} {sorts} {all_workspaces}
Returns a company field by id.
ns-erp companyfield get {id}
Creates a new company field for an entity
ns-erp companyfield create
--slot_id (String)
--field_id (String)
--value (Any)
Updates a company field by an id for an entity
ns-erp companyfield update {id}
--slot_id (String)
--field_id (String)
--value (Any)
Deletes a company field by an id.
ns-erp companyfield delete {id}
Returns the company tag list
ns-erp companytag list {filters} {page} {size} {sorts} {all_workspaces}
Returns a company tag by id.
ns-erp companytag get {id}
Creates a new company tag for an entity
ns-erp companytag create
--name (String)
--value (String)
Updates a company tag by an id for an entity
ns-erp companytag update {id}
--name (String)
--value (String)
Deletes a company tag by an id.
ns-erp companytag delete {id}
Returns the branch category list
ns-erp branchcategory list {filters} {page} {size} {sorts} {all_workspaces}
Returns a branch category by id.
ns-erp branchcategory get {id}
Creates a new branch category for an entity
ns-erp branchcategory create
--slot_id (String)
--category_id (String)
Deletes a branch category by an id.
ns-erp branchcategory delete {id}
Returns the branch field list
ns-erp branchfield list {filters} {page} {size} {sorts} {all_workspaces}
Returns a branch field by id.
ns-erp branchfield get {id}
Creates a new branch field for an entity
ns-erp branchfield create
--slot_id (String)
--field_id (String)
--value (Any)
Updates a branch field by an id for an entity
ns-erp branchfield update {id}
--slot_id (String)
--field_id (String)
--value (Any)
Deletes a branch field by an id.
ns-erp branchfield delete {id}
Returns the branch tag list
ns-erp branchtag list {filters} {page} {size} {sorts} {all_workspaces}
Returns a branch tag by id.
ns-erp branchtag get {id}
Creates a new branch tag for an entity
ns-erp branchtag create
--name (String)
--value (String)
Updates a branch tag by an id for an entity
ns-erp branchtag update {id}
--name (String)
--value (String)
Deletes a branch tag by an id.
ns-erp branchtag delete {id}
Returns the fiscal year category list
ns-erp fiscalyearcategory list {filters} {page} {size} {sorts} {all_workspaces}
Returns a fiscal year category by id.
ns-erp fiscalyearcategory get {id}
Creates a new fiscal year category for an entity
ns-erp fiscalyearcategory create
--slot_id (String)
--category_id (String)
Deletes a fiscal year category by an id.
ns-erp fiscalyearcategory delete {id}
Returns the fiscal year field list
ns-erp fiscalyearfield list {filters} {page} {size} {sorts} {all_workspaces}
Returns a fiscal year field by id.
ns-erp fiscalyearfield get {id}
Creates a new fiscal year field for an entity
ns-erp fiscalyearfield create
--slot_id (String)
--field_id (String)
--value (Any)
Updates a fiscal year field by an id for an entity
ns-erp fiscalyearfield update {id}
--slot_id (String)
--field_id (String)
--value (Any)
Deletes a fiscal year field by an id.
ns-erp fiscalyearfield delete {id}
Returns the fiscal year tag list
ns-erp fiscalyeartag list {filters} {page} {size} {sorts} {all_workspaces}
Returns a fiscal year tag by id.
ns-erp fiscalyeartag get {id}
Creates a new fiscal year tag for an entity
ns-erp fiscalyeartag create
--name (String)
--value (String)
Updates a fiscal year tag by an id for an entity
ns-erp fiscalyeartag update {id}
--name (String)
--value (String)
Deletes a fiscal year tag by an id.
ns-erp fiscalyeartag delete {id}
Returns the account category list
ns-erp accountcategory list {filters} {page} {size} {sorts} {all_workspaces}
Returns a account category by id.
ns-erp accountcategory get {id}
Creates a new account category for an entity
ns-erp accountcategory create
--slot_id (String)
--category_id (String)
Deletes a account category by an id.
ns-erp accountcategory delete {id}
Returns the account field list
ns-erp accountfield list {filters} {page} {size} {sorts} {all_workspaces}
Returns a account field by id.
ns-erp accountfield get {id}
Creates a new account field for an entity
ns-erp accountfield create
--slot_id (String)
--field_id (String)
--value (Any)
Updates a account field by an id for an entity
ns-erp accountfield update {id}
--slot_id (String)
--field_id (String)
--value (Any)
Deletes a account field by an id.
ns-erp accountfield delete {id}
Returns the account tag list
ns-erp accounttag list {filters} {page} {size} {sorts} {all_workspaces}
Returns a account tag by id.
ns-erp accounttag get {id}
Creates a new account tag for an entity
ns-erp accounttag create
--name (String)
--value (String)
Updates a account tag by an id for an entity
ns-erp accounttag update {id}
--name (String)
--value (String)
Deletes a account tag by an id.
ns-erp accounttag delete {id}
Returns the party type category list
ns-erp partytypecategory list {filters} {page} {size} {sorts} {all_workspaces}
Returns a party type category by id.
ns-erp partytypecategory get {id}
Creates a new party type category for an entity
ns-erp partytypecategory create
--slot_id (String)
--category_id (String)
Deletes a party type category by an id.
ns-erp partytypecategory delete {id}
Returns the party type field list
ns-erp partytypefield list {filters} {page} {size} {sorts} {all_workspaces}
Returns a party type field by id.
ns-erp partytypefield get {id}
Creates a new party type field for an entity
ns-erp partytypefield create
--slot_id (String)
--field_id (String)
--value (Any)
Updates a party type field by an id for an entity
ns-erp partytypefield update {id}
--slot_id (String)
--field_id (String)
--value (Any)
Deletes a party type field by an id.
ns-erp partytypefield delete {id}
Returns the party type tag list
ns-erp partytypetag list {filters} {page} {size} {sorts} {all_workspaces}
Returns a party type tag by id.
ns-erp partytypetag get {id}
Creates a new party type tag for an entity
ns-erp partytypetag create
--name (String)
--value (String)
Updates a party type tag by an id for an entity
ns-erp partytypetag update {id}
--name (String)
--value (String)
Deletes a party type tag by an id.
ns-erp partytypetag delete {id}
Returns the party category list
ns-erp partycategory list {filters} {page} {size} {sorts} {all_workspaces}
Returns a party category by id.
ns-erp partycategory get {id}
Creates a new party category for an entity
ns-erp partycategory create
--slot_id (String)
--category_id (String)
Deletes a party category by an id.
ns-erp partycategory delete {id}
Returns the party field list
ns-erp partyfield list {filters} {page} {size} {sorts} {all_workspaces}
Returns a party field by id.
ns-erp partyfield get {id}
Creates a new party field for an entity
ns-erp partyfield create
--slot_id (String)
--field_id (String)
--value (Any)
Updates a party field by an id for an entity
ns-erp partyfield update {id}
--slot_id (String)
--field_id (String)
--value (Any)
Deletes a party field by an id.
ns-erp partyfield delete {id}
Returns the party tag list
ns-erp partytag list {filters} {page} {size} {sorts} {all_workspaces}
Returns a party tag by id.
ns-erp partytag get {id}
Creates a new party tag for an entity
ns-erp partytag create
--name (String)
--value (String)
Updates a party tag by an id for an entity
ns-erp partytag update {id}
--name (String)
--value (String)
Deletes a party tag by an id.
ns-erp partytag delete {id}
Returns the tag group category list
ns-erp taggroupcategory list {filters} {page} {size} {sorts} {all_workspaces}
Returns a tag group category by id.
ns-erp taggroupcategory get {id}
Creates a new tag group category for an entity
ns-erp taggroupcategory create
--slot_id (String)
--category_id (String)
Deletes a tag group category by an id.
ns-erp taggroupcategory delete {id}
Returns the tag group field list
ns-erp taggroupfield list {filters} {page} {size} {sorts} {all_workspaces}
Returns a tag group field by id.
ns-erp taggroupfield get {id}
Creates a new tag group field for an entity
ns-erp taggroupfield create
--slot_id (String)
--field_id (String)
--value (Any)
Updates a tag group field by an id for an entity
ns-erp taggroupfield update {id}
--slot_id (String)
--field_id (String)
--value (Any)
Deletes a tag group field by an id.
ns-erp taggroupfield delete {id}
Returns the tag group tag list
ns-erp taggrouptag list {filters} {page} {size} {sorts} {all_workspaces}
Returns a tag group tag by id.
ns-erp taggrouptag get {id}
Creates a new tag group tag for an entity
ns-erp taggrouptag create
--name (String)
--value (String)
Updates a tag group tag by an id for an entity
ns-erp taggrouptag update {id}
--name (String)
--value (String)
Deletes a tag group tag by an id.
ns-erp taggrouptag delete {id}
Returns the tag category list
ns-erp tagcategory list {filters} {page} {size} {sorts} {all_workspaces}
Returns a tag category by id.
ns-erp tagcategory get {id}
Creates a new tag category for an entity
ns-erp tagcategory create
--slot_id (String)
--category_id (String)
Deletes a tag category by an id.
ns-erp tagcategory delete {id}
Returns the tag field list
ns-erp tagfield list {filters} {page} {size} {sorts} {all_workspaces}
Returns a tag field by id.
ns-erp tagfield get {id}
Creates a new tag field for an entity
ns-erp tagfield create
--slot_id (String)
--field_id (String)
--value (Any)
Updates a tag field by an id for an entity
ns-erp tagfield update {id}
--slot_id (String)
--field_id (String)
--value (Any)
Deletes a tag field by an id.
ns-erp tagfield delete {id}
Returns the tag tag list
ns-erp tagtag list {filters} {page} {size} {sorts} {all_workspaces}
Returns a tag tag by id.
ns-erp tagtag get {id}
Creates a new tag tag for an entity
ns-erp tagtag create
--name (String)
--value (String)
Updates a tag tag by an id for an entity
ns-erp tagtag update {id}
--name (String)
--value (String)
Deletes a tag tag by an id.
ns-erp tagtag delete {id}
Returns the journal entry category list
ns-erp journalentrycategory list {filters} {page} {size} {sorts} {all_workspaces}
Returns a journal entry category by id.
ns-erp journalentrycategory get {id}
Creates a new journal entry category for an entity
ns-erp journalentrycategory create
--slot_id (String)
--category_id (String)
Deletes a journal entry category by an id.
ns-erp journalentrycategory delete {id}
Returns the journal entry field list
ns-erp journalentryfield list {filters} {page} {size} {sorts} {all_workspaces}
Returns a journal entry field by id.
ns-erp journalentryfield get {id}
Creates a new journal entry field for an entity
ns-erp journalentryfield create
--slot_id (String)
--field_id (String)
--value (Any)
Updates a journal entry field by an id for an entity
ns-erp journalentryfield update {id}
--slot_id (String)
--field_id (String)
--value (Any)
Deletes a journal entry field by an id.
ns-erp journalentryfield delete {id}
Returns the journal entry tag list
ns-erp journalentrytag list {filters} {page} {size} {sorts} {all_workspaces}
Returns a journal entry tag by id.
ns-erp journalentrytag get {id}
Creates a new journal entry tag for an entity
ns-erp journalentrytag create
--name (String)
--value (String)
Updates a journal entry tag by an id for an entity
ns-erp journalentrytag update {id}
--name (String)
--value (String)
Deletes a journal entry tag by an id.
ns-erp journalentrytag delete {id}
Returns the lock category list
ns-erp lockcategory list {filters} {page} {size} {sorts} {all_workspaces}
Returns a lock category by id.
ns-erp lockcategory get {id}
Creates a new lock category for an entity
ns-erp lockcategory create
--slot_id (String)
--category_id (String)
Deletes a lock category by an id.
ns-erp lockcategory delete {id}
Returns the lock field list
ns-erp lockfield list {filters} {page} {size} {sorts} {all_workspaces}
Returns a lock field by id.
ns-erp lockfield get {id}
Creates a new lock field for an entity
ns-erp lockfield create
--slot_id (String)
--field_id (String)
--value (Any)
Updates a lock field by an id for an entity
ns-erp lockfield update {id}
--slot_id (String)
--field_id (String)
--value (Any)
Deletes a lock field by an id.
ns-erp lockfield delete {id}
Returns the lock tag list
ns-erp locktag list {filters} {page} {size} {sorts} {all_workspaces}
Returns a lock tag by id.
ns-erp locktag get {id}
Creates a new lock tag for an entity
ns-erp locktag create
--name (String)
--value (String)
Updates a lock tag by an id for an entity
ns-erp locktag update {id}
--name (String)
--value (String)
Deletes a lock tag by an id.
ns-erp locktag delete {id}
Returns the vehicle category list
ns-erp vehiclecategory list {filters} {page} {size} {sorts} {all_workspaces}
Returns a vehicle category by id.
ns-erp vehiclecategory get {id}
Creates a new vehicle category for an entity
ns-erp vehiclecategory create
--slot_id (String)
--category_id (String)
Deletes a vehicle category by an id.
ns-erp vehiclecategory delete {id}
Returns the vehicle field list
ns-erp vehiclefield list {filters} {page} {size} {sorts} {all_workspaces}
Returns a vehicle field by id.
ns-erp vehiclefield get {id}
Creates a new vehicle field for an entity
ns-erp vehiclefield create
--slot_id (String)
--field_id (String)
--value (Any)
Updates a vehicle field by an id for an entity
ns-erp vehiclefield update {id}
--slot_id (String)
--field_id (String)
--value (Any)
Deletes a vehicle field by an id.
ns-erp vehiclefield delete {id}
Returns the vehicle tag list
ns-erp vehicletag list {filters} {page} {size} {sorts} {all_workspaces}
Returns a vehicle tag by id.
ns-erp vehicletag get {id}
Creates a new vehicle tag for an entity
ns-erp vehicletag create
--name (String)
--value (String)
Updates a vehicle tag by an id for an entity
ns-erp vehicletag update {id}
--name (String)
--value (String)
Deletes a vehicle tag by an id.
ns-erp vehicletag delete {id}
Returns the service type category list
ns-erp servicetypecategory list {filters} {page} {size} {sorts} {all_workspaces}
Returns a service type category by id.
ns-erp servicetypecategory get {id}
Creates a new service type category for an entity
ns-erp servicetypecategory create
--slot_id (String)
--category_id (String)
Deletes a service type category by an id.
ns-erp servicetypecategory delete {id}
Returns the service type field list
ns-erp servicetypefield list {filters} {page} {size} {sorts} {all_workspaces}
Returns a service type field by id.
ns-erp servicetypefield get {id}
Creates a new service type field for an entity
ns-erp servicetypefield create
--slot_id (String)
--field_id (String)
--value (Any)
Updates a service type field by an id for an entity
ns-erp servicetypefield update {id}
--slot_id (String)
--field_id (String)
--value (Any)
Deletes a service type field by an id.
ns-erp servicetypefield delete {id}
Returns the service type tag list
ns-erp servicetypetag list {filters} {page} {size} {sorts} {all_workspaces}
Returns a service type tag by id.
ns-erp servicetypetag get {id}
Creates a new service type tag for an entity
ns-erp servicetypetag create
--name (String)
--value (String)
Updates a service type tag by an id for an entity
ns-erp servicetypetag update {id}
--name (String)
--value (String)
Deletes a service type tag by an id.
ns-erp servicetypetag delete {id}
Returns the maintenance plan category list
ns-erp maintenanceplancategory list {filters} {page} {size} {sorts} {all_workspaces}
Returns a maintenance plan category by id.
ns-erp maintenanceplancategory get {id}
Creates a new maintenance plan category for an entity
ns-erp maintenanceplancategory create
--slot_id (String)
--category_id (String)
Deletes a maintenance plan category by an id.
ns-erp maintenanceplancategory delete {id}
Returns the maintenance plan field list
ns-erp maintenanceplanfield list {filters} {page} {size} {sorts} {all_workspaces}
Returns a maintenance plan field by id.
ns-erp maintenanceplanfield get {id}
Creates a new maintenance plan field for an entity
ns-erp maintenanceplanfield create
--slot_id (String)
--field_id (String)
--value (Any)
Updates a maintenance plan field by an id for an entity
ns-erp maintenanceplanfield update {id}
--slot_id (String)
--field_id (String)
--value (Any)
Deletes a maintenance plan field by an id.
ns-erp maintenanceplanfield delete {id}
Returns the maintenance plan tag list
ns-erp maintenanceplantag list {filters} {page} {size} {sorts} {all_workspaces}
Returns a maintenance plan tag by id.
ns-erp maintenanceplantag get {id}
Creates a new maintenance plan tag for an entity
ns-erp maintenanceplantag create
--name (String)
--value (String)
Updates a maintenance plan tag by an id for an entity
ns-erp maintenanceplantag update {id}
--name (String)
--value (String)
Deletes a maintenance plan tag by an id.
ns-erp maintenanceplantag delete {id}
Returns the service category list
ns-erp servicecategory list {filters} {page} {size} {sorts} {all_workspaces}
Returns a service category by id.
ns-erp servicecategory get {id}
Creates a new service category for an entity
ns-erp servicecategory create
--slot_id (String)
--category_id (String)
Deletes a service category by an id.
ns-erp servicecategory delete {id}
Returns the service field list
ns-erp servicefield list {filters} {page} {size} {sorts} {all_workspaces}
Returns a service field by id.
ns-erp servicefield get {id}
Creates a new service field for an entity
ns-erp servicefield create
--slot_id (String)
--field_id (String)
--value (Any)
Updates a service field by an id for an entity
ns-erp servicefield update {id}
--slot_id (String)
--field_id (String)
--value (Any)
Deletes a service field by an id.
ns-erp servicefield delete {id}
Returns the service tag list
ns-erp servicetag list {filters} {page} {size} {sorts} {all_workspaces}
Returns a service tag by id.
ns-erp servicetag get {id}
Creates a new service tag for an entity
ns-erp servicetag create
--name (String)
--value (String)
Updates a service tag by an id for an entity
ns-erp servicetag update {id}
--name (String)
--value (String)
Deletes a service tag by an id.
ns-erp servicetag delete {id}
Returns the odometer category list
ns-erp odometercategory list {filters} {page} {size} {sorts} {all_workspaces}
Returns a odometer category by id.
ns-erp odometercategory get {id}
Creates a new odometer category for an entity
ns-erp odometercategory create
--slot_id (String)
--category_id (String)
Deletes a odometer category by an id.
ns-erp odometercategory delete {id}
Returns the odometer field list
ns-erp odometerfield list {filters} {page} {size} {sorts} {all_workspaces}
Returns a odometer field by id.
ns-erp odometerfield get {id}
Creates a new odometer field for an entity
ns-erp odometerfield create
--slot_id (String)
--field_id (String)
--value (Any)
Updates a odometer field by an id for an entity
ns-erp odometerfield update {id}
--slot_id (String)
--field_id (String)
--value (Any)
Deletes a odometer field by an id.
ns-erp odometerfield delete {id}
Returns the odometer tag list
ns-erp odometertag list {filters} {page} {size} {sorts} {all_workspaces}
Returns a odometer tag by id.
ns-erp odometertag get {id}
Creates a new odometer tag for an entity
ns-erp odometertag create
--name (String)
--value (String)
Updates a odometer tag by an id for an entity
ns-erp odometertag update {id}
--name (String)
--value (String)
Deletes a odometer tag by an id.
ns-erp odometertag delete {id}
Returns the fuel category list
ns-erp fuelcategory list {filters} {page} {size} {sorts} {all_workspaces}
Returns a fuel category by id.
ns-erp fuelcategory get {id}
Creates a new fuel category for an entity
ns-erp fuelcategory create
--slot_id (String)
--category_id (String)
Deletes a fuel category by an id.
ns-erp fuelcategory delete {id}
Returns the fuel field list
ns-erp fuelfield list {filters} {page} {size} {sorts} {all_workspaces}
Returns a fuel field by id.
ns-erp fuelfield get {id}
Creates a new fuel field for an entity
ns-erp fuelfield create
--slot_id (String)
--field_id (String)
--value (Any)
Updates a fuel field by an id for an entity
ns-erp fuelfield update {id}
--slot_id (String)
--field_id (String)
--value (Any)
Deletes a fuel field by an id.
ns-erp fuelfield delete {id}
Returns the fuel tag list
ns-erp fueltag list {filters} {page} {size} {sorts} {all_workspaces}
Returns a fuel tag by id.
ns-erp fueltag get {id}
Creates a new fuel tag for an entity
ns-erp fueltag create
--name (String)
--value (String)
Updates a fuel tag by an id for an entity
ns-erp fueltag update {id}
--name (String)
--value (String)
Deletes a fuel tag by an id.
ns-erp fueltag delete {id}
Returns the refueling category list
ns-erp refuelingcategory list {filters} {page} {size} {sorts} {all_workspaces}
Returns a refueling category by id.
ns-erp refuelingcategory get {id}
Creates a new refueling category for an entity
ns-erp refuelingcategory create
--slot_id (String)
--category_id (String)
Deletes a refueling category by an id.
ns-erp refuelingcategory delete {id}
Returns the refueling field list
ns-erp refuelingfield list {filters} {page} {size} {sorts} {all_workspaces}
Returns a refueling field by id.
ns-erp refuelingfield get {id}
Creates a new refueling field for an entity
ns-erp refuelingfield create
--slot_id (String)
--field_id (String)
--value (Any)
Updates a refueling field by an id for an entity
ns-erp refuelingfield update {id}
--slot_id (String)
--field_id (String)
--value (Any)
Deletes a refueling field by an id.
ns-erp refuelingfield delete {id}
Returns the refueling tag list
ns-erp refuelingtag list {filters} {page} {size} {sorts} {all_workspaces}
Returns a refueling tag by id.
ns-erp refuelingtag get {id}
Creates a new refueling tag for an entity
ns-erp refuelingtag create
--name (String)
--value (String)
Updates a refueling tag by an id for an entity
ns-erp refuelingtag update {id}
--name (String)
--value (String)
Deletes a refueling tag by an id.
ns-erp refuelingtag delete {id}
Returns the currency list
ns-erp currency list {filters} {page} {size} {sorts} {all_workspaces}
Returns a currency by an id
ns-erp currency get {id}
Creates a new currency
ns-erp currency create
--name (String)
--fraction_name (String)
--fraction_value (Integer)
--symbol (String)
--enabled (Boolean)
--description (String)
--currency_category (Array)
--currency_field (Array)
--currency_tag (Array)
Updates a currency by an id
ns-erp currency update {id}
--name (String)
--fraction_name (String)
--fraction_value (Integer)
--symbol (String)
--enabled (Boolean)
--description (String)
--currency_category (Array)
--currency_field (Array)
--currency_tag (Array)
Deletes a currency by an id
ns-erp currency delete {id}
Returns the currency exchange list
ns-erp currencyexchange list {filters} {page} {size} {sorts} {all_workspaces}
Returns a currency exchange by an id
ns-erp currencyexchange get {id}
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}
Creates a new currency exchange
ns-erp currencyexchange create
--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)
Updates a currency exchange by an id
ns-erp currencyexchange update {id}
--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)
Deletes a currency exchange by an id
ns-erp currencyexchange delete {id}
Returns the company list
ns-erp company list {filters} {page} {size} {sorts} {all_workspaces}
Returns a company by an id
ns-erp company get {id}
Creates a new company
ns-erp company create
--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)
Updates a company by an id
ns-erp company update {id}
--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)
Deletes a company by an id
ns-erp company delete {id}
Returns the branch list
ns-erp branch list {filters} {page} {size} {sorts} {all_workspaces}
Returns a branch by an id
ns-erp branch get {id}
Creates a new branch
ns-erp branch create
--company_id (String)
--default_currency_id (String)
--name (String)
--country (String)
--enabled (Boolean)
--description (String)
--branch_category (Array)
--branch_field (Array)
--branch_tag (Array)
Updates a branch by an id
ns-erp branch update {id}
--company_id (String)
--default_currency_id (String)
--name (String)
--country (String)
--enabled (Boolean)
--description (String)
--branch_category (Array)
--branch_field (Array)
--branch_tag (Array)
Deletes a branch by an id
ns-erp branch delete {id}
Returns the fiscal year list
ns-erp fiscalyear list {filters} {page} {size} {sorts} {all_workspaces}
Returns a fiscal year by an id
ns-erp fiscalyear get {id}
Creates a new fiscal year
ns-erp fiscalyear create
--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)
Updates a fiscal year by an id
ns-erp fiscalyear update {id}
--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)
Deletes a fiscal year by an id
ns-erp fiscalyear delete {id}
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}
--branch_id (String)
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}
--branch_id (String)
Reverses the opening of a fiscal year by deleting the opening journal entry
ns-erp fiscalyear unopen {id}
--branch_id (String)
Reverses the closing of a fiscal year by deleting the closing journal entry
ns-erp fiscalyear unclose {id}
--branch_id (String)
Returns the account list
ns-erp account list {filters} {page} {size} {sorts} {all_workspaces}
Returns an account by an id
ns-erp account get {id}
Creates a new account
ns-erp account create
--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)
--gifi (String)
--gifi_report_type (Enum)
--gifi_include_closing (Boolean)
--account_category (Array)
--account_field (Array)
--account_tag (Array)
Updates an account by an id
ns-erp account update {id}
--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)
--gifi (String)
--gifi_report_type (Enum)
--gifi_include_closing (Boolean)
--account_category (Array)
--account_field (Array)
--account_tag (Array)
Deletes an account by an id
ns-erp account delete {id}
Returns the party type list
ns-erp partytype list {filters} {page} {size} {sorts} {all_workspaces}
Returns a party type by an id
ns-erp partytype get {id}
Creates a new party type
ns-erp partytype create
--company_id (String)
--branch_id (String)
--name (String)
--enabled (Boolean)
--description (String)
--party_type_category (Array)
--party_type_field (Array)
--party_type_tag (Array)
Updates a party type by an id
ns-erp partytype update {id}
--company_id (String)
--branch_id (String)
--name (String)
--enabled (Boolean)
--description (String)
--party_type_category (Array)
--party_type_field (Array)
--party_type_tag (Array)
Deletes a party type by an id
ns-erp partytype delete {id}
Returns the party list
ns-erp party list {filters} {page} {size} {sorts} {all_workspaces}
Returns a party by an id
ns-erp party get {id}
Creates a new party
ns-erp party create
--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)
Updates a party by an id
ns-erp party update {id}
--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)
Deletes a party by an id
ns-erp party delete {id}
Returns the tag group list
ns-erp taggroup list {filters} {page} {size} {sorts} {all_workspaces}
Returns a tag group by an id
ns-erp taggroup get {id}
Creates a new tag group
ns-erp taggroup create
--company_id (String)
--branch_id (String)
--name (String)
--enabled (Boolean)
--description (String)
--tag_group_category (Array)
--tag_group_field (Array)
--tag_group_tag (Array)
Updates a tag group by an id
ns-erp taggroup update {id}
--company_id (String)
--branch_id (String)
--name (String)
--enabled (Boolean)
--description (String)
--tag_group_category (Array)
--tag_group_field (Array)
--tag_group_tag (Array)
Deletes a tag group by an id
ns-erp taggroup delete {id}
Returns the tag list
ns-erp tag list {filters} {page} {size} {sorts} {all_workspaces}
Returns a tag by an id
ns-erp tag get {id}
Creates a new tag
ns-erp tag create
--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)
Updates a tag by an id
ns-erp tag update {id}
--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)
Deletes a tag by an id
ns-erp tag delete {id}
Returns the journal entry list
ns-erp journalentry list {filters} {page} {size} {sorts} {all_workspaces}
Returns a journal entry by an id
ns-erp journalentry get {id}
Creates a new journal entry
ns-erp journalentry create
--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)
Updates a journal entry by an id
ns-erp journalentry update {id}
--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)
Deletes a journal entry by an id
ns-erp journalentry delete {id}
Sets the finalized flag on a journal entry
ns-erp journalentry setfinalized {id}
--finalized (Boolean)
Approves a request-mode journal entry: 'RequestToAdd' becomes normal, 'RequestToEdit' replaces the referenced entry, 'RequestToDelete' deletes the referenced entry; the request itself is removed afterwards
ns-erp journalentry approve {id}
Rejects (deletes) a request-mode journal entry without touching the referenced journal entry
ns-erp journalentry reject {id}
Sets the marked flag on a journal entry line
ns-erp journalentryline setmarked {journal_entry_id} {journal_entry_line_id}
--marked (Boolean)
Sets the checked flag on a journal entry line
ns-erp journalentryline setchecked {journal_entry_id} {journal_entry_line_id}
--checked (Boolean)
Creates a new journal entry request
ns-erp journalentryrequest create
--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)
Updates a journal entry request by an id
ns-erp journalentryrequest update {id}
--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)
Deletes a journal entry request by an id
ns-erp journalentryrequest delete {id}
Returns the lock list
ns-erp lock list {filters} {page} {size} {sorts} {all_workspaces}
Returns a lock by an id
ns-erp lock get {id}
Creates a new lock
ns-erp lock create
--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)
Updates a lock by an id
ns-erp lock update {id}
--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)
Deletes a lock by an id
ns-erp lock delete {id}
Returns the vehicle list
ns-erp vehicle list {filters} {page} {size} {sorts} {all_workspaces}
Returns a vehicle by an id
ns-erp vehicle get {id}
Creates a new vehicle
ns-erp vehicle create
--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)
Updates a vehicle by an id
ns-erp vehicle update {id}
--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)
Deletes a vehicle by an id
ns-erp vehicle delete {id}
Returns the service type list
ns-erp servicetype list {filters} {page} {size} {sorts} {all_workspaces}
Returns a service type by an id
ns-erp servicetype get {id}
Creates a new service type
ns-erp servicetype create
--company_id (String)
--branch_id (String)
--name (String)
--description (String)
--service_type_category (Array)
--service_type_field (Array)
--service_type_tag (Array)
Updates a service type by an id
ns-erp servicetype update {id}
--company_id (String)
--branch_id (String)
--name (String)
--description (String)
--service_type_category (Array)
--service_type_field (Array)
--service_type_tag (Array)
Deletes a service type by an id
ns-erp servicetype delete {id}
Returns the maintenance plan list
ns-erp maintenanceplan list {filters} {page} {size} {sorts} {all_workspaces}
Returns a maintenance plan by an id
ns-erp maintenanceplan get {id}
Creates a new maintenance plan
ns-erp maintenanceplan create
--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)
Updates a maintenance plan by an id
ns-erp maintenanceplan update {id}
--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)
Deletes a maintenance plan by an id
ns-erp maintenanceplan delete {id}
Returns the service list
ns-erp service list {filters} {page} {size} {sorts} {all_workspaces}
Returns a service by an id
ns-erp service get {id}
Creates a new service
ns-erp service create
--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)
Updates a service by an id
ns-erp service update {id}
--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)
Deletes a service by an id
ns-erp service delete {id}
Returns the odometer list
ns-erp odometer list {filters} {page} {size} {sorts} {all_workspaces}
Returns an odometer by an id
ns-erp odometer get {id}
Creates a new odometer
ns-erp odometer create
--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)
Updates an odometer by an id
ns-erp odometer update {id}
--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)
Deletes an odometer by an id
ns-erp odometer delete {id}
Returns the fuel list
ns-erp fuel list {filters} {page} {size} {sorts} {all_workspaces}
Returns a fuel by an id
ns-erp fuel get {id}
Creates a new fuel
ns-erp fuel create
--company_id (String)
--branch_id (String)
--name (String)
--description (String)
--fuel_category (Array)
--fuel_field (Array)
--fuel_tag (Array)
Updates a fuel by an id
ns-erp fuel update {id}
--company_id (String)
--branch_id (String)
--name (String)
--description (String)
--fuel_category (Array)
--fuel_field (Array)
--fuel_tag (Array)
Deletes a fuel by an id
ns-erp fuel delete {id}
Returns the refueling list
ns-erp refueling list {filters} {page} {size} {sorts} {all_workspaces}
Returns a refueling by an id
ns-erp refueling get {id}
Creates a new refueling
ns-erp refueling create
--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)
Updates a refueling by an id
ns-erp refueling update {id}
--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)
Deletes a refueling by an id
ns-erp refueling delete {id}
Returns the General Ledger report for an account from enabled journal entries (normal mode only unless include_requests is set)
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} {include_requests}
Returns the Balance Sheet report from enabled journal entries (normal mode only unless include_requests is set)
ns-erp report balancesheet {company_id} {branch_id} {fiscal_year_id} {from_date_time} {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} {report_type} {include_requests}
Returns the GIFI Financial Information report aggregated by CRA GIFI code
ns-erp report gifi {company_id} {branch_id} {fiscal_year_id} {from_date_time} {as_of_date_time} {statement_type} {show_zero} {convert_to_branch_currency}
Returns every pending request-mode journal entry with its lines, together with the referenced original journal entry for edit and delete requests
ns-erp report journalentryrequest {company_id} {branch_id} {fiscal_year_id} {date_time_from} {date_time_to} {mode}
Returns the GIFI reference list (CRA RC4088 Appendix A)
ns-erp gifi list {filters} {page} {size} {sorts} {all_workspaces}
Returns a gifi by an id
ns-erp gifi get {id}
{ "name": "OverviewCountInput", "type": "Object", "required": true, "fields": { "group_by_workspace": { "type": "Boolean", "required": false }, "workspace_ids": { "type": "Array", "required": false, "items": [ { "type": "String", "required": true } ] } }}
{ "name": "OverviewCountRow", "type": "Object", "required": true, "fields": { "database": { "type": "String", "required": true }, "table": { "type": "String", "required": true }, "total": { "type": "Integer", "required": true }, "by_workspace": { "type": "Array", "required": false, "items": [ { "name": "OverviewCountByWorkspace", "type": "Object", "required": true, "fields": { "workspace_id": { "type": "String", "required": true }, "count": { "type": "Integer", "required": true } } } ] } }}
{ "name": "OverviewCountByWorkspace", "type": "Object", "required": true, "fields": { "workspace_id": { "type": "String", "required": true }, "count": { "type": "Integer", "required": true } }}
{ "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 } }}
{ "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 } }}
{ "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 } }}
{ "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 } }}
{ "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 } }}
{ "name": "EntityTagInput", "type": "Object", "required": true, "fields": { "name": { "type": "String", "required": true, "max": 255 }, "value": { "type": "String", "required": false } }}
{ "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 } }}
{ "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 } }}
{ "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 } }}
{ "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 } }}
{ "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 } }}
{ "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 } }}
{ "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 } }}
{ "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 } }}
{ "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 } }}
{ "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 } }}
{ "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 } }}
{ "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 } }}
{ "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 } }}
{ "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 } }}
{ "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 } }}
{ "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 } }}
{ "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 } }}
{ "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 } }}
{ "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 } }}
{ "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 } }}
{ "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 } }}
{ "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 } }}
{ "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 } }}
{ "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 } }}
{ "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 } }}
{ "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 } }}
{ "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 } }}
{ "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 } }}
{ "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 } }}
{ "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 } }}
{ "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 } }}
{ "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 } }}
{ "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 } }}
{ "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 } }}
{ "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 } }}
{ "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 } }}
{ "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 } }}
{ "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 } }}
{ "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 } }}
{ "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 } }}
{ "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 } }}
{ "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 } }}
{ "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 } }}
{ "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 } }}
{ "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 } }}
{ "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 } }}
{ "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 } }}
{ "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 } }}
{ "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 } }}
{ "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 } }}
{ "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 } }}
{ "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 } }}
{ "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 } }}
{ "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 } }}
{ "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 } }}
{ "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 } } } ] } }}
{ "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 } }}
{ "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 } } } ] } }}
{ "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 } }}
{ "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 } } } ] } }}
{ "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 } }}
{ "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 } } } ] } }}
{ "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 } }}
{ "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 } } } ] } }}
{ "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 } }}
{ "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 } } } ] } }}
{ "name": "FiscalYearOpenInput", "type": "Object", "required": true, "fields": { "branch_id": { "type": "String", "required": false } }}
{ "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 }, "journal_entry_id_reference": { "type": "String", "required": false, "min": 20, "max": 20 }, "type": { "name": "JournalEntryType", "type": "Enum", "required": true, "valids": [ "Normal", "Opening", "Closing" ] }, "mode": { "name": "JournalEntryMode", "type": "Enum", "required": true, "valids": [ "Normal", "RequestToAdd", "RequestToEdit", "RequestToDelete" ] }, "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 } }}
{ "name": "FiscalYearCloseInput", "type": "Object", "required": true, "fields": { "branch_id": { "type": "String", "required": false } }}
{ "name": "FiscalYearUnopenInput", "type": "Object", "required": true, "fields": { "branch_id": { "type": "String", "required": false } }}
{ "name": "FiscalYearUncloseInput", "type": "Object", "required": true, "fields": { "branch_id": { "type": "String", "required": false } }}
{ "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 }, "gifi": { "type": "String", "required": false, "max": 4 }, "gifi_report_type": { "name": "AccountGifiReportType", "type": "Enum", "required": false, "valids": [ "TotalDebit", "TotalCredit", "BalanceDebit", "BalanceCredit", "BalanceRemained" ] }, "gifi_include_closing": { "type": "Boolean", "required": true }, "created_at": { "type": "DateTime", "required": true }, "updated_at": { "type": "DateTime", "required": true } }}
{ "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 }, "gifi": { "type": "String", "required": false, "max": 4 }, "gifi_report_type": { "name": "AccountGifiReportType", "type": "Enum", "required": false, "valids": [ "TotalDebit", "TotalCredit", "BalanceDebit", "BalanceCredit", "BalanceRemained" ] }, "gifi_include_closing": { "type": "Boolean", "required": true }, "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 } } } ] } }}
{ "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 } }}
{ "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 } } } ] } }}
{ "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 } }}
{ "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 } } } ] } }}
{ "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 } }}
{ "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 } } } ] } }}
{ "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 } }}
{ "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 } } } ] } }}
{ "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 }, "journal_entry_id_reference": { "type": "String", "required": false, "min": 20, "max": 20 }, "type": { "name": "JournalEntryType", "type": "Enum", "required": true, "valids": [ "Normal", "Opening", "Closing" ] }, "mode": { "name": "JournalEntryMode", "type": "Enum", "required": true, "valids": [ "Normal", "RequestToAdd", "RequestToEdit", "RequestToDelete" ] }, "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 }, "reversed": { "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 } } } ] } }}
{ "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 }, "reversed": { "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 } }}
{ "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 } } } ] } }}
{ "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 } }}
{ "name": "JournalEntrySetFinalizedInput", "type": "Object", "required": true, "fields": { "finalized": { "type": "Boolean", "required": false } }}
{ "name": "JournalEntryLineSetMarkedInput", "type": "Object", "required": true, "fields": { "marked": { "type": "Boolean", "required": false } }}
{ "name": "JournalEntryLineSetCheckedInput", "type": "Object", "required": true, "fields": { "checked": { "type": "Boolean", "required": false } }}
{ "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 } }}
{ "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 } } } ] } }}
{ "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 } }}
{ "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 } } } ] } }}
{ "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 } }}
{ "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 } } } ] } }}
{ "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 } }}
{ "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 } } } ] } }}
{ "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 } }}
{ "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 } } } ] } }}
{ "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 } }}
{ "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 } } } ] } }}
{ "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 } }}
{ "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 } } } ] } }}
{ "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 } }}
{ "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 } } } ] } }}
{ "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 }, "journal_entry_mode": { "name": "JournalEntryMode", "type": "Enum", "required": true, "valids": [ "Normal", "RequestToAdd", "RequestToEdit", "RequestToDelete" ] }, "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 } } } ] } }}
{ "name": "GeneralLedgerCurrency", "type": "Object", "required": true, "fields": { "id": { "type": "String", "required": true }, "symbol": { "type": "String", "required": true } }}
{ "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 } }}
{ "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 }, "journal_entry_mode": { "name": "JournalEntryMode", "type": "Enum", "required": true, "valids": [ "Normal", "RequestToAdd", "RequestToEdit", "RequestToDelete" ] }, "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 } }}
{ "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 } }}
{ "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 } } } }}
{ "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 } }}
{ "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 } }}
{ "name": "GifiReport", "type": "Object", "required": true, "fields": { "source_version": { "type": "String", "required": false }, "rows": { "type": "Array", "required": true, "items": [ { "name": "GifiReportRow", "type": "Object", "required": true, "fields": { "gifi": { "type": "String", "required": true }, "gifi_name": { "type": "String", "required": false }, "statement_type": { "type": "String", "required": false }, "category": { "type": "String", "required": false }, "subcategory": { "type": "String", "required": false }, "account_count": { "type": "Integer", "required": true }, "debit": { "type": "Decimal", "required": true, "precision": 4 }, "credit": { "type": "Decimal", "required": true, "precision": 4 }, "balance": { "type": "Decimal", "required": true, "precision": 4 }, "balance_debit": { "type": "Decimal", "required": true, "precision": 4 }, "balance_credit": { "type": "Decimal", "required": true, "precision": 4 }, "accounts": { "type": "Array", "required": true, "items": [ { "name": "GifiReportAccountDetail", "type": "Object", "required": true, "fields": { "account_id": { "type": "String", "required": true }, "account_code": { "type": "String", "required": true }, "account_name": { "type": "String", "required": true }, "account_type": { "type": "String", "required": true }, "parent_account_id": { "type": "String", "required": false }, "gifi": { "type": "String", "required": false }, "debit": { "type": "Decimal", "required": true, "precision": 4 }, "credit": { "type": "Decimal", "required": true, "precision": 4 }, "balance": { "type": "Decimal", "required": true, "precision": 4 }, "balance_debit": { "type": "Decimal", "required": true, "precision": 4 }, "balance_credit": { "type": "Decimal", "required": true, "precision": 4 } } } ] } } } ] }, "unmapped": { "type": "Array", "required": true, "items": [ { "name": "GifiReportAccountDetail", "type": "Object", "required": true, "fields": { "account_id": { "type": "String", "required": true }, "account_code": { "type": "String", "required": true }, "account_name": { "type": "String", "required": true }, "account_type": { "type": "String", "required": true }, "parent_account_id": { "type": "String", "required": false }, "gifi": { "type": "String", "required": false }, "debit": { "type": "Decimal", "required": true, "precision": 4 }, "credit": { "type": "Decimal", "required": true, "precision": 4 }, "balance": { "type": "Decimal", "required": true, "precision": 4 }, "balance_debit": { "type": "Decimal", "required": true, "precision": 4 }, "balance_credit": { "type": "Decimal", "required": true, "precision": 4 } } } ] }, "totals": { "name": "GifiReportTotals", "type": "Object", "required": true, "fields": { "total_mapped_debit": { "type": "Decimal", "required": true, "precision": 4 }, "total_mapped_credit": { "type": "Decimal", "required": true, "precision": 4 }, "total_unmapped_debit": { "type": "Decimal", "required": true, "precision": 4 }, "total_unmapped_credit": { "type": "Decimal", "required": true, "precision": 4 }, "total_debit": { "type": "Decimal", "required": true, "precision": 4 }, "total_credit": { "type": "Decimal", "required": true, "precision": 4 }, "net_balance": { "type": "Decimal", "required": true, "precision": 4 }, "difference": { "type": "Decimal", "required": true, "precision": 4 } } } }}
{ "name": "GifiReportRow", "type": "Object", "required": true, "fields": { "gifi": { "type": "String", "required": true }, "gifi_name": { "type": "String", "required": false }, "statement_type": { "type": "String", "required": false }, "category": { "type": "String", "required": false }, "subcategory": { "type": "String", "required": false }, "account_count": { "type": "Integer", "required": true }, "debit": { "type": "Decimal", "required": true, "precision": 4 }, "credit": { "type": "Decimal", "required": true, "precision": 4 }, "balance": { "type": "Decimal", "required": true, "precision": 4 }, "balance_debit": { "type": "Decimal", "required": true, "precision": 4 }, "balance_credit": { "type": "Decimal", "required": true, "precision": 4 }, "accounts": { "type": "Array", "required": true, "items": [ { "name": "GifiReportAccountDetail", "type": "Object", "required": true, "fields": { "account_id": { "type": "String", "required": true }, "account_code": { "type": "String", "required": true }, "account_name": { "type": "String", "required": true }, "account_type": { "type": "String", "required": true }, "parent_account_id": { "type": "String", "required": false }, "gifi": { "type": "String", "required": false }, "debit": { "type": "Decimal", "required": true, "precision": 4 }, "credit": { "type": "Decimal", "required": true, "precision": 4 }, "balance": { "type": "Decimal", "required": true, "precision": 4 }, "balance_debit": { "type": "Decimal", "required": true, "precision": 4 }, "balance_credit": { "type": "Decimal", "required": true, "precision": 4 } } } ] } }}
{ "name": "GifiReportAccountDetail", "type": "Object", "required": true, "fields": { "account_id": { "type": "String", "required": true }, "account_code": { "type": "String", "required": true }, "account_name": { "type": "String", "required": true }, "account_type": { "type": "String", "required": true }, "parent_account_id": { "type": "String", "required": false }, "gifi": { "type": "String", "required": false }, "debit": { "type": "Decimal", "required": true, "precision": 4 }, "credit": { "type": "Decimal", "required": true, "precision": 4 }, "balance": { "type": "Decimal", "required": true, "precision": 4 }, "balance_debit": { "type": "Decimal", "required": true, "precision": 4 }, "balance_credit": { "type": "Decimal", "required": true, "precision": 4 } }}
{ "name": "GifiReportTotals", "type": "Object", "required": true, "fields": { "total_mapped_debit": { "type": "Decimal", "required": true, "precision": 4 }, "total_mapped_credit": { "type": "Decimal", "required": true, "precision": 4 }, "total_unmapped_debit": { "type": "Decimal", "required": true, "precision": 4 }, "total_unmapped_credit": { "type": "Decimal", "required": true, "precision": 4 }, "total_debit": { "type": "Decimal", "required": true, "precision": 4 }, "total_credit": { "type": "Decimal", "required": true, "precision": 4 }, "net_balance": { "type": "Decimal", "required": true, "precision": 4 }, "difference": { "type": "Decimal", "required": true, "precision": 4 } }}
{ "name": "JournalEntryRequestReport", "type": "Object", "required": true, "fields": { "rows": { "type": "Array", "required": true, "items": [ { "name": "JournalEntryRequestReportRow", "type": "Object", "required": true, "fields": { "journal_entry": { "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 }, "journal_entry_id_reference": { "type": "String", "required": false, "min": 20, "max": 20 }, "type": { "name": "JournalEntryType", "type": "Enum", "required": true, "valids": [ "Normal", "Opening", "Closing" ] }, "mode": { "name": "JournalEntryMode", "type": "Enum", "required": true, "valids": [ "Normal", "RequestToAdd", "RequestToEdit", "RequestToDelete" ] }, "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 }, "reversed": { "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 } } } ] } } }, "reference_journal_entry": { "name": "JournalEntryFull", "type": "Object", "required": false, "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 }, "journal_entry_id_reference": { "type": "String", "required": false, "min": 20, "max": 20 }, "type": { "name": "JournalEntryType", "type": "Enum", "required": true, "valids": [ "Normal", "Opening", "Closing" ] }, "mode": { "name": "JournalEntryMode", "type": "Enum", "required": true, "valids": [ "Normal", "RequestToAdd", "RequestToEdit", "RequestToDelete" ] }, "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 }, "reversed": { "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 } } } ] } } } } } ] }, "count": { "type": "Integer", "required": true } }}
{ "name": "JournalEntryRequestReportRow", "type": "Object", "required": true, "fields": { "journal_entry": { "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 }, "journal_entry_id_reference": { "type": "String", "required": false, "min": 20, "max": 20 }, "type": { "name": "JournalEntryType", "type": "Enum", "required": true, "valids": [ "Normal", "Opening", "Closing" ] }, "mode": { "name": "JournalEntryMode", "type": "Enum", "required": true, "valids": [ "Normal", "RequestToAdd", "RequestToEdit", "RequestToDelete" ] }, "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 }, "reversed": { "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 } } } ] } } }, "reference_journal_entry": { "name": "JournalEntryFull", "type": "Object", "required": false, "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 }, "journal_entry_id_reference": { "type": "String", "required": false, "min": 20, "max": 20 }, "type": { "name": "JournalEntryType", "type": "Enum", "required": true, "valids": [ "Normal", "Opening", "Closing" ] }, "mode": { "name": "JournalEntryMode", "type": "Enum", "required": true, "valids": [ "Normal", "RequestToAdd", "RequestToEdit", "RequestToDelete" ] }, "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 }, "reversed": { "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 } } } ] } } } }}
{ "name": "Gifi", "type": "Object", "required": true, "fields": { "id": { "type": "String", "required": true, "max": 4 }, "name": { "type": "String", "required": true, "max": 255 }, "description": { "type": "String", "required": false }, "statement_type": { "name": "GifiStatementType", "type": "Enum", "required": true, "valids": [ "BalanceSheet", "IncomeStatement", "RetainedEarnings", "Other" ] }, "category": { "type": "String", "required": false, "max": 255 }, "subcategory": { "type": "String", "required": false, "max": 255 }, "parent_id": { "type": "String", "required": false, "max": 4 }, "is_total": { "type": "Boolean", "required": true }, "is_generic": { "type": "Boolean", "required": true }, "applicable_to_corporation": { "type": "Boolean", "required": true }, "applicable_to_partnership": { "type": "Boolean", "required": true }, "active": { "type": "Boolean", "required": true }, "source_version": { "type": "String", "required": true, "max": 255 }, "created_at": { "type": "DateTime", "required": true }, "updated_at": { "type": "DateTime", "required": true } }}
Normal
Opening
Closing
Normal
RequestToAdd
RequestToEdit
RequestToDelete
Asset
Liability
Equity
Income
Expense
TotalDebit
TotalCredit
BalanceDebit
BalanceCredit
BalanceRemained
KM
Mile
Liter
Galon
KM
Mile
Day
Week
Month
Ok
Warning
Overdue
KM
Mile
KM
Mile
Liter
Galon
KM
Mile
TrialBalance
BalanceSheet
BalanceSheet
IncomeStatement
RetainedEarnings
Other
©Copyright 2010 to 2026 Namira Software Corporation. All rights reserved.