API CreateInvoice: Porovnání verzí
Z Podpora.nextis.cz
| Řádka 16: | Řádka 16: | ||
!Relation | !Relation | ||
|- | |- | ||
| − | |ContactID | + | |@ContactID |
|int | |int | ||
| | | | ||
| Řádka 22: | Řádka 22: | ||
|API_GetCustomers.ID | |API_GetCustomers.ID | ||
|- | |- | ||
| − | |OrdererID | + | |@OrdererID |
|int | |int | ||
| | | | ||
| Řádka 28: | Řádka 28: | ||
|API_GetCustomers.ID | |API_GetCustomers.ID | ||
|- | |- | ||
| − | |RecipientID | + | |@RecipientID |
|int | |int | ||
| | | | ||
| Řádka 34: | Řádka 34: | ||
|API_GetCustomers.ID | |API_GetCustomers.ID | ||
|- | |- | ||
| − | |StockID | + | |@StockID |
|int | |int | ||
| | | | ||
| Řádka 40: | Řádka 40: | ||
|API_GetStocks.ID | |API_GetStocks.ID | ||
|- | |- | ||
| − | |BranchID | + | |@BranchID |
|int | |int | ||
| | | | ||
| Řádka 46: | Řádka 46: | ||
|API_GetBranches.ID | |API_GetBranches.ID | ||
|- | |- | ||
| − | |DocumentTypeID | + | |@DocumentTypeID |
|int | |int | ||
| | | | ||
| Řádka 64: | Řádka 64: | ||
| | | | ||
|- | |- | ||
| − | |TransportID | + | |@TransportID |
|int | |int | ||
| | | | ||
| Řádka 70: | Řádka 70: | ||
|API_GetTransports.ID | |API_GetTransports.ID | ||
|- | |- | ||
| − | |PaymentTypeID | + | |@PaymentTypeID |
|int | |int | ||
| | | | ||
| Řádka 90: | Řádka 90: | ||
| | | | ||
|- | |- | ||
| − | |PriceTypeID | + | |@PriceTypeID |
|int | |int | ||
| | | | ||
| Řádka 102: | Řádka 102: | ||
| | | | ||
|- | |- | ||
| − | |DocumentNumber | + | |@DocumentNumber |
|nvarchar(40) | |nvarchar(40) | ||
| | | | ||
| Řádka 108: | Řádka 108: | ||
| | | | ||
|- | |- | ||
| − | |Date | + | |@Date |
|datetime | |datetime | ||
| | | | ||
| Řádka 114: | Řádka 114: | ||
| | | | ||
|- | |- | ||
| − | |TaxableSupplyDate | + | |@TaxableSupplyDate |
|datetime | |datetime | ||
| | | | ||
| Řádka 120: | Řádka 120: | ||
| | | | ||
|- | |- | ||
| − | |DueDate | + | |@DueDate |
|datetime | |datetime | ||
| | | | ||
| Řádka 126: | Řádka 126: | ||
| | | | ||
|- | |- | ||
| − | |VariableSymbol | + | |@VariableSymbol |
|bigint | |bigint | ||
| | | | ||
| Řádka 132: | Řádka 132: | ||
| | | | ||
|- | |- | ||
| − | |BasicPrice | + | |@BasicPrice |
|decimal(18,6) | |decimal(18,6) | ||
| | | | ||
| Řádka 138: | Řádka 138: | ||
| | | | ||
|- | |- | ||
| − | |BasicPriceInCurrency | + | |@BasicPriceInCurrency |
|decimal(18,6) | |decimal(18,6) | ||
| | | | ||
| Řádka 144: | Řádka 144: | ||
| | | | ||
|- | |- | ||
| − | |VATPrice | + | |@VATPrice |
|decimal(18,6) | |decimal(18,6) | ||
| | | | ||
| Řádka 150: | Řádka 150: | ||
| | | | ||
|- | |- | ||
| − | |VATPriceInCurrency | + | |@VATPriceInCurrency |
|decimal(18,6) | |decimal(18,6) | ||
| | | | ||
| Řádka 156: | Řádka 156: | ||
| | | | ||
|- | |- | ||
| − | |TotalPrice | + | |@TotalPrice |
|decimal(18,6) | |decimal(18,6) | ||
| | | | ||
| Řádka 162: | Řádka 162: | ||
| | | | ||
|- | |- | ||
| − | |TotalPriceInCurrency | + | |@TotalPriceInCurrency |
|decimal(18,6) | |decimal(18,6) | ||
| | | | ||
| Řádka 168: | Řádka 168: | ||
| | | | ||
|- | |- | ||
| − | |RoundPrice | + | |@RoundPrice |
|decimal(18,4) | |decimal(18,4) | ||
| | | | ||
| Řádka 174: | Řádka 174: | ||
| | | | ||
|- | |- | ||
| − | |RoundPriceInCurrency | + | |@RoundPriceInCurrency |
|decimal(18,4) | |decimal(18,4) | ||
| | | | ||
| Řádka 180: | Řádka 180: | ||
| | | | ||
|- | |- | ||
| − | |Price | + | |@Price |
|decimal(19,6) | |decimal(19,6) | ||
| | | | ||
| Řádka 186: | Řádka 186: | ||
| | | | ||
|- | |- | ||
| − | |PriceInCurrency | + | |@PriceInCurrency |
|decimal(19,6) | |decimal(19,6) | ||
| | | | ||
| Řádka 192: | Řádka 192: | ||
| | | | ||
|- | |- | ||
| − | |Currency | + | |@Currency |
|varchar(5) | |varchar(5) | ||
| | | | ||
| Řádka 198: | Řádka 198: | ||
| | | | ||
|- | |- | ||
| − | |CurrencyID | + | |@CurrencyID |
|int | |int | ||
| | | | ||
| Řádka 204: | Řádka 204: | ||
|API_GetCurrency.ID | |API_GetCurrency.ID | ||
|- | |- | ||
| − | |CurrencyIDInCurrency | + | |@CurrencyIDInCurrency |
|int | |int | ||
| | | | ||
| Řádka 210: | Řádka 210: | ||
|API_GetCurrency.ID | |API_GetCurrency.ID | ||
|- | |- | ||
| − | |ExchangeRate | + | |@ExchangeRate |
|decimal(19,4) | |decimal(19,4) | ||
| | | | ||
| Řádka 216: | Řádka 216: | ||
| | | | ||
|- | |- | ||
| − | |ExchangeRate2 | + | |@ExchangeRate2 |
|decimal(18,4) | |decimal(18,4) | ||
| | | | ||
| Řádka 222: | Řádka 222: | ||
| | | | ||
|- | |- | ||
| − | |AccountingExchangeRate | + | |@AccountingExchangeRate |
|decimal(18,6) | |decimal(18,6) | ||
| | | | ||
| Řádka 228: | Řádka 228: | ||
| | | | ||
|- | |- | ||
| − | |VATExchangeRate | + | |@VATExchangeRate |
|decimal(18,4) | |decimal(18,4) | ||
| | | | ||
| Řádka 234: | Řádka 234: | ||
| | | | ||
|- | |- | ||
| − | |AccountingExchangeRate2 | + | |@AccountingExchangeRate2 |
|decimal(18,6) | |decimal(18,6) | ||
| | | | ||
| Řádka 240: | Řádka 240: | ||
| | | | ||
|- | |- | ||
| − | |RoundStyle | + | |@RoundStyle |
|int | |int | ||
| | | | ||
| Řádka 263: | Řádka 263: | ||
| | | | ||
|- | |- | ||
| − | |RoundType | + | |@RoundType |
|int | |int | ||
| | | | ||
| Řádka 276: | Řádka 276: | ||
| | | | ||
|- | |- | ||
| − | |SupplierName | + | |@SupplierName |
|nvarchar(140) | |nvarchar(140) | ||
| | | | ||
| Řádka 282: | Řádka 282: | ||
| | | | ||
|- | |- | ||
| − | |SupplierStreet | + | |@SupplierStreet |
|nvarchar(100) | |nvarchar(100) | ||
| | | | ||
| Řádka 288: | Řádka 288: | ||
| | | | ||
|- | |- | ||
| − | |SupplierCity | + | |@SupplierCity |
|nvarchar(140) | |nvarchar(140) | ||
| | | | ||
| Řádka 294: | Řádka 294: | ||
| | | | ||
|- | |- | ||
| − | |SupplierZIPCode | + | |@SupplierZIPCode |
|char(10) | |char(10) | ||
| | | | ||
| Řádka 300: | Řádka 300: | ||
| | | | ||
|- | |- | ||
| − | |SupplierCountry | + | |@SupplierCountry |
|nvarchar(50) | |nvarchar(50) | ||
| | | | ||
| Řádka 306: | Řádka 306: | ||
| | | | ||
|- | |- | ||
| − | |SupplierRegion | + | |@SupplierRegion |
|nvarchar(30) | |nvarchar(30) | ||
| | | | ||
| Řádka 312: | Řádka 312: | ||
| | | | ||
|- | |- | ||
| − | |SupplierState | + | |@SupplierState |
|nvarchar(50) | |nvarchar(50) | ||
| | | | ||
| Řádka 318: | Řádka 318: | ||
| | | | ||
|- | |- | ||
| − | |SupplierCompanyRegistrationNumber | + | |@SupplierCompanyRegistrationNumber |
|char(20) | |char(20) | ||
| | | | ||
| Řádka 324: | Řádka 324: | ||
| | | | ||
|- | |- | ||
| − | |SupplierVATNumber2 | + | |@SupplierVATNumber2 |
|char(20) | |char(20) | ||
| | | | ||
| Řádka 330: | Řádka 330: | ||
| | | | ||
|- | |- | ||
| − | |SupplierVATNumber | + | |@SupplierVATNumber |
|char(20) | |char(20) | ||
| | | | ||
| Řádka 336: | Řádka 336: | ||
| | | | ||
|- | |- | ||
| − | |SupplierPhone | + | |@SupplierPhone |
|nvarchar(30) | |nvarchar(30) | ||
| | | | ||
| Řádka 342: | Řádka 342: | ||
| | | | ||
|- | |- | ||
| − | |SupplierFax | + | |@SupplierFax |
|nvarchar(30) | |nvarchar(30) | ||
| | | | ||
| Řádka 348: | Řádka 348: | ||
| | | | ||
|- | |- | ||
| − | |SupplierMobilePhone | + | |@SupplierMobilePhone |
|nvarchar(30) | |nvarchar(30) | ||
| | | | ||
| Řádka 354: | Řádka 354: | ||
| | | | ||
|- | |- | ||
| − | |SupplierEmail | + | |@SupplierEmail |
|nvarchar(60) | |nvarchar(60) | ||
| | | | ||
| Řádka 360: | Řádka 360: | ||
| | | | ||
|- | |- | ||
| − | |SupplierWeb | + | |@SupplierWeb |
|nvarchar(50) | |nvarchar(50) | ||
| | | | ||
| Řádka 366: | Řádka 366: | ||
| | | | ||
|- | |- | ||
| − | |SupplierBankName | + | |@SupplierBankName |
|nvarchar(120) | |nvarchar(120) | ||
| | | | ||
| Řádka 372: | Řádka 372: | ||
| | | | ||
|- | |- | ||
| − | |SupplierBankAccount | + | |@SupplierBankAccount |
|nvarchar(50) | |nvarchar(50) | ||
| | | | ||
| Řádka 378: | Řádka 378: | ||
| | | | ||
|- | |- | ||
| − | |SupplierBankSwift | + | |@SupplierBankSwift |
|nvarchar(50) | |nvarchar(50) | ||
| | | | ||
| Řádka 384: | Řádka 384: | ||
| | | | ||
|- | |- | ||
| − | |OrdererName | + | |@OrdererName |
|nvarchar(140) | |nvarchar(140) | ||
| | | | ||
| Řádka 390: | Řádka 390: | ||
| | | | ||
|- | |- | ||
| − | |OrdererStreet | + | |@OrdererStreet |
|nvarchar(100) | |nvarchar(100) | ||
| | | | ||
| Řádka 396: | Řádka 396: | ||
| | | | ||
|- | |- | ||
| − | |OrdererCity | + | |@OrdererCity |
|nvarchar(140) | |nvarchar(140) | ||
| | | | ||
| Řádka 402: | Řádka 402: | ||
| | | | ||
|- | |- | ||
| − | |OrdererZIPCode | + | |@OrdererZIPCode |
|char(10) | |char(10) | ||
| | | | ||
| Řádka 408: | Řádka 408: | ||
| | | | ||
|- | |- | ||
| − | |OrdererCountry | + | |@OrdererCountry |
|nvarchar(50) | |nvarchar(50) | ||
| | | | ||
| Řádka 414: | Řádka 414: | ||
| | | | ||
|- | |- | ||
| − | |OrdererRegion | + | |@OrdererRegion |
|nvarchar(30) | |nvarchar(30) | ||
| | | | ||
| Řádka 420: | Řádka 420: | ||
| | | | ||
|- | |- | ||
| − | |OrdererState | + | |@OrdererState |
|nvarchar(50) | |nvarchar(50) | ||
| | | | ||
| Řádka 426: | Řádka 426: | ||
| | | | ||
|- | |- | ||
| − | |OrdererCompanyRegistrationNumber | + | |@OrdererCompanyRegistrationNumber |
|char(20) | |char(20) | ||
| | | | ||
| Řádka 432: | Řádka 432: | ||
| | | | ||
|- | |- | ||
| − | |OrdererVATNumber2 | + | |@OrdererVATNumber2 |
|char(20) | |char(20) | ||
| | | | ||
| Řádka 438: | Řádka 438: | ||
| | | | ||
|- | |- | ||
| − | |OrdererVATNumber | + | |@OrdererVATNumber |
|char(20) | |char(20) | ||
| | | | ||
| Řádka 444: | Řádka 444: | ||
| | | | ||
|- | |- | ||
| − | |OrdererPhone | + | |@OrdererPhone |
|nvarchar(30) | |nvarchar(30) | ||
| | | | ||
| Řádka 450: | Řádka 450: | ||
| | | | ||
|- | |- | ||
| − | |OrdererFax | + | |@OrdererFax |
|nvarchar(30) | |nvarchar(30) | ||
| | | | ||
| Řádka 456: | Řádka 456: | ||
| | | | ||
|- | |- | ||
| − | |OrdererMobilePhone | + | |@OrdererMobilePhone |
|nvarchar(30) | |nvarchar(30) | ||
| | | | ||
| Řádka 462: | Řádka 462: | ||
| | | | ||
|- | |- | ||
| − | |OrdererEmail | + | |@OrdererEmail |
|nvarchar(60) | |nvarchar(60) | ||
| | | | ||
| Řádka 468: | Řádka 468: | ||
| | | | ||
|- | |- | ||
| − | |OrdererWeb | + | |@OrdererWeb |
|nvarchar(50) | |nvarchar(50) | ||
| | | | ||
| Řádka 474: | Řádka 474: | ||
| | | | ||
|- | |- | ||
| − | |OrdererBankName | + | |@OrdererBankName |
|nvarchar(120) | |nvarchar(120) | ||
| | | | ||
| Řádka 480: | Řádka 480: | ||
| | | | ||
|- | |- | ||
| − | |OrdererBankAccount | + | |@OrdererBankAccount |
|nvarchar(50) | |nvarchar(50) | ||
| | | | ||
| Řádka 486: | Řádka 486: | ||
| | | | ||
|- | |- | ||
| − | |RecipientName | + | |@RecipientName |
|nvarchar(120) | |nvarchar(120) | ||
| | | | ||
| Řádka 492: | Řádka 492: | ||
| | | | ||
|- | |- | ||
| − | |RecipientStreet | + | |@RecipientStreet |
|nvarchar(100) | |nvarchar(100) | ||
| | | | ||
| Řádka 498: | Řádka 498: | ||
| | | | ||
|- | |- | ||
| − | |RecipientCity | + | |@RecipientCity |
|nvarchar(140) | |nvarchar(140) | ||
| | | | ||
| Řádka 504: | Řádka 504: | ||
| | | | ||
|- | |- | ||
| − | |RecipientZIPCode | + | |@RecipientZIPCode |
|char(10) | |char(10) | ||
| | | | ||
| Řádka 510: | Řádka 510: | ||
| | | | ||
|- | |- | ||
| − | |RecipientCountry | + | |@RecipientCountry |
|nvarchar(50) | |nvarchar(50) | ||
| | | | ||
| Řádka 516: | Řádka 516: | ||
| | | | ||
|- | |- | ||
| − | |RecipientRegion | + | |@RecipientRegion |
|nvarchar(30) | |nvarchar(30) | ||
| | | | ||
| Řádka 522: | Řádka 522: | ||
| | | | ||
|- | |- | ||
| − | |RecipientState | + | |@RecipientState |
|nvarchar(50) | |nvarchar(50) | ||
| | | | ||
| Řádka 528: | Řádka 528: | ||
| | | | ||
|- | |- | ||
| − | |RecipientCompanyRegistrationNumber | + | |@RecipientCompanyRegistrationNumber |
|char(20) | |char(20) | ||
| | | | ||
| Řádka 534: | Řádka 534: | ||
| | | | ||
|- | |- | ||
| − | |RecipientVATNumber | + | |@RecipientVATNumber |
|char(20) | |char(20) | ||
| | | | ||
| Řádka 540: | Řádka 540: | ||
| | | | ||
|- | |- | ||
| − | |RecipientPhone | + | |@RecipientPhone |
|nvarchar(30) | |nvarchar(30) | ||
| | | | ||
| Řádka 546: | Řádka 546: | ||
| | | | ||
|- | |- | ||
| − | |RecipientFax | + | |@RecipientFax |
|nvarchar(30) | |nvarchar(30) | ||
| | | | ||
| Řádka 552: | Řádka 552: | ||
| | | | ||
|- | |- | ||
| − | |RecipientMobilePhone | + | |@RecipientMobilePhone |
|nvarchar(30) | |nvarchar(30) | ||
| | | | ||
| Řádka 558: | Řádka 558: | ||
| | | | ||
|- | |- | ||
| − | |RecipientEmail | + | |@RecipientEmail |
|nvarchar(60) | |nvarchar(60) | ||
| | | | ||
| Řádka 564: | Řádka 564: | ||
| | | | ||
|- | |- | ||
| − | |RecipientWeb | + | |@RecipientWeb |
|nvarchar(50) | |nvarchar(50) | ||
| | | | ||
| Řádka 570: | Řádka 570: | ||
| | | | ||
|- | |- | ||
| − | |RecipientBankName | + | |@RecipientBankName |
|nvarchar(120) | |nvarchar(120) | ||
| | | | ||
| Řádka 576: | Řádka 576: | ||
| | | | ||
|- | |- | ||
| − | |RecipientBankAccount | + | |@RecipientBankAccount |
|nvarchar(50) | |nvarchar(50) | ||
| | | | ||
| Řádka 582: | Řádka 582: | ||
| | | | ||
|- | |- | ||
| − | |IsCanceled | + | |@IsCanceled |
|int | |int | ||
| | | | ||
| Řádka 588: | Řádka 588: | ||
| | | | ||
|- | |- | ||
| − | |CancelationReason | + | |@CancelationReason |
|nvarchar(100) | |nvarchar(100) | ||
| | | | ||
| Řádka 594: | Řádka 594: | ||
| | | | ||
|- | |- | ||
| − | |CancelationDate | + | |@CancelationDate |
|datetime | |datetime | ||
| | | | ||
| Řádka 600: | Řádka 600: | ||
| | | | ||
|- | |- | ||
| − | |IsForeign | + | |@IsForeign |
|int | |int | ||
| | | | ||
| Řádka 606: | Řádka 606: | ||
| | | | ||
|- | |- | ||
| − | |FinancialYear | + | |@FinancialYear |
|int | |int | ||
| | | | ||
| Řádka 612: | Řádka 612: | ||
| | | | ||
|- | |- | ||
| − | |FinancialMonth | + | |@FinancialMonth |
|int | |int | ||
| | | | ||
| Řádka 618: | Řádka 618: | ||
| | | | ||
|- | |- | ||
| − | |Note | + | |@Note |
|nvarchar(500) | |nvarchar(500) | ||
| | | | ||
| Řádka 624: | Řádka 624: | ||
| | | | ||
|- | |- | ||
| − | |Note2 | + | |@Note2 |
|varchar(120) | |varchar(120) | ||
| | | | ||
| Řádka 630: | Řádka 630: | ||
| | | | ||
|- | |- | ||
| − | |IsPrintedOnFiscal | + | |@IsPrintedOnFiscal |
|int | |int | ||
| | | | ||
| Řádka 636: | Řádka 636: | ||
| | | | ||
|- | |- | ||
| − | |FiskalComputerName | + | |@FiskalComputerName |
|nvarchar(255) | |nvarchar(255) | ||
| | | | ||
| Řádka 642: | Řádka 642: | ||
| | | | ||
|- | |- | ||
| − | |IsPrinted | + | |@IsPrinted |
|int | |int | ||
| | | | ||
| Řádka 648: | Řádka 648: | ||
| | | | ||
|- | |- | ||
| − | |CancelDocument | + | |@CancelDocument |
|int | |int | ||
| | | | ||
| Řádka 654: | Řádka 654: | ||
| | | | ||
|- | |- | ||
| − | |CancelDocumentOriginID | + | |@CancelDocumentOriginID |
|int | |int | ||
| | | | ||
| Řádka 660: | Řádka 660: | ||
|API_GetInvoices.ID | |API_GetInvoices.ID | ||
|- | |- | ||
| − | |FiskalPrintDate | + | |@FiskalPrintDate |
|date | |date | ||
| | | | ||
| Řádka 666: | Řádka 666: | ||
| | | | ||
|- | |- | ||
| − | |FiskalPrintOrder | + | |@FiskalPrintOrder |
|int | |int | ||
| | | | ||
Verze z 3. 8. 2017, 10:01
Description
Method allows You to create new branch in system.
Exact name
API_CreateInvoice
Type
Standard executable stored procedure.
Specification
| Parameter | Data type | Value range | Description | Relation |
|---|---|---|---|---|
| @ContactID | int | ID of customer from customer list (see relation) | API_GetCustomers.ID | |
| @OrdererID | int | ID of customer from customer list (see relation) | API_GetCustomers.ID | |
| @RecipientID | int | ID of customer from customer list (see relation) | API_GetCustomers.ID | |
| @StockID | int | ID of stock from stock list (see relation) | API_GetStocks.ID | |
| @BranchID | int | ID of branch from branch list (see relation) | API_GetBranches.ID | |
| @DocumentTypeID | int | Document type ID
1 - Invoice 14 - InvoiceProforma 16 - InvoiceForPoints 6 - Chit 8 - CreditNote 15 - DeliveryNote |
||
| @TransportID | int | ID of transport from transport list (see relation) | API_GetTransports.ID | |
| @PaymentTypeID | int | Payment type ID.
-1 - _NA 1 - Cash 2 - WireTransfer 3 - CreditCard 4 - Before 5 - Voucher 6 - CashOnDelivery |
||
| @PriceTypeID | int | Price type ID
0 - WithVAT 1 - WithoutVAT 2 - VATTransfer |
||
| @DocumentNumber | nvarchar(40) | Document number | ||
| @Date | datetime | Date | ||
| @TaxableSupplyDate | datetime | Taxable supply date | ||
| @DueDate | datetime | Due date | ||
| @VariableSymbol | bigint | Variable symbol | ||
| @BasicPrice | decimal(18,6) | Basic price | ||
| @BasicPriceInCurrency | decimal(18,6) | Basic price in currency | ||
| @VATPrice | decimal(18,6) | VAT price | ||
| @VATPriceInCurrency | decimal(18,6) | VAT price in currency | ||
| @TotalPrice | decimal(18,6) | Total price | ||
| @TotalPriceInCurrency | decimal(18,6) | Total price in currency | ||
| @RoundPrice | decimal(18,4) | Round price | ||
| @RoundPriceInCurrency | decimal(18,4) | Round price in currency | ||
| @Price | decimal(19,6) | Price | ||
| @PriceInCurrency | decimal(19,6) | Price in currency | ||
| @Currency | varchar(5) | Currency | ||
| @CurrencyID | int | ID of currency from currency list (see relation) | API_GetCurrency.ID | |
| @CurrencyIDInCurrency | int | ID of currency from currency list (see relation) | API_GetCurrency.ID | |
| @ExchangeRate | decimal(19,4) | Exchange rate | ||
| @ExchangeRate2 | decimal(18,4) | Exchange rate 2 | ||
| @AccountingExchangeRate | decimal(18,6) | Accounting exchange rate | ||
| @VATExchangeRate | decimal(18,4) | VAT exchange rate | ||
| @AccountingExchangeRate2 | decimal(18,6) | Accounting exchange rate 2 | ||
| @RoundStyle | int | Round style.
-1 - not selected, 0 - round off, -1000 - 0,0001, -100 - 0,001 1 - 0,01 3 - 1 4 - 10 5 - 100 6 - 1000 |
||
| @RoundType | int | Round type
-1 - not selected, 1 - Up, 2 - Down, 3 - Mathematical |
||
| @SupplierName | nvarchar(140) | Supplier name | ||
| @SupplierStreet | nvarchar(100) | Supplier street | ||
| @SupplierCity | nvarchar(140) | Supplier city | ||
| @SupplierZIPCode | char(10) | Supplier ZIP code | ||
| @SupplierCountry | nvarchar(50) | Supplier country | ||
| @SupplierRegion | nvarchar(30) | Supplier region | ||
| @SupplierState | nvarchar(50) | Supplier state | ||
| @SupplierCompanyRegistrationNumber | char(20) | Supplier company registration number | ||
| @SupplierVATNumber2 | char(20) | Supplier VAT number 2 | ||
| @SupplierVATNumber | char(20) | Supplier VAT number | ||
| @SupplierPhone | nvarchar(30) | Supplier phone | ||
| @SupplierFax | nvarchar(30) | Supplier fax | ||
| @SupplierMobilePhone | nvarchar(30) | Supplier mobile phone | ||
| @SupplierEmail | nvarchar(60) | Supplier email | ||
| @SupplierWeb | nvarchar(50) | Supplier web | ||
| @SupplierBankName | nvarchar(120) | Supplier bank name | ||
| @SupplierBankAccount | nvarchar(50) | Supplier bank account | ||
| @SupplierBankSwift | nvarchar(50) | Supplier bank swift | ||
| @OrdererName | nvarchar(140) | Orderer name | ||
| @OrdererStreet | nvarchar(100) | Orderer street | ||
| @OrdererCity | nvarchar(140) | Orderer city | ||
| @OrdererZIPCode | char(10) | Orderer ZIP code | ||
| @OrdererCountry | nvarchar(50) | Orderer country | ||
| @OrdererRegion | nvarchar(30) | Orderer region | ||
| @OrdererState | nvarchar(50) | Orderer state | ||
| @OrdererCompanyRegistrationNumber | char(20) | Orderer company registration number | ||
| @OrdererVATNumber2 | char(20) | Orderer VAT number 2 | ||
| @OrdererVATNumber | char(20) | Orderer VAT number | ||
| @OrdererPhone | nvarchar(30) | Orderer phone | ||
| @OrdererFax | nvarchar(30) | Orderer fax | ||
| @OrdererMobilePhone | nvarchar(30) | Orderer mobile phone | ||
| @OrdererEmail | nvarchar(60) | Orderer email | ||
| @OrdererWeb | nvarchar(50) | Orderer web | ||
| @OrdererBankName | nvarchar(120) | Orderer bank name | ||
| @OrdererBankAccount | nvarchar(50) | Orderer bank account | ||
| @RecipientName | nvarchar(120) | Recipient name | ||
| @RecipientStreet | nvarchar(100) | Recipient street | ||
| @RecipientCity | nvarchar(140) | Recipient city | ||
| @RecipientZIPCode | char(10) | Recipient ZIP code | ||
| @RecipientCountry | nvarchar(50) | Recipient country | ||
| @RecipientRegion | nvarchar(30) | Recipient region | ||
| @RecipientState | nvarchar(50) | Recipient state | ||
| @RecipientCompanyRegistrationNumber | char(20) | Recipient company registration number | ||
| @RecipientVATNumber | char(20) | Recipient VAT number | ||
| @RecipientPhone | nvarchar(30) | Recipient phone | ||
| @RecipientFax | nvarchar(30) | Recipient fax | ||
| @RecipientMobilePhone | nvarchar(30) | Recipient mobile phone | ||
| @RecipientEmail | nvarchar(60) | Recipient email | ||
| @RecipientWeb | nvarchar(50) | Recipient web | ||
| @RecipientBankName | nvarchar(120) | Recipient bank name | ||
| @RecipientBankAccount | nvarchar(50) | Recipient bank account | ||
| @IsCanceled | int | Is canceled | ||
| @CancelationReason | nvarchar(100) | Cancelation reason | ||
| @CancelationDate | datetime | Cancelation date | ||
| @IsForeign | int | Is foreign | ||
| @FinancialYear | int | Financial year | ||
| @FinancialMonth | int | Financial month | ||
| @Note | nvarchar(500) | Note | ||
| @Note2 | varchar(120) | Note 2 | ||
| @IsPrintedOnFiscal | int | Is printed on fiscal | ||
| @FiskalComputerName | nvarchar(255) | Fiskal computer name | ||
| @IsPrinted | int | Is printed | ||
| @CancelDocument | int | Cancel document | ||
| @CancelDocumentOriginID | int | ID of invoice from invoice list (see relation) | API_GetInvoices.ID | |
| @FiskalPrintDate | date | Fiskal print date | ||
| @FiskalPrintOrder | int | Fiskal print order |
Example
EXEC [API_CreateInvoice] @WorkshopID = 1 ,@Name = 'Name'
Notices
None.