Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chart of Account Service #6

Closed
jacky-htg opened this issue Aug 7, 2023 · 1 comment · Fixed by #22
Closed

Chart of Account Service #6

jacky-htg opened this issue Aug 7, 2023 · 1 comment · Fixed by #22
Assignees
Labels
enhancement New feature or request

Comments

@jacky-htg
Copy link
Owner

see proto file proto/ledgers/chart_of_account_service.proto

@jacky-htg jacky-htg added the enhancement New feature or request label Aug 7, 2023
@jacky-htg jacky-htg self-assigned this Aug 7, 2023
@jacky-htg
Copy link
Owner Author

message AccountType {
  string id = 1;
  string name = 2;
}

message ChartOfAccount {
  string id = 1;
  string company_id = 2;
  AccountType account_type = 3;
  ChartOfAccount parent = 4;
  string code = 5;
  string name = 6;
  string created_at = 7;
  string created_by = 8;
  string updated_at = 9;
  string updated_by = 10;
}

message ChartOfAccounts {
  repeated ChartOfAccount chart_of_account = 1;
}
service ChartOfAccountService {
  rpc Create(ChartOfAccount) returns (ChartOfAccount) {}
  rpc Update(ChartOfAccount) returns (ChartOfAccount) {}
  rpc List(EmptyMessage) returns (ChartOfAccounts) {}
  rpc Delete(Id) returns (BoolMessage) {}
}

jacky-htg added a commit that referenced this issue Aug 8, 2023
@jacky-htg jacky-htg linked a pull request Aug 8, 2023 that will close this issue
jacky-htg added a commit that referenced this issue Aug 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant