20 lines
566 B
Protocol Buffer
20 lines
566 B
Protocol Buffer
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;
|
|
}
|