1+
2+ export interface BatchStatistics {
3+ batchId : string ;
4+ invalid : number ;
5+ pending : number ;
6+ approve : number ;
7+ publish : number ;
8+ published : number ;
9+ total : number ;
10+ }
11+
12+ export interface FilteringParameters {
13+ transactionTypes : string [ ] ;
14+ from : string ;
15+ to : string ;
16+ accountingPeriodFrom : string ;
17+ accountingPeriodTo : string ;
18+ transactionNumbers : string [ ] ;
19+ }
20+
21+ export interface TransactionItem {
22+ id : string ;
23+ accountDebitCode : string ;
24+ accountDebitName : string ;
25+ accountDebitRefCode : string ;
26+ accountCreditCode : string ;
27+ accountCreditName : string ;
28+ accountCreditRefCode : string ;
29+ amountFcy : number ;
30+ amountLcy : number ;
31+ fxRate : number ;
32+ costCenterCustomerCode : string ;
33+ costCenterName : string ;
34+ parentCostCenterCustomerCode : string ;
35+ parentCostCenterName : string ;
36+ projectCustomerCode : string ;
37+ projectName : string ;
38+ parentProjectCustomerCode : string ;
39+ parentProjectName : string ;
40+ accountEventCode : string ;
41+ accountEventName : string ;
42+ documentNum : string ;
43+ documentCurrencyCustomerCode : string ;
44+ vatCustomerCode : string ;
45+ vatRate : number ;
46+ counterpartyCustomerCode : string ;
47+ counterpartyType : string ;
48+ counterpartyName : string ;
49+ }
50+
51+ export interface Violation {
52+ severity : string ;
53+ source : string ;
54+ transactionItemId : string ;
55+ code : string ;
56+ bag : {
57+ customerCode : string ;
58+ transactionNumber : string ;
59+ } ;
60+ }
61+
62+ export interface Transaction {
63+ id : string ;
64+ internalTransactionNumber : string ;
65+ entryDate : string ;
66+ transactionType : string ;
67+ dataSource : string ;
68+ status : string ;
69+ statistic : string ;
70+ validationStatus : string ;
71+ ledgerDispatchStatus : string ;
72+ transactionApproved : boolean ;
73+ ledgerDispatchApproved : boolean ;
74+ amountTotalLcy : number ;
75+ itemRejection : boolean ;
76+ reconciliationSource : string ;
77+ reconciliationSink : string ;
78+ reconciliationFinalStatus : string ;
79+ reconciliationRejectionCode : string [ ] ;
80+ itemCount : number ;
81+ items : TransactionItem [ ] ;
82+ violations : Violation [ ] ;
83+ }
84+
85+ export interface BatchResponse {
86+ id : string ;
87+ createdAt : string ;
88+ updatedAt : string ;
89+ createdBy : string ;
90+ updateBy : string ;
91+ organisationId : string ;
92+ status : string ;
93+ batchStatistics : BatchStatistics ;
94+ filteringParameters : FilteringParameters ;
95+ transactions : Transaction [ ] ;
96+ details : Record < string , any > ;
97+ totalTransactionsCount : number ;
98+ }
0 commit comments