@chift/chift-nodejs 1.0.26 → 1.0.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/src/modules/accounting.d.ts +8 -0
- package/dist/src/modules/accounting.js +41 -0
- package/dist/src/modules/api.d.ts +2238 -83
- package/dist/src/modules/api.js +2 -0
- package/dist/src/modules/banking.d.ts +3 -1
- package/dist/src/modules/banking.js +10 -2
- package/dist/src/modules/consumer.d.ts +426 -15
- package/dist/src/modules/consumer.js +5 -0
- package/dist/src/modules/consumers.d.ts +2154 -84
- package/dist/src/modules/integrations.d.ts +5 -0
- package/dist/src/modules/internalApi.d.ts +4 -4
- package/dist/src/modules/issues.d.ts +68 -0
- package/dist/src/modules/issues.js +33 -0
- package/dist/src/modules/pms.d.ts +3 -0
- package/dist/src/modules/pms.js +15 -0
- package/dist/src/modules/sync.d.ts +1723 -67
- package/dist/src/modules/syncs.d.ts +0 -1
- package/dist/src/modules/syncs.js +0 -5
- package/dist/src/types/public-api/mappings.d.ts +21 -3
- package/dist/src/types/public-api/schema.d.ts +2441 -762
- package/dist/test/modules/banking.test.js +3 -1
- package/dist/test/modules/consumer.test.js +1 -1
- package/dist/test/modules/raw-data.test.js +6 -4
- package/package.json +1 -1
- package/src/types/public-api/schema.d.ts +2441 -762
|
@@ -47,7 +47,8 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
47
47
|
value: string;
|
|
48
48
|
}[] | null | undefined;
|
|
49
49
|
country?: string | null | undefined;
|
|
50
|
-
|
|
50
|
+
redirect: boolean | null;
|
|
51
|
+
} | null | undefined) => Promise<{
|
|
51
52
|
url: string;
|
|
52
53
|
}>;
|
|
53
54
|
updateConnection: (connectionId: string, body?: {
|
|
@@ -66,6 +67,15 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
66
67
|
};
|
|
67
68
|
content?: undefined;
|
|
68
69
|
}>;
|
|
70
|
+
getTransactionByClientRequestId: (connectionId: string, params: {
|
|
71
|
+
client_request_id: string;
|
|
72
|
+
}) => Promise<{
|
|
73
|
+
created_on: string;
|
|
74
|
+
method: "GET" | "DELETE" | "HEAD" | "OPTIONS" | "POST" | "PUT" | "PATCH";
|
|
75
|
+
route: string;
|
|
76
|
+
status_code: number;
|
|
77
|
+
created_entity_id?: string | null | undefined;
|
|
78
|
+
}>;
|
|
69
79
|
enableFlow: (syncId: string, flowId: string, body: {
|
|
70
80
|
integrationids: string[];
|
|
71
81
|
triggerid: string | null;
|
|
@@ -122,6 +132,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
122
132
|
total_refund: number | null;
|
|
123
133
|
total_tip: number | null;
|
|
124
134
|
delivery_fee: number | null;
|
|
135
|
+
mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
|
|
125
136
|
currency?: string | null | undefined;
|
|
126
137
|
country?: string | null | undefined;
|
|
127
138
|
loyalty?: number | null | undefined;
|
|
@@ -200,6 +211,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
200
211
|
total_refund: number | null;
|
|
201
212
|
total_tip: number | null;
|
|
202
213
|
delivery_fee: number | null;
|
|
214
|
+
mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
|
|
203
215
|
currency?: string | null | undefined;
|
|
204
216
|
country?: string | null | undefined;
|
|
205
217
|
loyalty?: number | null | undefined;
|
|
@@ -388,6 +400,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
388
400
|
total_refund: number | null;
|
|
389
401
|
total_tip: number | null;
|
|
390
402
|
delivery_fee: number | null;
|
|
403
|
+
mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
|
|
391
404
|
currency?: string | null | undefined;
|
|
392
405
|
country?: string | null | undefined;
|
|
393
406
|
loyalty?: number | null | undefined;
|
|
@@ -492,6 +505,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
492
505
|
total_refund: number | null;
|
|
493
506
|
total_tip: number | null;
|
|
494
507
|
delivery_fee: number | null;
|
|
508
|
+
mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
|
|
495
509
|
currency?: string | null | undefined;
|
|
496
510
|
country?: string | null | undefined;
|
|
497
511
|
loyalty?: number | null | undefined;
|
|
@@ -671,6 +685,30 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
671
685
|
country?: string | null | undefined;
|
|
672
686
|
}[] | null | undefined;
|
|
673
687
|
}[]>;
|
|
688
|
+
getCustomer(customerId: string, rawData?: boolean | undefined): import("../types/api").RequestData<{
|
|
689
|
+
id: string;
|
|
690
|
+
source_ref: {
|
|
691
|
+
id?: string | null | undefined;
|
|
692
|
+
model?: string | null | undefined;
|
|
693
|
+
};
|
|
694
|
+
first_name?: string | null | undefined;
|
|
695
|
+
last_name?: string | null | undefined;
|
|
696
|
+
company_name?: string | null | undefined;
|
|
697
|
+
phone?: string | null | undefined;
|
|
698
|
+
email?: string | null | undefined;
|
|
699
|
+
account_number?: string | null | undefined;
|
|
700
|
+
created_on?: string | null | undefined;
|
|
701
|
+
addresses?: {
|
|
702
|
+
address_type?: string | null | undefined;
|
|
703
|
+
name?: string | null | undefined;
|
|
704
|
+
street?: string | null | undefined;
|
|
705
|
+
number?: string | null | undefined;
|
|
706
|
+
box?: string | null | undefined;
|
|
707
|
+
city?: string | null | undefined;
|
|
708
|
+
postal_code?: string | null | undefined;
|
|
709
|
+
country?: string | null | undefined;
|
|
710
|
+
}[] | null | undefined;
|
|
711
|
+
}>;
|
|
674
712
|
getInvoices(params?: {
|
|
675
713
|
date_from: string;
|
|
676
714
|
date_to: string;
|
|
@@ -773,6 +811,20 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
773
811
|
untaxed_amount: number;
|
|
774
812
|
total: number;
|
|
775
813
|
}[]>;
|
|
814
|
+
getTaxes(params?: {} | undefined, rawData?: boolean | undefined): import("../types/api").RequestData<{
|
|
815
|
+
items: {
|
|
816
|
+
id: string;
|
|
817
|
+
source_ref: {
|
|
818
|
+
id?: string | null | undefined;
|
|
819
|
+
model?: string | null | undefined;
|
|
820
|
+
};
|
|
821
|
+
label?: string | null | undefined;
|
|
822
|
+
rate?: number | null | undefined;
|
|
823
|
+
}[];
|
|
824
|
+
total: number;
|
|
825
|
+
page: number;
|
|
826
|
+
size: number;
|
|
827
|
+
}>;
|
|
776
828
|
}>;
|
|
777
829
|
payment: import("../types/api").ApiFor<{
|
|
778
830
|
getPayments(params: {
|
|
@@ -906,6 +958,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
906
958
|
postal_code?: string | null | undefined;
|
|
907
959
|
country?: string | null | undefined;
|
|
908
960
|
}[] | null;
|
|
961
|
+
third_party_account?: string | null | undefined;
|
|
909
962
|
}[]>;
|
|
910
963
|
createClient(client: {
|
|
911
964
|
external_reference?: string | null | undefined;
|
|
@@ -979,6 +1032,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
979
1032
|
postal_code?: string | null | undefined;
|
|
980
1033
|
country?: string | null | undefined;
|
|
981
1034
|
}[] | null;
|
|
1035
|
+
third_party_account?: string | null | undefined;
|
|
982
1036
|
}>;
|
|
983
1037
|
getClient(clientId: string, params?: {
|
|
984
1038
|
folder_id?: string | null | undefined;
|
|
@@ -1018,6 +1072,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
1018
1072
|
postal_code?: string | null | undefined;
|
|
1019
1073
|
country?: string | null | undefined;
|
|
1020
1074
|
}[] | null;
|
|
1075
|
+
third_party_account?: string | null | undefined;
|
|
1021
1076
|
}>;
|
|
1022
1077
|
updateClient(clientId: string, client: {
|
|
1023
1078
|
external_reference?: string | null | undefined;
|
|
@@ -1089,6 +1144,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
1089
1144
|
postal_code?: string | null | undefined;
|
|
1090
1145
|
country?: string | null | undefined;
|
|
1091
1146
|
}[] | null;
|
|
1147
|
+
third_party_account?: string | null | undefined;
|
|
1092
1148
|
}>;
|
|
1093
1149
|
getSuppliers(params?: {
|
|
1094
1150
|
search?: string | null | undefined;
|
|
@@ -1130,6 +1186,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
1130
1186
|
postal_code?: string | null | undefined;
|
|
1131
1187
|
country?: string | null | undefined;
|
|
1132
1188
|
}[] | null;
|
|
1189
|
+
third_party_account?: string | null | undefined;
|
|
1133
1190
|
}[]>;
|
|
1134
1191
|
createSupplier(supplier: {
|
|
1135
1192
|
external_reference?: string | null | undefined;
|
|
@@ -1203,6 +1260,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
1203
1260
|
postal_code?: string | null | undefined;
|
|
1204
1261
|
country?: string | null | undefined;
|
|
1205
1262
|
}[] | null;
|
|
1263
|
+
third_party_account?: string | null | undefined;
|
|
1206
1264
|
}>;
|
|
1207
1265
|
getSupplier(supplierId: string, params?: {
|
|
1208
1266
|
folder_id?: string | null | undefined;
|
|
@@ -1242,6 +1300,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
1242
1300
|
postal_code?: string | null | undefined;
|
|
1243
1301
|
country?: string | null | undefined;
|
|
1244
1302
|
}[] | null;
|
|
1303
|
+
third_party_account?: string | null | undefined;
|
|
1245
1304
|
}>;
|
|
1246
1305
|
updateSupplier(supplierId: string, supplier: {
|
|
1247
1306
|
external_reference?: string | null | undefined;
|
|
@@ -1313,6 +1372,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
1313
1372
|
postal_code?: string | null | undefined;
|
|
1314
1373
|
country?: string | null | undefined;
|
|
1315
1374
|
}[] | null;
|
|
1375
|
+
third_party_account?: string | null | undefined;
|
|
1316
1376
|
}>;
|
|
1317
1377
|
createInvoice(invoice: {
|
|
1318
1378
|
invoice_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund";
|
|
@@ -1324,6 +1384,12 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
1324
1384
|
reference?: string | null | undefined;
|
|
1325
1385
|
payment_communication?: string | null | undefined;
|
|
1326
1386
|
customer_memo?: string | null | undefined;
|
|
1387
|
+
payment_term_id?: string | null | undefined;
|
|
1388
|
+
withholding_tax?: {
|
|
1389
|
+
tax_rate: number;
|
|
1390
|
+
tax_code: string;
|
|
1391
|
+
tax_amount: number;
|
|
1392
|
+
} | null | undefined;
|
|
1327
1393
|
invoice_date: string;
|
|
1328
1394
|
due_date: string;
|
|
1329
1395
|
partner_id?: string | null | undefined;
|
|
@@ -1366,10 +1432,15 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
1366
1432
|
description: string;
|
|
1367
1433
|
analytic_account?: string | null | undefined;
|
|
1368
1434
|
}[];
|
|
1435
|
+
start_date?: string | null | undefined;
|
|
1436
|
+
end_date?: string | null | undefined;
|
|
1437
|
+
payment_method_id?: string | null | undefined;
|
|
1369
1438
|
}, params?: {
|
|
1370
1439
|
folder_id?: string | null | undefined;
|
|
1371
1440
|
force_financial_period?: string | null | undefined;
|
|
1372
1441
|
regroup_lines?: "true" | "false" | null | undefined;
|
|
1442
|
+
ignore_accounting_id?: boolean | undefined;
|
|
1443
|
+
force_currency_exchange?: boolean | null | undefined;
|
|
1373
1444
|
} | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
|
|
1374
1445
|
invoice_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund";
|
|
1375
1446
|
invoice_number?: string | null | undefined;
|
|
@@ -1380,10 +1451,16 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
1380
1451
|
reference?: string | null | undefined;
|
|
1381
1452
|
payment_communication?: string | null | undefined;
|
|
1382
1453
|
customer_memo?: string | null | undefined;
|
|
1454
|
+
payment_term_id?: string | null | undefined;
|
|
1455
|
+
withholding_tax?: {
|
|
1456
|
+
tax_rate: number;
|
|
1457
|
+
tax_code: string;
|
|
1458
|
+
tax_amount: number;
|
|
1459
|
+
} | null | undefined;
|
|
1383
1460
|
id?: string | null | undefined;
|
|
1384
1461
|
invoice_date: string;
|
|
1385
1462
|
due_date: string;
|
|
1386
|
-
partner_id: string;
|
|
1463
|
+
partner_id: string | null;
|
|
1387
1464
|
journal_id?: string | null | undefined;
|
|
1388
1465
|
payments?: {
|
|
1389
1466
|
id: string;
|
|
@@ -1437,12 +1514,27 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
1437
1514
|
postal_code?: string | null | undefined;
|
|
1438
1515
|
country?: string | null | undefined;
|
|
1439
1516
|
}[] | null;
|
|
1517
|
+
third_party_account?: string | null | undefined;
|
|
1440
1518
|
} | null | undefined;
|
|
1441
1519
|
due_dates: {
|
|
1442
1520
|
due_date: string;
|
|
1443
1521
|
payment_method?: string | null | undefined;
|
|
1522
|
+
payment_method_id?: string | null | undefined;
|
|
1444
1523
|
amount: number;
|
|
1445
1524
|
}[] | null;
|
|
1525
|
+
attachments_info?: {
|
|
1526
|
+
status: "unknown" | "yes" | "yes_to_request" | "no";
|
|
1527
|
+
attachments: {
|
|
1528
|
+
filename?: string | null | undefined;
|
|
1529
|
+
url?: string | null | undefined;
|
|
1530
|
+
}[] | null;
|
|
1531
|
+
} | undefined;
|
|
1532
|
+
accounting_info?: {
|
|
1533
|
+
main_currency?: string | undefined;
|
|
1534
|
+
main_currency_total: number;
|
|
1535
|
+
account_number?: string | null | undefined;
|
|
1536
|
+
} | null | undefined;
|
|
1537
|
+
payment_method_id?: string | null | undefined;
|
|
1446
1538
|
lines: {
|
|
1447
1539
|
line_number: number | null;
|
|
1448
1540
|
unit_price: number;
|
|
@@ -1468,6 +1560,12 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
1468
1560
|
reference?: string | null | undefined;
|
|
1469
1561
|
payment_communication?: string | null | undefined;
|
|
1470
1562
|
customer_memo?: string | null | undefined;
|
|
1563
|
+
payment_term_id?: string | null | undefined;
|
|
1564
|
+
withholding_tax?: {
|
|
1565
|
+
tax_rate: number;
|
|
1566
|
+
tax_code: string;
|
|
1567
|
+
tax_amount: number;
|
|
1568
|
+
} | null | undefined;
|
|
1471
1569
|
invoice_date: string;
|
|
1472
1570
|
due_date: string;
|
|
1473
1571
|
partner_id?: string | null | undefined;
|
|
@@ -1516,10 +1614,15 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
1516
1614
|
}[];
|
|
1517
1615
|
}[] | null;
|
|
1518
1616
|
}[];
|
|
1617
|
+
start_date?: string | null | undefined;
|
|
1618
|
+
end_date?: string | null | undefined;
|
|
1619
|
+
payment_method_id?: string | null | undefined;
|
|
1519
1620
|
}, params?: {
|
|
1520
1621
|
folder_id?: string | null | undefined;
|
|
1521
1622
|
force_financial_period?: string | null | undefined;
|
|
1522
1623
|
regroup_lines?: "true" | "false" | null | undefined;
|
|
1624
|
+
ignore_accounting_id?: boolean | undefined;
|
|
1625
|
+
force_currency_exchange?: boolean | null | undefined;
|
|
1523
1626
|
} | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
|
|
1524
1627
|
invoice_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund";
|
|
1525
1628
|
invoice_number?: string | null | undefined;
|
|
@@ -1530,10 +1633,16 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
1530
1633
|
reference?: string | null | undefined;
|
|
1531
1634
|
payment_communication?: string | null | undefined;
|
|
1532
1635
|
customer_memo?: string | null | undefined;
|
|
1636
|
+
payment_term_id?: string | null | undefined;
|
|
1637
|
+
withholding_tax?: {
|
|
1638
|
+
tax_rate: number;
|
|
1639
|
+
tax_code: string;
|
|
1640
|
+
tax_amount: number;
|
|
1641
|
+
} | null | undefined;
|
|
1533
1642
|
id?: string | null | undefined;
|
|
1534
1643
|
invoice_date: string;
|
|
1535
1644
|
due_date: string;
|
|
1536
|
-
partner_id: string;
|
|
1645
|
+
partner_id: string | null;
|
|
1537
1646
|
journal_id?: string | null | undefined;
|
|
1538
1647
|
payments?: {
|
|
1539
1648
|
id: string;
|
|
@@ -1587,12 +1696,27 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
1587
1696
|
postal_code?: string | null | undefined;
|
|
1588
1697
|
country?: string | null | undefined;
|
|
1589
1698
|
}[] | null;
|
|
1699
|
+
third_party_account?: string | null | undefined;
|
|
1590
1700
|
} | null | undefined;
|
|
1591
1701
|
due_dates: {
|
|
1592
1702
|
due_date: string;
|
|
1593
1703
|
payment_method?: string | null | undefined;
|
|
1704
|
+
payment_method_id?: string | null | undefined;
|
|
1594
1705
|
amount: number;
|
|
1595
1706
|
}[] | null;
|
|
1707
|
+
attachments_info?: {
|
|
1708
|
+
status: "unknown" | "yes" | "yes_to_request" | "no";
|
|
1709
|
+
attachments: {
|
|
1710
|
+
filename?: string | null | undefined;
|
|
1711
|
+
url?: string | null | undefined;
|
|
1712
|
+
}[] | null;
|
|
1713
|
+
} | undefined;
|
|
1714
|
+
accounting_info?: {
|
|
1715
|
+
main_currency?: string | undefined;
|
|
1716
|
+
main_currency_total: number;
|
|
1717
|
+
account_number?: string | null | undefined;
|
|
1718
|
+
} | null | undefined;
|
|
1719
|
+
payment_method_id?: string | null | undefined;
|
|
1596
1720
|
lines: {
|
|
1597
1721
|
line_number: number | null;
|
|
1598
1722
|
unit_price: number;
|
|
@@ -1634,10 +1758,16 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
1634
1758
|
reference?: string | null | undefined;
|
|
1635
1759
|
payment_communication?: string | null | undefined;
|
|
1636
1760
|
customer_memo?: string | null | undefined;
|
|
1761
|
+
payment_term_id?: string | null | undefined;
|
|
1762
|
+
withholding_tax?: {
|
|
1763
|
+
tax_rate: number;
|
|
1764
|
+
tax_code: string;
|
|
1765
|
+
tax_amount: number;
|
|
1766
|
+
} | null | undefined;
|
|
1637
1767
|
id?: string | null | undefined;
|
|
1638
1768
|
invoice_date: string;
|
|
1639
1769
|
due_date: string;
|
|
1640
|
-
partner_id: string;
|
|
1770
|
+
partner_id: string | null;
|
|
1641
1771
|
journal_id?: string | null | undefined;
|
|
1642
1772
|
payments?: {
|
|
1643
1773
|
id: string;
|
|
@@ -1691,12 +1821,27 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
1691
1821
|
postal_code?: string | null | undefined;
|
|
1692
1822
|
country?: string | null | undefined;
|
|
1693
1823
|
}[] | null;
|
|
1824
|
+
third_party_account?: string | null | undefined;
|
|
1694
1825
|
} | null | undefined;
|
|
1695
1826
|
due_dates: {
|
|
1696
1827
|
due_date: string;
|
|
1697
1828
|
payment_method?: string | null | undefined;
|
|
1829
|
+
payment_method_id?: string | null | undefined;
|
|
1698
1830
|
amount: number;
|
|
1699
1831
|
}[] | null;
|
|
1832
|
+
attachments_info?: {
|
|
1833
|
+
status: "unknown" | "yes" | "yes_to_request" | "no";
|
|
1834
|
+
attachments: {
|
|
1835
|
+
filename?: string | null | undefined;
|
|
1836
|
+
url?: string | null | undefined;
|
|
1837
|
+
}[] | null;
|
|
1838
|
+
} | undefined;
|
|
1839
|
+
accounting_info?: {
|
|
1840
|
+
main_currency?: string | undefined;
|
|
1841
|
+
main_currency_total: number;
|
|
1842
|
+
account_number?: string | null | undefined;
|
|
1843
|
+
} | null | undefined;
|
|
1844
|
+
payment_method_id?: string | null | undefined;
|
|
1700
1845
|
lines: {
|
|
1701
1846
|
line_number: number | null;
|
|
1702
1847
|
unit_price: number;
|
|
@@ -1727,10 +1872,16 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
1727
1872
|
reference?: string | null | undefined;
|
|
1728
1873
|
payment_communication?: string | null | undefined;
|
|
1729
1874
|
customer_memo?: string | null | undefined;
|
|
1875
|
+
payment_term_id?: string | null | undefined;
|
|
1876
|
+
withholding_tax?: {
|
|
1877
|
+
tax_rate: number;
|
|
1878
|
+
tax_code: string;
|
|
1879
|
+
tax_amount: number;
|
|
1880
|
+
} | null | undefined;
|
|
1730
1881
|
id?: string | null | undefined;
|
|
1731
1882
|
invoice_date: string;
|
|
1732
1883
|
due_date: string;
|
|
1733
|
-
partner_id: string;
|
|
1884
|
+
partner_id: string | null;
|
|
1734
1885
|
journal_id?: string | null | undefined;
|
|
1735
1886
|
payments?: {
|
|
1736
1887
|
id: string;
|
|
@@ -1784,12 +1935,27 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
1784
1935
|
postal_code?: string | null | undefined;
|
|
1785
1936
|
country?: string | null | undefined;
|
|
1786
1937
|
}[] | null;
|
|
1938
|
+
third_party_account?: string | null | undefined;
|
|
1787
1939
|
} | null | undefined;
|
|
1788
1940
|
due_dates: {
|
|
1789
1941
|
due_date: string;
|
|
1790
1942
|
payment_method?: string | null | undefined;
|
|
1943
|
+
payment_method_id?: string | null | undefined;
|
|
1791
1944
|
amount: number;
|
|
1792
1945
|
}[] | null;
|
|
1946
|
+
attachments_info?: {
|
|
1947
|
+
status: "unknown" | "yes" | "yes_to_request" | "no";
|
|
1948
|
+
attachments: {
|
|
1949
|
+
filename?: string | null | undefined;
|
|
1950
|
+
url?: string | null | undefined;
|
|
1951
|
+
}[] | null;
|
|
1952
|
+
} | undefined;
|
|
1953
|
+
accounting_info?: {
|
|
1954
|
+
main_currency?: string | undefined;
|
|
1955
|
+
main_currency_total: number;
|
|
1956
|
+
account_number?: string | null | undefined;
|
|
1957
|
+
} | null | undefined;
|
|
1958
|
+
payment_method_id?: string | null | undefined;
|
|
1793
1959
|
lines: {
|
|
1794
1960
|
line_number: number | null;
|
|
1795
1961
|
unit_price: number;
|
|
@@ -1820,10 +1986,16 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
1820
1986
|
reference?: string | null | undefined;
|
|
1821
1987
|
payment_communication?: string | null | undefined;
|
|
1822
1988
|
customer_memo?: string | null | undefined;
|
|
1989
|
+
payment_term_id?: string | null | undefined;
|
|
1990
|
+
withholding_tax?: {
|
|
1991
|
+
tax_rate: number;
|
|
1992
|
+
tax_code: string;
|
|
1993
|
+
tax_amount: number;
|
|
1994
|
+
} | null | undefined;
|
|
1823
1995
|
id?: string | null | undefined;
|
|
1824
1996
|
invoice_date: string;
|
|
1825
1997
|
due_date: string;
|
|
1826
|
-
partner_id: string;
|
|
1998
|
+
partner_id: string | null;
|
|
1827
1999
|
journal_id?: string | null | undefined;
|
|
1828
2000
|
payments?: {
|
|
1829
2001
|
id: string;
|
|
@@ -1877,12 +2049,27 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
1877
2049
|
postal_code?: string | null | undefined;
|
|
1878
2050
|
country?: string | null | undefined;
|
|
1879
2051
|
}[] | null;
|
|
2052
|
+
third_party_account?: string | null | undefined;
|
|
1880
2053
|
} | null | undefined;
|
|
1881
2054
|
due_dates: {
|
|
1882
2055
|
due_date: string;
|
|
1883
2056
|
payment_method?: string | null | undefined;
|
|
2057
|
+
payment_method_id?: string | null | undefined;
|
|
1884
2058
|
amount: number;
|
|
1885
2059
|
}[] | null;
|
|
2060
|
+
attachments_info?: {
|
|
2061
|
+
status: "unknown" | "yes" | "yes_to_request" | "no";
|
|
2062
|
+
attachments: {
|
|
2063
|
+
filename?: string | null | undefined;
|
|
2064
|
+
url?: string | null | undefined;
|
|
2065
|
+
}[] | null;
|
|
2066
|
+
} | undefined;
|
|
2067
|
+
accounting_info?: {
|
|
2068
|
+
main_currency?: string | undefined;
|
|
2069
|
+
main_currency_total: number;
|
|
2070
|
+
account_number?: string | null | undefined;
|
|
2071
|
+
} | null | undefined;
|
|
2072
|
+
payment_method_id?: string | null | undefined;
|
|
1886
2073
|
lines: {
|
|
1887
2074
|
line_number: number | null;
|
|
1888
2075
|
unit_price: number;
|
|
@@ -1924,10 +2111,16 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
1924
2111
|
reference?: string | null | undefined;
|
|
1925
2112
|
payment_communication?: string | null | undefined;
|
|
1926
2113
|
customer_memo?: string | null | undefined;
|
|
2114
|
+
payment_term_id?: string | null | undefined;
|
|
2115
|
+
withholding_tax?: {
|
|
2116
|
+
tax_rate: number;
|
|
2117
|
+
tax_code: string;
|
|
2118
|
+
tax_amount: number;
|
|
2119
|
+
} | null | undefined;
|
|
1927
2120
|
id?: string | null | undefined;
|
|
1928
2121
|
invoice_date: string;
|
|
1929
2122
|
due_date: string;
|
|
1930
|
-
partner_id: string;
|
|
2123
|
+
partner_id: string | null;
|
|
1931
2124
|
journal_id?: string | null | undefined;
|
|
1932
2125
|
payments?: {
|
|
1933
2126
|
id: string;
|
|
@@ -1981,12 +2174,27 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
1981
2174
|
postal_code?: string | null | undefined;
|
|
1982
2175
|
country?: string | null | undefined;
|
|
1983
2176
|
}[] | null;
|
|
2177
|
+
third_party_account?: string | null | undefined;
|
|
1984
2178
|
} | null | undefined;
|
|
1985
2179
|
due_dates: {
|
|
1986
2180
|
due_date: string;
|
|
1987
2181
|
payment_method?: string | null | undefined;
|
|
2182
|
+
payment_method_id?: string | null | undefined;
|
|
1988
2183
|
amount: number;
|
|
1989
2184
|
}[] | null;
|
|
2185
|
+
attachments_info?: {
|
|
2186
|
+
status: "unknown" | "yes" | "yes_to_request" | "no";
|
|
2187
|
+
attachments: {
|
|
2188
|
+
filename?: string | null | undefined;
|
|
2189
|
+
url?: string | null | undefined;
|
|
2190
|
+
}[] | null;
|
|
2191
|
+
} | undefined;
|
|
2192
|
+
accounting_info?: {
|
|
2193
|
+
main_currency?: string | undefined;
|
|
2194
|
+
main_currency_total: number;
|
|
2195
|
+
account_number?: string | null | undefined;
|
|
2196
|
+
} | null | undefined;
|
|
2197
|
+
payment_method_id?: string | null | undefined;
|
|
1990
2198
|
lines: {
|
|
1991
2199
|
line_number: number | null;
|
|
1992
2200
|
unit_price: number;
|
|
@@ -2134,7 +2342,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
2134
2342
|
folder_id?: string | null | undefined;
|
|
2135
2343
|
updated_after?: string | null | undefined;
|
|
2136
2344
|
unposted_allowed: "true" | "false";
|
|
2137
|
-
journal_id
|
|
2345
|
+
journal_id?: string | null | undefined;
|
|
2138
2346
|
partner_id?: string | null | undefined;
|
|
2139
2347
|
}, options?: import("../types/api").RawDataOption | undefined): import("../types/api").RequestData<{
|
|
2140
2348
|
reference?: string | null | undefined;
|
|
@@ -2148,9 +2356,17 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
2148
2356
|
due_dates: {
|
|
2149
2357
|
due_date: string;
|
|
2150
2358
|
payment_method?: string | null | undefined;
|
|
2359
|
+
payment_method_id?: string | null | undefined;
|
|
2151
2360
|
debit: number | null;
|
|
2152
2361
|
credit: number | null;
|
|
2153
2362
|
}[] | null;
|
|
2363
|
+
attachments_info?: {
|
|
2364
|
+
status: "unknown" | "yes" | "yes_to_request" | "no";
|
|
2365
|
+
attachments: {
|
|
2366
|
+
filename?: string | null | undefined;
|
|
2367
|
+
url?: string | null | undefined;
|
|
2368
|
+
}[] | null;
|
|
2369
|
+
} | undefined;
|
|
2154
2370
|
items: {
|
|
2155
2371
|
account_number: string;
|
|
2156
2372
|
partner_id?: string | null | undefined;
|
|
@@ -2173,7 +2389,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
2173
2389
|
folder_id?: string | null | undefined;
|
|
2174
2390
|
updated_after?: string | null | undefined;
|
|
2175
2391
|
unposted_allowed: "true" | "false";
|
|
2176
|
-
journal_id
|
|
2392
|
+
journal_id?: string | null | undefined;
|
|
2177
2393
|
partner_id?: string | null | undefined;
|
|
2178
2394
|
}, options?: import("../types/api").RawDataOption | undefined): import("../types/api").RequestData<{
|
|
2179
2395
|
reference?: string | null | undefined;
|
|
@@ -2187,9 +2403,17 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
2187
2403
|
due_dates: {
|
|
2188
2404
|
due_date: string;
|
|
2189
2405
|
payment_method?: string | null | undefined;
|
|
2406
|
+
payment_method_id?: string | null | undefined;
|
|
2190
2407
|
debit: number | null;
|
|
2191
2408
|
credit: number | null;
|
|
2192
2409
|
}[] | null;
|
|
2410
|
+
attachments_info?: {
|
|
2411
|
+
status: "unknown" | "yes" | "yes_to_request" | "no";
|
|
2412
|
+
attachments: {
|
|
2413
|
+
filename?: string | null | undefined;
|
|
2414
|
+
url?: string | null | undefined;
|
|
2415
|
+
}[] | null;
|
|
2416
|
+
} | undefined;
|
|
2193
2417
|
items: {
|
|
2194
2418
|
account_number: string;
|
|
2195
2419
|
partner_id?: string | null | undefined;
|
|
@@ -2279,6 +2503,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
2279
2503
|
} | undefined, options?: import("../types/api").RawDataOption | undefined): import("../types/api").RequestData<{
|
|
2280
2504
|
id: string;
|
|
2281
2505
|
code?: string | null | undefined;
|
|
2506
|
+
active: boolean | null;
|
|
2282
2507
|
label: string;
|
|
2283
2508
|
scope: "unknown" | "nat" | "eu" | "int" | null;
|
|
2284
2509
|
rate: number;
|
|
@@ -2286,6 +2511,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
2286
2511
|
deductible_account?: string | null | undefined;
|
|
2287
2512
|
payable_account?: string | null | undefined;
|
|
2288
2513
|
reversed: boolean | null;
|
|
2514
|
+
withholding_tax: boolean | null;
|
|
2289
2515
|
country?: string | null | undefined;
|
|
2290
2516
|
}[]>;
|
|
2291
2517
|
getMiscOperations(params?: {
|
|
@@ -2388,12 +2614,14 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
2388
2614
|
getChartOfAccounts(params?: {
|
|
2389
2615
|
folder_id?: string | null | undefined;
|
|
2390
2616
|
classes?: string | null | undefined;
|
|
2391
|
-
type?: "vat" | "bank" | "cash" | "income" | "expense" | null | undefined;
|
|
2617
|
+
type?: "vat" | "bank" | "cash" | "income" | "expense" | "other_expense" | null | undefined;
|
|
2392
2618
|
} | undefined, options?: import("../types/api").RawDataOption | undefined): import("../types/api").RequestData<{
|
|
2393
2619
|
number: string;
|
|
2394
2620
|
name: string;
|
|
2395
2621
|
active: boolean | null;
|
|
2396
|
-
type?: "vat" | "other" | "bank" | "cash" | "other_financial" | "receivable" | "payable" | "income" | "expense" | null | undefined;
|
|
2622
|
+
type?: "vat" | "other" | "bank" | "cash" | "other_financial" | "receivable" | "payable" | "income" | "expense" | "other_expense" | null | undefined;
|
|
2623
|
+
scheme_ids?: string[] | null | undefined;
|
|
2624
|
+
accounting_category?: string | null | undefined;
|
|
2397
2625
|
}[]>;
|
|
2398
2626
|
getBalanceOfAccounts(filter: {
|
|
2399
2627
|
accounts: string[];
|
|
@@ -2469,11 +2697,13 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
2469
2697
|
account: string;
|
|
2470
2698
|
amount: number;
|
|
2471
2699
|
description?: string | null | undefined;
|
|
2700
|
+
automated_matching_number?: string | null | undefined;
|
|
2472
2701
|
}[];
|
|
2473
2702
|
pdf?: string | null | undefined;
|
|
2474
2703
|
}, params?: {
|
|
2475
2704
|
folder_id?: string | null | undefined;
|
|
2476
2705
|
financial_counterpart_account?: string | null | undefined;
|
|
2706
|
+
force_currency_exchange?: boolean | null | undefined;
|
|
2477
2707
|
} | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
|
|
2478
2708
|
date: string;
|
|
2479
2709
|
journal_id: string;
|
|
@@ -2487,6 +2717,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
2487
2717
|
account: string;
|
|
2488
2718
|
amount: number;
|
|
2489
2719
|
description?: string | null | undefined;
|
|
2720
|
+
automated_matching_number?: string | null | undefined;
|
|
2490
2721
|
counterpart_account: string;
|
|
2491
2722
|
}[];
|
|
2492
2723
|
}>;
|
|
@@ -2514,6 +2745,13 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
2514
2745
|
}[];
|
|
2515
2746
|
}[] | null;
|
|
2516
2747
|
tax_code?: string | null | undefined;
|
|
2748
|
+
tax_info?: {
|
|
2749
|
+
tax_code: string;
|
|
2750
|
+
tax_amount: number;
|
|
2751
|
+
vat_account?: string | null | undefined;
|
|
2752
|
+
reversed_vat_account?: string | null | undefined;
|
|
2753
|
+
description?: string | null | undefined;
|
|
2754
|
+
} | null | undefined;
|
|
2517
2755
|
account_info?: {
|
|
2518
2756
|
account_number: string;
|
|
2519
2757
|
account_name: string;
|
|
@@ -2526,6 +2764,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
2526
2764
|
}, params?: {
|
|
2527
2765
|
folder_id?: string | null | undefined;
|
|
2528
2766
|
force_currency_exchange?: "true" | "false" | null | undefined;
|
|
2767
|
+
ignore_accounting_id?: boolean | undefined;
|
|
2529
2768
|
} | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
|
|
2530
2769
|
reference?: string | null | undefined;
|
|
2531
2770
|
due_date?: string | null | undefined;
|
|
@@ -2538,9 +2777,17 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
2538
2777
|
due_dates: {
|
|
2539
2778
|
due_date: string;
|
|
2540
2779
|
payment_method?: string | null | undefined;
|
|
2780
|
+
payment_method_id?: string | null | undefined;
|
|
2541
2781
|
debit: number | null;
|
|
2542
2782
|
credit: number | null;
|
|
2543
2783
|
}[] | null;
|
|
2784
|
+
attachments_info?: {
|
|
2785
|
+
status: "unknown" | "yes" | "yes_to_request" | "no";
|
|
2786
|
+
attachments: {
|
|
2787
|
+
filename?: string | null | undefined;
|
|
2788
|
+
url?: string | null | undefined;
|
|
2789
|
+
}[] | null;
|
|
2790
|
+
} | undefined;
|
|
2544
2791
|
items: {
|
|
2545
2792
|
account_number: string;
|
|
2546
2793
|
partner_id?: string | null | undefined;
|
|
@@ -2656,14 +2903,35 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
2656
2903
|
createLedgerAccount(account: {
|
|
2657
2904
|
name: string;
|
|
2658
2905
|
number: string;
|
|
2659
|
-
type: "vat" | "other" | "bank" | "cash" | "other_financial" | "receivable" | "payable" | "income" | "expense" | null;
|
|
2906
|
+
type: "vat" | "other" | "bank" | "cash" | "other_financial" | "receivable" | "payable" | "income" | "expense" | "other_expense" | null;
|
|
2660
2907
|
}, params?: {
|
|
2661
2908
|
folder_id?: string | null | undefined;
|
|
2662
2909
|
} | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
|
|
2663
2910
|
number: string;
|
|
2664
2911
|
name: string;
|
|
2665
2912
|
active: boolean | null;
|
|
2666
|
-
type?: "vat" | "other" | "bank" | "cash" | "other_financial" | "receivable" | "payable" | "income" | "expense" | null | undefined;
|
|
2913
|
+
type?: "vat" | "other" | "bank" | "cash" | "other_financial" | "receivable" | "payable" | "income" | "expense" | "other_expense" | null | undefined;
|
|
2914
|
+
scheme_ids?: string[] | null | undefined;
|
|
2915
|
+
accounting_category?: string | null | undefined;
|
|
2916
|
+
}>;
|
|
2917
|
+
getBankAccounts(params?: {
|
|
2918
|
+
folder_id?: string | null | undefined;
|
|
2919
|
+
} | undefined, options?: import("../types/api").RawDataOption | undefined): import("../types/api").RequestData<{
|
|
2920
|
+
items: {
|
|
2921
|
+
id: string;
|
|
2922
|
+
code?: string | null | undefined;
|
|
2923
|
+
currency?: string | null | undefined;
|
|
2924
|
+
account_name?: string | null | undefined;
|
|
2925
|
+
account_number?: string | null | undefined;
|
|
2926
|
+
iban?: string | null | undefined;
|
|
2927
|
+
bank_name?: string | null | undefined;
|
|
2928
|
+
journal_id?: string | null | undefined;
|
|
2929
|
+
ledger_account?: string | null | undefined;
|
|
2930
|
+
unallocated_account?: string | null | undefined;
|
|
2931
|
+
}[];
|
|
2932
|
+
total: number;
|
|
2933
|
+
page: number;
|
|
2934
|
+
size: number;
|
|
2667
2935
|
}>;
|
|
2668
2936
|
createBankAccount(bankAccount: {
|
|
2669
2937
|
code: string;
|
|
@@ -2686,6 +2954,45 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
2686
2954
|
ledger_account?: string | null | undefined;
|
|
2687
2955
|
unallocated_account?: string | null | undefined;
|
|
2688
2956
|
}>;
|
|
2957
|
+
createBankTransactions(bankStatement: {
|
|
2958
|
+
bank_statement_date: string;
|
|
2959
|
+
bank_account_id: string;
|
|
2960
|
+
external_bank_statement_id: string;
|
|
2961
|
+
opening_balance?: number | null | undefined;
|
|
2962
|
+
pdf?: string | null | undefined;
|
|
2963
|
+
items: {
|
|
2964
|
+
account_type?: "customer_account" | "supplier_account" | "employee_account" | "general_account" | null | undefined;
|
|
2965
|
+
account?: string | null | undefined;
|
|
2966
|
+
description?: string | null | undefined;
|
|
2967
|
+
external_transaction_id?: string | null | undefined;
|
|
2968
|
+
date: string;
|
|
2969
|
+
amount: number;
|
|
2970
|
+
fee_amount: number | null;
|
|
2971
|
+
tax_amount: number | null;
|
|
2972
|
+
currency: string;
|
|
2973
|
+
currency_exchange_rate: number | null;
|
|
2974
|
+
}[];
|
|
2975
|
+
}, params?: {
|
|
2976
|
+
folder_id?: string | null | undefined;
|
|
2977
|
+
} | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
|
|
2978
|
+
bank_statement_date: string;
|
|
2979
|
+
bank_account_id: string;
|
|
2980
|
+
id?: string | null | undefined;
|
|
2981
|
+
external_bank_statement_id?: string | null | undefined;
|
|
2982
|
+
items: {
|
|
2983
|
+
account_type?: "customer_account" | "supplier_account" | "employee_account" | "general_account" | null | undefined;
|
|
2984
|
+
account?: string | null | undefined;
|
|
2985
|
+
description?: string | null | undefined;
|
|
2986
|
+
external_transaction_id?: string | null | undefined;
|
|
2987
|
+
date: string;
|
|
2988
|
+
amount: number;
|
|
2989
|
+
fee_amount: number | null;
|
|
2990
|
+
tax_amount: number | null;
|
|
2991
|
+
currency: string;
|
|
2992
|
+
currency_exchange_rate: number | null;
|
|
2993
|
+
id?: string | null | undefined;
|
|
2994
|
+
}[];
|
|
2995
|
+
}>;
|
|
2689
2996
|
getJournalEntry(journalEntryId: string, params?: {
|
|
2690
2997
|
folder_id?: string | null | undefined;
|
|
2691
2998
|
} | undefined, options?: import("../types/api").RawDataOption | undefined): import("../types/api").RequestData<{
|
|
@@ -2700,9 +3007,17 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
2700
3007
|
due_dates: {
|
|
2701
3008
|
due_date: string;
|
|
2702
3009
|
payment_method?: string | null | undefined;
|
|
3010
|
+
payment_method_id?: string | null | undefined;
|
|
2703
3011
|
debit: number | null;
|
|
2704
3012
|
credit: number | null;
|
|
2705
3013
|
}[] | null;
|
|
3014
|
+
attachments_info?: {
|
|
3015
|
+
status: "unknown" | "yes" | "yes_to_request" | "no";
|
|
3016
|
+
attachments: {
|
|
3017
|
+
filename?: string | null | undefined;
|
|
3018
|
+
url?: string | null | undefined;
|
|
3019
|
+
}[] | null;
|
|
3020
|
+
} | undefined;
|
|
2706
3021
|
items: {
|
|
2707
3022
|
account_number: string;
|
|
2708
3023
|
partner_id?: string | null | undefined;
|
|
@@ -2737,6 +3052,29 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
2737
3052
|
page: number;
|
|
2738
3053
|
size: number;
|
|
2739
3054
|
}>;
|
|
3055
|
+
getPaymentTerms(params?: {
|
|
3056
|
+
folder_id?: string | null | undefined;
|
|
3057
|
+
} | undefined, options?: import("../types/api").RawDataOption | undefined): import("../types/api").RequestData<{
|
|
3058
|
+
items: {
|
|
3059
|
+
id: string;
|
|
3060
|
+
name?: string | null | undefined;
|
|
3061
|
+
}[];
|
|
3062
|
+
total: number;
|
|
3063
|
+
page: number;
|
|
3064
|
+
size: number;
|
|
3065
|
+
}>;
|
|
3066
|
+
getSchemes(params?: {
|
|
3067
|
+
folder_id?: string | null | undefined;
|
|
3068
|
+
} | undefined, options?: import("../types/api").RawDataOption | undefined): import("../types/api").RequestData<{
|
|
3069
|
+
items: {
|
|
3070
|
+
id: string;
|
|
3071
|
+
code: string;
|
|
3072
|
+
name: string;
|
|
3073
|
+
}[];
|
|
3074
|
+
total: number;
|
|
3075
|
+
page: number;
|
|
3076
|
+
size: number;
|
|
3077
|
+
}>;
|
|
2740
3078
|
createInvoicePayment(body: {
|
|
2741
3079
|
date: string;
|
|
2742
3080
|
payment_method_id: string;
|
|
@@ -2756,6 +3094,29 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
2756
3094
|
};
|
|
2757
3095
|
content?: undefined;
|
|
2758
3096
|
}>;
|
|
3097
|
+
exportFec(params: {
|
|
3098
|
+
folder_id?: string | null | undefined;
|
|
3099
|
+
date_from: string;
|
|
3100
|
+
date_to: string;
|
|
3101
|
+
}, options?: import("../types/api").RawDataOption | undefined): import("../types/api").RequestData<{
|
|
3102
|
+
JournalCode: string;
|
|
3103
|
+
JournalLib: string;
|
|
3104
|
+
EcritureNum: string;
|
|
3105
|
+
EcritureDate: string;
|
|
3106
|
+
CompteNum: string;
|
|
3107
|
+
CompteLib: string;
|
|
3108
|
+
CompAuxNum: string;
|
|
3109
|
+
CompAuxLib: string;
|
|
3110
|
+
PieceRef: string;
|
|
3111
|
+
PieceDate: string;
|
|
3112
|
+
Debit: number;
|
|
3113
|
+
Credit: number;
|
|
3114
|
+
EcritureLet: string;
|
|
3115
|
+
DateLet: string | null;
|
|
3116
|
+
ValidDate: string | null;
|
|
3117
|
+
Montantdevise: number;
|
|
3118
|
+
Idevise: string;
|
|
3119
|
+
}[]>;
|
|
2759
3120
|
}>;
|
|
2760
3121
|
invoicing: import("../types/api").ApiFor<{
|
|
2761
3122
|
getInvoices(params?: {
|
|
@@ -2765,6 +3126,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
2765
3126
|
updated_after?: string | null | undefined;
|
|
2766
3127
|
include_invoice_lines?: "true" | "false" | null | undefined;
|
|
2767
3128
|
invoice_type?: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund" | "all" | null | undefined;
|
|
3129
|
+
include_analytic_accounts?: "true" | "false" | null | undefined;
|
|
2768
3130
|
} | undefined, options?: import("../types/api").RawDataOption | undefined): import("../types/api").RequestData<{
|
|
2769
3131
|
id: string;
|
|
2770
3132
|
source_ref: {
|
|
@@ -2794,6 +3156,14 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
2794
3156
|
product_id?: string | null | undefined;
|
|
2795
3157
|
product_code?: string | null | undefined;
|
|
2796
3158
|
product_name?: string | null | undefined;
|
|
3159
|
+
analytic_distribution: {
|
|
3160
|
+
analytic_plan_code: string;
|
|
3161
|
+
analytic_accounts: {
|
|
3162
|
+
analytic_account_code: string;
|
|
3163
|
+
analytic_account_name: string;
|
|
3164
|
+
percentage: number;
|
|
3165
|
+
}[];
|
|
3166
|
+
}[] | null;
|
|
2797
3167
|
}[];
|
|
2798
3168
|
partner_id?: string | null | undefined;
|
|
2799
3169
|
invoice_number?: string | null | undefined;
|
|
@@ -2833,6 +3203,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
2833
3203
|
}[]>;
|
|
2834
3204
|
getInvoiceById(invoiceId: string, params?: {
|
|
2835
3205
|
include_pdf?: "true" | "false" | null | undefined;
|
|
3206
|
+
include_analytic_accounts?: "true" | "false" | null | undefined;
|
|
2836
3207
|
} | undefined, options?: import("../types/api").RawDataOption | undefined): import("../types/api").RequestData<{
|
|
2837
3208
|
id: string;
|
|
2838
3209
|
source_ref: {
|
|
@@ -2862,6 +3233,14 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
2862
3233
|
product_id?: string | null | undefined;
|
|
2863
3234
|
product_code?: string | null | undefined;
|
|
2864
3235
|
product_name?: string | null | undefined;
|
|
3236
|
+
analytic_distribution: {
|
|
3237
|
+
analytic_plan_code: string;
|
|
3238
|
+
analytic_accounts: {
|
|
3239
|
+
analytic_account_code: string;
|
|
3240
|
+
analytic_account_name: string;
|
|
3241
|
+
percentage: number;
|
|
3242
|
+
}[];
|
|
3243
|
+
}[] | null;
|
|
2865
3244
|
}[];
|
|
2866
3245
|
partner_id?: string | null | undefined;
|
|
2867
3246
|
invoice_number?: string | null | undefined;
|
|
@@ -2983,6 +3362,14 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
2983
3362
|
product_id?: string | null | undefined;
|
|
2984
3363
|
product_code?: string | null | undefined;
|
|
2985
3364
|
product_name?: string | null | undefined;
|
|
3365
|
+
analytic_distribution: {
|
|
3366
|
+
analytic_plan_code: string;
|
|
3367
|
+
analytic_accounts: {
|
|
3368
|
+
analytic_account_code: string;
|
|
3369
|
+
analytic_account_name: string;
|
|
3370
|
+
percentage: number;
|
|
3371
|
+
}[];
|
|
3372
|
+
}[] | null;
|
|
2986
3373
|
}[];
|
|
2987
3374
|
partner_id?: string | null | undefined;
|
|
2988
3375
|
invoice_number?: string | null | undefined;
|
|
@@ -4561,14 +4948,18 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
4561
4948
|
reference: string;
|
|
4562
4949
|
reference_type: string;
|
|
4563
4950
|
holder_name?: string | null | undefined;
|
|
4951
|
+
active: boolean | null;
|
|
4564
4952
|
}[]>;
|
|
4565
|
-
getAccountTransactions(
|
|
4953
|
+
getAccountTransactions(params: {
|
|
4566
4954
|
date_from?: string | null | undefined;
|
|
4567
4955
|
date_to?: string | null | undefined;
|
|
4956
|
+
updated_after?: string | null | undefined;
|
|
4957
|
+
account_id: string;
|
|
4568
4958
|
date_type?: "value_date" | "execution_date" | null | undefined;
|
|
4569
|
-
}
|
|
4959
|
+
}, options?: import("../types/api").RawDataOption | undefined): import("../types/api").RequestData<{
|
|
4570
4960
|
id: string;
|
|
4571
4961
|
amount: number;
|
|
4962
|
+
tax_amount?: number | null | undefined;
|
|
4572
4963
|
currency: string;
|
|
4573
4964
|
description?: string | null | undefined;
|
|
4574
4965
|
additional_information?: string | null | undefined;
|
|
@@ -4578,6 +4969,17 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
4578
4969
|
creation_date: string;
|
|
4579
4970
|
value_date: string;
|
|
4580
4971
|
execution_date: string;
|
|
4972
|
+
internal_transaction: boolean | null;
|
|
4973
|
+
operation_type: "other" | "fee" | "incoming_transfer" | "outgoing_transfer" | "card" | "direct_debit" | "direct_debit_collection" | "direct_debit_hold" | "cheque" | "recall" | "swift_income" | "pay_later" | "financing_installment" | null;
|
|
4974
|
+
last_update_on?: string | null | undefined;
|
|
4975
|
+
status?: "completed" | "pending" | "declined" | null | undefined;
|
|
4976
|
+
attachments_info?: {
|
|
4977
|
+
status: "unknown" | "yes" | "yes_to_request" | "no";
|
|
4978
|
+
attachments: {
|
|
4979
|
+
filename?: string | null | undefined;
|
|
4980
|
+
url?: string | null | undefined;
|
|
4981
|
+
}[] | null;
|
|
4982
|
+
} | undefined;
|
|
4581
4983
|
}[]>;
|
|
4582
4984
|
getAccountCounterparts(params?: {
|
|
4583
4985
|
date_from?: string | null | undefined;
|
|
@@ -4588,6 +4990,17 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
4588
4990
|
reference?: string | null | undefined;
|
|
4589
4991
|
details?: string | null | undefined;
|
|
4590
4992
|
}[]>;
|
|
4993
|
+
getAttachments(params: {
|
|
4994
|
+
transaction_id: string;
|
|
4995
|
+
}, options?: import("../types/api").RawDataOption | undefined): import("../types/api").RequestData<{
|
|
4996
|
+
items: {
|
|
4997
|
+
id: string;
|
|
4998
|
+
base64_string: string;
|
|
4999
|
+
}[];
|
|
5000
|
+
total: number;
|
|
5001
|
+
page: number;
|
|
5002
|
+
size: number;
|
|
5003
|
+
}>;
|
|
4591
5004
|
}>;
|
|
4592
5005
|
getDataByDataStoreId: (dataStoreId: string, params?: object | undefined) => Promise<{
|
|
4593
5006
|
data: {
|
|
@@ -4627,6 +5040,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
4627
5040
|
source_id?: string | null | undefined;
|
|
4628
5041
|
target_id?: string | null | undefined;
|
|
4629
5042
|
}[];
|
|
5043
|
+
hidden_source_ids: string[];
|
|
4630
5044
|
sub_mapping_name: string;
|
|
4631
5045
|
sub_mapping_description?: string | null | undefined;
|
|
4632
5046
|
}[] | null | undefined;
|
|
@@ -4813,7 +5227,8 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
4813
5227
|
value: string;
|
|
4814
5228
|
}[] | null | undefined;
|
|
4815
5229
|
country?: string | null | undefined;
|
|
4816
|
-
|
|
5230
|
+
redirect: boolean | null;
|
|
5231
|
+
} | null | undefined) => Promise<{
|
|
4817
5232
|
url: string;
|
|
4818
5233
|
}>;
|
|
4819
5234
|
updateConnection: (connectionId: string, body?: {
|
|
@@ -4832,6 +5247,15 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
4832
5247
|
};
|
|
4833
5248
|
content?: undefined;
|
|
4834
5249
|
}>;
|
|
5250
|
+
getTransactionByClientRequestId: (connectionId: string, params: {
|
|
5251
|
+
client_request_id: string;
|
|
5252
|
+
}) => Promise<{
|
|
5253
|
+
created_on: string;
|
|
5254
|
+
method: "GET" | "DELETE" | "HEAD" | "OPTIONS" | "POST" | "PUT" | "PATCH";
|
|
5255
|
+
route: string;
|
|
5256
|
+
status_code: number;
|
|
5257
|
+
created_entity_id?: string | null | undefined;
|
|
5258
|
+
}>;
|
|
4835
5259
|
enableFlow: (syncId: string, flowId: string, body: {
|
|
4836
5260
|
integrationids: string[];
|
|
4837
5261
|
triggerid: string | null;
|
|
@@ -4888,6 +5312,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
4888
5312
|
total_refund: number | null;
|
|
4889
5313
|
total_tip: number | null;
|
|
4890
5314
|
delivery_fee: number | null;
|
|
5315
|
+
mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
|
|
4891
5316
|
currency?: string | null | undefined;
|
|
4892
5317
|
country?: string | null | undefined;
|
|
4893
5318
|
loyalty?: number | null | undefined;
|
|
@@ -4966,6 +5391,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
4966
5391
|
total_refund: number | null;
|
|
4967
5392
|
total_tip: number | null;
|
|
4968
5393
|
delivery_fee: number | null;
|
|
5394
|
+
mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
|
|
4969
5395
|
currency?: string | null | undefined;
|
|
4970
5396
|
country?: string | null | undefined;
|
|
4971
5397
|
loyalty?: number | null | undefined;
|
|
@@ -5154,6 +5580,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
5154
5580
|
total_refund: number | null;
|
|
5155
5581
|
total_tip: number | null;
|
|
5156
5582
|
delivery_fee: number | null;
|
|
5583
|
+
mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
|
|
5157
5584
|
currency?: string | null | undefined;
|
|
5158
5585
|
country?: string | null | undefined;
|
|
5159
5586
|
loyalty?: number | null | undefined;
|
|
@@ -5258,6 +5685,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
5258
5685
|
total_refund: number | null;
|
|
5259
5686
|
total_tip: number | null;
|
|
5260
5687
|
delivery_fee: number | null;
|
|
5688
|
+
mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
|
|
5261
5689
|
currency?: string | null | undefined;
|
|
5262
5690
|
country?: string | null | undefined;
|
|
5263
5691
|
loyalty?: number | null | undefined;
|
|
@@ -5437,6 +5865,30 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
5437
5865
|
country?: string | null | undefined;
|
|
5438
5866
|
}[] | null | undefined;
|
|
5439
5867
|
}[]>;
|
|
5868
|
+
getCustomer(customerId: string, rawData?: boolean | undefined): import("../types/api").RequestData<{
|
|
5869
|
+
id: string;
|
|
5870
|
+
source_ref: {
|
|
5871
|
+
id?: string | null | undefined;
|
|
5872
|
+
model?: string | null | undefined;
|
|
5873
|
+
};
|
|
5874
|
+
first_name?: string | null | undefined;
|
|
5875
|
+
last_name?: string | null | undefined;
|
|
5876
|
+
company_name?: string | null | undefined;
|
|
5877
|
+
phone?: string | null | undefined;
|
|
5878
|
+
email?: string | null | undefined;
|
|
5879
|
+
account_number?: string | null | undefined;
|
|
5880
|
+
created_on?: string | null | undefined;
|
|
5881
|
+
addresses?: {
|
|
5882
|
+
address_type?: string | null | undefined;
|
|
5883
|
+
name?: string | null | undefined;
|
|
5884
|
+
street?: string | null | undefined;
|
|
5885
|
+
number?: string | null | undefined;
|
|
5886
|
+
box?: string | null | undefined;
|
|
5887
|
+
city?: string | null | undefined;
|
|
5888
|
+
postal_code?: string | null | undefined;
|
|
5889
|
+
country?: string | null | undefined;
|
|
5890
|
+
}[] | null | undefined;
|
|
5891
|
+
}>;
|
|
5440
5892
|
getInvoices(params?: {
|
|
5441
5893
|
date_from: string;
|
|
5442
5894
|
date_to: string;
|
|
@@ -5539,13 +5991,27 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
5539
5991
|
untaxed_amount: number;
|
|
5540
5992
|
total: number;
|
|
5541
5993
|
}[]>;
|
|
5542
|
-
|
|
5543
|
-
|
|
5544
|
-
|
|
5545
|
-
|
|
5546
|
-
|
|
5547
|
-
|
|
5548
|
-
|
|
5994
|
+
getTaxes(params?: {} | undefined, rawData?: boolean | undefined): import("../types/api").RequestData<{
|
|
5995
|
+
items: {
|
|
5996
|
+
id: string;
|
|
5997
|
+
source_ref: {
|
|
5998
|
+
id?: string | null | undefined;
|
|
5999
|
+
model?: string | null | undefined;
|
|
6000
|
+
};
|
|
6001
|
+
label?: string | null | undefined;
|
|
6002
|
+
rate?: number | null | undefined;
|
|
6003
|
+
}[];
|
|
6004
|
+
total: number;
|
|
6005
|
+
page: number;
|
|
6006
|
+
size: number;
|
|
6007
|
+
}>;
|
|
6008
|
+
}>;
|
|
6009
|
+
payment: import("../types/api").ApiFor<{
|
|
6010
|
+
getPayments(params: {
|
|
6011
|
+
date_from?: string | null | undefined;
|
|
6012
|
+
date_to?: string | null | undefined;
|
|
6013
|
+
}, options?: import("../types/api").RawDataOption | undefined): import("../types/api").RequestData<{
|
|
6014
|
+
id: string;
|
|
5549
6015
|
source_ref: {
|
|
5550
6016
|
id?: string | null | undefined;
|
|
5551
6017
|
model?: string | null | undefined;
|
|
@@ -5672,6 +6138,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
5672
6138
|
postal_code?: string | null | undefined;
|
|
5673
6139
|
country?: string | null | undefined;
|
|
5674
6140
|
}[] | null;
|
|
6141
|
+
third_party_account?: string | null | undefined;
|
|
5675
6142
|
}[]>;
|
|
5676
6143
|
createClient(client: {
|
|
5677
6144
|
external_reference?: string | null | undefined;
|
|
@@ -5745,6 +6212,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
5745
6212
|
postal_code?: string | null | undefined;
|
|
5746
6213
|
country?: string | null | undefined;
|
|
5747
6214
|
}[] | null;
|
|
6215
|
+
third_party_account?: string | null | undefined;
|
|
5748
6216
|
}>;
|
|
5749
6217
|
getClient(clientId: string, params?: {
|
|
5750
6218
|
folder_id?: string | null | undefined;
|
|
@@ -5784,6 +6252,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
5784
6252
|
postal_code?: string | null | undefined;
|
|
5785
6253
|
country?: string | null | undefined;
|
|
5786
6254
|
}[] | null;
|
|
6255
|
+
third_party_account?: string | null | undefined;
|
|
5787
6256
|
}>;
|
|
5788
6257
|
updateClient(clientId: string, client: {
|
|
5789
6258
|
external_reference?: string | null | undefined;
|
|
@@ -5855,6 +6324,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
5855
6324
|
postal_code?: string | null | undefined;
|
|
5856
6325
|
country?: string | null | undefined;
|
|
5857
6326
|
}[] | null;
|
|
6327
|
+
third_party_account?: string | null | undefined;
|
|
5858
6328
|
}>;
|
|
5859
6329
|
getSuppliers(params?: {
|
|
5860
6330
|
search?: string | null | undefined;
|
|
@@ -5896,6 +6366,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
5896
6366
|
postal_code?: string | null | undefined;
|
|
5897
6367
|
country?: string | null | undefined;
|
|
5898
6368
|
}[] | null;
|
|
6369
|
+
third_party_account?: string | null | undefined;
|
|
5899
6370
|
}[]>;
|
|
5900
6371
|
createSupplier(supplier: {
|
|
5901
6372
|
external_reference?: string | null | undefined;
|
|
@@ -5969,6 +6440,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
5969
6440
|
postal_code?: string | null | undefined;
|
|
5970
6441
|
country?: string | null | undefined;
|
|
5971
6442
|
}[] | null;
|
|
6443
|
+
third_party_account?: string | null | undefined;
|
|
5972
6444
|
}>;
|
|
5973
6445
|
getSupplier(supplierId: string, params?: {
|
|
5974
6446
|
folder_id?: string | null | undefined;
|
|
@@ -6008,6 +6480,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
6008
6480
|
postal_code?: string | null | undefined;
|
|
6009
6481
|
country?: string | null | undefined;
|
|
6010
6482
|
}[] | null;
|
|
6483
|
+
third_party_account?: string | null | undefined;
|
|
6011
6484
|
}>;
|
|
6012
6485
|
updateSupplier(supplierId: string, supplier: {
|
|
6013
6486
|
external_reference?: string | null | undefined;
|
|
@@ -6079,6 +6552,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
6079
6552
|
postal_code?: string | null | undefined;
|
|
6080
6553
|
country?: string | null | undefined;
|
|
6081
6554
|
}[] | null;
|
|
6555
|
+
third_party_account?: string | null | undefined;
|
|
6082
6556
|
}>;
|
|
6083
6557
|
createInvoice(invoice: {
|
|
6084
6558
|
invoice_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund";
|
|
@@ -6090,6 +6564,12 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
6090
6564
|
reference?: string | null | undefined;
|
|
6091
6565
|
payment_communication?: string | null | undefined;
|
|
6092
6566
|
customer_memo?: string | null | undefined;
|
|
6567
|
+
payment_term_id?: string | null | undefined;
|
|
6568
|
+
withholding_tax?: {
|
|
6569
|
+
tax_rate: number;
|
|
6570
|
+
tax_code: string;
|
|
6571
|
+
tax_amount: number;
|
|
6572
|
+
} | null | undefined;
|
|
6093
6573
|
invoice_date: string;
|
|
6094
6574
|
due_date: string;
|
|
6095
6575
|
partner_id?: string | null | undefined;
|
|
@@ -6132,10 +6612,15 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
6132
6612
|
description: string;
|
|
6133
6613
|
analytic_account?: string | null | undefined;
|
|
6134
6614
|
}[];
|
|
6615
|
+
start_date?: string | null | undefined;
|
|
6616
|
+
end_date?: string | null | undefined;
|
|
6617
|
+
payment_method_id?: string | null | undefined;
|
|
6135
6618
|
}, params?: {
|
|
6136
6619
|
folder_id?: string | null | undefined;
|
|
6137
6620
|
force_financial_period?: string | null | undefined;
|
|
6138
6621
|
regroup_lines?: "true" | "false" | null | undefined;
|
|
6622
|
+
ignore_accounting_id?: boolean | undefined;
|
|
6623
|
+
force_currency_exchange?: boolean | null | undefined;
|
|
6139
6624
|
} | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
|
|
6140
6625
|
invoice_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund";
|
|
6141
6626
|
invoice_number?: string | null | undefined;
|
|
@@ -6146,10 +6631,16 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
6146
6631
|
reference?: string | null | undefined;
|
|
6147
6632
|
payment_communication?: string | null | undefined;
|
|
6148
6633
|
customer_memo?: string | null | undefined;
|
|
6634
|
+
payment_term_id?: string | null | undefined;
|
|
6635
|
+
withholding_tax?: {
|
|
6636
|
+
tax_rate: number;
|
|
6637
|
+
tax_code: string;
|
|
6638
|
+
tax_amount: number;
|
|
6639
|
+
} | null | undefined;
|
|
6149
6640
|
id?: string | null | undefined;
|
|
6150
6641
|
invoice_date: string;
|
|
6151
6642
|
due_date: string;
|
|
6152
|
-
partner_id: string;
|
|
6643
|
+
partner_id: string | null;
|
|
6153
6644
|
journal_id?: string | null | undefined;
|
|
6154
6645
|
payments?: {
|
|
6155
6646
|
id: string;
|
|
@@ -6203,12 +6694,27 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
6203
6694
|
postal_code?: string | null | undefined;
|
|
6204
6695
|
country?: string | null | undefined;
|
|
6205
6696
|
}[] | null;
|
|
6697
|
+
third_party_account?: string | null | undefined;
|
|
6206
6698
|
} | null | undefined;
|
|
6207
6699
|
due_dates: {
|
|
6208
6700
|
due_date: string;
|
|
6209
6701
|
payment_method?: string | null | undefined;
|
|
6702
|
+
payment_method_id?: string | null | undefined;
|
|
6210
6703
|
amount: number;
|
|
6211
6704
|
}[] | null;
|
|
6705
|
+
attachments_info?: {
|
|
6706
|
+
status: "unknown" | "yes" | "yes_to_request" | "no";
|
|
6707
|
+
attachments: {
|
|
6708
|
+
filename?: string | null | undefined;
|
|
6709
|
+
url?: string | null | undefined;
|
|
6710
|
+
}[] | null;
|
|
6711
|
+
} | undefined;
|
|
6712
|
+
accounting_info?: {
|
|
6713
|
+
main_currency?: string | undefined;
|
|
6714
|
+
main_currency_total: number;
|
|
6715
|
+
account_number?: string | null | undefined;
|
|
6716
|
+
} | null | undefined;
|
|
6717
|
+
payment_method_id?: string | null | undefined;
|
|
6212
6718
|
lines: {
|
|
6213
6719
|
line_number: number | null;
|
|
6214
6720
|
unit_price: number;
|
|
@@ -6234,6 +6740,12 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
6234
6740
|
reference?: string | null | undefined;
|
|
6235
6741
|
payment_communication?: string | null | undefined;
|
|
6236
6742
|
customer_memo?: string | null | undefined;
|
|
6743
|
+
payment_term_id?: string | null | undefined;
|
|
6744
|
+
withholding_tax?: {
|
|
6745
|
+
tax_rate: number;
|
|
6746
|
+
tax_code: string;
|
|
6747
|
+
tax_amount: number;
|
|
6748
|
+
} | null | undefined;
|
|
6237
6749
|
invoice_date: string;
|
|
6238
6750
|
due_date: string;
|
|
6239
6751
|
partner_id?: string | null | undefined;
|
|
@@ -6282,10 +6794,15 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
6282
6794
|
}[];
|
|
6283
6795
|
}[] | null;
|
|
6284
6796
|
}[];
|
|
6797
|
+
start_date?: string | null | undefined;
|
|
6798
|
+
end_date?: string | null | undefined;
|
|
6799
|
+
payment_method_id?: string | null | undefined;
|
|
6285
6800
|
}, params?: {
|
|
6286
6801
|
folder_id?: string | null | undefined;
|
|
6287
6802
|
force_financial_period?: string | null | undefined;
|
|
6288
6803
|
regroup_lines?: "true" | "false" | null | undefined;
|
|
6804
|
+
ignore_accounting_id?: boolean | undefined;
|
|
6805
|
+
force_currency_exchange?: boolean | null | undefined;
|
|
6289
6806
|
} | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
|
|
6290
6807
|
invoice_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund";
|
|
6291
6808
|
invoice_number?: string | null | undefined;
|
|
@@ -6296,10 +6813,16 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
6296
6813
|
reference?: string | null | undefined;
|
|
6297
6814
|
payment_communication?: string | null | undefined;
|
|
6298
6815
|
customer_memo?: string | null | undefined;
|
|
6816
|
+
payment_term_id?: string | null | undefined;
|
|
6817
|
+
withholding_tax?: {
|
|
6818
|
+
tax_rate: number;
|
|
6819
|
+
tax_code: string;
|
|
6820
|
+
tax_amount: number;
|
|
6821
|
+
} | null | undefined;
|
|
6299
6822
|
id?: string | null | undefined;
|
|
6300
6823
|
invoice_date: string;
|
|
6301
6824
|
due_date: string;
|
|
6302
|
-
partner_id: string;
|
|
6825
|
+
partner_id: string | null;
|
|
6303
6826
|
journal_id?: string | null | undefined;
|
|
6304
6827
|
payments?: {
|
|
6305
6828
|
id: string;
|
|
@@ -6353,12 +6876,27 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
6353
6876
|
postal_code?: string | null | undefined;
|
|
6354
6877
|
country?: string | null | undefined;
|
|
6355
6878
|
}[] | null;
|
|
6879
|
+
third_party_account?: string | null | undefined;
|
|
6356
6880
|
} | null | undefined;
|
|
6357
6881
|
due_dates: {
|
|
6358
6882
|
due_date: string;
|
|
6359
6883
|
payment_method?: string | null | undefined;
|
|
6884
|
+
payment_method_id?: string | null | undefined;
|
|
6360
6885
|
amount: number;
|
|
6361
6886
|
}[] | null;
|
|
6887
|
+
attachments_info?: {
|
|
6888
|
+
status: "unknown" | "yes" | "yes_to_request" | "no";
|
|
6889
|
+
attachments: {
|
|
6890
|
+
filename?: string | null | undefined;
|
|
6891
|
+
url?: string | null | undefined;
|
|
6892
|
+
}[] | null;
|
|
6893
|
+
} | undefined;
|
|
6894
|
+
accounting_info?: {
|
|
6895
|
+
main_currency?: string | undefined;
|
|
6896
|
+
main_currency_total: number;
|
|
6897
|
+
account_number?: string | null | undefined;
|
|
6898
|
+
} | null | undefined;
|
|
6899
|
+
payment_method_id?: string | null | undefined;
|
|
6362
6900
|
lines: {
|
|
6363
6901
|
line_number: number | null;
|
|
6364
6902
|
unit_price: number;
|
|
@@ -6400,10 +6938,16 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
6400
6938
|
reference?: string | null | undefined;
|
|
6401
6939
|
payment_communication?: string | null | undefined;
|
|
6402
6940
|
customer_memo?: string | null | undefined;
|
|
6941
|
+
payment_term_id?: string | null | undefined;
|
|
6942
|
+
withholding_tax?: {
|
|
6943
|
+
tax_rate: number;
|
|
6944
|
+
tax_code: string;
|
|
6945
|
+
tax_amount: number;
|
|
6946
|
+
} | null | undefined;
|
|
6403
6947
|
id?: string | null | undefined;
|
|
6404
6948
|
invoice_date: string;
|
|
6405
6949
|
due_date: string;
|
|
6406
|
-
partner_id: string;
|
|
6950
|
+
partner_id: string | null;
|
|
6407
6951
|
journal_id?: string | null | undefined;
|
|
6408
6952
|
payments?: {
|
|
6409
6953
|
id: string;
|
|
@@ -6457,12 +7001,27 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
6457
7001
|
postal_code?: string | null | undefined;
|
|
6458
7002
|
country?: string | null | undefined;
|
|
6459
7003
|
}[] | null;
|
|
7004
|
+
third_party_account?: string | null | undefined;
|
|
6460
7005
|
} | null | undefined;
|
|
6461
7006
|
due_dates: {
|
|
6462
7007
|
due_date: string;
|
|
6463
7008
|
payment_method?: string | null | undefined;
|
|
7009
|
+
payment_method_id?: string | null | undefined;
|
|
6464
7010
|
amount: number;
|
|
6465
7011
|
}[] | null;
|
|
7012
|
+
attachments_info?: {
|
|
7013
|
+
status: "unknown" | "yes" | "yes_to_request" | "no";
|
|
7014
|
+
attachments: {
|
|
7015
|
+
filename?: string | null | undefined;
|
|
7016
|
+
url?: string | null | undefined;
|
|
7017
|
+
}[] | null;
|
|
7018
|
+
} | undefined;
|
|
7019
|
+
accounting_info?: {
|
|
7020
|
+
main_currency?: string | undefined;
|
|
7021
|
+
main_currency_total: number;
|
|
7022
|
+
account_number?: string | null | undefined;
|
|
7023
|
+
} | null | undefined;
|
|
7024
|
+
payment_method_id?: string | null | undefined;
|
|
6466
7025
|
lines: {
|
|
6467
7026
|
line_number: number | null;
|
|
6468
7027
|
unit_price: number;
|
|
@@ -6493,10 +7052,16 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
6493
7052
|
reference?: string | null | undefined;
|
|
6494
7053
|
payment_communication?: string | null | undefined;
|
|
6495
7054
|
customer_memo?: string | null | undefined;
|
|
7055
|
+
payment_term_id?: string | null | undefined;
|
|
7056
|
+
withholding_tax?: {
|
|
7057
|
+
tax_rate: number;
|
|
7058
|
+
tax_code: string;
|
|
7059
|
+
tax_amount: number;
|
|
7060
|
+
} | null | undefined;
|
|
6496
7061
|
id?: string | null | undefined;
|
|
6497
7062
|
invoice_date: string;
|
|
6498
7063
|
due_date: string;
|
|
6499
|
-
partner_id: string;
|
|
7064
|
+
partner_id: string | null;
|
|
6500
7065
|
journal_id?: string | null | undefined;
|
|
6501
7066
|
payments?: {
|
|
6502
7067
|
id: string;
|
|
@@ -6550,12 +7115,27 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
6550
7115
|
postal_code?: string | null | undefined;
|
|
6551
7116
|
country?: string | null | undefined;
|
|
6552
7117
|
}[] | null;
|
|
7118
|
+
third_party_account?: string | null | undefined;
|
|
6553
7119
|
} | null | undefined;
|
|
6554
7120
|
due_dates: {
|
|
6555
7121
|
due_date: string;
|
|
6556
7122
|
payment_method?: string | null | undefined;
|
|
7123
|
+
payment_method_id?: string | null | undefined;
|
|
6557
7124
|
amount: number;
|
|
6558
7125
|
}[] | null;
|
|
7126
|
+
attachments_info?: {
|
|
7127
|
+
status: "unknown" | "yes" | "yes_to_request" | "no";
|
|
7128
|
+
attachments: {
|
|
7129
|
+
filename?: string | null | undefined;
|
|
7130
|
+
url?: string | null | undefined;
|
|
7131
|
+
}[] | null;
|
|
7132
|
+
} | undefined;
|
|
7133
|
+
accounting_info?: {
|
|
7134
|
+
main_currency?: string | undefined;
|
|
7135
|
+
main_currency_total: number;
|
|
7136
|
+
account_number?: string | null | undefined;
|
|
7137
|
+
} | null | undefined;
|
|
7138
|
+
payment_method_id?: string | null | undefined;
|
|
6559
7139
|
lines: {
|
|
6560
7140
|
line_number: number | null;
|
|
6561
7141
|
unit_price: number;
|
|
@@ -6586,10 +7166,16 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
6586
7166
|
reference?: string | null | undefined;
|
|
6587
7167
|
payment_communication?: string | null | undefined;
|
|
6588
7168
|
customer_memo?: string | null | undefined;
|
|
7169
|
+
payment_term_id?: string | null | undefined;
|
|
7170
|
+
withholding_tax?: {
|
|
7171
|
+
tax_rate: number;
|
|
7172
|
+
tax_code: string;
|
|
7173
|
+
tax_amount: number;
|
|
7174
|
+
} | null | undefined;
|
|
6589
7175
|
id?: string | null | undefined;
|
|
6590
7176
|
invoice_date: string;
|
|
6591
7177
|
due_date: string;
|
|
6592
|
-
partner_id: string;
|
|
7178
|
+
partner_id: string | null;
|
|
6593
7179
|
journal_id?: string | null | undefined;
|
|
6594
7180
|
payments?: {
|
|
6595
7181
|
id: string;
|
|
@@ -6643,12 +7229,27 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
6643
7229
|
postal_code?: string | null | undefined;
|
|
6644
7230
|
country?: string | null | undefined;
|
|
6645
7231
|
}[] | null;
|
|
7232
|
+
third_party_account?: string | null | undefined;
|
|
6646
7233
|
} | null | undefined;
|
|
6647
7234
|
due_dates: {
|
|
6648
7235
|
due_date: string;
|
|
6649
7236
|
payment_method?: string | null | undefined;
|
|
7237
|
+
payment_method_id?: string | null | undefined;
|
|
6650
7238
|
amount: number;
|
|
6651
7239
|
}[] | null;
|
|
7240
|
+
attachments_info?: {
|
|
7241
|
+
status: "unknown" | "yes" | "yes_to_request" | "no";
|
|
7242
|
+
attachments: {
|
|
7243
|
+
filename?: string | null | undefined;
|
|
7244
|
+
url?: string | null | undefined;
|
|
7245
|
+
}[] | null;
|
|
7246
|
+
} | undefined;
|
|
7247
|
+
accounting_info?: {
|
|
7248
|
+
main_currency?: string | undefined;
|
|
7249
|
+
main_currency_total: number;
|
|
7250
|
+
account_number?: string | null | undefined;
|
|
7251
|
+
} | null | undefined;
|
|
7252
|
+
payment_method_id?: string | null | undefined;
|
|
6652
7253
|
lines: {
|
|
6653
7254
|
line_number: number | null;
|
|
6654
7255
|
unit_price: number;
|
|
@@ -6690,10 +7291,16 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
6690
7291
|
reference?: string | null | undefined;
|
|
6691
7292
|
payment_communication?: string | null | undefined;
|
|
6692
7293
|
customer_memo?: string | null | undefined;
|
|
7294
|
+
payment_term_id?: string | null | undefined;
|
|
7295
|
+
withholding_tax?: {
|
|
7296
|
+
tax_rate: number;
|
|
7297
|
+
tax_code: string;
|
|
7298
|
+
tax_amount: number;
|
|
7299
|
+
} | null | undefined;
|
|
6693
7300
|
id?: string | null | undefined;
|
|
6694
7301
|
invoice_date: string;
|
|
6695
7302
|
due_date: string;
|
|
6696
|
-
partner_id: string;
|
|
7303
|
+
partner_id: string | null;
|
|
6697
7304
|
journal_id?: string | null | undefined;
|
|
6698
7305
|
payments?: {
|
|
6699
7306
|
id: string;
|
|
@@ -6747,12 +7354,27 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
6747
7354
|
postal_code?: string | null | undefined;
|
|
6748
7355
|
country?: string | null | undefined;
|
|
6749
7356
|
}[] | null;
|
|
7357
|
+
third_party_account?: string | null | undefined;
|
|
6750
7358
|
} | null | undefined;
|
|
6751
7359
|
due_dates: {
|
|
6752
7360
|
due_date: string;
|
|
6753
7361
|
payment_method?: string | null | undefined;
|
|
7362
|
+
payment_method_id?: string | null | undefined;
|
|
6754
7363
|
amount: number;
|
|
6755
7364
|
}[] | null;
|
|
7365
|
+
attachments_info?: {
|
|
7366
|
+
status: "unknown" | "yes" | "yes_to_request" | "no";
|
|
7367
|
+
attachments: {
|
|
7368
|
+
filename?: string | null | undefined;
|
|
7369
|
+
url?: string | null | undefined;
|
|
7370
|
+
}[] | null;
|
|
7371
|
+
} | undefined;
|
|
7372
|
+
accounting_info?: {
|
|
7373
|
+
main_currency?: string | undefined;
|
|
7374
|
+
main_currency_total: number;
|
|
7375
|
+
account_number?: string | null | undefined;
|
|
7376
|
+
} | null | undefined;
|
|
7377
|
+
payment_method_id?: string | null | undefined;
|
|
6756
7378
|
lines: {
|
|
6757
7379
|
line_number: number | null;
|
|
6758
7380
|
unit_price: number;
|
|
@@ -6900,7 +7522,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
6900
7522
|
folder_id?: string | null | undefined;
|
|
6901
7523
|
updated_after?: string | null | undefined;
|
|
6902
7524
|
unposted_allowed: "true" | "false";
|
|
6903
|
-
journal_id
|
|
7525
|
+
journal_id?: string | null | undefined;
|
|
6904
7526
|
partner_id?: string | null | undefined;
|
|
6905
7527
|
}, options?: import("../types/api").RawDataOption | undefined): import("../types/api").RequestData<{
|
|
6906
7528
|
reference?: string | null | undefined;
|
|
@@ -6914,9 +7536,17 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
6914
7536
|
due_dates: {
|
|
6915
7537
|
due_date: string;
|
|
6916
7538
|
payment_method?: string | null | undefined;
|
|
7539
|
+
payment_method_id?: string | null | undefined;
|
|
6917
7540
|
debit: number | null;
|
|
6918
7541
|
credit: number | null;
|
|
6919
7542
|
}[] | null;
|
|
7543
|
+
attachments_info?: {
|
|
7544
|
+
status: "unknown" | "yes" | "yes_to_request" | "no";
|
|
7545
|
+
attachments: {
|
|
7546
|
+
filename?: string | null | undefined;
|
|
7547
|
+
url?: string | null | undefined;
|
|
7548
|
+
}[] | null;
|
|
7549
|
+
} | undefined;
|
|
6920
7550
|
items: {
|
|
6921
7551
|
account_number: string;
|
|
6922
7552
|
partner_id?: string | null | undefined;
|
|
@@ -6939,7 +7569,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
6939
7569
|
folder_id?: string | null | undefined;
|
|
6940
7570
|
updated_after?: string | null | undefined;
|
|
6941
7571
|
unposted_allowed: "true" | "false";
|
|
6942
|
-
journal_id
|
|
7572
|
+
journal_id?: string | null | undefined;
|
|
6943
7573
|
partner_id?: string | null | undefined;
|
|
6944
7574
|
}, options?: import("../types/api").RawDataOption | undefined): import("../types/api").RequestData<{
|
|
6945
7575
|
reference?: string | null | undefined;
|
|
@@ -6953,9 +7583,17 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
6953
7583
|
due_dates: {
|
|
6954
7584
|
due_date: string;
|
|
6955
7585
|
payment_method?: string | null | undefined;
|
|
7586
|
+
payment_method_id?: string | null | undefined;
|
|
6956
7587
|
debit: number | null;
|
|
6957
7588
|
credit: number | null;
|
|
6958
7589
|
}[] | null;
|
|
7590
|
+
attachments_info?: {
|
|
7591
|
+
status: "unknown" | "yes" | "yes_to_request" | "no";
|
|
7592
|
+
attachments: {
|
|
7593
|
+
filename?: string | null | undefined;
|
|
7594
|
+
url?: string | null | undefined;
|
|
7595
|
+
}[] | null;
|
|
7596
|
+
} | undefined;
|
|
6959
7597
|
items: {
|
|
6960
7598
|
account_number: string;
|
|
6961
7599
|
partner_id?: string | null | undefined;
|
|
@@ -7045,6 +7683,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
7045
7683
|
} | undefined, options?: import("../types/api").RawDataOption | undefined): import("../types/api").RequestData<{
|
|
7046
7684
|
id: string;
|
|
7047
7685
|
code?: string | null | undefined;
|
|
7686
|
+
active: boolean | null;
|
|
7048
7687
|
label: string;
|
|
7049
7688
|
scope: "unknown" | "nat" | "eu" | "int" | null;
|
|
7050
7689
|
rate: number;
|
|
@@ -7052,6 +7691,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
7052
7691
|
deductible_account?: string | null | undefined;
|
|
7053
7692
|
payable_account?: string | null | undefined;
|
|
7054
7693
|
reversed: boolean | null;
|
|
7694
|
+
withholding_tax: boolean | null;
|
|
7055
7695
|
country?: string | null | undefined;
|
|
7056
7696
|
}[]>;
|
|
7057
7697
|
getMiscOperations(params?: {
|
|
@@ -7154,12 +7794,14 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
7154
7794
|
getChartOfAccounts(params?: {
|
|
7155
7795
|
folder_id?: string | null | undefined;
|
|
7156
7796
|
classes?: string | null | undefined;
|
|
7157
|
-
type?: "vat" | "bank" | "cash" | "income" | "expense" | null | undefined;
|
|
7797
|
+
type?: "vat" | "bank" | "cash" | "income" | "expense" | "other_expense" | null | undefined;
|
|
7158
7798
|
} | undefined, options?: import("../types/api").RawDataOption | undefined): import("../types/api").RequestData<{
|
|
7159
7799
|
number: string;
|
|
7160
7800
|
name: string;
|
|
7161
7801
|
active: boolean | null;
|
|
7162
|
-
type?: "vat" | "other" | "bank" | "cash" | "other_financial" | "receivable" | "payable" | "income" | "expense" | null | undefined;
|
|
7802
|
+
type?: "vat" | "other" | "bank" | "cash" | "other_financial" | "receivable" | "payable" | "income" | "expense" | "other_expense" | null | undefined;
|
|
7803
|
+
scheme_ids?: string[] | null | undefined;
|
|
7804
|
+
accounting_category?: string | null | undefined;
|
|
7163
7805
|
}[]>;
|
|
7164
7806
|
getBalanceOfAccounts(filter: {
|
|
7165
7807
|
accounts: string[];
|
|
@@ -7235,11 +7877,13 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
7235
7877
|
account: string;
|
|
7236
7878
|
amount: number;
|
|
7237
7879
|
description?: string | null | undefined;
|
|
7880
|
+
automated_matching_number?: string | null | undefined;
|
|
7238
7881
|
}[];
|
|
7239
7882
|
pdf?: string | null | undefined;
|
|
7240
7883
|
}, params?: {
|
|
7241
7884
|
folder_id?: string | null | undefined;
|
|
7242
7885
|
financial_counterpart_account?: string | null | undefined;
|
|
7886
|
+
force_currency_exchange?: boolean | null | undefined;
|
|
7243
7887
|
} | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
|
|
7244
7888
|
date: string;
|
|
7245
7889
|
journal_id: string;
|
|
@@ -7253,6 +7897,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
7253
7897
|
account: string;
|
|
7254
7898
|
amount: number;
|
|
7255
7899
|
description?: string | null | undefined;
|
|
7900
|
+
automated_matching_number?: string | null | undefined;
|
|
7256
7901
|
counterpart_account: string;
|
|
7257
7902
|
}[];
|
|
7258
7903
|
}>;
|
|
@@ -7280,6 +7925,13 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
7280
7925
|
}[];
|
|
7281
7926
|
}[] | null;
|
|
7282
7927
|
tax_code?: string | null | undefined;
|
|
7928
|
+
tax_info?: {
|
|
7929
|
+
tax_code: string;
|
|
7930
|
+
tax_amount: number;
|
|
7931
|
+
vat_account?: string | null | undefined;
|
|
7932
|
+
reversed_vat_account?: string | null | undefined;
|
|
7933
|
+
description?: string | null | undefined;
|
|
7934
|
+
} | null | undefined;
|
|
7283
7935
|
account_info?: {
|
|
7284
7936
|
account_number: string;
|
|
7285
7937
|
account_name: string;
|
|
@@ -7292,6 +7944,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
7292
7944
|
}, params?: {
|
|
7293
7945
|
folder_id?: string | null | undefined;
|
|
7294
7946
|
force_currency_exchange?: "true" | "false" | null | undefined;
|
|
7947
|
+
ignore_accounting_id?: boolean | undefined;
|
|
7295
7948
|
} | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
|
|
7296
7949
|
reference?: string | null | undefined;
|
|
7297
7950
|
due_date?: string | null | undefined;
|
|
@@ -7304,9 +7957,17 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
7304
7957
|
due_dates: {
|
|
7305
7958
|
due_date: string;
|
|
7306
7959
|
payment_method?: string | null | undefined;
|
|
7960
|
+
payment_method_id?: string | null | undefined;
|
|
7307
7961
|
debit: number | null;
|
|
7308
7962
|
credit: number | null;
|
|
7309
7963
|
}[] | null;
|
|
7964
|
+
attachments_info?: {
|
|
7965
|
+
status: "unknown" | "yes" | "yes_to_request" | "no";
|
|
7966
|
+
attachments: {
|
|
7967
|
+
filename?: string | null | undefined;
|
|
7968
|
+
url?: string | null | undefined;
|
|
7969
|
+
}[] | null;
|
|
7970
|
+
} | undefined;
|
|
7310
7971
|
items: {
|
|
7311
7972
|
account_number: string;
|
|
7312
7973
|
partner_id?: string | null | undefined;
|
|
@@ -7422,14 +8083,35 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
7422
8083
|
createLedgerAccount(account: {
|
|
7423
8084
|
name: string;
|
|
7424
8085
|
number: string;
|
|
7425
|
-
type: "vat" | "other" | "bank" | "cash" | "other_financial" | "receivable" | "payable" | "income" | "expense" | null;
|
|
8086
|
+
type: "vat" | "other" | "bank" | "cash" | "other_financial" | "receivable" | "payable" | "income" | "expense" | "other_expense" | null;
|
|
7426
8087
|
}, params?: {
|
|
7427
8088
|
folder_id?: string | null | undefined;
|
|
7428
8089
|
} | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
|
|
7429
8090
|
number: string;
|
|
7430
8091
|
name: string;
|
|
7431
8092
|
active: boolean | null;
|
|
7432
|
-
type?: "vat" | "other" | "bank" | "cash" | "other_financial" | "receivable" | "payable" | "income" | "expense" | null | undefined;
|
|
8093
|
+
type?: "vat" | "other" | "bank" | "cash" | "other_financial" | "receivable" | "payable" | "income" | "expense" | "other_expense" | null | undefined;
|
|
8094
|
+
scheme_ids?: string[] | null | undefined;
|
|
8095
|
+
accounting_category?: string | null | undefined;
|
|
8096
|
+
}>;
|
|
8097
|
+
getBankAccounts(params?: {
|
|
8098
|
+
folder_id?: string | null | undefined;
|
|
8099
|
+
} | undefined, options?: import("../types/api").RawDataOption | undefined): import("../types/api").RequestData<{
|
|
8100
|
+
items: {
|
|
8101
|
+
id: string;
|
|
8102
|
+
code?: string | null | undefined;
|
|
8103
|
+
currency?: string | null | undefined;
|
|
8104
|
+
account_name?: string | null | undefined;
|
|
8105
|
+
account_number?: string | null | undefined;
|
|
8106
|
+
iban?: string | null | undefined;
|
|
8107
|
+
bank_name?: string | null | undefined;
|
|
8108
|
+
journal_id?: string | null | undefined;
|
|
8109
|
+
ledger_account?: string | null | undefined;
|
|
8110
|
+
unallocated_account?: string | null | undefined;
|
|
8111
|
+
}[];
|
|
8112
|
+
total: number;
|
|
8113
|
+
page: number;
|
|
8114
|
+
size: number;
|
|
7433
8115
|
}>;
|
|
7434
8116
|
createBankAccount(bankAccount: {
|
|
7435
8117
|
code: string;
|
|
@@ -7452,6 +8134,45 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
7452
8134
|
ledger_account?: string | null | undefined;
|
|
7453
8135
|
unallocated_account?: string | null | undefined;
|
|
7454
8136
|
}>;
|
|
8137
|
+
createBankTransactions(bankStatement: {
|
|
8138
|
+
bank_statement_date: string;
|
|
8139
|
+
bank_account_id: string;
|
|
8140
|
+
external_bank_statement_id: string;
|
|
8141
|
+
opening_balance?: number | null | undefined;
|
|
8142
|
+
pdf?: string | null | undefined;
|
|
8143
|
+
items: {
|
|
8144
|
+
account_type?: "customer_account" | "supplier_account" | "employee_account" | "general_account" | null | undefined;
|
|
8145
|
+
account?: string | null | undefined;
|
|
8146
|
+
description?: string | null | undefined;
|
|
8147
|
+
external_transaction_id?: string | null | undefined;
|
|
8148
|
+
date: string;
|
|
8149
|
+
amount: number;
|
|
8150
|
+
fee_amount: number | null;
|
|
8151
|
+
tax_amount: number | null;
|
|
8152
|
+
currency: string;
|
|
8153
|
+
currency_exchange_rate: number | null;
|
|
8154
|
+
}[];
|
|
8155
|
+
}, params?: {
|
|
8156
|
+
folder_id?: string | null | undefined;
|
|
8157
|
+
} | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
|
|
8158
|
+
bank_statement_date: string;
|
|
8159
|
+
bank_account_id: string;
|
|
8160
|
+
id?: string | null | undefined;
|
|
8161
|
+
external_bank_statement_id?: string | null | undefined;
|
|
8162
|
+
items: {
|
|
8163
|
+
account_type?: "customer_account" | "supplier_account" | "employee_account" | "general_account" | null | undefined;
|
|
8164
|
+
account?: string | null | undefined;
|
|
8165
|
+
description?: string | null | undefined;
|
|
8166
|
+
external_transaction_id?: string | null | undefined;
|
|
8167
|
+
date: string;
|
|
8168
|
+
amount: number;
|
|
8169
|
+
fee_amount: number | null;
|
|
8170
|
+
tax_amount: number | null;
|
|
8171
|
+
currency: string;
|
|
8172
|
+
currency_exchange_rate: number | null;
|
|
8173
|
+
id?: string | null | undefined;
|
|
8174
|
+
}[];
|
|
8175
|
+
}>;
|
|
7455
8176
|
getJournalEntry(journalEntryId: string, params?: {
|
|
7456
8177
|
folder_id?: string | null | undefined;
|
|
7457
8178
|
} | undefined, options?: import("../types/api").RawDataOption | undefined): import("../types/api").RequestData<{
|
|
@@ -7466,9 +8187,17 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
7466
8187
|
due_dates: {
|
|
7467
8188
|
due_date: string;
|
|
7468
8189
|
payment_method?: string | null | undefined;
|
|
8190
|
+
payment_method_id?: string | null | undefined;
|
|
7469
8191
|
debit: number | null;
|
|
7470
8192
|
credit: number | null;
|
|
7471
8193
|
}[] | null;
|
|
8194
|
+
attachments_info?: {
|
|
8195
|
+
status: "unknown" | "yes" | "yes_to_request" | "no";
|
|
8196
|
+
attachments: {
|
|
8197
|
+
filename?: string | null | undefined;
|
|
8198
|
+
url?: string | null | undefined;
|
|
8199
|
+
}[] | null;
|
|
8200
|
+
} | undefined;
|
|
7472
8201
|
items: {
|
|
7473
8202
|
account_number: string;
|
|
7474
8203
|
partner_id?: string | null | undefined;
|
|
@@ -7503,6 +8232,29 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
7503
8232
|
page: number;
|
|
7504
8233
|
size: number;
|
|
7505
8234
|
}>;
|
|
8235
|
+
getPaymentTerms(params?: {
|
|
8236
|
+
folder_id?: string | null | undefined;
|
|
8237
|
+
} | undefined, options?: import("../types/api").RawDataOption | undefined): import("../types/api").RequestData<{
|
|
8238
|
+
items: {
|
|
8239
|
+
id: string;
|
|
8240
|
+
name?: string | null | undefined;
|
|
8241
|
+
}[];
|
|
8242
|
+
total: number;
|
|
8243
|
+
page: number;
|
|
8244
|
+
size: number;
|
|
8245
|
+
}>;
|
|
8246
|
+
getSchemes(params?: {
|
|
8247
|
+
folder_id?: string | null | undefined;
|
|
8248
|
+
} | undefined, options?: import("../types/api").RawDataOption | undefined): import("../types/api").RequestData<{
|
|
8249
|
+
items: {
|
|
8250
|
+
id: string;
|
|
8251
|
+
code: string;
|
|
8252
|
+
name: string;
|
|
8253
|
+
}[];
|
|
8254
|
+
total: number;
|
|
8255
|
+
page: number;
|
|
8256
|
+
size: number;
|
|
8257
|
+
}>;
|
|
7506
8258
|
createInvoicePayment(body: {
|
|
7507
8259
|
date: string;
|
|
7508
8260
|
payment_method_id: string;
|
|
@@ -7522,6 +8274,29 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
7522
8274
|
};
|
|
7523
8275
|
content?: undefined;
|
|
7524
8276
|
}>;
|
|
8277
|
+
exportFec(params: {
|
|
8278
|
+
folder_id?: string | null | undefined;
|
|
8279
|
+
date_from: string;
|
|
8280
|
+
date_to: string;
|
|
8281
|
+
}, options?: import("../types/api").RawDataOption | undefined): import("../types/api").RequestData<{
|
|
8282
|
+
JournalCode: string;
|
|
8283
|
+
JournalLib: string;
|
|
8284
|
+
EcritureNum: string;
|
|
8285
|
+
EcritureDate: string;
|
|
8286
|
+
CompteNum: string;
|
|
8287
|
+
CompteLib: string;
|
|
8288
|
+
CompAuxNum: string;
|
|
8289
|
+
CompAuxLib: string;
|
|
8290
|
+
PieceRef: string;
|
|
8291
|
+
PieceDate: string;
|
|
8292
|
+
Debit: number;
|
|
8293
|
+
Credit: number;
|
|
8294
|
+
EcritureLet: string;
|
|
8295
|
+
DateLet: string | null;
|
|
8296
|
+
ValidDate: string | null;
|
|
8297
|
+
Montantdevise: number;
|
|
8298
|
+
Idevise: string;
|
|
8299
|
+
}[]>;
|
|
7525
8300
|
}>;
|
|
7526
8301
|
invoicing: import("../types/api").ApiFor<{
|
|
7527
8302
|
getInvoices(params?: {
|
|
@@ -7531,6 +8306,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
7531
8306
|
updated_after?: string | null | undefined;
|
|
7532
8307
|
include_invoice_lines?: "true" | "false" | null | undefined;
|
|
7533
8308
|
invoice_type?: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund" | "all" | null | undefined;
|
|
8309
|
+
include_analytic_accounts?: "true" | "false" | null | undefined;
|
|
7534
8310
|
} | undefined, options?: import("../types/api").RawDataOption | undefined): import("../types/api").RequestData<{
|
|
7535
8311
|
id: string;
|
|
7536
8312
|
source_ref: {
|
|
@@ -7560,6 +8336,14 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
7560
8336
|
product_id?: string | null | undefined;
|
|
7561
8337
|
product_code?: string | null | undefined;
|
|
7562
8338
|
product_name?: string | null | undefined;
|
|
8339
|
+
analytic_distribution: {
|
|
8340
|
+
analytic_plan_code: string;
|
|
8341
|
+
analytic_accounts: {
|
|
8342
|
+
analytic_account_code: string;
|
|
8343
|
+
analytic_account_name: string;
|
|
8344
|
+
percentage: number;
|
|
8345
|
+
}[];
|
|
8346
|
+
}[] | null;
|
|
7563
8347
|
}[];
|
|
7564
8348
|
partner_id?: string | null | undefined;
|
|
7565
8349
|
invoice_number?: string | null | undefined;
|
|
@@ -7599,6 +8383,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
7599
8383
|
}[]>;
|
|
7600
8384
|
getInvoiceById(invoiceId: string, params?: {
|
|
7601
8385
|
include_pdf?: "true" | "false" | null | undefined;
|
|
8386
|
+
include_analytic_accounts?: "true" | "false" | null | undefined;
|
|
7602
8387
|
} | undefined, options?: import("../types/api").RawDataOption | undefined): import("../types/api").RequestData<{
|
|
7603
8388
|
id: string;
|
|
7604
8389
|
source_ref: {
|
|
@@ -7628,6 +8413,14 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
7628
8413
|
product_id?: string | null | undefined;
|
|
7629
8414
|
product_code?: string | null | undefined;
|
|
7630
8415
|
product_name?: string | null | undefined;
|
|
8416
|
+
analytic_distribution: {
|
|
8417
|
+
analytic_plan_code: string;
|
|
8418
|
+
analytic_accounts: {
|
|
8419
|
+
analytic_account_code: string;
|
|
8420
|
+
analytic_account_name: string;
|
|
8421
|
+
percentage: number;
|
|
8422
|
+
}[];
|
|
8423
|
+
}[] | null;
|
|
7631
8424
|
}[];
|
|
7632
8425
|
partner_id?: string | null | undefined;
|
|
7633
8426
|
invoice_number?: string | null | undefined;
|
|
@@ -7749,6 +8542,14 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
7749
8542
|
product_id?: string | null | undefined;
|
|
7750
8543
|
product_code?: string | null | undefined;
|
|
7751
8544
|
product_name?: string | null | undefined;
|
|
8545
|
+
analytic_distribution: {
|
|
8546
|
+
analytic_plan_code: string;
|
|
8547
|
+
analytic_accounts: {
|
|
8548
|
+
analytic_account_code: string;
|
|
8549
|
+
analytic_account_name: string;
|
|
8550
|
+
percentage: number;
|
|
8551
|
+
}[];
|
|
8552
|
+
}[] | null;
|
|
7752
8553
|
}[];
|
|
7753
8554
|
partner_id?: string | null | undefined;
|
|
7754
8555
|
invoice_number?: string | null | undefined;
|
|
@@ -9327,14 +10128,18 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
9327
10128
|
reference: string;
|
|
9328
10129
|
reference_type: string;
|
|
9329
10130
|
holder_name?: string | null | undefined;
|
|
10131
|
+
active: boolean | null;
|
|
9330
10132
|
}[]>;
|
|
9331
|
-
getAccountTransactions(
|
|
10133
|
+
getAccountTransactions(params: {
|
|
9332
10134
|
date_from?: string | null | undefined;
|
|
9333
10135
|
date_to?: string | null | undefined;
|
|
10136
|
+
updated_after?: string | null | undefined;
|
|
10137
|
+
account_id: string;
|
|
9334
10138
|
date_type?: "value_date" | "execution_date" | null | undefined;
|
|
9335
|
-
}
|
|
10139
|
+
}, options?: import("../types/api").RawDataOption | undefined): import("../types/api").RequestData<{
|
|
9336
10140
|
id: string;
|
|
9337
10141
|
amount: number;
|
|
10142
|
+
tax_amount?: number | null | undefined;
|
|
9338
10143
|
currency: string;
|
|
9339
10144
|
description?: string | null | undefined;
|
|
9340
10145
|
additional_information?: string | null | undefined;
|
|
@@ -9344,6 +10149,17 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
9344
10149
|
creation_date: string;
|
|
9345
10150
|
value_date: string;
|
|
9346
10151
|
execution_date: string;
|
|
10152
|
+
internal_transaction: boolean | null;
|
|
10153
|
+
operation_type: "other" | "fee" | "incoming_transfer" | "outgoing_transfer" | "card" | "direct_debit" | "direct_debit_collection" | "direct_debit_hold" | "cheque" | "recall" | "swift_income" | "pay_later" | "financing_installment" | null;
|
|
10154
|
+
last_update_on?: string | null | undefined;
|
|
10155
|
+
status?: "completed" | "pending" | "declined" | null | undefined;
|
|
10156
|
+
attachments_info?: {
|
|
10157
|
+
status: "unknown" | "yes" | "yes_to_request" | "no";
|
|
10158
|
+
attachments: {
|
|
10159
|
+
filename?: string | null | undefined;
|
|
10160
|
+
url?: string | null | undefined;
|
|
10161
|
+
}[] | null;
|
|
10162
|
+
} | undefined;
|
|
9347
10163
|
}[]>;
|
|
9348
10164
|
getAccountCounterparts(params?: {
|
|
9349
10165
|
date_from?: string | null | undefined;
|
|
@@ -9354,6 +10170,17 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
9354
10170
|
reference?: string | null | undefined;
|
|
9355
10171
|
details?: string | null | undefined;
|
|
9356
10172
|
}[]>;
|
|
10173
|
+
getAttachments(params: {
|
|
10174
|
+
transaction_id: string;
|
|
10175
|
+
}, options?: import("../types/api").RawDataOption | undefined): import("../types/api").RequestData<{
|
|
10176
|
+
items: {
|
|
10177
|
+
id: string;
|
|
10178
|
+
base64_string: string;
|
|
10179
|
+
}[];
|
|
10180
|
+
total: number;
|
|
10181
|
+
page: number;
|
|
10182
|
+
size: number;
|
|
10183
|
+
}>;
|
|
9357
10184
|
}>;
|
|
9358
10185
|
getDataByDataStoreId: (dataStoreId: string, params?: object | undefined) => Promise<{
|
|
9359
10186
|
data: {
|
|
@@ -9393,6 +10220,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
9393
10220
|
source_id?: string | null | undefined;
|
|
9394
10221
|
target_id?: string | null | undefined;
|
|
9395
10222
|
}[];
|
|
10223
|
+
hidden_source_ids: string[];
|
|
9396
10224
|
sub_mapping_name: string;
|
|
9397
10225
|
sub_mapping_description?: string | null | undefined;
|
|
9398
10226
|
}[] | null | undefined;
|
|
@@ -9579,7 +10407,8 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
9579
10407
|
value: string;
|
|
9580
10408
|
}[] | null | undefined;
|
|
9581
10409
|
country?: string | null | undefined;
|
|
9582
|
-
|
|
10410
|
+
redirect: boolean | null;
|
|
10411
|
+
} | null | undefined) => Promise<{
|
|
9583
10412
|
url: string;
|
|
9584
10413
|
}>;
|
|
9585
10414
|
updateConnection: (connectionId: string, body?: {
|
|
@@ -9598,6 +10427,15 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
9598
10427
|
};
|
|
9599
10428
|
content?: undefined;
|
|
9600
10429
|
}>;
|
|
10430
|
+
getTransactionByClientRequestId: (connectionId: string, params: {
|
|
10431
|
+
client_request_id: string;
|
|
10432
|
+
}) => Promise<{
|
|
10433
|
+
created_on: string;
|
|
10434
|
+
method: "GET" | "DELETE" | "HEAD" | "OPTIONS" | "POST" | "PUT" | "PATCH";
|
|
10435
|
+
route: string;
|
|
10436
|
+
status_code: number;
|
|
10437
|
+
created_entity_id?: string | null | undefined;
|
|
10438
|
+
}>;
|
|
9601
10439
|
enableFlow: (syncId: string, flowId: string, body: {
|
|
9602
10440
|
integrationids: string[];
|
|
9603
10441
|
triggerid: string | null;
|
|
@@ -9654,6 +10492,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
9654
10492
|
total_refund: number | null;
|
|
9655
10493
|
total_tip: number | null;
|
|
9656
10494
|
delivery_fee: number | null;
|
|
10495
|
+
mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
|
|
9657
10496
|
currency?: string | null | undefined;
|
|
9658
10497
|
country?: string | null | undefined;
|
|
9659
10498
|
loyalty?: number | null | undefined;
|
|
@@ -9732,6 +10571,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
9732
10571
|
total_refund: number | null;
|
|
9733
10572
|
total_tip: number | null;
|
|
9734
10573
|
delivery_fee: number | null;
|
|
10574
|
+
mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
|
|
9735
10575
|
currency?: string | null | undefined;
|
|
9736
10576
|
country?: string | null | undefined;
|
|
9737
10577
|
loyalty?: number | null | undefined;
|
|
@@ -9920,6 +10760,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
9920
10760
|
total_refund: number | null;
|
|
9921
10761
|
total_tip: number | null;
|
|
9922
10762
|
delivery_fee: number | null;
|
|
10763
|
+
mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
|
|
9923
10764
|
currency?: string | null | undefined;
|
|
9924
10765
|
country?: string | null | undefined;
|
|
9925
10766
|
loyalty?: number | null | undefined;
|
|
@@ -10024,6 +10865,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
10024
10865
|
total_refund: number | null;
|
|
10025
10866
|
total_tip: number | null;
|
|
10026
10867
|
delivery_fee: number | null;
|
|
10868
|
+
mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
|
|
10027
10869
|
currency?: string | null | undefined;
|
|
10028
10870
|
country?: string | null | undefined;
|
|
10029
10871
|
loyalty?: number | null | undefined;
|
|
@@ -10203,6 +11045,30 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
10203
11045
|
country?: string | null | undefined;
|
|
10204
11046
|
}[] | null | undefined;
|
|
10205
11047
|
}[]>;
|
|
11048
|
+
getCustomer(customerId: string, rawData?: boolean | undefined): import("../types/api").RequestData<{
|
|
11049
|
+
id: string;
|
|
11050
|
+
source_ref: {
|
|
11051
|
+
id?: string | null | undefined;
|
|
11052
|
+
model?: string | null | undefined;
|
|
11053
|
+
};
|
|
11054
|
+
first_name?: string | null | undefined;
|
|
11055
|
+
last_name?: string | null | undefined;
|
|
11056
|
+
company_name?: string | null | undefined;
|
|
11057
|
+
phone?: string | null | undefined;
|
|
11058
|
+
email?: string | null | undefined;
|
|
11059
|
+
account_number?: string | null | undefined;
|
|
11060
|
+
created_on?: string | null | undefined;
|
|
11061
|
+
addresses?: {
|
|
11062
|
+
address_type?: string | null | undefined;
|
|
11063
|
+
name?: string | null | undefined;
|
|
11064
|
+
street?: string | null | undefined;
|
|
11065
|
+
number?: string | null | undefined;
|
|
11066
|
+
box?: string | null | undefined;
|
|
11067
|
+
city?: string | null | undefined;
|
|
11068
|
+
postal_code?: string | null | undefined;
|
|
11069
|
+
country?: string | null | undefined;
|
|
11070
|
+
}[] | null | undefined;
|
|
11071
|
+
}>;
|
|
10206
11072
|
getInvoices(params?: {
|
|
10207
11073
|
date_from: string;
|
|
10208
11074
|
date_to: string;
|
|
@@ -10305,6 +11171,20 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
10305
11171
|
untaxed_amount: number;
|
|
10306
11172
|
total: number;
|
|
10307
11173
|
}[]>;
|
|
11174
|
+
getTaxes(params?: {} | undefined, rawData?: boolean | undefined): import("../types/api").RequestData<{
|
|
11175
|
+
items: {
|
|
11176
|
+
id: string;
|
|
11177
|
+
source_ref: {
|
|
11178
|
+
id?: string | null | undefined;
|
|
11179
|
+
model?: string | null | undefined;
|
|
11180
|
+
};
|
|
11181
|
+
label?: string | null | undefined;
|
|
11182
|
+
rate?: number | null | undefined;
|
|
11183
|
+
}[];
|
|
11184
|
+
total: number;
|
|
11185
|
+
page: number;
|
|
11186
|
+
size: number;
|
|
11187
|
+
}>;
|
|
10308
11188
|
}>;
|
|
10309
11189
|
payment: import("../types/api").ApiFor<{
|
|
10310
11190
|
getPayments(params: {
|
|
@@ -10438,6 +11318,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
10438
11318
|
postal_code?: string | null | undefined;
|
|
10439
11319
|
country?: string | null | undefined;
|
|
10440
11320
|
}[] | null;
|
|
11321
|
+
third_party_account?: string | null | undefined;
|
|
10441
11322
|
}[]>;
|
|
10442
11323
|
createClient(client: {
|
|
10443
11324
|
external_reference?: string | null | undefined;
|
|
@@ -10511,6 +11392,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
10511
11392
|
postal_code?: string | null | undefined;
|
|
10512
11393
|
country?: string | null | undefined;
|
|
10513
11394
|
}[] | null;
|
|
11395
|
+
third_party_account?: string | null | undefined;
|
|
10514
11396
|
}>;
|
|
10515
11397
|
getClient(clientId: string, params?: {
|
|
10516
11398
|
folder_id?: string | null | undefined;
|
|
@@ -10550,6 +11432,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
10550
11432
|
postal_code?: string | null | undefined;
|
|
10551
11433
|
country?: string | null | undefined;
|
|
10552
11434
|
}[] | null;
|
|
11435
|
+
third_party_account?: string | null | undefined;
|
|
10553
11436
|
}>;
|
|
10554
11437
|
updateClient(clientId: string, client: {
|
|
10555
11438
|
external_reference?: string | null | undefined;
|
|
@@ -10621,6 +11504,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
10621
11504
|
postal_code?: string | null | undefined;
|
|
10622
11505
|
country?: string | null | undefined;
|
|
10623
11506
|
}[] | null;
|
|
11507
|
+
third_party_account?: string | null | undefined;
|
|
10624
11508
|
}>;
|
|
10625
11509
|
getSuppliers(params?: {
|
|
10626
11510
|
search?: string | null | undefined;
|
|
@@ -10662,6 +11546,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
10662
11546
|
postal_code?: string | null | undefined;
|
|
10663
11547
|
country?: string | null | undefined;
|
|
10664
11548
|
}[] | null;
|
|
11549
|
+
third_party_account?: string | null | undefined;
|
|
10665
11550
|
}[]>;
|
|
10666
11551
|
createSupplier(supplier: {
|
|
10667
11552
|
external_reference?: string | null | undefined;
|
|
@@ -10735,6 +11620,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
10735
11620
|
postal_code?: string | null | undefined;
|
|
10736
11621
|
country?: string | null | undefined;
|
|
10737
11622
|
}[] | null;
|
|
11623
|
+
third_party_account?: string | null | undefined;
|
|
10738
11624
|
}>;
|
|
10739
11625
|
getSupplier(supplierId: string, params?: {
|
|
10740
11626
|
folder_id?: string | null | undefined;
|
|
@@ -10774,6 +11660,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
10774
11660
|
postal_code?: string | null | undefined;
|
|
10775
11661
|
country?: string | null | undefined;
|
|
10776
11662
|
}[] | null;
|
|
11663
|
+
third_party_account?: string | null | undefined;
|
|
10777
11664
|
}>;
|
|
10778
11665
|
updateSupplier(supplierId: string, supplier: {
|
|
10779
11666
|
external_reference?: string | null | undefined;
|
|
@@ -10845,6 +11732,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
10845
11732
|
postal_code?: string | null | undefined;
|
|
10846
11733
|
country?: string | null | undefined;
|
|
10847
11734
|
}[] | null;
|
|
11735
|
+
third_party_account?: string | null | undefined;
|
|
10848
11736
|
}>;
|
|
10849
11737
|
createInvoice(invoice: {
|
|
10850
11738
|
invoice_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund";
|
|
@@ -10856,6 +11744,12 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
10856
11744
|
reference?: string | null | undefined;
|
|
10857
11745
|
payment_communication?: string | null | undefined;
|
|
10858
11746
|
customer_memo?: string | null | undefined;
|
|
11747
|
+
payment_term_id?: string | null | undefined;
|
|
11748
|
+
withholding_tax?: {
|
|
11749
|
+
tax_rate: number;
|
|
11750
|
+
tax_code: string;
|
|
11751
|
+
tax_amount: number;
|
|
11752
|
+
} | null | undefined;
|
|
10859
11753
|
invoice_date: string;
|
|
10860
11754
|
due_date: string;
|
|
10861
11755
|
partner_id?: string | null | undefined;
|
|
@@ -10898,10 +11792,15 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
10898
11792
|
description: string;
|
|
10899
11793
|
analytic_account?: string | null | undefined;
|
|
10900
11794
|
}[];
|
|
11795
|
+
start_date?: string | null | undefined;
|
|
11796
|
+
end_date?: string | null | undefined;
|
|
11797
|
+
payment_method_id?: string | null | undefined;
|
|
10901
11798
|
}, params?: {
|
|
10902
11799
|
folder_id?: string | null | undefined;
|
|
10903
11800
|
force_financial_period?: string | null | undefined;
|
|
10904
11801
|
regroup_lines?: "true" | "false" | null | undefined;
|
|
11802
|
+
ignore_accounting_id?: boolean | undefined;
|
|
11803
|
+
force_currency_exchange?: boolean | null | undefined;
|
|
10905
11804
|
} | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
|
|
10906
11805
|
invoice_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund";
|
|
10907
11806
|
invoice_number?: string | null | undefined;
|
|
@@ -10912,10 +11811,16 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
10912
11811
|
reference?: string | null | undefined;
|
|
10913
11812
|
payment_communication?: string | null | undefined;
|
|
10914
11813
|
customer_memo?: string | null | undefined;
|
|
11814
|
+
payment_term_id?: string | null | undefined;
|
|
11815
|
+
withholding_tax?: {
|
|
11816
|
+
tax_rate: number;
|
|
11817
|
+
tax_code: string;
|
|
11818
|
+
tax_amount: number;
|
|
11819
|
+
} | null | undefined;
|
|
10915
11820
|
id?: string | null | undefined;
|
|
10916
11821
|
invoice_date: string;
|
|
10917
11822
|
due_date: string;
|
|
10918
|
-
partner_id: string;
|
|
11823
|
+
partner_id: string | null;
|
|
10919
11824
|
journal_id?: string | null | undefined;
|
|
10920
11825
|
payments?: {
|
|
10921
11826
|
id: string;
|
|
@@ -10969,12 +11874,27 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
10969
11874
|
postal_code?: string | null | undefined;
|
|
10970
11875
|
country?: string | null | undefined;
|
|
10971
11876
|
}[] | null;
|
|
11877
|
+
third_party_account?: string | null | undefined;
|
|
10972
11878
|
} | null | undefined;
|
|
10973
11879
|
due_dates: {
|
|
10974
11880
|
due_date: string;
|
|
10975
11881
|
payment_method?: string | null | undefined;
|
|
11882
|
+
payment_method_id?: string | null | undefined;
|
|
10976
11883
|
amount: number;
|
|
10977
11884
|
}[] | null;
|
|
11885
|
+
attachments_info?: {
|
|
11886
|
+
status: "unknown" | "yes" | "yes_to_request" | "no";
|
|
11887
|
+
attachments: {
|
|
11888
|
+
filename?: string | null | undefined;
|
|
11889
|
+
url?: string | null | undefined;
|
|
11890
|
+
}[] | null;
|
|
11891
|
+
} | undefined;
|
|
11892
|
+
accounting_info?: {
|
|
11893
|
+
main_currency?: string | undefined;
|
|
11894
|
+
main_currency_total: number;
|
|
11895
|
+
account_number?: string | null | undefined;
|
|
11896
|
+
} | null | undefined;
|
|
11897
|
+
payment_method_id?: string | null | undefined;
|
|
10978
11898
|
lines: {
|
|
10979
11899
|
line_number: number | null;
|
|
10980
11900
|
unit_price: number;
|
|
@@ -11000,6 +11920,12 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
11000
11920
|
reference?: string | null | undefined;
|
|
11001
11921
|
payment_communication?: string | null | undefined;
|
|
11002
11922
|
customer_memo?: string | null | undefined;
|
|
11923
|
+
payment_term_id?: string | null | undefined;
|
|
11924
|
+
withholding_tax?: {
|
|
11925
|
+
tax_rate: number;
|
|
11926
|
+
tax_code: string;
|
|
11927
|
+
tax_amount: number;
|
|
11928
|
+
} | null | undefined;
|
|
11003
11929
|
invoice_date: string;
|
|
11004
11930
|
due_date: string;
|
|
11005
11931
|
partner_id?: string | null | undefined;
|
|
@@ -11048,10 +11974,15 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
11048
11974
|
}[];
|
|
11049
11975
|
}[] | null;
|
|
11050
11976
|
}[];
|
|
11977
|
+
start_date?: string | null | undefined;
|
|
11978
|
+
end_date?: string | null | undefined;
|
|
11979
|
+
payment_method_id?: string | null | undefined;
|
|
11051
11980
|
}, params?: {
|
|
11052
11981
|
folder_id?: string | null | undefined;
|
|
11053
11982
|
force_financial_period?: string | null | undefined;
|
|
11054
11983
|
regroup_lines?: "true" | "false" | null | undefined;
|
|
11984
|
+
ignore_accounting_id?: boolean | undefined;
|
|
11985
|
+
force_currency_exchange?: boolean | null | undefined;
|
|
11055
11986
|
} | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
|
|
11056
11987
|
invoice_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund";
|
|
11057
11988
|
invoice_number?: string | null | undefined;
|
|
@@ -11062,10 +11993,16 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
11062
11993
|
reference?: string | null | undefined;
|
|
11063
11994
|
payment_communication?: string | null | undefined;
|
|
11064
11995
|
customer_memo?: string | null | undefined;
|
|
11996
|
+
payment_term_id?: string | null | undefined;
|
|
11997
|
+
withholding_tax?: {
|
|
11998
|
+
tax_rate: number;
|
|
11999
|
+
tax_code: string;
|
|
12000
|
+
tax_amount: number;
|
|
12001
|
+
} | null | undefined;
|
|
11065
12002
|
id?: string | null | undefined;
|
|
11066
12003
|
invoice_date: string;
|
|
11067
12004
|
due_date: string;
|
|
11068
|
-
partner_id: string;
|
|
12005
|
+
partner_id: string | null;
|
|
11069
12006
|
journal_id?: string | null | undefined;
|
|
11070
12007
|
payments?: {
|
|
11071
12008
|
id: string;
|
|
@@ -11119,12 +12056,27 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
11119
12056
|
postal_code?: string | null | undefined;
|
|
11120
12057
|
country?: string | null | undefined;
|
|
11121
12058
|
}[] | null;
|
|
12059
|
+
third_party_account?: string | null | undefined;
|
|
11122
12060
|
} | null | undefined;
|
|
11123
12061
|
due_dates: {
|
|
11124
12062
|
due_date: string;
|
|
11125
12063
|
payment_method?: string | null | undefined;
|
|
12064
|
+
payment_method_id?: string | null | undefined;
|
|
11126
12065
|
amount: number;
|
|
11127
12066
|
}[] | null;
|
|
12067
|
+
attachments_info?: {
|
|
12068
|
+
status: "unknown" | "yes" | "yes_to_request" | "no";
|
|
12069
|
+
attachments: {
|
|
12070
|
+
filename?: string | null | undefined;
|
|
12071
|
+
url?: string | null | undefined;
|
|
12072
|
+
}[] | null;
|
|
12073
|
+
} | undefined;
|
|
12074
|
+
accounting_info?: {
|
|
12075
|
+
main_currency?: string | undefined;
|
|
12076
|
+
main_currency_total: number;
|
|
12077
|
+
account_number?: string | null | undefined;
|
|
12078
|
+
} | null | undefined;
|
|
12079
|
+
payment_method_id?: string | null | undefined;
|
|
11128
12080
|
lines: {
|
|
11129
12081
|
line_number: number | null;
|
|
11130
12082
|
unit_price: number;
|
|
@@ -11166,10 +12118,16 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
11166
12118
|
reference?: string | null | undefined;
|
|
11167
12119
|
payment_communication?: string | null | undefined;
|
|
11168
12120
|
customer_memo?: string | null | undefined;
|
|
12121
|
+
payment_term_id?: string | null | undefined;
|
|
12122
|
+
withholding_tax?: {
|
|
12123
|
+
tax_rate: number;
|
|
12124
|
+
tax_code: string;
|
|
12125
|
+
tax_amount: number;
|
|
12126
|
+
} | null | undefined;
|
|
11169
12127
|
id?: string | null | undefined;
|
|
11170
12128
|
invoice_date: string;
|
|
11171
12129
|
due_date: string;
|
|
11172
|
-
partner_id: string;
|
|
12130
|
+
partner_id: string | null;
|
|
11173
12131
|
journal_id?: string | null | undefined;
|
|
11174
12132
|
payments?: {
|
|
11175
12133
|
id: string;
|
|
@@ -11223,12 +12181,27 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
11223
12181
|
postal_code?: string | null | undefined;
|
|
11224
12182
|
country?: string | null | undefined;
|
|
11225
12183
|
}[] | null;
|
|
12184
|
+
third_party_account?: string | null | undefined;
|
|
11226
12185
|
} | null | undefined;
|
|
11227
12186
|
due_dates: {
|
|
11228
12187
|
due_date: string;
|
|
11229
12188
|
payment_method?: string | null | undefined;
|
|
12189
|
+
payment_method_id?: string | null | undefined;
|
|
11230
12190
|
amount: number;
|
|
11231
12191
|
}[] | null;
|
|
12192
|
+
attachments_info?: {
|
|
12193
|
+
status: "unknown" | "yes" | "yes_to_request" | "no";
|
|
12194
|
+
attachments: {
|
|
12195
|
+
filename?: string | null | undefined;
|
|
12196
|
+
url?: string | null | undefined;
|
|
12197
|
+
}[] | null;
|
|
12198
|
+
} | undefined;
|
|
12199
|
+
accounting_info?: {
|
|
12200
|
+
main_currency?: string | undefined;
|
|
12201
|
+
main_currency_total: number;
|
|
12202
|
+
account_number?: string | null | undefined;
|
|
12203
|
+
} | null | undefined;
|
|
12204
|
+
payment_method_id?: string | null | undefined;
|
|
11232
12205
|
lines: {
|
|
11233
12206
|
line_number: number | null;
|
|
11234
12207
|
unit_price: number;
|
|
@@ -11259,10 +12232,16 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
11259
12232
|
reference?: string | null | undefined;
|
|
11260
12233
|
payment_communication?: string | null | undefined;
|
|
11261
12234
|
customer_memo?: string | null | undefined;
|
|
12235
|
+
payment_term_id?: string | null | undefined;
|
|
12236
|
+
withholding_tax?: {
|
|
12237
|
+
tax_rate: number;
|
|
12238
|
+
tax_code: string;
|
|
12239
|
+
tax_amount: number;
|
|
12240
|
+
} | null | undefined;
|
|
11262
12241
|
id?: string | null | undefined;
|
|
11263
12242
|
invoice_date: string;
|
|
11264
12243
|
due_date: string;
|
|
11265
|
-
partner_id: string;
|
|
12244
|
+
partner_id: string | null;
|
|
11266
12245
|
journal_id?: string | null | undefined;
|
|
11267
12246
|
payments?: {
|
|
11268
12247
|
id: string;
|
|
@@ -11316,12 +12295,27 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
11316
12295
|
postal_code?: string | null | undefined;
|
|
11317
12296
|
country?: string | null | undefined;
|
|
11318
12297
|
}[] | null;
|
|
12298
|
+
third_party_account?: string | null | undefined;
|
|
11319
12299
|
} | null | undefined;
|
|
11320
12300
|
due_dates: {
|
|
11321
12301
|
due_date: string;
|
|
11322
12302
|
payment_method?: string | null | undefined;
|
|
12303
|
+
payment_method_id?: string | null | undefined;
|
|
11323
12304
|
amount: number;
|
|
11324
12305
|
}[] | null;
|
|
12306
|
+
attachments_info?: {
|
|
12307
|
+
status: "unknown" | "yes" | "yes_to_request" | "no";
|
|
12308
|
+
attachments: {
|
|
12309
|
+
filename?: string | null | undefined;
|
|
12310
|
+
url?: string | null | undefined;
|
|
12311
|
+
}[] | null;
|
|
12312
|
+
} | undefined;
|
|
12313
|
+
accounting_info?: {
|
|
12314
|
+
main_currency?: string | undefined;
|
|
12315
|
+
main_currency_total: number;
|
|
12316
|
+
account_number?: string | null | undefined;
|
|
12317
|
+
} | null | undefined;
|
|
12318
|
+
payment_method_id?: string | null | undefined;
|
|
11325
12319
|
lines: {
|
|
11326
12320
|
line_number: number | null;
|
|
11327
12321
|
unit_price: number;
|
|
@@ -11352,10 +12346,16 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
11352
12346
|
reference?: string | null | undefined;
|
|
11353
12347
|
payment_communication?: string | null | undefined;
|
|
11354
12348
|
customer_memo?: string | null | undefined;
|
|
12349
|
+
payment_term_id?: string | null | undefined;
|
|
12350
|
+
withholding_tax?: {
|
|
12351
|
+
tax_rate: number;
|
|
12352
|
+
tax_code: string;
|
|
12353
|
+
tax_amount: number;
|
|
12354
|
+
} | null | undefined;
|
|
11355
12355
|
id?: string | null | undefined;
|
|
11356
12356
|
invoice_date: string;
|
|
11357
12357
|
due_date: string;
|
|
11358
|
-
partner_id: string;
|
|
12358
|
+
partner_id: string | null;
|
|
11359
12359
|
journal_id?: string | null | undefined;
|
|
11360
12360
|
payments?: {
|
|
11361
12361
|
id: string;
|
|
@@ -11409,12 +12409,27 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
11409
12409
|
postal_code?: string | null | undefined;
|
|
11410
12410
|
country?: string | null | undefined;
|
|
11411
12411
|
}[] | null;
|
|
12412
|
+
third_party_account?: string | null | undefined;
|
|
11412
12413
|
} | null | undefined;
|
|
11413
12414
|
due_dates: {
|
|
11414
12415
|
due_date: string;
|
|
11415
12416
|
payment_method?: string | null | undefined;
|
|
12417
|
+
payment_method_id?: string | null | undefined;
|
|
11416
12418
|
amount: number;
|
|
11417
12419
|
}[] | null;
|
|
12420
|
+
attachments_info?: {
|
|
12421
|
+
status: "unknown" | "yes" | "yes_to_request" | "no";
|
|
12422
|
+
attachments: {
|
|
12423
|
+
filename?: string | null | undefined;
|
|
12424
|
+
url?: string | null | undefined;
|
|
12425
|
+
}[] | null;
|
|
12426
|
+
} | undefined;
|
|
12427
|
+
accounting_info?: {
|
|
12428
|
+
main_currency?: string | undefined;
|
|
12429
|
+
main_currency_total: number;
|
|
12430
|
+
account_number?: string | null | undefined;
|
|
12431
|
+
} | null | undefined;
|
|
12432
|
+
payment_method_id?: string | null | undefined;
|
|
11418
12433
|
lines: {
|
|
11419
12434
|
line_number: number | null;
|
|
11420
12435
|
unit_price: number;
|
|
@@ -11456,10 +12471,16 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
11456
12471
|
reference?: string | null | undefined;
|
|
11457
12472
|
payment_communication?: string | null | undefined;
|
|
11458
12473
|
customer_memo?: string | null | undefined;
|
|
12474
|
+
payment_term_id?: string | null | undefined;
|
|
12475
|
+
withholding_tax?: {
|
|
12476
|
+
tax_rate: number;
|
|
12477
|
+
tax_code: string;
|
|
12478
|
+
tax_amount: number;
|
|
12479
|
+
} | null | undefined;
|
|
11459
12480
|
id?: string | null | undefined;
|
|
11460
12481
|
invoice_date: string;
|
|
11461
12482
|
due_date: string;
|
|
11462
|
-
partner_id: string;
|
|
12483
|
+
partner_id: string | null;
|
|
11463
12484
|
journal_id?: string | null | undefined;
|
|
11464
12485
|
payments?: {
|
|
11465
12486
|
id: string;
|
|
@@ -11513,12 +12534,27 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
11513
12534
|
postal_code?: string | null | undefined;
|
|
11514
12535
|
country?: string | null | undefined;
|
|
11515
12536
|
}[] | null;
|
|
12537
|
+
third_party_account?: string | null | undefined;
|
|
11516
12538
|
} | null | undefined;
|
|
11517
12539
|
due_dates: {
|
|
11518
12540
|
due_date: string;
|
|
11519
12541
|
payment_method?: string | null | undefined;
|
|
12542
|
+
payment_method_id?: string | null | undefined;
|
|
11520
12543
|
amount: number;
|
|
11521
12544
|
}[] | null;
|
|
12545
|
+
attachments_info?: {
|
|
12546
|
+
status: "unknown" | "yes" | "yes_to_request" | "no";
|
|
12547
|
+
attachments: {
|
|
12548
|
+
filename?: string | null | undefined;
|
|
12549
|
+
url?: string | null | undefined;
|
|
12550
|
+
}[] | null;
|
|
12551
|
+
} | undefined;
|
|
12552
|
+
accounting_info?: {
|
|
12553
|
+
main_currency?: string | undefined;
|
|
12554
|
+
main_currency_total: number;
|
|
12555
|
+
account_number?: string | null | undefined;
|
|
12556
|
+
} | null | undefined;
|
|
12557
|
+
payment_method_id?: string | null | undefined;
|
|
11522
12558
|
lines: {
|
|
11523
12559
|
line_number: number | null;
|
|
11524
12560
|
unit_price: number;
|
|
@@ -11666,7 +12702,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
11666
12702
|
folder_id?: string | null | undefined;
|
|
11667
12703
|
updated_after?: string | null | undefined;
|
|
11668
12704
|
unposted_allowed: "true" | "false";
|
|
11669
|
-
journal_id
|
|
12705
|
+
journal_id?: string | null | undefined;
|
|
11670
12706
|
partner_id?: string | null | undefined;
|
|
11671
12707
|
}, options?: import("../types/api").RawDataOption | undefined): import("../types/api").RequestData<{
|
|
11672
12708
|
reference?: string | null | undefined;
|
|
@@ -11680,9 +12716,17 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
11680
12716
|
due_dates: {
|
|
11681
12717
|
due_date: string;
|
|
11682
12718
|
payment_method?: string | null | undefined;
|
|
12719
|
+
payment_method_id?: string | null | undefined;
|
|
11683
12720
|
debit: number | null;
|
|
11684
12721
|
credit: number | null;
|
|
11685
12722
|
}[] | null;
|
|
12723
|
+
attachments_info?: {
|
|
12724
|
+
status: "unknown" | "yes" | "yes_to_request" | "no";
|
|
12725
|
+
attachments: {
|
|
12726
|
+
filename?: string | null | undefined;
|
|
12727
|
+
url?: string | null | undefined;
|
|
12728
|
+
}[] | null;
|
|
12729
|
+
} | undefined;
|
|
11686
12730
|
items: {
|
|
11687
12731
|
account_number: string;
|
|
11688
12732
|
partner_id?: string | null | undefined;
|
|
@@ -11705,7 +12749,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
11705
12749
|
folder_id?: string | null | undefined;
|
|
11706
12750
|
updated_after?: string | null | undefined;
|
|
11707
12751
|
unposted_allowed: "true" | "false";
|
|
11708
|
-
journal_id
|
|
12752
|
+
journal_id?: string | null | undefined;
|
|
11709
12753
|
partner_id?: string | null | undefined;
|
|
11710
12754
|
}, options?: import("../types/api").RawDataOption | undefined): import("../types/api").RequestData<{
|
|
11711
12755
|
reference?: string | null | undefined;
|
|
@@ -11719,9 +12763,17 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
11719
12763
|
due_dates: {
|
|
11720
12764
|
due_date: string;
|
|
11721
12765
|
payment_method?: string | null | undefined;
|
|
12766
|
+
payment_method_id?: string | null | undefined;
|
|
11722
12767
|
debit: number | null;
|
|
11723
12768
|
credit: number | null;
|
|
11724
12769
|
}[] | null;
|
|
12770
|
+
attachments_info?: {
|
|
12771
|
+
status: "unknown" | "yes" | "yes_to_request" | "no";
|
|
12772
|
+
attachments: {
|
|
12773
|
+
filename?: string | null | undefined;
|
|
12774
|
+
url?: string | null | undefined;
|
|
12775
|
+
}[] | null;
|
|
12776
|
+
} | undefined;
|
|
11725
12777
|
items: {
|
|
11726
12778
|
account_number: string;
|
|
11727
12779
|
partner_id?: string | null | undefined;
|
|
@@ -11811,6 +12863,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
11811
12863
|
} | undefined, options?: import("../types/api").RawDataOption | undefined): import("../types/api").RequestData<{
|
|
11812
12864
|
id: string;
|
|
11813
12865
|
code?: string | null | undefined;
|
|
12866
|
+
active: boolean | null;
|
|
11814
12867
|
label: string;
|
|
11815
12868
|
scope: "unknown" | "nat" | "eu" | "int" | null;
|
|
11816
12869
|
rate: number;
|
|
@@ -11818,6 +12871,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
11818
12871
|
deductible_account?: string | null | undefined;
|
|
11819
12872
|
payable_account?: string | null | undefined;
|
|
11820
12873
|
reversed: boolean | null;
|
|
12874
|
+
withholding_tax: boolean | null;
|
|
11821
12875
|
country?: string | null | undefined;
|
|
11822
12876
|
}[]>;
|
|
11823
12877
|
getMiscOperations(params?: {
|
|
@@ -11920,12 +12974,14 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
11920
12974
|
getChartOfAccounts(params?: {
|
|
11921
12975
|
folder_id?: string | null | undefined;
|
|
11922
12976
|
classes?: string | null | undefined;
|
|
11923
|
-
type?: "vat" | "bank" | "cash" | "income" | "expense" | null | undefined;
|
|
12977
|
+
type?: "vat" | "bank" | "cash" | "income" | "expense" | "other_expense" | null | undefined;
|
|
11924
12978
|
} | undefined, options?: import("../types/api").RawDataOption | undefined): import("../types/api").RequestData<{
|
|
11925
12979
|
number: string;
|
|
11926
12980
|
name: string;
|
|
11927
12981
|
active: boolean | null;
|
|
11928
|
-
type?: "vat" | "other" | "bank" | "cash" | "other_financial" | "receivable" | "payable" | "income" | "expense" | null | undefined;
|
|
12982
|
+
type?: "vat" | "other" | "bank" | "cash" | "other_financial" | "receivable" | "payable" | "income" | "expense" | "other_expense" | null | undefined;
|
|
12983
|
+
scheme_ids?: string[] | null | undefined;
|
|
12984
|
+
accounting_category?: string | null | undefined;
|
|
11929
12985
|
}[]>;
|
|
11930
12986
|
getBalanceOfAccounts(filter: {
|
|
11931
12987
|
accounts: string[];
|
|
@@ -12001,11 +13057,13 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
12001
13057
|
account: string;
|
|
12002
13058
|
amount: number;
|
|
12003
13059
|
description?: string | null | undefined;
|
|
13060
|
+
automated_matching_number?: string | null | undefined;
|
|
12004
13061
|
}[];
|
|
12005
13062
|
pdf?: string | null | undefined;
|
|
12006
13063
|
}, params?: {
|
|
12007
13064
|
folder_id?: string | null | undefined;
|
|
12008
13065
|
financial_counterpart_account?: string | null | undefined;
|
|
13066
|
+
force_currency_exchange?: boolean | null | undefined;
|
|
12009
13067
|
} | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
|
|
12010
13068
|
date: string;
|
|
12011
13069
|
journal_id: string;
|
|
@@ -12019,6 +13077,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
12019
13077
|
account: string;
|
|
12020
13078
|
amount: number;
|
|
12021
13079
|
description?: string | null | undefined;
|
|
13080
|
+
automated_matching_number?: string | null | undefined;
|
|
12022
13081
|
counterpart_account: string;
|
|
12023
13082
|
}[];
|
|
12024
13083
|
}>;
|
|
@@ -12046,6 +13105,13 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
12046
13105
|
}[];
|
|
12047
13106
|
}[] | null;
|
|
12048
13107
|
tax_code?: string | null | undefined;
|
|
13108
|
+
tax_info?: {
|
|
13109
|
+
tax_code: string;
|
|
13110
|
+
tax_amount: number;
|
|
13111
|
+
vat_account?: string | null | undefined;
|
|
13112
|
+
reversed_vat_account?: string | null | undefined;
|
|
13113
|
+
description?: string | null | undefined;
|
|
13114
|
+
} | null | undefined;
|
|
12049
13115
|
account_info?: {
|
|
12050
13116
|
account_number: string;
|
|
12051
13117
|
account_name: string;
|
|
@@ -12058,6 +13124,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
12058
13124
|
}, params?: {
|
|
12059
13125
|
folder_id?: string | null | undefined;
|
|
12060
13126
|
force_currency_exchange?: "true" | "false" | null | undefined;
|
|
13127
|
+
ignore_accounting_id?: boolean | undefined;
|
|
12061
13128
|
} | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
|
|
12062
13129
|
reference?: string | null | undefined;
|
|
12063
13130
|
due_date?: string | null | undefined;
|
|
@@ -12070,9 +13137,17 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
12070
13137
|
due_dates: {
|
|
12071
13138
|
due_date: string;
|
|
12072
13139
|
payment_method?: string | null | undefined;
|
|
13140
|
+
payment_method_id?: string | null | undefined;
|
|
12073
13141
|
debit: number | null;
|
|
12074
13142
|
credit: number | null;
|
|
12075
13143
|
}[] | null;
|
|
13144
|
+
attachments_info?: {
|
|
13145
|
+
status: "unknown" | "yes" | "yes_to_request" | "no";
|
|
13146
|
+
attachments: {
|
|
13147
|
+
filename?: string | null | undefined;
|
|
13148
|
+
url?: string | null | undefined;
|
|
13149
|
+
}[] | null;
|
|
13150
|
+
} | undefined;
|
|
12076
13151
|
items: {
|
|
12077
13152
|
account_number: string;
|
|
12078
13153
|
partner_id?: string | null | undefined;
|
|
@@ -12188,14 +13263,35 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
12188
13263
|
createLedgerAccount(account: {
|
|
12189
13264
|
name: string;
|
|
12190
13265
|
number: string;
|
|
12191
|
-
type: "vat" | "other" | "bank" | "cash" | "other_financial" | "receivable" | "payable" | "income" | "expense" | null;
|
|
13266
|
+
type: "vat" | "other" | "bank" | "cash" | "other_financial" | "receivable" | "payable" | "income" | "expense" | "other_expense" | null;
|
|
12192
13267
|
}, params?: {
|
|
12193
13268
|
folder_id?: string | null | undefined;
|
|
12194
13269
|
} | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
|
|
12195
13270
|
number: string;
|
|
12196
13271
|
name: string;
|
|
12197
13272
|
active: boolean | null;
|
|
12198
|
-
type?: "vat" | "other" | "bank" | "cash" | "other_financial" | "receivable" | "payable" | "income" | "expense" | null | undefined;
|
|
13273
|
+
type?: "vat" | "other" | "bank" | "cash" | "other_financial" | "receivable" | "payable" | "income" | "expense" | "other_expense" | null | undefined;
|
|
13274
|
+
scheme_ids?: string[] | null | undefined;
|
|
13275
|
+
accounting_category?: string | null | undefined;
|
|
13276
|
+
}>;
|
|
13277
|
+
getBankAccounts(params?: {
|
|
13278
|
+
folder_id?: string | null | undefined;
|
|
13279
|
+
} | undefined, options?: import("../types/api").RawDataOption | undefined): import("../types/api").RequestData<{
|
|
13280
|
+
items: {
|
|
13281
|
+
id: string;
|
|
13282
|
+
code?: string | null | undefined;
|
|
13283
|
+
currency?: string | null | undefined;
|
|
13284
|
+
account_name?: string | null | undefined;
|
|
13285
|
+
account_number?: string | null | undefined;
|
|
13286
|
+
iban?: string | null | undefined;
|
|
13287
|
+
bank_name?: string | null | undefined;
|
|
13288
|
+
journal_id?: string | null | undefined;
|
|
13289
|
+
ledger_account?: string | null | undefined;
|
|
13290
|
+
unallocated_account?: string | null | undefined;
|
|
13291
|
+
}[];
|
|
13292
|
+
total: number;
|
|
13293
|
+
page: number;
|
|
13294
|
+
size: number;
|
|
12199
13295
|
}>;
|
|
12200
13296
|
createBankAccount(bankAccount: {
|
|
12201
13297
|
code: string;
|
|
@@ -12218,6 +13314,45 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
12218
13314
|
ledger_account?: string | null | undefined;
|
|
12219
13315
|
unallocated_account?: string | null | undefined;
|
|
12220
13316
|
}>;
|
|
13317
|
+
createBankTransactions(bankStatement: {
|
|
13318
|
+
bank_statement_date: string;
|
|
13319
|
+
bank_account_id: string;
|
|
13320
|
+
external_bank_statement_id: string;
|
|
13321
|
+
opening_balance?: number | null | undefined;
|
|
13322
|
+
pdf?: string | null | undefined;
|
|
13323
|
+
items: {
|
|
13324
|
+
account_type?: "customer_account" | "supplier_account" | "employee_account" | "general_account" | null | undefined;
|
|
13325
|
+
account?: string | null | undefined;
|
|
13326
|
+
description?: string | null | undefined;
|
|
13327
|
+
external_transaction_id?: string | null | undefined;
|
|
13328
|
+
date: string;
|
|
13329
|
+
amount: number;
|
|
13330
|
+
fee_amount: number | null;
|
|
13331
|
+
tax_amount: number | null;
|
|
13332
|
+
currency: string;
|
|
13333
|
+
currency_exchange_rate: number | null;
|
|
13334
|
+
}[];
|
|
13335
|
+
}, params?: {
|
|
13336
|
+
folder_id?: string | null | undefined;
|
|
13337
|
+
} | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
|
|
13338
|
+
bank_statement_date: string;
|
|
13339
|
+
bank_account_id: string;
|
|
13340
|
+
id?: string | null | undefined;
|
|
13341
|
+
external_bank_statement_id?: string | null | undefined;
|
|
13342
|
+
items: {
|
|
13343
|
+
account_type?: "customer_account" | "supplier_account" | "employee_account" | "general_account" | null | undefined;
|
|
13344
|
+
account?: string | null | undefined;
|
|
13345
|
+
description?: string | null | undefined;
|
|
13346
|
+
external_transaction_id?: string | null | undefined;
|
|
13347
|
+
date: string;
|
|
13348
|
+
amount: number;
|
|
13349
|
+
fee_amount: number | null;
|
|
13350
|
+
tax_amount: number | null;
|
|
13351
|
+
currency: string;
|
|
13352
|
+
currency_exchange_rate: number | null;
|
|
13353
|
+
id?: string | null | undefined;
|
|
13354
|
+
}[];
|
|
13355
|
+
}>;
|
|
12221
13356
|
getJournalEntry(journalEntryId: string, params?: {
|
|
12222
13357
|
folder_id?: string | null | undefined;
|
|
12223
13358
|
} | undefined, options?: import("../types/api").RawDataOption | undefined): import("../types/api").RequestData<{
|
|
@@ -12232,9 +13367,17 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
12232
13367
|
due_dates: {
|
|
12233
13368
|
due_date: string;
|
|
12234
13369
|
payment_method?: string | null | undefined;
|
|
13370
|
+
payment_method_id?: string | null | undefined;
|
|
12235
13371
|
debit: number | null;
|
|
12236
13372
|
credit: number | null;
|
|
12237
13373
|
}[] | null;
|
|
13374
|
+
attachments_info?: {
|
|
13375
|
+
status: "unknown" | "yes" | "yes_to_request" | "no";
|
|
13376
|
+
attachments: {
|
|
13377
|
+
filename?: string | null | undefined;
|
|
13378
|
+
url?: string | null | undefined;
|
|
13379
|
+
}[] | null;
|
|
13380
|
+
} | undefined;
|
|
12238
13381
|
items: {
|
|
12239
13382
|
account_number: string;
|
|
12240
13383
|
partner_id?: string | null | undefined;
|
|
@@ -12269,6 +13412,29 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
12269
13412
|
page: number;
|
|
12270
13413
|
size: number;
|
|
12271
13414
|
}>;
|
|
13415
|
+
getPaymentTerms(params?: {
|
|
13416
|
+
folder_id?: string | null | undefined;
|
|
13417
|
+
} | undefined, options?: import("../types/api").RawDataOption | undefined): import("../types/api").RequestData<{
|
|
13418
|
+
items: {
|
|
13419
|
+
id: string;
|
|
13420
|
+
name?: string | null | undefined;
|
|
13421
|
+
}[];
|
|
13422
|
+
total: number;
|
|
13423
|
+
page: number;
|
|
13424
|
+
size: number;
|
|
13425
|
+
}>;
|
|
13426
|
+
getSchemes(params?: {
|
|
13427
|
+
folder_id?: string | null | undefined;
|
|
13428
|
+
} | undefined, options?: import("../types/api").RawDataOption | undefined): import("../types/api").RequestData<{
|
|
13429
|
+
items: {
|
|
13430
|
+
id: string;
|
|
13431
|
+
code: string;
|
|
13432
|
+
name: string;
|
|
13433
|
+
}[];
|
|
13434
|
+
total: number;
|
|
13435
|
+
page: number;
|
|
13436
|
+
size: number;
|
|
13437
|
+
}>;
|
|
12272
13438
|
createInvoicePayment(body: {
|
|
12273
13439
|
date: string;
|
|
12274
13440
|
payment_method_id: string;
|
|
@@ -12288,6 +13454,29 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
12288
13454
|
};
|
|
12289
13455
|
content?: undefined;
|
|
12290
13456
|
}>;
|
|
13457
|
+
exportFec(params: {
|
|
13458
|
+
folder_id?: string | null | undefined;
|
|
13459
|
+
date_from: string;
|
|
13460
|
+
date_to: string;
|
|
13461
|
+
}, options?: import("../types/api").RawDataOption | undefined): import("../types/api").RequestData<{
|
|
13462
|
+
JournalCode: string;
|
|
13463
|
+
JournalLib: string;
|
|
13464
|
+
EcritureNum: string;
|
|
13465
|
+
EcritureDate: string;
|
|
13466
|
+
CompteNum: string;
|
|
13467
|
+
CompteLib: string;
|
|
13468
|
+
CompAuxNum: string;
|
|
13469
|
+
CompAuxLib: string;
|
|
13470
|
+
PieceRef: string;
|
|
13471
|
+
PieceDate: string;
|
|
13472
|
+
Debit: number;
|
|
13473
|
+
Credit: number;
|
|
13474
|
+
EcritureLet: string;
|
|
13475
|
+
DateLet: string | null;
|
|
13476
|
+
ValidDate: string | null;
|
|
13477
|
+
Montantdevise: number;
|
|
13478
|
+
Idevise: string;
|
|
13479
|
+
}[]>;
|
|
12291
13480
|
}>;
|
|
12292
13481
|
invoicing: import("../types/api").ApiFor<{
|
|
12293
13482
|
getInvoices(params?: {
|
|
@@ -12297,6 +13486,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
12297
13486
|
updated_after?: string | null | undefined;
|
|
12298
13487
|
include_invoice_lines?: "true" | "false" | null | undefined;
|
|
12299
13488
|
invoice_type?: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund" | "all" | null | undefined;
|
|
13489
|
+
include_analytic_accounts?: "true" | "false" | null | undefined;
|
|
12300
13490
|
} | undefined, options?: import("../types/api").RawDataOption | undefined): import("../types/api").RequestData<{
|
|
12301
13491
|
id: string;
|
|
12302
13492
|
source_ref: {
|
|
@@ -12326,6 +13516,14 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
12326
13516
|
product_id?: string | null | undefined;
|
|
12327
13517
|
product_code?: string | null | undefined;
|
|
12328
13518
|
product_name?: string | null | undefined;
|
|
13519
|
+
analytic_distribution: {
|
|
13520
|
+
analytic_plan_code: string;
|
|
13521
|
+
analytic_accounts: {
|
|
13522
|
+
analytic_account_code: string;
|
|
13523
|
+
analytic_account_name: string;
|
|
13524
|
+
percentage: number;
|
|
13525
|
+
}[];
|
|
13526
|
+
}[] | null;
|
|
12329
13527
|
}[];
|
|
12330
13528
|
partner_id?: string | null | undefined;
|
|
12331
13529
|
invoice_number?: string | null | undefined;
|
|
@@ -12365,6 +13563,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
12365
13563
|
}[]>;
|
|
12366
13564
|
getInvoiceById(invoiceId: string, params?: {
|
|
12367
13565
|
include_pdf?: "true" | "false" | null | undefined;
|
|
13566
|
+
include_analytic_accounts?: "true" | "false" | null | undefined;
|
|
12368
13567
|
} | undefined, options?: import("../types/api").RawDataOption | undefined): import("../types/api").RequestData<{
|
|
12369
13568
|
id: string;
|
|
12370
13569
|
source_ref: {
|
|
@@ -12394,6 +13593,14 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
12394
13593
|
product_id?: string | null | undefined;
|
|
12395
13594
|
product_code?: string | null | undefined;
|
|
12396
13595
|
product_name?: string | null | undefined;
|
|
13596
|
+
analytic_distribution: {
|
|
13597
|
+
analytic_plan_code: string;
|
|
13598
|
+
analytic_accounts: {
|
|
13599
|
+
analytic_account_code: string;
|
|
13600
|
+
analytic_account_name: string;
|
|
13601
|
+
percentage: number;
|
|
13602
|
+
}[];
|
|
13603
|
+
}[] | null;
|
|
12397
13604
|
}[];
|
|
12398
13605
|
partner_id?: string | null | undefined;
|
|
12399
13606
|
invoice_number?: string | null | undefined;
|
|
@@ -12515,6 +13722,14 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
12515
13722
|
product_id?: string | null | undefined;
|
|
12516
13723
|
product_code?: string | null | undefined;
|
|
12517
13724
|
product_name?: string | null | undefined;
|
|
13725
|
+
analytic_distribution: {
|
|
13726
|
+
analytic_plan_code: string;
|
|
13727
|
+
analytic_accounts: {
|
|
13728
|
+
analytic_account_code: string;
|
|
13729
|
+
analytic_account_name: string;
|
|
13730
|
+
percentage: number;
|
|
13731
|
+
}[];
|
|
13732
|
+
}[] | null;
|
|
12518
13733
|
}[];
|
|
12519
13734
|
partner_id?: string | null | undefined;
|
|
12520
13735
|
invoice_number?: string | null | undefined;
|
|
@@ -14093,14 +15308,18 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
14093
15308
|
reference: string;
|
|
14094
15309
|
reference_type: string;
|
|
14095
15310
|
holder_name?: string | null | undefined;
|
|
15311
|
+
active: boolean | null;
|
|
14096
15312
|
}[]>;
|
|
14097
|
-
getAccountTransactions(
|
|
15313
|
+
getAccountTransactions(params: {
|
|
14098
15314
|
date_from?: string | null | undefined;
|
|
14099
15315
|
date_to?: string | null | undefined;
|
|
15316
|
+
updated_after?: string | null | undefined;
|
|
15317
|
+
account_id: string;
|
|
14100
15318
|
date_type?: "value_date" | "execution_date" | null | undefined;
|
|
14101
|
-
}
|
|
15319
|
+
}, options?: import("../types/api").RawDataOption | undefined): import("../types/api").RequestData<{
|
|
14102
15320
|
id: string;
|
|
14103
15321
|
amount: number;
|
|
15322
|
+
tax_amount?: number | null | undefined;
|
|
14104
15323
|
currency: string;
|
|
14105
15324
|
description?: string | null | undefined;
|
|
14106
15325
|
additional_information?: string | null | undefined;
|
|
@@ -14110,6 +15329,17 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
14110
15329
|
creation_date: string;
|
|
14111
15330
|
value_date: string;
|
|
14112
15331
|
execution_date: string;
|
|
15332
|
+
internal_transaction: boolean | null;
|
|
15333
|
+
operation_type: "other" | "fee" | "incoming_transfer" | "outgoing_transfer" | "card" | "direct_debit" | "direct_debit_collection" | "direct_debit_hold" | "cheque" | "recall" | "swift_income" | "pay_later" | "financing_installment" | null;
|
|
15334
|
+
last_update_on?: string | null | undefined;
|
|
15335
|
+
status?: "completed" | "pending" | "declined" | null | undefined;
|
|
15336
|
+
attachments_info?: {
|
|
15337
|
+
status: "unknown" | "yes" | "yes_to_request" | "no";
|
|
15338
|
+
attachments: {
|
|
15339
|
+
filename?: string | null | undefined;
|
|
15340
|
+
url?: string | null | undefined;
|
|
15341
|
+
}[] | null;
|
|
15342
|
+
} | undefined;
|
|
14113
15343
|
}[]>;
|
|
14114
15344
|
getAccountCounterparts(params?: {
|
|
14115
15345
|
date_from?: string | null | undefined;
|
|
@@ -14120,6 +15350,17 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
14120
15350
|
reference?: string | null | undefined;
|
|
14121
15351
|
details?: string | null | undefined;
|
|
14122
15352
|
}[]>;
|
|
15353
|
+
getAttachments(params: {
|
|
15354
|
+
transaction_id: string;
|
|
15355
|
+
}, options?: import("../types/api").RawDataOption | undefined): import("../types/api").RequestData<{
|
|
15356
|
+
items: {
|
|
15357
|
+
id: string;
|
|
15358
|
+
base64_string: string;
|
|
15359
|
+
}[];
|
|
15360
|
+
total: number;
|
|
15361
|
+
page: number;
|
|
15362
|
+
size: number;
|
|
15363
|
+
}>;
|
|
14123
15364
|
}>;
|
|
14124
15365
|
getDataByDataStoreId: (dataStoreId: string, params?: object | undefined) => Promise<{
|
|
14125
15366
|
data: {
|
|
@@ -14159,6 +15400,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
14159
15400
|
source_id?: string | null | undefined;
|
|
14160
15401
|
target_id?: string | null | undefined;
|
|
14161
15402
|
}[];
|
|
15403
|
+
hidden_source_ids: string[];
|
|
14162
15404
|
sub_mapping_name: string;
|
|
14163
15405
|
sub_mapping_description?: string | null | undefined;
|
|
14164
15406
|
}[] | null | undefined;
|
|
@@ -14345,7 +15587,8 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
14345
15587
|
value: string;
|
|
14346
15588
|
}[] | null | undefined;
|
|
14347
15589
|
country?: string | null | undefined;
|
|
14348
|
-
|
|
15590
|
+
redirect: boolean | null;
|
|
15591
|
+
} | null | undefined) => Promise<{
|
|
14349
15592
|
url: string;
|
|
14350
15593
|
}>;
|
|
14351
15594
|
updateConnection: (connectionId: string, body?: {
|
|
@@ -14364,6 +15607,15 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
14364
15607
|
};
|
|
14365
15608
|
content?: undefined;
|
|
14366
15609
|
}>;
|
|
15610
|
+
getTransactionByClientRequestId: (connectionId: string, params: {
|
|
15611
|
+
client_request_id: string;
|
|
15612
|
+
}) => Promise<{
|
|
15613
|
+
created_on: string;
|
|
15614
|
+
method: "GET" | "DELETE" | "HEAD" | "OPTIONS" | "POST" | "PUT" | "PATCH";
|
|
15615
|
+
route: string;
|
|
15616
|
+
status_code: number;
|
|
15617
|
+
created_entity_id?: string | null | undefined;
|
|
15618
|
+
}>;
|
|
14367
15619
|
enableFlow: (syncId: string, flowId: string, body: {
|
|
14368
15620
|
integrationids: string[];
|
|
14369
15621
|
triggerid: string | null;
|
|
@@ -14420,6 +15672,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
14420
15672
|
total_refund: number | null;
|
|
14421
15673
|
total_tip: number | null;
|
|
14422
15674
|
delivery_fee: number | null;
|
|
15675
|
+
mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
|
|
14423
15676
|
currency?: string | null | undefined;
|
|
14424
15677
|
country?: string | null | undefined;
|
|
14425
15678
|
loyalty?: number | null | undefined;
|
|
@@ -14498,6 +15751,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
14498
15751
|
total_refund: number | null;
|
|
14499
15752
|
total_tip: number | null;
|
|
14500
15753
|
delivery_fee: number | null;
|
|
15754
|
+
mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
|
|
14501
15755
|
currency?: string | null | undefined;
|
|
14502
15756
|
country?: string | null | undefined;
|
|
14503
15757
|
loyalty?: number | null | undefined;
|
|
@@ -14686,6 +15940,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
14686
15940
|
total_refund: number | null;
|
|
14687
15941
|
total_tip: number | null;
|
|
14688
15942
|
delivery_fee: number | null;
|
|
15943
|
+
mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
|
|
14689
15944
|
currency?: string | null | undefined;
|
|
14690
15945
|
country?: string | null | undefined;
|
|
14691
15946
|
loyalty?: number | null | undefined;
|
|
@@ -14790,6 +16045,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
14790
16045
|
total_refund: number | null;
|
|
14791
16046
|
total_tip: number | null;
|
|
14792
16047
|
delivery_fee: number | null;
|
|
16048
|
+
mode?: "EAT_IN" | "TAKEAWAY" | "DELIVERY" | null | undefined;
|
|
14793
16049
|
currency?: string | null | undefined;
|
|
14794
16050
|
country?: string | null | undefined;
|
|
14795
16051
|
loyalty?: number | null | undefined;
|
|
@@ -14969,6 +16225,30 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
14969
16225
|
country?: string | null | undefined;
|
|
14970
16226
|
}[] | null | undefined;
|
|
14971
16227
|
}[]>;
|
|
16228
|
+
getCustomer(customerId: string, rawData?: boolean | undefined): import("../types/api").RequestData<{
|
|
16229
|
+
id: string;
|
|
16230
|
+
source_ref: {
|
|
16231
|
+
id?: string | null | undefined;
|
|
16232
|
+
model?: string | null | undefined;
|
|
16233
|
+
};
|
|
16234
|
+
first_name?: string | null | undefined;
|
|
16235
|
+
last_name?: string | null | undefined;
|
|
16236
|
+
company_name?: string | null | undefined;
|
|
16237
|
+
phone?: string | null | undefined;
|
|
16238
|
+
email?: string | null | undefined;
|
|
16239
|
+
account_number?: string | null | undefined;
|
|
16240
|
+
created_on?: string | null | undefined;
|
|
16241
|
+
addresses?: {
|
|
16242
|
+
address_type?: string | null | undefined;
|
|
16243
|
+
name?: string | null | undefined;
|
|
16244
|
+
street?: string | null | undefined;
|
|
16245
|
+
number?: string | null | undefined;
|
|
16246
|
+
box?: string | null | undefined;
|
|
16247
|
+
city?: string | null | undefined;
|
|
16248
|
+
postal_code?: string | null | undefined;
|
|
16249
|
+
country?: string | null | undefined;
|
|
16250
|
+
}[] | null | undefined;
|
|
16251
|
+
}>;
|
|
14972
16252
|
getInvoices(params?: {
|
|
14973
16253
|
date_from: string;
|
|
14974
16254
|
date_to: string;
|
|
@@ -15071,6 +16351,20 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
15071
16351
|
untaxed_amount: number;
|
|
15072
16352
|
total: number;
|
|
15073
16353
|
}[]>;
|
|
16354
|
+
getTaxes(params?: {} | undefined, rawData?: boolean | undefined): import("../types/api").RequestData<{
|
|
16355
|
+
items: {
|
|
16356
|
+
id: string;
|
|
16357
|
+
source_ref: {
|
|
16358
|
+
id?: string | null | undefined;
|
|
16359
|
+
model?: string | null | undefined;
|
|
16360
|
+
};
|
|
16361
|
+
label?: string | null | undefined;
|
|
16362
|
+
rate?: number | null | undefined;
|
|
16363
|
+
}[];
|
|
16364
|
+
total: number;
|
|
16365
|
+
page: number;
|
|
16366
|
+
size: number;
|
|
16367
|
+
}>;
|
|
15074
16368
|
}>;
|
|
15075
16369
|
payment: import("../types/api").ApiFor<{
|
|
15076
16370
|
getPayments(params: {
|
|
@@ -15204,6 +16498,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
15204
16498
|
postal_code?: string | null | undefined;
|
|
15205
16499
|
country?: string | null | undefined;
|
|
15206
16500
|
}[] | null;
|
|
16501
|
+
third_party_account?: string | null | undefined;
|
|
15207
16502
|
}[]>;
|
|
15208
16503
|
createClient(client: {
|
|
15209
16504
|
external_reference?: string | null | undefined;
|
|
@@ -15277,6 +16572,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
15277
16572
|
postal_code?: string | null | undefined;
|
|
15278
16573
|
country?: string | null | undefined;
|
|
15279
16574
|
}[] | null;
|
|
16575
|
+
third_party_account?: string | null | undefined;
|
|
15280
16576
|
}>;
|
|
15281
16577
|
getClient(clientId: string, params?: {
|
|
15282
16578
|
folder_id?: string | null | undefined;
|
|
@@ -15316,6 +16612,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
15316
16612
|
postal_code?: string | null | undefined;
|
|
15317
16613
|
country?: string | null | undefined;
|
|
15318
16614
|
}[] | null;
|
|
16615
|
+
third_party_account?: string | null | undefined;
|
|
15319
16616
|
}>;
|
|
15320
16617
|
updateClient(clientId: string, client: {
|
|
15321
16618
|
external_reference?: string | null | undefined;
|
|
@@ -15387,6 +16684,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
15387
16684
|
postal_code?: string | null | undefined;
|
|
15388
16685
|
country?: string | null | undefined;
|
|
15389
16686
|
}[] | null;
|
|
16687
|
+
third_party_account?: string | null | undefined;
|
|
15390
16688
|
}>;
|
|
15391
16689
|
getSuppliers(params?: {
|
|
15392
16690
|
search?: string | null | undefined;
|
|
@@ -15428,6 +16726,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
15428
16726
|
postal_code?: string | null | undefined;
|
|
15429
16727
|
country?: string | null | undefined;
|
|
15430
16728
|
}[] | null;
|
|
16729
|
+
third_party_account?: string | null | undefined;
|
|
15431
16730
|
}[]>;
|
|
15432
16731
|
createSupplier(supplier: {
|
|
15433
16732
|
external_reference?: string | null | undefined;
|
|
@@ -15501,6 +16800,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
15501
16800
|
postal_code?: string | null | undefined;
|
|
15502
16801
|
country?: string | null | undefined;
|
|
15503
16802
|
}[] | null;
|
|
16803
|
+
third_party_account?: string | null | undefined;
|
|
15504
16804
|
}>;
|
|
15505
16805
|
getSupplier(supplierId: string, params?: {
|
|
15506
16806
|
folder_id?: string | null | undefined;
|
|
@@ -15540,6 +16840,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
15540
16840
|
postal_code?: string | null | undefined;
|
|
15541
16841
|
country?: string | null | undefined;
|
|
15542
16842
|
}[] | null;
|
|
16843
|
+
third_party_account?: string | null | undefined;
|
|
15543
16844
|
}>;
|
|
15544
16845
|
updateSupplier(supplierId: string, supplier: {
|
|
15545
16846
|
external_reference?: string | null | undefined;
|
|
@@ -15611,6 +16912,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
15611
16912
|
postal_code?: string | null | undefined;
|
|
15612
16913
|
country?: string | null | undefined;
|
|
15613
16914
|
}[] | null;
|
|
16915
|
+
third_party_account?: string | null | undefined;
|
|
15614
16916
|
}>;
|
|
15615
16917
|
createInvoice(invoice: {
|
|
15616
16918
|
invoice_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund";
|
|
@@ -15622,6 +16924,12 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
15622
16924
|
reference?: string | null | undefined;
|
|
15623
16925
|
payment_communication?: string | null | undefined;
|
|
15624
16926
|
customer_memo?: string | null | undefined;
|
|
16927
|
+
payment_term_id?: string | null | undefined;
|
|
16928
|
+
withholding_tax?: {
|
|
16929
|
+
tax_rate: number;
|
|
16930
|
+
tax_code: string;
|
|
16931
|
+
tax_amount: number;
|
|
16932
|
+
} | null | undefined;
|
|
15625
16933
|
invoice_date: string;
|
|
15626
16934
|
due_date: string;
|
|
15627
16935
|
partner_id?: string | null | undefined;
|
|
@@ -15664,10 +16972,15 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
15664
16972
|
description: string;
|
|
15665
16973
|
analytic_account?: string | null | undefined;
|
|
15666
16974
|
}[];
|
|
16975
|
+
start_date?: string | null | undefined;
|
|
16976
|
+
end_date?: string | null | undefined;
|
|
16977
|
+
payment_method_id?: string | null | undefined;
|
|
15667
16978
|
}, params?: {
|
|
15668
16979
|
folder_id?: string | null | undefined;
|
|
15669
16980
|
force_financial_period?: string | null | undefined;
|
|
15670
16981
|
regroup_lines?: "true" | "false" | null | undefined;
|
|
16982
|
+
ignore_accounting_id?: boolean | undefined;
|
|
16983
|
+
force_currency_exchange?: boolean | null | undefined;
|
|
15671
16984
|
} | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
|
|
15672
16985
|
invoice_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund";
|
|
15673
16986
|
invoice_number?: string | null | undefined;
|
|
@@ -15678,10 +16991,16 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
15678
16991
|
reference?: string | null | undefined;
|
|
15679
16992
|
payment_communication?: string | null | undefined;
|
|
15680
16993
|
customer_memo?: string | null | undefined;
|
|
16994
|
+
payment_term_id?: string | null | undefined;
|
|
16995
|
+
withholding_tax?: {
|
|
16996
|
+
tax_rate: number;
|
|
16997
|
+
tax_code: string;
|
|
16998
|
+
tax_amount: number;
|
|
16999
|
+
} | null | undefined;
|
|
15681
17000
|
id?: string | null | undefined;
|
|
15682
17001
|
invoice_date: string;
|
|
15683
17002
|
due_date: string;
|
|
15684
|
-
partner_id: string;
|
|
17003
|
+
partner_id: string | null;
|
|
15685
17004
|
journal_id?: string | null | undefined;
|
|
15686
17005
|
payments?: {
|
|
15687
17006
|
id: string;
|
|
@@ -15735,12 +17054,27 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
15735
17054
|
postal_code?: string | null | undefined;
|
|
15736
17055
|
country?: string | null | undefined;
|
|
15737
17056
|
}[] | null;
|
|
17057
|
+
third_party_account?: string | null | undefined;
|
|
15738
17058
|
} | null | undefined;
|
|
15739
17059
|
due_dates: {
|
|
15740
17060
|
due_date: string;
|
|
15741
17061
|
payment_method?: string | null | undefined;
|
|
17062
|
+
payment_method_id?: string | null | undefined;
|
|
15742
17063
|
amount: number;
|
|
15743
17064
|
}[] | null;
|
|
17065
|
+
attachments_info?: {
|
|
17066
|
+
status: "unknown" | "yes" | "yes_to_request" | "no";
|
|
17067
|
+
attachments: {
|
|
17068
|
+
filename?: string | null | undefined;
|
|
17069
|
+
url?: string | null | undefined;
|
|
17070
|
+
}[] | null;
|
|
17071
|
+
} | undefined;
|
|
17072
|
+
accounting_info?: {
|
|
17073
|
+
main_currency?: string | undefined;
|
|
17074
|
+
main_currency_total: number;
|
|
17075
|
+
account_number?: string | null | undefined;
|
|
17076
|
+
} | null | undefined;
|
|
17077
|
+
payment_method_id?: string | null | undefined;
|
|
15744
17078
|
lines: {
|
|
15745
17079
|
line_number: number | null;
|
|
15746
17080
|
unit_price: number;
|
|
@@ -15766,6 +17100,12 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
15766
17100
|
reference?: string | null | undefined;
|
|
15767
17101
|
payment_communication?: string | null | undefined;
|
|
15768
17102
|
customer_memo?: string | null | undefined;
|
|
17103
|
+
payment_term_id?: string | null | undefined;
|
|
17104
|
+
withholding_tax?: {
|
|
17105
|
+
tax_rate: number;
|
|
17106
|
+
tax_code: string;
|
|
17107
|
+
tax_amount: number;
|
|
17108
|
+
} | null | undefined;
|
|
15769
17109
|
invoice_date: string;
|
|
15770
17110
|
due_date: string;
|
|
15771
17111
|
partner_id?: string | null | undefined;
|
|
@@ -15814,10 +17154,15 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
15814
17154
|
}[];
|
|
15815
17155
|
}[] | null;
|
|
15816
17156
|
}[];
|
|
17157
|
+
start_date?: string | null | undefined;
|
|
17158
|
+
end_date?: string | null | undefined;
|
|
17159
|
+
payment_method_id?: string | null | undefined;
|
|
15817
17160
|
}, params?: {
|
|
15818
17161
|
folder_id?: string | null | undefined;
|
|
15819
17162
|
force_financial_period?: string | null | undefined;
|
|
15820
17163
|
regroup_lines?: "true" | "false" | null | undefined;
|
|
17164
|
+
ignore_accounting_id?: boolean | undefined;
|
|
17165
|
+
force_currency_exchange?: boolean | null | undefined;
|
|
15821
17166
|
} | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
|
|
15822
17167
|
invoice_type: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund";
|
|
15823
17168
|
invoice_number?: string | null | undefined;
|
|
@@ -15828,10 +17173,16 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
15828
17173
|
reference?: string | null | undefined;
|
|
15829
17174
|
payment_communication?: string | null | undefined;
|
|
15830
17175
|
customer_memo?: string | null | undefined;
|
|
17176
|
+
payment_term_id?: string | null | undefined;
|
|
17177
|
+
withholding_tax?: {
|
|
17178
|
+
tax_rate: number;
|
|
17179
|
+
tax_code: string;
|
|
17180
|
+
tax_amount: number;
|
|
17181
|
+
} | null | undefined;
|
|
15831
17182
|
id?: string | null | undefined;
|
|
15832
17183
|
invoice_date: string;
|
|
15833
17184
|
due_date: string;
|
|
15834
|
-
partner_id: string;
|
|
17185
|
+
partner_id: string | null;
|
|
15835
17186
|
journal_id?: string | null | undefined;
|
|
15836
17187
|
payments?: {
|
|
15837
17188
|
id: string;
|
|
@@ -15885,12 +17236,27 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
15885
17236
|
postal_code?: string | null | undefined;
|
|
15886
17237
|
country?: string | null | undefined;
|
|
15887
17238
|
}[] | null;
|
|
17239
|
+
third_party_account?: string | null | undefined;
|
|
15888
17240
|
} | null | undefined;
|
|
15889
17241
|
due_dates: {
|
|
15890
17242
|
due_date: string;
|
|
15891
17243
|
payment_method?: string | null | undefined;
|
|
17244
|
+
payment_method_id?: string | null | undefined;
|
|
15892
17245
|
amount: number;
|
|
15893
17246
|
}[] | null;
|
|
17247
|
+
attachments_info?: {
|
|
17248
|
+
status: "unknown" | "yes" | "yes_to_request" | "no";
|
|
17249
|
+
attachments: {
|
|
17250
|
+
filename?: string | null | undefined;
|
|
17251
|
+
url?: string | null | undefined;
|
|
17252
|
+
}[] | null;
|
|
17253
|
+
} | undefined;
|
|
17254
|
+
accounting_info?: {
|
|
17255
|
+
main_currency?: string | undefined;
|
|
17256
|
+
main_currency_total: number;
|
|
17257
|
+
account_number?: string | null | undefined;
|
|
17258
|
+
} | null | undefined;
|
|
17259
|
+
payment_method_id?: string | null | undefined;
|
|
15894
17260
|
lines: {
|
|
15895
17261
|
line_number: number | null;
|
|
15896
17262
|
unit_price: number;
|
|
@@ -15932,10 +17298,16 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
15932
17298
|
reference?: string | null | undefined;
|
|
15933
17299
|
payment_communication?: string | null | undefined;
|
|
15934
17300
|
customer_memo?: string | null | undefined;
|
|
17301
|
+
payment_term_id?: string | null | undefined;
|
|
17302
|
+
withholding_tax?: {
|
|
17303
|
+
tax_rate: number;
|
|
17304
|
+
tax_code: string;
|
|
17305
|
+
tax_amount: number;
|
|
17306
|
+
} | null | undefined;
|
|
15935
17307
|
id?: string | null | undefined;
|
|
15936
17308
|
invoice_date: string;
|
|
15937
17309
|
due_date: string;
|
|
15938
|
-
partner_id: string;
|
|
17310
|
+
partner_id: string | null;
|
|
15939
17311
|
journal_id?: string | null | undefined;
|
|
15940
17312
|
payments?: {
|
|
15941
17313
|
id: string;
|
|
@@ -15989,12 +17361,27 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
15989
17361
|
postal_code?: string | null | undefined;
|
|
15990
17362
|
country?: string | null | undefined;
|
|
15991
17363
|
}[] | null;
|
|
17364
|
+
third_party_account?: string | null | undefined;
|
|
15992
17365
|
} | null | undefined;
|
|
15993
17366
|
due_dates: {
|
|
15994
17367
|
due_date: string;
|
|
15995
17368
|
payment_method?: string | null | undefined;
|
|
17369
|
+
payment_method_id?: string | null | undefined;
|
|
15996
17370
|
amount: number;
|
|
15997
17371
|
}[] | null;
|
|
17372
|
+
attachments_info?: {
|
|
17373
|
+
status: "unknown" | "yes" | "yes_to_request" | "no";
|
|
17374
|
+
attachments: {
|
|
17375
|
+
filename?: string | null | undefined;
|
|
17376
|
+
url?: string | null | undefined;
|
|
17377
|
+
}[] | null;
|
|
17378
|
+
} | undefined;
|
|
17379
|
+
accounting_info?: {
|
|
17380
|
+
main_currency?: string | undefined;
|
|
17381
|
+
main_currency_total: number;
|
|
17382
|
+
account_number?: string | null | undefined;
|
|
17383
|
+
} | null | undefined;
|
|
17384
|
+
payment_method_id?: string | null | undefined;
|
|
15998
17385
|
lines: {
|
|
15999
17386
|
line_number: number | null;
|
|
16000
17387
|
unit_price: number;
|
|
@@ -16025,10 +17412,16 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
16025
17412
|
reference?: string | null | undefined;
|
|
16026
17413
|
payment_communication?: string | null | undefined;
|
|
16027
17414
|
customer_memo?: string | null | undefined;
|
|
17415
|
+
payment_term_id?: string | null | undefined;
|
|
17416
|
+
withholding_tax?: {
|
|
17417
|
+
tax_rate: number;
|
|
17418
|
+
tax_code: string;
|
|
17419
|
+
tax_amount: number;
|
|
17420
|
+
} | null | undefined;
|
|
16028
17421
|
id?: string | null | undefined;
|
|
16029
17422
|
invoice_date: string;
|
|
16030
17423
|
due_date: string;
|
|
16031
|
-
partner_id: string;
|
|
17424
|
+
partner_id: string | null;
|
|
16032
17425
|
journal_id?: string | null | undefined;
|
|
16033
17426
|
payments?: {
|
|
16034
17427
|
id: string;
|
|
@@ -16082,12 +17475,27 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
16082
17475
|
postal_code?: string | null | undefined;
|
|
16083
17476
|
country?: string | null | undefined;
|
|
16084
17477
|
}[] | null;
|
|
17478
|
+
third_party_account?: string | null | undefined;
|
|
16085
17479
|
} | null | undefined;
|
|
16086
17480
|
due_dates: {
|
|
16087
17481
|
due_date: string;
|
|
16088
17482
|
payment_method?: string | null | undefined;
|
|
17483
|
+
payment_method_id?: string | null | undefined;
|
|
16089
17484
|
amount: number;
|
|
16090
17485
|
}[] | null;
|
|
17486
|
+
attachments_info?: {
|
|
17487
|
+
status: "unknown" | "yes" | "yes_to_request" | "no";
|
|
17488
|
+
attachments: {
|
|
17489
|
+
filename?: string | null | undefined;
|
|
17490
|
+
url?: string | null | undefined;
|
|
17491
|
+
}[] | null;
|
|
17492
|
+
} | undefined;
|
|
17493
|
+
accounting_info?: {
|
|
17494
|
+
main_currency?: string | undefined;
|
|
17495
|
+
main_currency_total: number;
|
|
17496
|
+
account_number?: string | null | undefined;
|
|
17497
|
+
} | null | undefined;
|
|
17498
|
+
payment_method_id?: string | null | undefined;
|
|
16091
17499
|
lines: {
|
|
16092
17500
|
line_number: number | null;
|
|
16093
17501
|
unit_price: number;
|
|
@@ -16118,10 +17526,16 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
16118
17526
|
reference?: string | null | undefined;
|
|
16119
17527
|
payment_communication?: string | null | undefined;
|
|
16120
17528
|
customer_memo?: string | null | undefined;
|
|
17529
|
+
payment_term_id?: string | null | undefined;
|
|
17530
|
+
withholding_tax?: {
|
|
17531
|
+
tax_rate: number;
|
|
17532
|
+
tax_code: string;
|
|
17533
|
+
tax_amount: number;
|
|
17534
|
+
} | null | undefined;
|
|
16121
17535
|
id?: string | null | undefined;
|
|
16122
17536
|
invoice_date: string;
|
|
16123
17537
|
due_date: string;
|
|
16124
|
-
partner_id: string;
|
|
17538
|
+
partner_id: string | null;
|
|
16125
17539
|
journal_id?: string | null | undefined;
|
|
16126
17540
|
payments?: {
|
|
16127
17541
|
id: string;
|
|
@@ -16175,12 +17589,27 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
16175
17589
|
postal_code?: string | null | undefined;
|
|
16176
17590
|
country?: string | null | undefined;
|
|
16177
17591
|
}[] | null;
|
|
17592
|
+
third_party_account?: string | null | undefined;
|
|
16178
17593
|
} | null | undefined;
|
|
16179
17594
|
due_dates: {
|
|
16180
17595
|
due_date: string;
|
|
16181
17596
|
payment_method?: string | null | undefined;
|
|
17597
|
+
payment_method_id?: string | null | undefined;
|
|
16182
17598
|
amount: number;
|
|
16183
17599
|
}[] | null;
|
|
17600
|
+
attachments_info?: {
|
|
17601
|
+
status: "unknown" | "yes" | "yes_to_request" | "no";
|
|
17602
|
+
attachments: {
|
|
17603
|
+
filename?: string | null | undefined;
|
|
17604
|
+
url?: string | null | undefined;
|
|
17605
|
+
}[] | null;
|
|
17606
|
+
} | undefined;
|
|
17607
|
+
accounting_info?: {
|
|
17608
|
+
main_currency?: string | undefined;
|
|
17609
|
+
main_currency_total: number;
|
|
17610
|
+
account_number?: string | null | undefined;
|
|
17611
|
+
} | null | undefined;
|
|
17612
|
+
payment_method_id?: string | null | undefined;
|
|
16184
17613
|
lines: {
|
|
16185
17614
|
line_number: number | null;
|
|
16186
17615
|
unit_price: number;
|
|
@@ -16222,10 +17651,16 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
16222
17651
|
reference?: string | null | undefined;
|
|
16223
17652
|
payment_communication?: string | null | undefined;
|
|
16224
17653
|
customer_memo?: string | null | undefined;
|
|
17654
|
+
payment_term_id?: string | null | undefined;
|
|
17655
|
+
withholding_tax?: {
|
|
17656
|
+
tax_rate: number;
|
|
17657
|
+
tax_code: string;
|
|
17658
|
+
tax_amount: number;
|
|
17659
|
+
} | null | undefined;
|
|
16225
17660
|
id?: string | null | undefined;
|
|
16226
17661
|
invoice_date: string;
|
|
16227
17662
|
due_date: string;
|
|
16228
|
-
partner_id: string;
|
|
17663
|
+
partner_id: string | null;
|
|
16229
17664
|
journal_id?: string | null | undefined;
|
|
16230
17665
|
payments?: {
|
|
16231
17666
|
id: string;
|
|
@@ -16279,12 +17714,27 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
16279
17714
|
postal_code?: string | null | undefined;
|
|
16280
17715
|
country?: string | null | undefined;
|
|
16281
17716
|
}[] | null;
|
|
17717
|
+
third_party_account?: string | null | undefined;
|
|
16282
17718
|
} | null | undefined;
|
|
16283
17719
|
due_dates: {
|
|
16284
17720
|
due_date: string;
|
|
16285
17721
|
payment_method?: string | null | undefined;
|
|
17722
|
+
payment_method_id?: string | null | undefined;
|
|
16286
17723
|
amount: number;
|
|
16287
17724
|
}[] | null;
|
|
17725
|
+
attachments_info?: {
|
|
17726
|
+
status: "unknown" | "yes" | "yes_to_request" | "no";
|
|
17727
|
+
attachments: {
|
|
17728
|
+
filename?: string | null | undefined;
|
|
17729
|
+
url?: string | null | undefined;
|
|
17730
|
+
}[] | null;
|
|
17731
|
+
} | undefined;
|
|
17732
|
+
accounting_info?: {
|
|
17733
|
+
main_currency?: string | undefined;
|
|
17734
|
+
main_currency_total: number;
|
|
17735
|
+
account_number?: string | null | undefined;
|
|
17736
|
+
} | null | undefined;
|
|
17737
|
+
payment_method_id?: string | null | undefined;
|
|
16288
17738
|
lines: {
|
|
16289
17739
|
line_number: number | null;
|
|
16290
17740
|
unit_price: number;
|
|
@@ -16432,7 +17882,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
16432
17882
|
folder_id?: string | null | undefined;
|
|
16433
17883
|
updated_after?: string | null | undefined;
|
|
16434
17884
|
unposted_allowed: "true" | "false";
|
|
16435
|
-
journal_id
|
|
17885
|
+
journal_id?: string | null | undefined;
|
|
16436
17886
|
partner_id?: string | null | undefined;
|
|
16437
17887
|
}, options?: import("../types/api").RawDataOption | undefined): import("../types/api").RequestData<{
|
|
16438
17888
|
reference?: string | null | undefined;
|
|
@@ -16446,9 +17896,17 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
16446
17896
|
due_dates: {
|
|
16447
17897
|
due_date: string;
|
|
16448
17898
|
payment_method?: string | null | undefined;
|
|
17899
|
+
payment_method_id?: string | null | undefined;
|
|
16449
17900
|
debit: number | null;
|
|
16450
17901
|
credit: number | null;
|
|
16451
17902
|
}[] | null;
|
|
17903
|
+
attachments_info?: {
|
|
17904
|
+
status: "unknown" | "yes" | "yes_to_request" | "no";
|
|
17905
|
+
attachments: {
|
|
17906
|
+
filename?: string | null | undefined;
|
|
17907
|
+
url?: string | null | undefined;
|
|
17908
|
+
}[] | null;
|
|
17909
|
+
} | undefined;
|
|
16452
17910
|
items: {
|
|
16453
17911
|
account_number: string;
|
|
16454
17912
|
partner_id?: string | null | undefined;
|
|
@@ -16471,7 +17929,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
16471
17929
|
folder_id?: string | null | undefined;
|
|
16472
17930
|
updated_after?: string | null | undefined;
|
|
16473
17931
|
unposted_allowed: "true" | "false";
|
|
16474
|
-
journal_id
|
|
17932
|
+
journal_id?: string | null | undefined;
|
|
16475
17933
|
partner_id?: string | null | undefined;
|
|
16476
17934
|
}, options?: import("../types/api").RawDataOption | undefined): import("../types/api").RequestData<{
|
|
16477
17935
|
reference?: string | null | undefined;
|
|
@@ -16485,9 +17943,17 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
16485
17943
|
due_dates: {
|
|
16486
17944
|
due_date: string;
|
|
16487
17945
|
payment_method?: string | null | undefined;
|
|
17946
|
+
payment_method_id?: string | null | undefined;
|
|
16488
17947
|
debit: number | null;
|
|
16489
17948
|
credit: number | null;
|
|
16490
17949
|
}[] | null;
|
|
17950
|
+
attachments_info?: {
|
|
17951
|
+
status: "unknown" | "yes" | "yes_to_request" | "no";
|
|
17952
|
+
attachments: {
|
|
17953
|
+
filename?: string | null | undefined;
|
|
17954
|
+
url?: string | null | undefined;
|
|
17955
|
+
}[] | null;
|
|
17956
|
+
} | undefined;
|
|
16491
17957
|
items: {
|
|
16492
17958
|
account_number: string;
|
|
16493
17959
|
partner_id?: string | null | undefined;
|
|
@@ -16577,6 +18043,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
16577
18043
|
} | undefined, options?: import("../types/api").RawDataOption | undefined): import("../types/api").RequestData<{
|
|
16578
18044
|
id: string;
|
|
16579
18045
|
code?: string | null | undefined;
|
|
18046
|
+
active: boolean | null;
|
|
16580
18047
|
label: string;
|
|
16581
18048
|
scope: "unknown" | "nat" | "eu" | "int" | null;
|
|
16582
18049
|
rate: number;
|
|
@@ -16584,6 +18051,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
16584
18051
|
deductible_account?: string | null | undefined;
|
|
16585
18052
|
payable_account?: string | null | undefined;
|
|
16586
18053
|
reversed: boolean | null;
|
|
18054
|
+
withholding_tax: boolean | null;
|
|
16587
18055
|
country?: string | null | undefined;
|
|
16588
18056
|
}[]>;
|
|
16589
18057
|
getMiscOperations(params?: {
|
|
@@ -16686,12 +18154,14 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
16686
18154
|
getChartOfAccounts(params?: {
|
|
16687
18155
|
folder_id?: string | null | undefined;
|
|
16688
18156
|
classes?: string | null | undefined;
|
|
16689
|
-
type?: "vat" | "bank" | "cash" | "income" | "expense" | null | undefined;
|
|
18157
|
+
type?: "vat" | "bank" | "cash" | "income" | "expense" | "other_expense" | null | undefined;
|
|
16690
18158
|
} | undefined, options?: import("../types/api").RawDataOption | undefined): import("../types/api").RequestData<{
|
|
16691
18159
|
number: string;
|
|
16692
18160
|
name: string;
|
|
16693
18161
|
active: boolean | null;
|
|
16694
|
-
type?: "vat" | "other" | "bank" | "cash" | "other_financial" | "receivable" | "payable" | "income" | "expense" | null | undefined;
|
|
18162
|
+
type?: "vat" | "other" | "bank" | "cash" | "other_financial" | "receivable" | "payable" | "income" | "expense" | "other_expense" | null | undefined;
|
|
18163
|
+
scheme_ids?: string[] | null | undefined;
|
|
18164
|
+
accounting_category?: string | null | undefined;
|
|
16695
18165
|
}[]>;
|
|
16696
18166
|
getBalanceOfAccounts(filter: {
|
|
16697
18167
|
accounts: string[];
|
|
@@ -16767,11 +18237,13 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
16767
18237
|
account: string;
|
|
16768
18238
|
amount: number;
|
|
16769
18239
|
description?: string | null | undefined;
|
|
18240
|
+
automated_matching_number?: string | null | undefined;
|
|
16770
18241
|
}[];
|
|
16771
18242
|
pdf?: string | null | undefined;
|
|
16772
18243
|
}, params?: {
|
|
16773
18244
|
folder_id?: string | null | undefined;
|
|
16774
18245
|
financial_counterpart_account?: string | null | undefined;
|
|
18246
|
+
force_currency_exchange?: boolean | null | undefined;
|
|
16775
18247
|
} | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
|
|
16776
18248
|
date: string;
|
|
16777
18249
|
journal_id: string;
|
|
@@ -16785,6 +18257,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
16785
18257
|
account: string;
|
|
16786
18258
|
amount: number;
|
|
16787
18259
|
description?: string | null | undefined;
|
|
18260
|
+
automated_matching_number?: string | null | undefined;
|
|
16788
18261
|
counterpart_account: string;
|
|
16789
18262
|
}[];
|
|
16790
18263
|
}>;
|
|
@@ -16812,6 +18285,13 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
16812
18285
|
}[];
|
|
16813
18286
|
}[] | null;
|
|
16814
18287
|
tax_code?: string | null | undefined;
|
|
18288
|
+
tax_info?: {
|
|
18289
|
+
tax_code: string;
|
|
18290
|
+
tax_amount: number;
|
|
18291
|
+
vat_account?: string | null | undefined;
|
|
18292
|
+
reversed_vat_account?: string | null | undefined;
|
|
18293
|
+
description?: string | null | undefined;
|
|
18294
|
+
} | null | undefined;
|
|
16815
18295
|
account_info?: {
|
|
16816
18296
|
account_number: string;
|
|
16817
18297
|
account_name: string;
|
|
@@ -16824,6 +18304,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
16824
18304
|
}, params?: {
|
|
16825
18305
|
folder_id?: string | null | undefined;
|
|
16826
18306
|
force_currency_exchange?: "true" | "false" | null | undefined;
|
|
18307
|
+
ignore_accounting_id?: boolean | undefined;
|
|
16827
18308
|
} | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
|
|
16828
18309
|
reference?: string | null | undefined;
|
|
16829
18310
|
due_date?: string | null | undefined;
|
|
@@ -16836,9 +18317,17 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
16836
18317
|
due_dates: {
|
|
16837
18318
|
due_date: string;
|
|
16838
18319
|
payment_method?: string | null | undefined;
|
|
18320
|
+
payment_method_id?: string | null | undefined;
|
|
16839
18321
|
debit: number | null;
|
|
16840
18322
|
credit: number | null;
|
|
16841
18323
|
}[] | null;
|
|
18324
|
+
attachments_info?: {
|
|
18325
|
+
status: "unknown" | "yes" | "yes_to_request" | "no";
|
|
18326
|
+
attachments: {
|
|
18327
|
+
filename?: string | null | undefined;
|
|
18328
|
+
url?: string | null | undefined;
|
|
18329
|
+
}[] | null;
|
|
18330
|
+
} | undefined;
|
|
16842
18331
|
items: {
|
|
16843
18332
|
account_number: string;
|
|
16844
18333
|
partner_id?: string | null | undefined;
|
|
@@ -16954,14 +18443,35 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
16954
18443
|
createLedgerAccount(account: {
|
|
16955
18444
|
name: string;
|
|
16956
18445
|
number: string;
|
|
16957
|
-
type: "vat" | "other" | "bank" | "cash" | "other_financial" | "receivable" | "payable" | "income" | "expense" | null;
|
|
18446
|
+
type: "vat" | "other" | "bank" | "cash" | "other_financial" | "receivable" | "payable" | "income" | "expense" | "other_expense" | null;
|
|
16958
18447
|
}, params?: {
|
|
16959
18448
|
folder_id?: string | null | undefined;
|
|
16960
18449
|
} | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
|
|
16961
18450
|
number: string;
|
|
16962
18451
|
name: string;
|
|
16963
18452
|
active: boolean | null;
|
|
16964
|
-
type?: "vat" | "other" | "bank" | "cash" | "other_financial" | "receivable" | "payable" | "income" | "expense" | null | undefined;
|
|
18453
|
+
type?: "vat" | "other" | "bank" | "cash" | "other_financial" | "receivable" | "payable" | "income" | "expense" | "other_expense" | null | undefined;
|
|
18454
|
+
scheme_ids?: string[] | null | undefined;
|
|
18455
|
+
accounting_category?: string | null | undefined;
|
|
18456
|
+
}>;
|
|
18457
|
+
getBankAccounts(params?: {
|
|
18458
|
+
folder_id?: string | null | undefined;
|
|
18459
|
+
} | undefined, options?: import("../types/api").RawDataOption | undefined): import("../types/api").RequestData<{
|
|
18460
|
+
items: {
|
|
18461
|
+
id: string;
|
|
18462
|
+
code?: string | null | undefined;
|
|
18463
|
+
currency?: string | null | undefined;
|
|
18464
|
+
account_name?: string | null | undefined;
|
|
18465
|
+
account_number?: string | null | undefined;
|
|
18466
|
+
iban?: string | null | undefined;
|
|
18467
|
+
bank_name?: string | null | undefined;
|
|
18468
|
+
journal_id?: string | null | undefined;
|
|
18469
|
+
ledger_account?: string | null | undefined;
|
|
18470
|
+
unallocated_account?: string | null | undefined;
|
|
18471
|
+
}[];
|
|
18472
|
+
total: number;
|
|
18473
|
+
page: number;
|
|
18474
|
+
size: number;
|
|
16965
18475
|
}>;
|
|
16966
18476
|
createBankAccount(bankAccount: {
|
|
16967
18477
|
code: string;
|
|
@@ -16984,6 +18494,45 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
16984
18494
|
ledger_account?: string | null | undefined;
|
|
16985
18495
|
unallocated_account?: string | null | undefined;
|
|
16986
18496
|
}>;
|
|
18497
|
+
createBankTransactions(bankStatement: {
|
|
18498
|
+
bank_statement_date: string;
|
|
18499
|
+
bank_account_id: string;
|
|
18500
|
+
external_bank_statement_id: string;
|
|
18501
|
+
opening_balance?: number | null | undefined;
|
|
18502
|
+
pdf?: string | null | undefined;
|
|
18503
|
+
items: {
|
|
18504
|
+
account_type?: "customer_account" | "supplier_account" | "employee_account" | "general_account" | null | undefined;
|
|
18505
|
+
account?: string | null | undefined;
|
|
18506
|
+
description?: string | null | undefined;
|
|
18507
|
+
external_transaction_id?: string | null | undefined;
|
|
18508
|
+
date: string;
|
|
18509
|
+
amount: number;
|
|
18510
|
+
fee_amount: number | null;
|
|
18511
|
+
tax_amount: number | null;
|
|
18512
|
+
currency: string;
|
|
18513
|
+
currency_exchange_rate: number | null;
|
|
18514
|
+
}[];
|
|
18515
|
+
}, params?: {
|
|
18516
|
+
folder_id?: string | null | undefined;
|
|
18517
|
+
} | undefined, options?: import("../types/api").ClientRequestOption | undefined): import("../types/api").RequestData<{
|
|
18518
|
+
bank_statement_date: string;
|
|
18519
|
+
bank_account_id: string;
|
|
18520
|
+
id?: string | null | undefined;
|
|
18521
|
+
external_bank_statement_id?: string | null | undefined;
|
|
18522
|
+
items: {
|
|
18523
|
+
account_type?: "customer_account" | "supplier_account" | "employee_account" | "general_account" | null | undefined;
|
|
18524
|
+
account?: string | null | undefined;
|
|
18525
|
+
description?: string | null | undefined;
|
|
18526
|
+
external_transaction_id?: string | null | undefined;
|
|
18527
|
+
date: string;
|
|
18528
|
+
amount: number;
|
|
18529
|
+
fee_amount: number | null;
|
|
18530
|
+
tax_amount: number | null;
|
|
18531
|
+
currency: string;
|
|
18532
|
+
currency_exchange_rate: number | null;
|
|
18533
|
+
id?: string | null | undefined;
|
|
18534
|
+
}[];
|
|
18535
|
+
}>;
|
|
16987
18536
|
getJournalEntry(journalEntryId: string, params?: {
|
|
16988
18537
|
folder_id?: string | null | undefined;
|
|
16989
18538
|
} | undefined, options?: import("../types/api").RawDataOption | undefined): import("../types/api").RequestData<{
|
|
@@ -16998,9 +18547,17 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
16998
18547
|
due_dates: {
|
|
16999
18548
|
due_date: string;
|
|
17000
18549
|
payment_method?: string | null | undefined;
|
|
18550
|
+
payment_method_id?: string | null | undefined;
|
|
17001
18551
|
debit: number | null;
|
|
17002
18552
|
credit: number | null;
|
|
17003
18553
|
}[] | null;
|
|
18554
|
+
attachments_info?: {
|
|
18555
|
+
status: "unknown" | "yes" | "yes_to_request" | "no";
|
|
18556
|
+
attachments: {
|
|
18557
|
+
filename?: string | null | undefined;
|
|
18558
|
+
url?: string | null | undefined;
|
|
18559
|
+
}[] | null;
|
|
18560
|
+
} | undefined;
|
|
17004
18561
|
items: {
|
|
17005
18562
|
account_number: string;
|
|
17006
18563
|
partner_id?: string | null | undefined;
|
|
@@ -17035,6 +18592,29 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
17035
18592
|
page: number;
|
|
17036
18593
|
size: number;
|
|
17037
18594
|
}>;
|
|
18595
|
+
getPaymentTerms(params?: {
|
|
18596
|
+
folder_id?: string | null | undefined;
|
|
18597
|
+
} | undefined, options?: import("../types/api").RawDataOption | undefined): import("../types/api").RequestData<{
|
|
18598
|
+
items: {
|
|
18599
|
+
id: string;
|
|
18600
|
+
name?: string | null | undefined;
|
|
18601
|
+
}[];
|
|
18602
|
+
total: number;
|
|
18603
|
+
page: number;
|
|
18604
|
+
size: number;
|
|
18605
|
+
}>;
|
|
18606
|
+
getSchemes(params?: {
|
|
18607
|
+
folder_id?: string | null | undefined;
|
|
18608
|
+
} | undefined, options?: import("../types/api").RawDataOption | undefined): import("../types/api").RequestData<{
|
|
18609
|
+
items: {
|
|
18610
|
+
id: string;
|
|
18611
|
+
code: string;
|
|
18612
|
+
name: string;
|
|
18613
|
+
}[];
|
|
18614
|
+
total: number;
|
|
18615
|
+
page: number;
|
|
18616
|
+
size: number;
|
|
18617
|
+
}>;
|
|
17038
18618
|
createInvoicePayment(body: {
|
|
17039
18619
|
date: string;
|
|
17040
18620
|
payment_method_id: string;
|
|
@@ -17054,6 +18634,29 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
17054
18634
|
};
|
|
17055
18635
|
content?: undefined;
|
|
17056
18636
|
}>;
|
|
18637
|
+
exportFec(params: {
|
|
18638
|
+
folder_id?: string | null | undefined;
|
|
18639
|
+
date_from: string;
|
|
18640
|
+
date_to: string;
|
|
18641
|
+
}, options?: import("../types/api").RawDataOption | undefined): import("../types/api").RequestData<{
|
|
18642
|
+
JournalCode: string;
|
|
18643
|
+
JournalLib: string;
|
|
18644
|
+
EcritureNum: string;
|
|
18645
|
+
EcritureDate: string;
|
|
18646
|
+
CompteNum: string;
|
|
18647
|
+
CompteLib: string;
|
|
18648
|
+
CompAuxNum: string;
|
|
18649
|
+
CompAuxLib: string;
|
|
18650
|
+
PieceRef: string;
|
|
18651
|
+
PieceDate: string;
|
|
18652
|
+
Debit: number;
|
|
18653
|
+
Credit: number;
|
|
18654
|
+
EcritureLet: string;
|
|
18655
|
+
DateLet: string | null;
|
|
18656
|
+
ValidDate: string | null;
|
|
18657
|
+
Montantdevise: number;
|
|
18658
|
+
Idevise: string;
|
|
18659
|
+
}[]>;
|
|
17057
18660
|
}>;
|
|
17058
18661
|
invoicing: import("../types/api").ApiFor<{
|
|
17059
18662
|
getInvoices(params?: {
|
|
@@ -17063,6 +18666,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
17063
18666
|
updated_after?: string | null | undefined;
|
|
17064
18667
|
include_invoice_lines?: "true" | "false" | null | undefined;
|
|
17065
18668
|
invoice_type?: "customer_invoice" | "customer_refund" | "supplier_invoice" | "supplier_refund" | "all" | null | undefined;
|
|
18669
|
+
include_analytic_accounts?: "true" | "false" | null | undefined;
|
|
17066
18670
|
} | undefined, options?: import("../types/api").RawDataOption | undefined): import("../types/api").RequestData<{
|
|
17067
18671
|
id: string;
|
|
17068
18672
|
source_ref: {
|
|
@@ -17092,6 +18696,14 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
17092
18696
|
product_id?: string | null | undefined;
|
|
17093
18697
|
product_code?: string | null | undefined;
|
|
17094
18698
|
product_name?: string | null | undefined;
|
|
18699
|
+
analytic_distribution: {
|
|
18700
|
+
analytic_plan_code: string;
|
|
18701
|
+
analytic_accounts: {
|
|
18702
|
+
analytic_account_code: string;
|
|
18703
|
+
analytic_account_name: string;
|
|
18704
|
+
percentage: number;
|
|
18705
|
+
}[];
|
|
18706
|
+
}[] | null;
|
|
17095
18707
|
}[];
|
|
17096
18708
|
partner_id?: string | null | undefined;
|
|
17097
18709
|
invoice_number?: string | null | undefined;
|
|
@@ -17131,6 +18743,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
17131
18743
|
}[]>;
|
|
17132
18744
|
getInvoiceById(invoiceId: string, params?: {
|
|
17133
18745
|
include_pdf?: "true" | "false" | null | undefined;
|
|
18746
|
+
include_analytic_accounts?: "true" | "false" | null | undefined;
|
|
17134
18747
|
} | undefined, options?: import("../types/api").RawDataOption | undefined): import("../types/api").RequestData<{
|
|
17135
18748
|
id: string;
|
|
17136
18749
|
source_ref: {
|
|
@@ -17160,6 +18773,14 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
17160
18773
|
product_id?: string | null | undefined;
|
|
17161
18774
|
product_code?: string | null | undefined;
|
|
17162
18775
|
product_name?: string | null | undefined;
|
|
18776
|
+
analytic_distribution: {
|
|
18777
|
+
analytic_plan_code: string;
|
|
18778
|
+
analytic_accounts: {
|
|
18779
|
+
analytic_account_code: string;
|
|
18780
|
+
analytic_account_name: string;
|
|
18781
|
+
percentage: number;
|
|
18782
|
+
}[];
|
|
18783
|
+
}[] | null;
|
|
17163
18784
|
}[];
|
|
17164
18785
|
partner_id?: string | null | undefined;
|
|
17165
18786
|
invoice_number?: string | null | undefined;
|
|
@@ -17281,6 +18902,14 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
17281
18902
|
product_id?: string | null | undefined;
|
|
17282
18903
|
product_code?: string | null | undefined;
|
|
17283
18904
|
product_name?: string | null | undefined;
|
|
18905
|
+
analytic_distribution: {
|
|
18906
|
+
analytic_plan_code: string;
|
|
18907
|
+
analytic_accounts: {
|
|
18908
|
+
analytic_account_code: string;
|
|
18909
|
+
analytic_account_name: string;
|
|
18910
|
+
percentage: number;
|
|
18911
|
+
}[];
|
|
18912
|
+
}[] | null;
|
|
17284
18913
|
}[];
|
|
17285
18914
|
partner_id?: string | null | undefined;
|
|
17286
18915
|
invoice_number?: string | null | undefined;
|
|
@@ -18859,14 +20488,18 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
18859
20488
|
reference: string;
|
|
18860
20489
|
reference_type: string;
|
|
18861
20490
|
holder_name?: string | null | undefined;
|
|
20491
|
+
active: boolean | null;
|
|
18862
20492
|
}[]>;
|
|
18863
|
-
getAccountTransactions(
|
|
20493
|
+
getAccountTransactions(params: {
|
|
18864
20494
|
date_from?: string | null | undefined;
|
|
18865
20495
|
date_to?: string | null | undefined;
|
|
20496
|
+
updated_after?: string | null | undefined;
|
|
20497
|
+
account_id: string;
|
|
18866
20498
|
date_type?: "value_date" | "execution_date" | null | undefined;
|
|
18867
|
-
}
|
|
20499
|
+
}, options?: import("../types/api").RawDataOption | undefined): import("../types/api").RequestData<{
|
|
18868
20500
|
id: string;
|
|
18869
20501
|
amount: number;
|
|
20502
|
+
tax_amount?: number | null | undefined;
|
|
18870
20503
|
currency: string;
|
|
18871
20504
|
description?: string | null | undefined;
|
|
18872
20505
|
additional_information?: string | null | undefined;
|
|
@@ -18876,6 +20509,17 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
18876
20509
|
creation_date: string;
|
|
18877
20510
|
value_date: string;
|
|
18878
20511
|
execution_date: string;
|
|
20512
|
+
internal_transaction: boolean | null;
|
|
20513
|
+
operation_type: "other" | "fee" | "incoming_transfer" | "outgoing_transfer" | "card" | "direct_debit" | "direct_debit_collection" | "direct_debit_hold" | "cheque" | "recall" | "swift_income" | "pay_later" | "financing_installment" | null;
|
|
20514
|
+
last_update_on?: string | null | undefined;
|
|
20515
|
+
status?: "completed" | "pending" | "declined" | null | undefined;
|
|
20516
|
+
attachments_info?: {
|
|
20517
|
+
status: "unknown" | "yes" | "yes_to_request" | "no";
|
|
20518
|
+
attachments: {
|
|
20519
|
+
filename?: string | null | undefined;
|
|
20520
|
+
url?: string | null | undefined;
|
|
20521
|
+
}[] | null;
|
|
20522
|
+
} | undefined;
|
|
18879
20523
|
}[]>;
|
|
18880
20524
|
getAccountCounterparts(params?: {
|
|
18881
20525
|
date_from?: string | null | undefined;
|
|
@@ -18886,6 +20530,17 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
18886
20530
|
reference?: string | null | undefined;
|
|
18887
20531
|
details?: string | null | undefined;
|
|
18888
20532
|
}[]>;
|
|
20533
|
+
getAttachments(params: {
|
|
20534
|
+
transaction_id: string;
|
|
20535
|
+
}, options?: import("../types/api").RawDataOption | undefined): import("../types/api").RequestData<{
|
|
20536
|
+
items: {
|
|
20537
|
+
id: string;
|
|
20538
|
+
base64_string: string;
|
|
20539
|
+
}[];
|
|
20540
|
+
total: number;
|
|
20541
|
+
page: number;
|
|
20542
|
+
size: number;
|
|
20543
|
+
}>;
|
|
18889
20544
|
}>;
|
|
18890
20545
|
getDataByDataStoreId: (dataStoreId: string, params?: object | undefined) => Promise<{
|
|
18891
20546
|
data: {
|
|
@@ -18925,6 +20580,7 @@ declare const Sync: (internalApi: InternalAPI, body: components['schemas']['Read
|
|
|
18925
20580
|
source_id?: string | null | undefined;
|
|
18926
20581
|
target_id?: string | null | undefined;
|
|
18927
20582
|
}[];
|
|
20583
|
+
hidden_source_ids: string[];
|
|
18928
20584
|
sub_mapping_name: string;
|
|
18929
20585
|
sub_mapping_description?: string | null | undefined;
|
|
18930
20586
|
}[] | null | undefined;
|