service backend
All checks were successful
ci/woodpecker/push/db Pipeline was successful
ci/woodpecker/push/nats Pipeline was successful

This commit is contained in:
Stephan D
2025-11-07 18:35:26 +01:00
parent 20e8f9acc4
commit 62a6631b9a
537 changed files with 48453 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
syntax = "proto3";
package common.accounting.v1;
option go_package = "github.com/tech/sendico/pkg/proto/common/accounting/v1;accountingv1";
// Direction on a line; safe to share.
enum EntrySide {
ENTRY_SIDE_UNSPECIFIED = 0;
ENTRY_SIDE_DEBIT = 1;
ENTRY_SIDE_CREDIT = 2;
}
// Generic line semantics used across services for derived lines.
enum PostingLineType {
POSTING_LINE_TYPE_UNSPECIFIED = 0;
POSTING_LINE_FEE = 1;
POSTING_LINE_TAX = 2;
POSTING_LINE_SPREAD = 3;
POSTING_LINE_REVERSAL = 4;
}