@erp-galoper/types 1.0.1647 → 1.0.1649
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/openapi.ts +536 -144
- package/package.json +1 -1
package/openapi.ts
CHANGED
|
@@ -19055,6 +19055,7 @@ export interface paths {
|
|
|
19055
19055
|
* - prepaidExpenseDoesNotExist
|
|
19056
19056
|
* - deferredExpenseShouldBeInCompanyCurrency
|
|
19057
19057
|
* - prepaidExpenseShouldBeInCompanyCurrency
|
|
19058
|
+
* - onlinePaymentsAccountDoesNotExist
|
|
19058
19059
|
*/
|
|
19059
19060
|
post: operations["erp_settings_accountingsetting_views_create_default_subsidiary_account"];
|
|
19060
19061
|
delete?: never;
|
|
@@ -41220,8 +41221,59 @@ export interface components {
|
|
|
41220
41221
|
itemDifferences: components["schemas"]["ItemDifferenceSchema"][];
|
|
41221
41222
|
totalDifferences: components["schemas"]["TotalDifferenceSchema"];
|
|
41222
41223
|
};
|
|
41224
|
+
/** AdvancedPaymentSharedSchema */
|
|
41225
|
+
AdvancedPaymentSharedSchema: {
|
|
41226
|
+
/**
|
|
41227
|
+
* Id
|
|
41228
|
+
* Format: uuid
|
|
41229
|
+
*/
|
|
41230
|
+
id: string;
|
|
41231
|
+
/** Serialnumber */
|
|
41232
|
+
serialNumber: string;
|
|
41233
|
+
approvalStatus: components["schemas"]["ApprovalValueChoices"];
|
|
41234
|
+
};
|
|
41235
|
+
/** DebitNoteSharedSchema */
|
|
41236
|
+
DebitNoteSharedSchema: {
|
|
41237
|
+
/**
|
|
41238
|
+
* Id
|
|
41239
|
+
* Format: uuid
|
|
41240
|
+
*/
|
|
41241
|
+
id: string;
|
|
41242
|
+
/** Serialnumber */
|
|
41243
|
+
serialNumber: string;
|
|
41244
|
+
};
|
|
41245
|
+
/**
|
|
41246
|
+
* DocumentStatusValue
|
|
41247
|
+
* @enum {string}
|
|
41248
|
+
*/
|
|
41249
|
+
DocumentStatusValue: "draft" | "posted" | "submitted" | "canceled" | "sent";
|
|
41250
|
+
/**
|
|
41251
|
+
* PaymentStatusChoices
|
|
41252
|
+
* @enum {string}
|
|
41253
|
+
*/
|
|
41254
|
+
PaymentStatusChoices: "Not Paid" | "Partially Paid" | "Paid";
|
|
41255
|
+
/** PaymentVoucherSharedSchema */
|
|
41256
|
+
PaymentVoucherSharedSchema: {
|
|
41257
|
+
/**
|
|
41258
|
+
* Id
|
|
41259
|
+
* Format: uuid
|
|
41260
|
+
*/
|
|
41261
|
+
id: string;
|
|
41262
|
+
/** Serialnumber */
|
|
41263
|
+
serialNumber: string;
|
|
41264
|
+
approvalStatus: components["schemas"]["ApprovalValueChoices"];
|
|
41265
|
+
};
|
|
41223
41266
|
/** PurchaseInvoiceForReturnOrderReturnSchema */
|
|
41224
41267
|
PurchaseInvoiceForReturnOrderReturnSchema: {
|
|
41268
|
+
/**
|
|
41269
|
+
* Datecreated
|
|
41270
|
+
* Format: date-time
|
|
41271
|
+
*/
|
|
41272
|
+
dateCreated: string;
|
|
41273
|
+
/** Datemodified */
|
|
41274
|
+
dateModified: string | null;
|
|
41275
|
+
createdBy: components["schemas"]["RecordUserSchema"];
|
|
41276
|
+
modifiedBy: components["schemas"]["RecordUserSchema"] | null;
|
|
41225
41277
|
/**
|
|
41226
41278
|
* Id
|
|
41227
41279
|
* Format: uuid
|
|
@@ -41229,6 +41281,188 @@ export interface components {
|
|
|
41229
41281
|
id: string;
|
|
41230
41282
|
/** Serialnumber */
|
|
41231
41283
|
serialNumber: string;
|
|
41284
|
+
branch: components["schemas"]["BranchSummaryInfo"];
|
|
41285
|
+
/**
|
|
41286
|
+
* Date
|
|
41287
|
+
* Format: date
|
|
41288
|
+
*/
|
|
41289
|
+
date: string;
|
|
41290
|
+
/** Referencenumber */
|
|
41291
|
+
referenceNumber: string | null;
|
|
41292
|
+
supplier: components["schemas"]["ChildSupplierSharedSchema"];
|
|
41293
|
+
/**
|
|
41294
|
+
* @description Purchase order ID, hit the purchase_order endpoint to get the list of purchase orders, filtered by the supplier
|
|
41295
|
+
* @default []
|
|
41296
|
+
*/
|
|
41297
|
+
purchaseOrder: components["schemas"]["PurchaseOrderSharedSchema"] | null;
|
|
41298
|
+
requisition: components["schemas"]["DocumentCommonSchema"] | null;
|
|
41299
|
+
purchaseQuotation: components["schemas"]["DocumentCommonSchema"] | null;
|
|
41300
|
+
/**
|
|
41301
|
+
* @description Advanced payment ID, to get advance payments use route /v1/purchase/advance-payments/?branchId=1&type=purchaseInvoice&supplier={supplier-id}
|
|
41302
|
+
* @default []
|
|
41303
|
+
*/
|
|
41304
|
+
advancePayment: components["schemas"]["AdvancedPaymentSharedSchema"] | null;
|
|
41305
|
+
/**
|
|
41306
|
+
* Goodsreceiptnote
|
|
41307
|
+
* @description Goods receipt note ID, hit the goods_receipt_note endpoint to get the list of goods receipt notes, filtered by the supplier
|
|
41308
|
+
* @default []
|
|
41309
|
+
*/
|
|
41310
|
+
goodsReceiptNote: components["schemas"]["ReceiptNoteSharedSchema"][];
|
|
41311
|
+
/**
|
|
41312
|
+
* Paymentvouchers
|
|
41313
|
+
* @default []
|
|
41314
|
+
*/
|
|
41315
|
+
paymentVouchers: components["schemas"]["PaymentVoucherSharedSchema"][];
|
|
41316
|
+
/**
|
|
41317
|
+
* Debitnotes
|
|
41318
|
+
* @default []
|
|
41319
|
+
*/
|
|
41320
|
+
debitNotes: components["schemas"]["DebitNoteSharedSchema"][];
|
|
41321
|
+
department?: components["schemas"]["DepartmentCommonSchema"] | null;
|
|
41322
|
+
/** Attachments */
|
|
41323
|
+
attachments: string[] | null;
|
|
41324
|
+
/** Description */
|
|
41325
|
+
description: string | null;
|
|
41326
|
+
/** Notes */
|
|
41327
|
+
notes: string | null;
|
|
41328
|
+
paymentTerms: components["schemas"]["PaymentTermsEnumSchema"];
|
|
41329
|
+
/** Duedate */
|
|
41330
|
+
dueDate?: string | null;
|
|
41331
|
+
status: components["schemas"]["DocumentStatusValue"];
|
|
41332
|
+
approvalStatus: components["schemas"]["ApprovalChoices"];
|
|
41333
|
+
paymentStatus: components["schemas"]["PaymentStatusChoices"];
|
|
41334
|
+
receivingStatus: components["schemas"]["ReceivingStatusChoices"];
|
|
41335
|
+
/** Usdrate */
|
|
41336
|
+
usdRate: number;
|
|
41337
|
+
/** Companyrate */
|
|
41338
|
+
companyRate: number;
|
|
41339
|
+
/**
|
|
41340
|
+
* Subtotal
|
|
41341
|
+
* @description This field represents gross subtotal
|
|
41342
|
+
*/
|
|
41343
|
+
subTotal: number;
|
|
41344
|
+
/**
|
|
41345
|
+
* Usdsubtotal
|
|
41346
|
+
* @description This field represents gross subtotal in secondary currency
|
|
41347
|
+
*/
|
|
41348
|
+
usdSubTotal: number;
|
|
41349
|
+
/**
|
|
41350
|
+
* Companysubtotal
|
|
41351
|
+
* @description This field represents gross subtotal in company currency
|
|
41352
|
+
*/
|
|
41353
|
+
companySubTotal: number;
|
|
41354
|
+
/**
|
|
41355
|
+
* Discount
|
|
41356
|
+
* @description This field represents overall discount in %
|
|
41357
|
+
*/
|
|
41358
|
+
discount: number;
|
|
41359
|
+
/**
|
|
41360
|
+
* Netsubtotal
|
|
41361
|
+
* @description This field is a number representing net subtotal (subtotal - line discount)
|
|
41362
|
+
*/
|
|
41363
|
+
netSubtotal: number;
|
|
41364
|
+
/**
|
|
41365
|
+
* Usdnetsubtotal
|
|
41366
|
+
* @description This field is a number representing net subtotal in secondary currency
|
|
41367
|
+
*/
|
|
41368
|
+
usdNetSubtotal: number;
|
|
41369
|
+
/**
|
|
41370
|
+
* Companynetsubtotal
|
|
41371
|
+
* @description This field is a number representing net subtotal in company currency
|
|
41372
|
+
*/
|
|
41373
|
+
companyNetSubtotal: number;
|
|
41374
|
+
/**
|
|
41375
|
+
* Discountedtotal
|
|
41376
|
+
* @description This field represents net total after line discount and overall discount
|
|
41377
|
+
*/
|
|
41378
|
+
discountedTotal: number;
|
|
41379
|
+
/**
|
|
41380
|
+
* Usddiscountedtotal
|
|
41381
|
+
* @description This field represents net total after line discount and overall discount in secondary currency
|
|
41382
|
+
*/
|
|
41383
|
+
usdDiscountedTotal: number;
|
|
41384
|
+
/**
|
|
41385
|
+
* Companydiscountedtotal
|
|
41386
|
+
* @description This field represents net total after line discount and overall discount in company currency
|
|
41387
|
+
*/
|
|
41388
|
+
companyDiscountedTotal: number;
|
|
41389
|
+
/** Taxamount */
|
|
41390
|
+
taxAmount: number;
|
|
41391
|
+
/** Companytaxamount */
|
|
41392
|
+
companyTaxAmount: number;
|
|
41393
|
+
/** Usdtaxamount */
|
|
41394
|
+
usdTaxAmount: number;
|
|
41395
|
+
/**
|
|
41396
|
+
* Total
|
|
41397
|
+
* @description This field represents grand total
|
|
41398
|
+
*/
|
|
41399
|
+
total: number;
|
|
41400
|
+
/**
|
|
41401
|
+
* Usdtotal
|
|
41402
|
+
* @description This field represents grand total in secondary currency
|
|
41403
|
+
*/
|
|
41404
|
+
usdTotal: number;
|
|
41405
|
+
/**
|
|
41406
|
+
* Companytotal
|
|
41407
|
+
* @description This field represents grand total in company currency
|
|
41408
|
+
*/
|
|
41409
|
+
companyTotal: number;
|
|
41410
|
+
/** Candelete */
|
|
41411
|
+
canDelete: boolean;
|
|
41412
|
+
/** Canconvert */
|
|
41413
|
+
canConvert: boolean;
|
|
41414
|
+
warehouse: components["schemas"]["WarehouseSummaryInfo"] | null;
|
|
41415
|
+
/** @description visible when supplier is not resident */
|
|
41416
|
+
tax: components["schemas"]["TaxSharedSchema"] | null;
|
|
41417
|
+
/**
|
|
41418
|
+
* Taxbreakdown
|
|
41419
|
+
* @description Aggregated tax amounts breakdown
|
|
41420
|
+
* @default []
|
|
41421
|
+
*/
|
|
41422
|
+
taxBreakdown: components["schemas"]["TaxBreakdownSchema"][];
|
|
41423
|
+
/**
|
|
41424
|
+
* Discountamount
|
|
41425
|
+
* @description Header-level discount amount (after line discounts)
|
|
41426
|
+
*/
|
|
41427
|
+
discountAmount?: string | null;
|
|
41428
|
+
/**
|
|
41429
|
+
* Usddiscountamount
|
|
41430
|
+
* @description Discount amount in secondary currency
|
|
41431
|
+
*/
|
|
41432
|
+
usdDiscountAmount?: string | null;
|
|
41433
|
+
/**
|
|
41434
|
+
* Companydiscountamount
|
|
41435
|
+
* @description Discount amount in company currency
|
|
41436
|
+
*/
|
|
41437
|
+
companyDiscountAmount?: string | null;
|
|
41438
|
+
/**
|
|
41439
|
+
* Linediscountamount
|
|
41440
|
+
* @description Total line item discount amount
|
|
41441
|
+
*/
|
|
41442
|
+
lineDiscountAmount?: string | null;
|
|
41443
|
+
/**
|
|
41444
|
+
* Usdlinediscountamount
|
|
41445
|
+
* @description Total line item discount amount in secondary currency
|
|
41446
|
+
*/
|
|
41447
|
+
usdLineDiscountAmount?: string | null;
|
|
41448
|
+
/**
|
|
41449
|
+
* Companylinediscountamount
|
|
41450
|
+
* @description Total line item discount amount in company currency
|
|
41451
|
+
*/
|
|
41452
|
+
companyLineDiscountAmount?: string | null;
|
|
41453
|
+
/**
|
|
41454
|
+
* Remaining
|
|
41455
|
+
* @description - this field is number
|
|
41456
|
+
*/
|
|
41457
|
+
remaining?: string | null;
|
|
41458
|
+
/** Linkeddocuments */
|
|
41459
|
+
linkedDocuments?: {
|
|
41460
|
+
[key: string]: components["schemas"]["LinkedDocumentsSchema"];
|
|
41461
|
+
}[];
|
|
41462
|
+
/** @description visible when project module is active */
|
|
41463
|
+
project: components["schemas"]["ProjectSummaryInfo"] | null;
|
|
41464
|
+
/** Items */
|
|
41465
|
+
items: components["schemas"]["PurchaseInvoiceItemsGetSchema"][];
|
|
41232
41466
|
/**
|
|
41233
41467
|
* Purchaseinvoiceitem
|
|
41234
41468
|
* Format: uuid
|
|
@@ -41236,6 +41470,103 @@ export interface components {
|
|
|
41236
41470
|
*/
|
|
41237
41471
|
purchaseInvoiceItem: string;
|
|
41238
41472
|
};
|
|
41473
|
+
/** PurchaseInvoiceItemsGetSchema */
|
|
41474
|
+
PurchaseInvoiceItemsGetSchema: {
|
|
41475
|
+
/**
|
|
41476
|
+
* Id
|
|
41477
|
+
* Format: uuid
|
|
41478
|
+
*/
|
|
41479
|
+
id: string;
|
|
41480
|
+
item: components["schemas"]["ItemSchema"] | null;
|
|
41481
|
+
/** Itemname */
|
|
41482
|
+
itemName: string | null;
|
|
41483
|
+
itemType: components["schemas"]["NonInventoryItemType"] | null;
|
|
41484
|
+
/** Description */
|
|
41485
|
+
description: string | null;
|
|
41486
|
+
/** Quantity */
|
|
41487
|
+
quantity: number;
|
|
41488
|
+
unitOfMeasurement: components["schemas"]["UnitOfMeasureSummaryInfo"] | null;
|
|
41489
|
+
/** Unitprice */
|
|
41490
|
+
unitPrice: number;
|
|
41491
|
+
itemPackage: components["schemas"]["ItemPackageSummarySchema"] | null;
|
|
41492
|
+
/**
|
|
41493
|
+
* Includetaxinunitprice
|
|
41494
|
+
* @description If true, the unit price includes tax and will be extracted to calculate the base price
|
|
41495
|
+
* @default false
|
|
41496
|
+
*/
|
|
41497
|
+
includeTaxInUnitPrice: boolean;
|
|
41498
|
+
/** Discount */
|
|
41499
|
+
discount: number;
|
|
41500
|
+
/** Taxes */
|
|
41501
|
+
taxes: components["schemas"]["TaxSchema"][];
|
|
41502
|
+
/**
|
|
41503
|
+
* Subtotal
|
|
41504
|
+
* @description This field represents gross subtotal
|
|
41505
|
+
*/
|
|
41506
|
+
subTotal: number;
|
|
41507
|
+
/**
|
|
41508
|
+
* Usdsubtotal
|
|
41509
|
+
* @description This field represents gross subtotal in secondary currency
|
|
41510
|
+
*/
|
|
41511
|
+
usdSubTotal: number;
|
|
41512
|
+
/**
|
|
41513
|
+
* Companysubtotal
|
|
41514
|
+
* @description This field represents gross subtotal in company currency
|
|
41515
|
+
*/
|
|
41516
|
+
companySubTotal: number;
|
|
41517
|
+
/**
|
|
41518
|
+
* Discountedtotal
|
|
41519
|
+
* @description This field represents net subtotal after discount
|
|
41520
|
+
*/
|
|
41521
|
+
discountedTotal: number;
|
|
41522
|
+
/**
|
|
41523
|
+
* Usddiscountedtotal
|
|
41524
|
+
* @description This field represents discounted_total in secondary currency
|
|
41525
|
+
*/
|
|
41526
|
+
usdDiscountedTotal: number;
|
|
41527
|
+
/**
|
|
41528
|
+
* Companydiscountedtotal
|
|
41529
|
+
* @description This field represents discounted_total in company currency
|
|
41530
|
+
*/
|
|
41531
|
+
companyDiscountedTotal: number;
|
|
41532
|
+
/** Taxamount */
|
|
41533
|
+
taxAmount: number;
|
|
41534
|
+
/** Usdtaxamount */
|
|
41535
|
+
usdTaxAmount: number;
|
|
41536
|
+
/** Companytaxamount */
|
|
41537
|
+
companyTaxAmount: number;
|
|
41538
|
+
/**
|
|
41539
|
+
* Total
|
|
41540
|
+
* @description This field represents grand total
|
|
41541
|
+
*/
|
|
41542
|
+
total: number;
|
|
41543
|
+
/**
|
|
41544
|
+
* Usdtotal
|
|
41545
|
+
* @description This field represents grand total in secondary currency
|
|
41546
|
+
*/
|
|
41547
|
+
usdTotal: number;
|
|
41548
|
+
/**
|
|
41549
|
+
* Companytotal
|
|
41550
|
+
* @description This field represents grand total in company currency
|
|
41551
|
+
*/
|
|
41552
|
+
companyTotal: number;
|
|
41553
|
+
/** Quantityreceived */
|
|
41554
|
+
quantityReceived?: number;
|
|
41555
|
+
/** Quantityreturnedorder */
|
|
41556
|
+
quantityReturnedOrder?: number;
|
|
41557
|
+
/** Quantityreturnedinvoice */
|
|
41558
|
+
quantityReturnedInvoice?: number;
|
|
41559
|
+
};
|
|
41560
|
+
/** PurchaseOrderSharedSchema */
|
|
41561
|
+
PurchaseOrderSharedSchema: {
|
|
41562
|
+
/**
|
|
41563
|
+
* Id
|
|
41564
|
+
* Format: uuid
|
|
41565
|
+
*/
|
|
41566
|
+
id: string;
|
|
41567
|
+
/** Serialnumber */
|
|
41568
|
+
serialNumber: string;
|
|
41569
|
+
};
|
|
41239
41570
|
/** PurchaseReturnOrderItemsSchema */
|
|
41240
41571
|
PurchaseReturnOrderItemsSchema: {
|
|
41241
41572
|
/**
|
|
@@ -41455,6 +41786,11 @@ export interface components {
|
|
|
41455
41786
|
*/
|
|
41456
41787
|
items: components["schemas"]["PurchaseReturnOrderItemsSchema"][];
|
|
41457
41788
|
};
|
|
41789
|
+
/**
|
|
41790
|
+
* ReceivingStatusChoices
|
|
41791
|
+
* @enum {string}
|
|
41792
|
+
*/
|
|
41793
|
+
ReceivingStatusChoices: "Not Received" | "Partially Received" | "received";
|
|
41458
41794
|
/** CreateUpdatePurchaseReturnOrderItemsSchema */
|
|
41459
41795
|
CreateUpdatePurchaseReturnOrderItemsSchema: {
|
|
41460
41796
|
/**
|
|
@@ -41768,48 +42104,6 @@ export interface components {
|
|
|
41768
42104
|
* @enum {string}
|
|
41769
42105
|
*/
|
|
41770
42106
|
TypeSchema: "default" | "creditNote" | "paymentVoucher";
|
|
41771
|
-
/** AdvancedPaymentSharedSchema */
|
|
41772
|
-
AdvancedPaymentSharedSchema: {
|
|
41773
|
-
/**
|
|
41774
|
-
* Id
|
|
41775
|
-
* Format: uuid
|
|
41776
|
-
*/
|
|
41777
|
-
id: string;
|
|
41778
|
-
/** Serialnumber */
|
|
41779
|
-
serialNumber: string;
|
|
41780
|
-
approvalStatus: components["schemas"]["ApprovalValueChoices"];
|
|
41781
|
-
};
|
|
41782
|
-
/** DebitNoteSharedSchema */
|
|
41783
|
-
DebitNoteSharedSchema: {
|
|
41784
|
-
/**
|
|
41785
|
-
* Id
|
|
41786
|
-
* Format: uuid
|
|
41787
|
-
*/
|
|
41788
|
-
id: string;
|
|
41789
|
-
/** Serialnumber */
|
|
41790
|
-
serialNumber: string;
|
|
41791
|
-
};
|
|
41792
|
-
/**
|
|
41793
|
-
* DocumentStatusValue
|
|
41794
|
-
* @enum {string}
|
|
41795
|
-
*/
|
|
41796
|
-
DocumentStatusValue: "draft" | "posted" | "submitted" | "canceled" | "sent";
|
|
41797
|
-
/**
|
|
41798
|
-
* PaymentStatusChoices
|
|
41799
|
-
* @enum {string}
|
|
41800
|
-
*/
|
|
41801
|
-
PaymentStatusChoices: "Not Paid" | "Partially Paid" | "Paid";
|
|
41802
|
-
/** PaymentVoucherSharedSchema */
|
|
41803
|
-
PaymentVoucherSharedSchema: {
|
|
41804
|
-
/**
|
|
41805
|
-
* Id
|
|
41806
|
-
* Format: uuid
|
|
41807
|
-
*/
|
|
41808
|
-
id: string;
|
|
41809
|
-
/** Serialnumber */
|
|
41810
|
-
serialNumber: string;
|
|
41811
|
-
approvalStatus: components["schemas"]["ApprovalValueChoices"];
|
|
41812
|
-
};
|
|
41813
42107
|
/** PurchaseInvoiceDetailSchema */
|
|
41814
42108
|
PurchaseInvoiceDetailSchema: {
|
|
41815
42109
|
/**
|
|
@@ -42011,114 +42305,12 @@ export interface components {
|
|
|
42011
42305
|
/** Items */
|
|
42012
42306
|
items: components["schemas"]["PurchaseInvoiceItemsGetSchema"][];
|
|
42013
42307
|
};
|
|
42014
|
-
/** PurchaseInvoiceItemsGetSchema */
|
|
42015
|
-
PurchaseInvoiceItemsGetSchema: {
|
|
42016
|
-
/**
|
|
42017
|
-
* Id
|
|
42018
|
-
* Format: uuid
|
|
42019
|
-
*/
|
|
42020
|
-
id: string;
|
|
42021
|
-
item: components["schemas"]["ItemMinimalSchema"] | null;
|
|
42022
|
-
/** Itemname */
|
|
42023
|
-
itemName: string | null;
|
|
42024
|
-
itemType: components["schemas"]["NonInventoryItemType"] | null;
|
|
42025
|
-
/** Description */
|
|
42026
|
-
description: string | null;
|
|
42027
|
-
/** Quantity */
|
|
42028
|
-
quantity: number;
|
|
42029
|
-
unitOfMeasurement: components["schemas"]["UnitOfMeasureSummaryInfo"] | null;
|
|
42030
|
-
/** Unitprice */
|
|
42031
|
-
unitPrice: number;
|
|
42032
|
-
itemPackage: components["schemas"]["ItemPackageSummarySchema"] | null;
|
|
42033
|
-
/**
|
|
42034
|
-
* Includetaxinunitprice
|
|
42035
|
-
* @description If true, the unit price includes tax and will be extracted to calculate the base price
|
|
42036
|
-
* @default false
|
|
42037
|
-
*/
|
|
42038
|
-
includeTaxInUnitPrice: boolean;
|
|
42039
|
-
/** Discount */
|
|
42040
|
-
discount: number;
|
|
42041
|
-
/** Taxes */
|
|
42042
|
-
taxes: components["schemas"]["TaxSchema"][];
|
|
42043
|
-
/**
|
|
42044
|
-
* Subtotal
|
|
42045
|
-
* @description This field represents gross subtotal
|
|
42046
|
-
*/
|
|
42047
|
-
subTotal: number;
|
|
42048
|
-
/**
|
|
42049
|
-
* Usdsubtotal
|
|
42050
|
-
* @description This field represents gross subtotal in secondary currency
|
|
42051
|
-
*/
|
|
42052
|
-
usdSubTotal: number;
|
|
42053
|
-
/**
|
|
42054
|
-
* Companysubtotal
|
|
42055
|
-
* @description This field represents gross subtotal in company currency
|
|
42056
|
-
*/
|
|
42057
|
-
companySubTotal: number;
|
|
42058
|
-
/**
|
|
42059
|
-
* Discountedtotal
|
|
42060
|
-
* @description This field represents net subtotal after discount
|
|
42061
|
-
*/
|
|
42062
|
-
discountedTotal: number;
|
|
42063
|
-
/**
|
|
42064
|
-
* Usddiscountedtotal
|
|
42065
|
-
* @description This field represents discounted_total in secondary currency
|
|
42066
|
-
*/
|
|
42067
|
-
usdDiscountedTotal: number;
|
|
42068
|
-
/**
|
|
42069
|
-
* Companydiscountedtotal
|
|
42070
|
-
* @description This field represents discounted_total in company currency
|
|
42071
|
-
*/
|
|
42072
|
-
companyDiscountedTotal: number;
|
|
42073
|
-
/** Taxamount */
|
|
42074
|
-
taxAmount: number;
|
|
42075
|
-
/** Usdtaxamount */
|
|
42076
|
-
usdTaxAmount: number;
|
|
42077
|
-
/** Companytaxamount */
|
|
42078
|
-
companyTaxAmount: number;
|
|
42079
|
-
/**
|
|
42080
|
-
* Total
|
|
42081
|
-
* @description This field represents grand total
|
|
42082
|
-
*/
|
|
42083
|
-
total: number;
|
|
42084
|
-
/**
|
|
42085
|
-
* Usdtotal
|
|
42086
|
-
* @description This field represents grand total in secondary currency
|
|
42087
|
-
*/
|
|
42088
|
-
usdTotal: number;
|
|
42089
|
-
/**
|
|
42090
|
-
* Companytotal
|
|
42091
|
-
* @description This field represents grand total in company currency
|
|
42092
|
-
*/
|
|
42093
|
-
companyTotal: number;
|
|
42094
|
-
/** Quantityreceived */
|
|
42095
|
-
quantityReceived?: number;
|
|
42096
|
-
/** Quantityreturnedorder */
|
|
42097
|
-
quantityReturnedOrder?: number;
|
|
42098
|
-
/** Quantityreturnedinvoice */
|
|
42099
|
-
quantityReturnedInvoice?: number;
|
|
42100
|
-
};
|
|
42101
42308
|
/** PurchaseInvoiceListResponse */
|
|
42102
42309
|
PurchaseInvoiceListResponse: {
|
|
42103
42310
|
info: components["schemas"]["PageInfoSchema"];
|
|
42104
42311
|
/** Results */
|
|
42105
42312
|
results: components["schemas"]["PurchaseInvoiceDetailSchema"][];
|
|
42106
42313
|
};
|
|
42107
|
-
/** PurchaseOrderSharedSchema */
|
|
42108
|
-
PurchaseOrderSharedSchema: {
|
|
42109
|
-
/**
|
|
42110
|
-
* Id
|
|
42111
|
-
* Format: uuid
|
|
42112
|
-
*/
|
|
42113
|
-
id: string;
|
|
42114
|
-
/** Serialnumber */
|
|
42115
|
-
serialNumber: string;
|
|
42116
|
-
};
|
|
42117
|
-
/**
|
|
42118
|
-
* ReceivingStatusChoices
|
|
42119
|
-
* @enum {string}
|
|
42120
|
-
*/
|
|
42121
|
-
ReceivingStatusChoices: "Not Received" | "Partially Received" | "received";
|
|
42122
42314
|
/** PurchaseInvoiceWithEntriesSchema */
|
|
42123
42315
|
PurchaseInvoiceWithEntriesSchema: {
|
|
42124
42316
|
/**
|
|
@@ -43238,6 +43430,15 @@ export interface components {
|
|
|
43238
43430
|
};
|
|
43239
43431
|
/** PurchaseInvoiceForReturnInvoiceReturnSchema */
|
|
43240
43432
|
PurchaseInvoiceForReturnInvoiceReturnSchema: {
|
|
43433
|
+
/**
|
|
43434
|
+
* Datecreated
|
|
43435
|
+
* Format: date-time
|
|
43436
|
+
*/
|
|
43437
|
+
dateCreated: string;
|
|
43438
|
+
/** Datemodified */
|
|
43439
|
+
dateModified: string | null;
|
|
43440
|
+
createdBy: components["schemas"]["RecordUserSchema"];
|
|
43441
|
+
modifiedBy: components["schemas"]["RecordUserSchema"] | null;
|
|
43241
43442
|
/**
|
|
43242
43443
|
* Id
|
|
43243
43444
|
* Format: uuid
|
|
@@ -43245,6 +43446,188 @@ export interface components {
|
|
|
43245
43446
|
id: string;
|
|
43246
43447
|
/** Serialnumber */
|
|
43247
43448
|
serialNumber: string;
|
|
43449
|
+
branch: components["schemas"]["BranchSummaryInfo"];
|
|
43450
|
+
/**
|
|
43451
|
+
* Date
|
|
43452
|
+
* Format: date
|
|
43453
|
+
*/
|
|
43454
|
+
date: string;
|
|
43455
|
+
/** Referencenumber */
|
|
43456
|
+
referenceNumber: string | null;
|
|
43457
|
+
supplier: components["schemas"]["ChildSupplierSharedSchema"];
|
|
43458
|
+
/**
|
|
43459
|
+
* @description Purchase order ID, hit the purchase_order endpoint to get the list of purchase orders, filtered by the supplier
|
|
43460
|
+
* @default []
|
|
43461
|
+
*/
|
|
43462
|
+
purchaseOrder: components["schemas"]["PurchaseOrderSharedSchema"] | null;
|
|
43463
|
+
requisition: components["schemas"]["DocumentCommonSchema"] | null;
|
|
43464
|
+
purchaseQuotation: components["schemas"]["DocumentCommonSchema"] | null;
|
|
43465
|
+
/**
|
|
43466
|
+
* @description Advanced payment ID, to get advance payments use route /v1/purchase/advance-payments/?branchId=1&type=purchaseInvoice&supplier={supplier-id}
|
|
43467
|
+
* @default []
|
|
43468
|
+
*/
|
|
43469
|
+
advancePayment: components["schemas"]["AdvancedPaymentSharedSchema"] | null;
|
|
43470
|
+
/**
|
|
43471
|
+
* Goodsreceiptnote
|
|
43472
|
+
* @description Goods receipt note ID, hit the goods_receipt_note endpoint to get the list of goods receipt notes, filtered by the supplier
|
|
43473
|
+
* @default []
|
|
43474
|
+
*/
|
|
43475
|
+
goodsReceiptNote: components["schemas"]["ReceiptNoteSharedSchema"][];
|
|
43476
|
+
/**
|
|
43477
|
+
* Paymentvouchers
|
|
43478
|
+
* @default []
|
|
43479
|
+
*/
|
|
43480
|
+
paymentVouchers: components["schemas"]["PaymentVoucherSharedSchema"][];
|
|
43481
|
+
/**
|
|
43482
|
+
* Debitnotes
|
|
43483
|
+
* @default []
|
|
43484
|
+
*/
|
|
43485
|
+
debitNotes: components["schemas"]["DebitNoteSharedSchema"][];
|
|
43486
|
+
department?: components["schemas"]["DepartmentCommonSchema"] | null;
|
|
43487
|
+
/** Attachments */
|
|
43488
|
+
attachments: string[] | null;
|
|
43489
|
+
/** Description */
|
|
43490
|
+
description: string | null;
|
|
43491
|
+
/** Notes */
|
|
43492
|
+
notes: string | null;
|
|
43493
|
+
paymentTerms: components["schemas"]["PaymentTermsEnumSchema"];
|
|
43494
|
+
/** Duedate */
|
|
43495
|
+
dueDate?: string | null;
|
|
43496
|
+
status: components["schemas"]["DocumentStatusValue"];
|
|
43497
|
+
approvalStatus: components["schemas"]["ApprovalChoices"];
|
|
43498
|
+
paymentStatus: components["schemas"]["PaymentStatusChoices"];
|
|
43499
|
+
receivingStatus: components["schemas"]["ReceivingStatusChoices"];
|
|
43500
|
+
/** Usdrate */
|
|
43501
|
+
usdRate: number;
|
|
43502
|
+
/** Companyrate */
|
|
43503
|
+
companyRate: number;
|
|
43504
|
+
/**
|
|
43505
|
+
* Subtotal
|
|
43506
|
+
* @description This field represents gross subtotal
|
|
43507
|
+
*/
|
|
43508
|
+
subTotal: number;
|
|
43509
|
+
/**
|
|
43510
|
+
* Usdsubtotal
|
|
43511
|
+
* @description This field represents gross subtotal in secondary currency
|
|
43512
|
+
*/
|
|
43513
|
+
usdSubTotal: number;
|
|
43514
|
+
/**
|
|
43515
|
+
* Companysubtotal
|
|
43516
|
+
* @description This field represents gross subtotal in company currency
|
|
43517
|
+
*/
|
|
43518
|
+
companySubTotal: number;
|
|
43519
|
+
/**
|
|
43520
|
+
* Discount
|
|
43521
|
+
* @description This field represents overall discount in %
|
|
43522
|
+
*/
|
|
43523
|
+
discount: number;
|
|
43524
|
+
/**
|
|
43525
|
+
* Netsubtotal
|
|
43526
|
+
* @description This field is a number representing net subtotal (subtotal - line discount)
|
|
43527
|
+
*/
|
|
43528
|
+
netSubtotal: number;
|
|
43529
|
+
/**
|
|
43530
|
+
* Usdnetsubtotal
|
|
43531
|
+
* @description This field is a number representing net subtotal in secondary currency
|
|
43532
|
+
*/
|
|
43533
|
+
usdNetSubtotal: number;
|
|
43534
|
+
/**
|
|
43535
|
+
* Companynetsubtotal
|
|
43536
|
+
* @description This field is a number representing net subtotal in company currency
|
|
43537
|
+
*/
|
|
43538
|
+
companyNetSubtotal: number;
|
|
43539
|
+
/**
|
|
43540
|
+
* Discountedtotal
|
|
43541
|
+
* @description This field represents net total after line discount and overall discount
|
|
43542
|
+
*/
|
|
43543
|
+
discountedTotal: number;
|
|
43544
|
+
/**
|
|
43545
|
+
* Usddiscountedtotal
|
|
43546
|
+
* @description This field represents net total after line discount and overall discount in secondary currency
|
|
43547
|
+
*/
|
|
43548
|
+
usdDiscountedTotal: number;
|
|
43549
|
+
/**
|
|
43550
|
+
* Companydiscountedtotal
|
|
43551
|
+
* @description This field represents net total after line discount and overall discount in company currency
|
|
43552
|
+
*/
|
|
43553
|
+
companyDiscountedTotal: number;
|
|
43554
|
+
/** Taxamount */
|
|
43555
|
+
taxAmount: number;
|
|
43556
|
+
/** Companytaxamount */
|
|
43557
|
+
companyTaxAmount: number;
|
|
43558
|
+
/** Usdtaxamount */
|
|
43559
|
+
usdTaxAmount: number;
|
|
43560
|
+
/**
|
|
43561
|
+
* Total
|
|
43562
|
+
* @description This field represents grand total
|
|
43563
|
+
*/
|
|
43564
|
+
total: number;
|
|
43565
|
+
/**
|
|
43566
|
+
* Usdtotal
|
|
43567
|
+
* @description This field represents grand total in secondary currency
|
|
43568
|
+
*/
|
|
43569
|
+
usdTotal: number;
|
|
43570
|
+
/**
|
|
43571
|
+
* Companytotal
|
|
43572
|
+
* @description This field represents grand total in company currency
|
|
43573
|
+
*/
|
|
43574
|
+
companyTotal: number;
|
|
43575
|
+
/** Candelete */
|
|
43576
|
+
canDelete: boolean;
|
|
43577
|
+
/** Canconvert */
|
|
43578
|
+
canConvert: boolean;
|
|
43579
|
+
warehouse: components["schemas"]["WarehouseSummaryInfo"] | null;
|
|
43580
|
+
/** @description visible when supplier is not resident */
|
|
43581
|
+
tax: components["schemas"]["TaxSharedSchema"] | null;
|
|
43582
|
+
/**
|
|
43583
|
+
* Taxbreakdown
|
|
43584
|
+
* @description Aggregated tax amounts breakdown
|
|
43585
|
+
* @default []
|
|
43586
|
+
*/
|
|
43587
|
+
taxBreakdown: components["schemas"]["TaxBreakdownSchema"][];
|
|
43588
|
+
/**
|
|
43589
|
+
* Discountamount
|
|
43590
|
+
* @description Header-level discount amount (after line discounts)
|
|
43591
|
+
*/
|
|
43592
|
+
discountAmount?: string | null;
|
|
43593
|
+
/**
|
|
43594
|
+
* Usddiscountamount
|
|
43595
|
+
* @description Discount amount in secondary currency
|
|
43596
|
+
*/
|
|
43597
|
+
usdDiscountAmount?: string | null;
|
|
43598
|
+
/**
|
|
43599
|
+
* Companydiscountamount
|
|
43600
|
+
* @description Discount amount in company currency
|
|
43601
|
+
*/
|
|
43602
|
+
companyDiscountAmount?: string | null;
|
|
43603
|
+
/**
|
|
43604
|
+
* Linediscountamount
|
|
43605
|
+
* @description Total line item discount amount
|
|
43606
|
+
*/
|
|
43607
|
+
lineDiscountAmount?: string | null;
|
|
43608
|
+
/**
|
|
43609
|
+
* Usdlinediscountamount
|
|
43610
|
+
* @description Total line item discount amount in secondary currency
|
|
43611
|
+
*/
|
|
43612
|
+
usdLineDiscountAmount?: string | null;
|
|
43613
|
+
/**
|
|
43614
|
+
* Companylinediscountamount
|
|
43615
|
+
* @description Total line item discount amount in company currency
|
|
43616
|
+
*/
|
|
43617
|
+
companyLineDiscountAmount?: string | null;
|
|
43618
|
+
/**
|
|
43619
|
+
* Remaining
|
|
43620
|
+
* @description - this field is number
|
|
43621
|
+
*/
|
|
43622
|
+
remaining?: string | null;
|
|
43623
|
+
/** Linkeddocuments */
|
|
43624
|
+
linkedDocuments?: {
|
|
43625
|
+
[key: string]: components["schemas"]["LinkedDocumentsSchema"];
|
|
43626
|
+
}[];
|
|
43627
|
+
/** @description visible when project module is active */
|
|
43628
|
+
project: components["schemas"]["ProjectSummaryInfo"] | null;
|
|
43629
|
+
/** Items */
|
|
43630
|
+
items: components["schemas"]["PurchaseInvoiceItemsGetSchema"][];
|
|
43248
43631
|
/**
|
|
43249
43632
|
* Purchaseinvoiceitem
|
|
43250
43633
|
* Format: uuid
|
|
@@ -55240,6 +55623,8 @@ export interface components {
|
|
|
55240
55623
|
negativeEarningAccount: components["schemas"]["AccountSummaryInfo"] | null;
|
|
55241
55624
|
positiveCumulativeEarningAccount: components["schemas"]["AccountSummaryInfo"] | null;
|
|
55242
55625
|
negativeCumulativeEarningAccount: components["schemas"]["AccountSummaryInfo"] | null;
|
|
55626
|
+
/** @description visible when online store is enabled in galoper settings */
|
|
55627
|
+
onlinePaymentsAccount: components["schemas"]["AccountSummaryInfo"] | null;
|
|
55243
55628
|
};
|
|
55244
55629
|
/** DefaultSubsidiaryAccountResponse */
|
|
55245
55630
|
DefaultSubsidiaryAccountResponse: {
|
|
@@ -55301,6 +55686,13 @@ export interface components {
|
|
|
55301
55686
|
* - get accounts from route /api/v1/chart_of_account/?branchId={branch-id}&type=defaultSubsidiaryAccounts&isActive=True
|
|
55302
55687
|
*/
|
|
55303
55688
|
negativeCumulativeEarningAccount?: number;
|
|
55689
|
+
/**
|
|
55690
|
+
* Onlinepaymentsaccount
|
|
55691
|
+
* @description - online payments account id
|
|
55692
|
+
* - visible when online store is enabled in galoper settings
|
|
55693
|
+
* - get accounts from route /api/v1/chart_of_account/?branchId={branch-id}&type=detail&isActive=True
|
|
55694
|
+
*/
|
|
55695
|
+
onlinePaymentsAccount?: number;
|
|
55304
55696
|
};
|
|
55305
55697
|
/**
|
|
55306
55698
|
* SalesCreditNoteAppliesOn
|