@erp-galoper/types 1.0.1459 → 1.0.1460
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 +213 -1
- package/package.json +1 -1
package/openapi.ts
CHANGED
|
@@ -51442,7 +51442,219 @@ export interface components {
|
|
|
51442
51442
|
SalesInvoiceListSchema: {
|
|
51443
51443
|
info: components["schemas"]["PageInfoSchema"];
|
|
51444
51444
|
/** Results */
|
|
51445
|
-
results: components["schemas"]["
|
|
51445
|
+
results: components["schemas"]["SalesInvoiceWithoutItemsSchema"][];
|
|
51446
|
+
};
|
|
51447
|
+
/** SalesInvoiceWithoutItemsSchema */
|
|
51448
|
+
SalesInvoiceWithoutItemsSchema: {
|
|
51449
|
+
/**
|
|
51450
|
+
* Isdeferred
|
|
51451
|
+
* @description Enable deferred invoicing
|
|
51452
|
+
* @default false
|
|
51453
|
+
*/
|
|
51454
|
+
isDeferred: boolean;
|
|
51455
|
+
/**
|
|
51456
|
+
* Deferredperiod
|
|
51457
|
+
* @description Length of the deferred period (in days)
|
|
51458
|
+
*/
|
|
51459
|
+
deferredPeriod: number | null;
|
|
51460
|
+
/** @description Revenue recognition frequency */
|
|
51461
|
+
recognitionFrequency: components["schemas"]["RecognitionFrequency"] | null;
|
|
51462
|
+
/**
|
|
51463
|
+
* Recognitionstartdate
|
|
51464
|
+
* @description Start date for revenue recognition
|
|
51465
|
+
*/
|
|
51466
|
+
recognitionStartDate: string | null;
|
|
51467
|
+
/**
|
|
51468
|
+
* Postingstartdate
|
|
51469
|
+
* @description Posting start date for deferred revenue
|
|
51470
|
+
*/
|
|
51471
|
+
postingStartDate: string | null;
|
|
51472
|
+
/**
|
|
51473
|
+
* Datecreated
|
|
51474
|
+
* Format: date-time
|
|
51475
|
+
*/
|
|
51476
|
+
dateCreated: string;
|
|
51477
|
+
/** Datemodified */
|
|
51478
|
+
dateModified: string | null;
|
|
51479
|
+
createdBy: components["schemas"]["RecordUserSchema"];
|
|
51480
|
+
modifiedBy: components["schemas"]["RecordUserSchema"] | null;
|
|
51481
|
+
/**
|
|
51482
|
+
* Id
|
|
51483
|
+
* Format: uuid
|
|
51484
|
+
*/
|
|
51485
|
+
id: string;
|
|
51486
|
+
/**
|
|
51487
|
+
* Serialnumber
|
|
51488
|
+
* @description The serial number of the sales invoice.
|
|
51489
|
+
*/
|
|
51490
|
+
serialNumber: string;
|
|
51491
|
+
customer: components["schemas"]["CustomerSharedSchema"];
|
|
51492
|
+
/** @description Details about the customer's branch. */
|
|
51493
|
+
customerBranch: components["schemas"]["CustomerBranchSharedSchema"] | null;
|
|
51494
|
+
/** @description Details about the warehouse where the invoice is managed, if applicable. */
|
|
51495
|
+
warehouse: components["schemas"]["WarehouseSummaryInfo"] | null;
|
|
51496
|
+
/** @description The sales order linked to this invoice, if applicable. */
|
|
51497
|
+
salesOrder: components["schemas"]["DocumentCommonSchema"] | null;
|
|
51498
|
+
salesQuotation: components["schemas"]["DocumentCommonSchema"] | null;
|
|
51499
|
+
/**
|
|
51500
|
+
* Date
|
|
51501
|
+
* Format: date
|
|
51502
|
+
* @description The date when the sales invoice was created. Format: YYYY-MM-DD.
|
|
51503
|
+
*/
|
|
51504
|
+
date: string;
|
|
51505
|
+
/**
|
|
51506
|
+
* Deliverydate
|
|
51507
|
+
* Format: date
|
|
51508
|
+
* @description The expected delivery date. Format: YYYY-MM-DD.
|
|
51509
|
+
*/
|
|
51510
|
+
deliveryDate: string;
|
|
51511
|
+
/** @description The current status of the sales invoice. */
|
|
51512
|
+
status: components["schemas"]["DocumentStatusValue"];
|
|
51513
|
+
/** @description The approval status of the sales invoice. */
|
|
51514
|
+
approvalStatus: components["schemas"]["ApprovalValueChoices"];
|
|
51515
|
+
/** @description The delivery status of the sales invoice. */
|
|
51516
|
+
deliveryStatus: components["schemas"]["DeliveryStatusValueChoices"];
|
|
51517
|
+
/** @description The down payment linked to this invoice, if applicable. */
|
|
51518
|
+
downPayment: components["schemas"]["DocumentCommonSchema"] | null;
|
|
51519
|
+
/** @description The payment status of the sales invoice. */
|
|
51520
|
+
paymentStatus: components["schemas"]["PaymentStatusValueChoices"];
|
|
51521
|
+
/** @description The price list associated with the sales invoice. */
|
|
51522
|
+
priceList: components["schemas"]["SalesPriceListSummaryInfo"] | null;
|
|
51523
|
+
/**
|
|
51524
|
+
* Promotionsandoffers
|
|
51525
|
+
* @description A list of promotions and offers applied to the sales invoice, visible when modules sales and inventory are on
|
|
51526
|
+
* @default []
|
|
51527
|
+
*/
|
|
51528
|
+
promotionsAndOffers: components["schemas"]["PromotionsAndOffersSharedSchema"][];
|
|
51529
|
+
/** @description Details about the commission level for the sales invoice, if applicable. */
|
|
51530
|
+
commission: components["schemas"]["CommissionLevelSharedSchema"] | null;
|
|
51531
|
+
/** @description visible when project module is active */
|
|
51532
|
+
project: components["schemas"]["ProjectSummaryInfo"] | null;
|
|
51533
|
+
/**
|
|
51534
|
+
* Secondaryrate
|
|
51535
|
+
* @description This field is a number representing the USD rate.
|
|
51536
|
+
*/
|
|
51537
|
+
secondaryRate: string;
|
|
51538
|
+
/**
|
|
51539
|
+
* Companyrate
|
|
51540
|
+
* @description This field is a number representing the company rate.
|
|
51541
|
+
*/
|
|
51542
|
+
companyRate: string;
|
|
51543
|
+
/**
|
|
51544
|
+
* Subtotal
|
|
51545
|
+
* @description This field is a number representing the subtotal for the sales invoice.
|
|
51546
|
+
*/
|
|
51547
|
+
subtotal: string;
|
|
51548
|
+
/**
|
|
51549
|
+
* Secondarysubtotal
|
|
51550
|
+
* @description This field is a number representing the subtotal amount in USD.
|
|
51551
|
+
*/
|
|
51552
|
+
secondarySubtotal: string;
|
|
51553
|
+
/**
|
|
51554
|
+
* Companysubtotal
|
|
51555
|
+
* @description This field is a number representing the subtotal amount in the company's currency.
|
|
51556
|
+
*/
|
|
51557
|
+
companySubtotal: string;
|
|
51558
|
+
/**
|
|
51559
|
+
* Discount
|
|
51560
|
+
* @description The discount percentage applied to the sales invoice.
|
|
51561
|
+
* @default 0
|
|
51562
|
+
*/
|
|
51563
|
+
discount: number;
|
|
51564
|
+
/**
|
|
51565
|
+
* Discountedtotal
|
|
51566
|
+
* @description This field is a number representing the total after discount
|
|
51567
|
+
*/
|
|
51568
|
+
discountedTotal: string;
|
|
51569
|
+
/**
|
|
51570
|
+
* Secondarydiscountedtotal
|
|
51571
|
+
* @description This field is a number representing the total after discount in USD.
|
|
51572
|
+
*/
|
|
51573
|
+
secondaryDiscountedTotal: string;
|
|
51574
|
+
/**
|
|
51575
|
+
* Companydiscountedtotal
|
|
51576
|
+
* @description This field is a number representing the total after discount in the company's currency.
|
|
51577
|
+
*/
|
|
51578
|
+
companyDiscountedTotal: string;
|
|
51579
|
+
/**
|
|
51580
|
+
* Taxamount
|
|
51581
|
+
* @description This field is a number representing the total tax amount.
|
|
51582
|
+
*/
|
|
51583
|
+
taxAmount: string;
|
|
51584
|
+
/**
|
|
51585
|
+
* Secondarytaxamount
|
|
51586
|
+
* @description This field is a number representing the total tax amount in USD.
|
|
51587
|
+
*/
|
|
51588
|
+
secondaryTaxAmount: string;
|
|
51589
|
+
/**
|
|
51590
|
+
* Companytaxamount
|
|
51591
|
+
* @description This field is a number representing the total tax amount in the company's currency.
|
|
51592
|
+
*/
|
|
51593
|
+
companyTaxAmount: string;
|
|
51594
|
+
/**
|
|
51595
|
+
* Total
|
|
51596
|
+
* @description This field is a number representing the total amount of the sales invoice.
|
|
51597
|
+
*/
|
|
51598
|
+
total: string;
|
|
51599
|
+
/**
|
|
51600
|
+
* Secondarytotal
|
|
51601
|
+
* @description This field is a number representing the total amount in USD.
|
|
51602
|
+
*/
|
|
51603
|
+
secondaryTotal: string;
|
|
51604
|
+
/**
|
|
51605
|
+
* Companytotal
|
|
51606
|
+
* @description This field is a number representing the total amount in the company's currency.
|
|
51607
|
+
*/
|
|
51608
|
+
companyTotal: string;
|
|
51609
|
+
/**
|
|
51610
|
+
* Totalpackagedepositcharge
|
|
51611
|
+
* @description This field is a number representing the total deposit charge for packages, if applicable.
|
|
51612
|
+
*/
|
|
51613
|
+
totalPackageDepositCharge: string | null;
|
|
51614
|
+
/**
|
|
51615
|
+
* Attachments
|
|
51616
|
+
* @description A list of attachment file paths linked to the sales invoice.
|
|
51617
|
+
*/
|
|
51618
|
+
attachments: string[] | null;
|
|
51619
|
+
/**
|
|
51620
|
+
* Description
|
|
51621
|
+
* @description A description of the sales invoice.
|
|
51622
|
+
*/
|
|
51623
|
+
description: string | null;
|
|
51624
|
+
/**
|
|
51625
|
+
* Notes
|
|
51626
|
+
* @description Additional notes regarding the sales invoice.
|
|
51627
|
+
*/
|
|
51628
|
+
notes: string | null;
|
|
51629
|
+
/** @description visible when customer is not resident */
|
|
51630
|
+
tax: components["schemas"]["TaxSharedSchema"] | null;
|
|
51631
|
+
/**
|
|
51632
|
+
* Taxbreakdown
|
|
51633
|
+
* @description Aggregated tax amounts breakdown
|
|
51634
|
+
* @default []
|
|
51635
|
+
*/
|
|
51636
|
+
taxBreakdown: components["schemas"]["TaxBreakdownSchema"][];
|
|
51637
|
+
/**
|
|
51638
|
+
* Canreturn
|
|
51639
|
+
* @description Indicates whether the sales invoice can be converted to delivery note
|
|
51640
|
+
* @default false
|
|
51641
|
+
*/
|
|
51642
|
+
canReturn: boolean;
|
|
51643
|
+
/**
|
|
51644
|
+
* Candelete
|
|
51645
|
+
* @description Indicates whether the sales invoice can be deleted.
|
|
51646
|
+
* @default false
|
|
51647
|
+
*/
|
|
51648
|
+
canDelete: boolean;
|
|
51649
|
+
/** Canedit */
|
|
51650
|
+
canEdit: boolean;
|
|
51651
|
+
salesPerson: components["schemas"]["SalesPersonSharedSchema"] | null;
|
|
51652
|
+
/**
|
|
51653
|
+
* Remaining
|
|
51654
|
+
* @description this field is number
|
|
51655
|
+
*/
|
|
51656
|
+
remaining?: string | null;
|
|
51657
|
+
paymentTerms: components["schemas"]["PaymentTermsEnumSchema"];
|
|
51446
51658
|
};
|
|
51447
51659
|
/**
|
|
51448
51660
|
* SalesInvoiceItemTypeSchema
|