API CreateInvoice: Porovnání verzí
Skočit na navigaci
Skočit na vyhledávání
Založena nová stránka s textem „==== Description ==== Method allows You to create new branch in system. ==== Exact name ==== <code>API_CreateInvoice</code> ==== Type ==== Standard execu…“ |
Bez shrnutí editace |
||
| Řádek 18: | Řádek 18: | ||
|ContactID | |ContactID | ||
|int | |int | ||
| | |||
|ID of customer from customer list (see relation) | |ID of customer from customer list (see relation) | ||
|API_GetCustomers.ID | |API_GetCustomers.ID | ||
| Řádek 23: | Řádek 24: | ||
|OrdererID | |OrdererID | ||
|int | |int | ||
| | |||
|ID of customer from customer list (see relation) | |ID of customer from customer list (see relation) | ||
|API_GetCustomers.ID | |API_GetCustomers.ID | ||
| Řádek 28: | Řádek 30: | ||
|RecipientID | |RecipientID | ||
|int | |int | ||
| | |||
|ID of customer from customer list (see relation) | |ID of customer from customer list (see relation) | ||
|API_GetCustomers.ID | |API_GetCustomers.ID | ||
| Řádek 33: | Řádek 36: | ||
|StockID | |StockID | ||
|int | |int | ||
| | |||
|ID of stock from stock list (see relation) | |ID of stock from stock list (see relation) | ||
|API_GetStocks.ID | |API_GetStocks.ID | ||
| Řádek 38: | Řádek 42: | ||
|BranchID | |BranchID | ||
|int | |int | ||
| | |||
|ID of branch from branch list (see relation) | |ID of branch from branch list (see relation) | ||
|API_GetBranches.ID | |API_GetBranches.ID | ||
| Řádek 43: | Řádek 48: | ||
|DocumentTypeID | |DocumentTypeID | ||
|int | |int | ||
| | |||
| Document type ID | | Document type ID | ||
| Řádek 60: | Řádek 66: | ||
|TransportID | |TransportID | ||
|int | |int | ||
| | |||
|ID of transport from transport list (see relation) | |ID of transport from transport list (see relation) | ||
|API_GetTransports.ID | |API_GetTransports.ID | ||
| Řádek 65: | Řádek 72: | ||
|PaymentTypeID | |PaymentTypeID | ||
|int | |int | ||
| | |||
| Payment type ID. | | Payment type ID. | ||
| Řádek 84: | Řádek 92: | ||
|PriceTypeID | |PriceTypeID | ||
|int | |int | ||
| | |||
| Price type ID | | Price type ID | ||
| Řádek 95: | Řádek 104: | ||
|DocumentNumber | |DocumentNumber | ||
|nvarchar(40) | |nvarchar(40) | ||
| | |||
|Document number | |Document number | ||
| | | | ||
| Řádek 100: | Řádek 110: | ||
|Date | |Date | ||
|datetime | |datetime | ||
| | |||
|Date | |Date | ||
| | | | ||
| Řádek 105: | Řádek 116: | ||
|TaxableSupplyDate | |TaxableSupplyDate | ||
|datetime | |datetime | ||
| | |||
|Taxable supply date | |Taxable supply date | ||
| | | | ||
| Řádek 110: | Řádek 122: | ||
|DueDate | |DueDate | ||
|datetime | |datetime | ||
| | |||
|Due date | |Due date | ||
| | | | ||
| Řádek 115: | Řádek 128: | ||
|VariableSymbol | |VariableSymbol | ||
|bigint | |bigint | ||
| | |||
|Variable symbol | |Variable symbol | ||
| | | | ||
| Řádek 120: | Řádek 134: | ||
|BasicPrice | |BasicPrice | ||
|decimal(18,6) | |decimal(18,6) | ||
| | |||
|Basic price | |Basic price | ||
| | | | ||
| Řádek 125: | Řádek 140: | ||
|BasicPriceInCurrency | |BasicPriceInCurrency | ||
|decimal(18,6) | |decimal(18,6) | ||
| | |||
|Basic price in currency | |Basic price in currency | ||
| | | | ||
| Řádek 130: | Řádek 146: | ||
|VATPrice | |VATPrice | ||
|decimal(18,6) | |decimal(18,6) | ||
| | |||
|VAT price | |VAT price | ||
| | | | ||
| Řádek 135: | Řádek 152: | ||
|VATPriceInCurrency | |VATPriceInCurrency | ||
|decimal(18,6) | |decimal(18,6) | ||
| | |||
|VAT price in currency | |VAT price in currency | ||
| | | | ||
| Řádek 140: | Řádek 158: | ||
|TotalPrice | |TotalPrice | ||
|decimal(18,6) | |decimal(18,6) | ||
| | |||
|Total price | |Total price | ||
| | | | ||
| Řádek 145: | Řádek 164: | ||
|TotalPriceInCurrency | |TotalPriceInCurrency | ||
|decimal(18,6) | |decimal(18,6) | ||
| | |||
|Total price in currency | |Total price in currency | ||
| | | | ||
| Řádek 150: | Řádek 170: | ||
|RoundPrice | |RoundPrice | ||
|decimal(18,4) | |decimal(18,4) | ||
| | |||
|Round price | |Round price | ||
| | | | ||
| Řádek 155: | Řádek 176: | ||
|RoundPriceInCurrency | |RoundPriceInCurrency | ||
|decimal(18,4) | |decimal(18,4) | ||
| | |||
|Round price in currency | |Round price in currency | ||
| | | | ||
| Řádek 160: | Řádek 182: | ||
|Price | |Price | ||
|decimal(19,6) | |decimal(19,6) | ||
| | |||
|Price | |Price | ||
| | | | ||
| Řádek 165: | Řádek 188: | ||
|PriceInCurrency | |PriceInCurrency | ||
|decimal(19,6) | |decimal(19,6) | ||
| | |||
|Price in currency | |Price in currency | ||
| | | | ||
| Řádek 170: | Řádek 194: | ||
|Currency | |Currency | ||
|varchar(5) | |varchar(5) | ||
| | |||
|Currency | |Currency | ||
| | | | ||
| Řádek 175: | Řádek 200: | ||
|CurrencyID | |CurrencyID | ||
|int | |int | ||
| | |||
|ID of currency from currency list (see relation) | |ID of currency from currency list (see relation) | ||
|API_GetCurrency.ID | |API_GetCurrency.ID | ||
| Řádek 180: | Řádek 206: | ||
|CurrencyIDInCurrency | |CurrencyIDInCurrency | ||
|int | |int | ||
| | |||
|ID of currency from currency list (see relation) | |ID of currency from currency list (see relation) | ||
|API_GetCurrency.ID | |API_GetCurrency.ID | ||
| Řádek 185: | Řádek 212: | ||
|ExchangeRate | |ExchangeRate | ||
|decimal(19,4) | |decimal(19,4) | ||
| | |||
|Exchange rate | |Exchange rate | ||
| | | | ||
| Řádek 190: | Řádek 218: | ||
|ExchangeRate2 | |ExchangeRate2 | ||
|decimal(18,4) | |decimal(18,4) | ||
| | |||
|Exchange rate 2 | |Exchange rate 2 | ||
| | | | ||
| Řádek 195: | Řádek 224: | ||
|AccountingExchangeRate | |AccountingExchangeRate | ||
|decimal(18,6) | |decimal(18,6) | ||
| | |||
|Accounting exchange rate | |Accounting exchange rate | ||
| | | | ||
| Řádek 200: | Řádek 230: | ||
|VATExchangeRate | |VATExchangeRate | ||
|decimal(18,4) | |decimal(18,4) | ||
| | |||
|VAT exchange rate | |VAT exchange rate | ||
| | | | ||
| Řádek 205: | Řádek 236: | ||
|AccountingExchangeRate2 | |AccountingExchangeRate2 | ||
|decimal(18,6) | |decimal(18,6) | ||
| | |||
|Accounting exchange rate 2 | |Accounting exchange rate 2 | ||
| | | | ||
| Řádek 210: | Řádek 242: | ||
|RoundStyle | |RoundStyle | ||
|int | |int | ||
| | |||
|Round style. | |Round style. | ||
-1 - not selected, | -1 - not selected, | ||
| Řádek 232: | Řádek 265: | ||
|RoundType | |RoundType | ||
|int | |int | ||
| | |||
|Round type | |Round type | ||
-1 - not selected, | -1 - not selected, | ||
| Řádek 244: | Řádek 278: | ||
|SupplierName | |SupplierName | ||
|nvarchar(140) | |nvarchar(140) | ||
| | |||
|Supplier name | |Supplier name | ||
| | | | ||
| Řádek 249: | Řádek 284: | ||
|SupplierStreet | |SupplierStreet | ||
|nvarchar(100) | |nvarchar(100) | ||
| | |||
|Supplier street | |Supplier street | ||
| | | | ||
| Řádek 254: | Řádek 290: | ||
|SupplierCity | |SupplierCity | ||
|nvarchar(140) | |nvarchar(140) | ||
| | |||
|Supplier city | |Supplier city | ||
| | | | ||
| Řádek 259: | Řádek 296: | ||
|SupplierZIPCode | |SupplierZIPCode | ||
|char(10) | |char(10) | ||
| | |||
|Supplier ZIP code | |Supplier ZIP code | ||
| | | | ||
| Řádek 264: | Řádek 302: | ||
|SupplierCountry | |SupplierCountry | ||
|nvarchar(50) | |nvarchar(50) | ||
| | |||
|Supplier country | |Supplier country | ||
| | | | ||
| Řádek 269: | Řádek 308: | ||
|SupplierRegion | |SupplierRegion | ||
|nvarchar(30) | |nvarchar(30) | ||
| | |||
|Supplier region | |Supplier region | ||
| | | | ||
| Řádek 274: | Řádek 314: | ||
|SupplierState | |SupplierState | ||
|nvarchar(50) | |nvarchar(50) | ||
| | |||
|Supplier state | |Supplier state | ||
| | | | ||
| Řádek 279: | Řádek 320: | ||
|SupplierCompanyRegistrationNumber | |SupplierCompanyRegistrationNumber | ||
|char(20) | |char(20) | ||
| | |||
|Supplier company registration number | |Supplier company registration number | ||
| | | | ||
| Řádek 284: | Řádek 326: | ||
|SupplierVATNumber2 | |SupplierVATNumber2 | ||
|char(20) | |char(20) | ||
| | |||
|Supplier VAT number 2 | |Supplier VAT number 2 | ||
| | | | ||
| Řádek 289: | Řádek 332: | ||
|SupplierVATNumber | |SupplierVATNumber | ||
|char(20) | |char(20) | ||
| | |||
|Supplier VAT number | |Supplier VAT number | ||
| | | | ||
| Řádek 294: | Řádek 338: | ||
|SupplierPhone | |SupplierPhone | ||
|nvarchar(30) | |nvarchar(30) | ||
| | |||
|Supplier phone | |Supplier phone | ||
| | | | ||
| Řádek 299: | Řádek 344: | ||
|SupplierFax | |SupplierFax | ||
|nvarchar(30) | |nvarchar(30) | ||
| | |||
|Supplier fax | |Supplier fax | ||
| | | | ||
| Řádek 304: | Řádek 350: | ||
|SupplierMobilePhone | |SupplierMobilePhone | ||
|nvarchar(30) | |nvarchar(30) | ||
| | |||
|Supplier mobile phone | |Supplier mobile phone | ||
| | | | ||
| Řádek 309: | Řádek 356: | ||
|SupplierEmail | |SupplierEmail | ||
|nvarchar(60) | |nvarchar(60) | ||
| | |||
|Supplier email | |Supplier email | ||
| | | | ||
| Řádek 314: | Řádek 362: | ||
|SupplierWeb | |SupplierWeb | ||
|nvarchar(50) | |nvarchar(50) | ||
| | |||
|Supplier web | |Supplier web | ||
| | | | ||
| Řádek 319: | Řádek 368: | ||
|SupplierBankName | |SupplierBankName | ||
|nvarchar(120) | |nvarchar(120) | ||
| | |||
|Supplier bank name | |Supplier bank name | ||
| | | | ||
| Řádek 324: | Řádek 374: | ||
|SupplierBankAccount | |SupplierBankAccount | ||
|nvarchar(50) | |nvarchar(50) | ||
| | |||
|Supplier bank account | |Supplier bank account | ||
| | | | ||
| Řádek 329: | Řádek 380: | ||
|SupplierBankSwift | |SupplierBankSwift | ||
|nvarchar(50) | |nvarchar(50) | ||
| | |||
|Supplier bank swift | |Supplier bank swift | ||
| | | | ||
| Řádek 334: | Řádek 386: | ||
|OrdererName | |OrdererName | ||
|nvarchar(140) | |nvarchar(140) | ||
| | |||
|Orderer name | |Orderer name | ||
| | | | ||
| Řádek 339: | Řádek 392: | ||
|OrdererStreet | |OrdererStreet | ||
|nvarchar(100) | |nvarchar(100) | ||
| | |||
|Orderer street | |Orderer street | ||
| | | | ||
| Řádek 344: | Řádek 398: | ||
|OrdererCity | |OrdererCity | ||
|nvarchar(140) | |nvarchar(140) | ||
| | |||
|Orderer city | |Orderer city | ||
| | | | ||
| Řádek 349: | Řádek 404: | ||
|OrdererZIPCode | |OrdererZIPCode | ||
|char(10) | |char(10) | ||
| | |||
|Orderer ZIP code | |Orderer ZIP code | ||
| | | | ||
| Řádek 354: | Řádek 410: | ||
|OrdererCountry | |OrdererCountry | ||
|nvarchar(50) | |nvarchar(50) | ||
| | |||
|Orderer country | |Orderer country | ||
| | | | ||
| Řádek 359: | Řádek 416: | ||
|OrdererRegion | |OrdererRegion | ||
|nvarchar(30) | |nvarchar(30) | ||
| | |||
|Orderer region | |Orderer region | ||
| | | | ||
| Řádek 364: | Řádek 422: | ||
|OrdererState | |OrdererState | ||
|nvarchar(50) | |nvarchar(50) | ||
| | |||
|Orderer state | |Orderer state | ||
| | | | ||
| Řádek 369: | Řádek 428: | ||
|OrdererCompanyRegistrationNumber | |OrdererCompanyRegistrationNumber | ||
|char(20) | |char(20) | ||
| | |||
|Orderer company registration number | |Orderer company registration number | ||
| | | | ||
| Řádek 374: | Řádek 434: | ||
|OrdererVATNumber2 | |OrdererVATNumber2 | ||
|char(20) | |char(20) | ||
| | |||
|Orderer VAT number 2 | |Orderer VAT number 2 | ||
| | | | ||
| Řádek 379: | Řádek 440: | ||
|OrdererVATNumber | |OrdererVATNumber | ||
|char(20) | |char(20) | ||
| | |||
|Orderer VAT number | |Orderer VAT number | ||
| | | | ||
| Řádek 384: | Řádek 446: | ||
|OrdererPhone | |OrdererPhone | ||
|nvarchar(30) | |nvarchar(30) | ||
| | |||
|Orderer phone | |Orderer phone | ||
| | | | ||
| Řádek 389: | Řádek 452: | ||
|OrdererFax | |OrdererFax | ||
|nvarchar(30) | |nvarchar(30) | ||
| | |||
|Orderer fax | |Orderer fax | ||
| | | | ||
| Řádek 394: | Řádek 458: | ||
|OrdererMobilePhone | |OrdererMobilePhone | ||
|nvarchar(30) | |nvarchar(30) | ||
| | |||
|Orderer mobile phone | |Orderer mobile phone | ||
| | | | ||
| Řádek 399: | Řádek 464: | ||
|OrdererEmail | |OrdererEmail | ||
|nvarchar(60) | |nvarchar(60) | ||
| | |||
|Orderer email | |Orderer email | ||
| | | | ||
| Řádek 404: | Řádek 470: | ||
|OrdererWeb | |OrdererWeb | ||
|nvarchar(50) | |nvarchar(50) | ||
| | |||
|Orderer web | |Orderer web | ||
| | | | ||
| Řádek 409: | Řádek 476: | ||
|OrdererBankName | |OrdererBankName | ||
|nvarchar(120) | |nvarchar(120) | ||
| | |||
|Orderer bank name | |Orderer bank name | ||
| | | | ||
| Řádek 414: | Řádek 482: | ||
|OrdererBankAccount | |OrdererBankAccount | ||
|nvarchar(50) | |nvarchar(50) | ||
| | |||
|Orderer bank account | |Orderer bank account | ||
| | | | ||
| Řádek 419: | Řádek 488: | ||
|RecipientName | |RecipientName | ||
|nvarchar(120) | |nvarchar(120) | ||
| | |||
|Recipient name | |Recipient name | ||
| | | | ||
| Řádek 424: | Řádek 494: | ||
|RecipientStreet | |RecipientStreet | ||
|nvarchar(100) | |nvarchar(100) | ||
| | |||
|Recipient street | |Recipient street | ||
| | | | ||
| Řádek 429: | Řádek 500: | ||
|RecipientCity | |RecipientCity | ||
|nvarchar(140) | |nvarchar(140) | ||
| | |||
|Recipient city | |Recipient city | ||
| | | | ||
| Řádek 434: | Řádek 506: | ||
|RecipientZIPCode | |RecipientZIPCode | ||
|char(10) | |char(10) | ||
| | |||
|Recipient ZIP code | |Recipient ZIP code | ||
| | | | ||
| Řádek 439: | Řádek 512: | ||
|RecipientCountry | |RecipientCountry | ||
|nvarchar(50) | |nvarchar(50) | ||
| | |||
|Recipient country | |Recipient country | ||
| | | | ||
| Řádek 444: | Řádek 518: | ||
|RecipientRegion | |RecipientRegion | ||
|nvarchar(30) | |nvarchar(30) | ||
| | |||
|Recipient region | |Recipient region | ||
| | | | ||
| Řádek 449: | Řádek 524: | ||
|RecipientState | |RecipientState | ||
|nvarchar(50) | |nvarchar(50) | ||
| | |||
|Recipient state | |Recipient state | ||
| | | | ||
| Řádek 454: | Řádek 530: | ||
|RecipientCompanyRegistrationNumber | |RecipientCompanyRegistrationNumber | ||
|char(20) | |char(20) | ||
| | |||
|Recipient company registration number | |Recipient company registration number | ||
| | | | ||
| Řádek 459: | Řádek 536: | ||
|RecipientVATNumber | |RecipientVATNumber | ||
|char(20) | |char(20) | ||
| | |||
|Recipient VAT number | |Recipient VAT number | ||
| | | | ||
| Řádek 464: | Řádek 542: | ||
|RecipientPhone | |RecipientPhone | ||
|nvarchar(30) | |nvarchar(30) | ||
| | |||
|Recipient phone | |Recipient phone | ||
| | | | ||
| Řádek 469: | Řádek 548: | ||
|RecipientFax | |RecipientFax | ||
|nvarchar(30) | |nvarchar(30) | ||
| | |||
|Recipient fax | |Recipient fax | ||
| | | | ||
| Řádek 474: | Řádek 554: | ||
|RecipientMobilePhone | |RecipientMobilePhone | ||
|nvarchar(30) | |nvarchar(30) | ||
| | |||
|Recipient mobile phone | |Recipient mobile phone | ||
| | | | ||
| Řádek 479: | Řádek 560: | ||
|RecipientEmail | |RecipientEmail | ||
|nvarchar(60) | |nvarchar(60) | ||
| | |||
|Recipient email | |Recipient email | ||
| | | | ||
| Řádek 484: | Řádek 566: | ||
|RecipientWeb | |RecipientWeb | ||
|nvarchar(50) | |nvarchar(50) | ||
| | |||
|Recipient web | |Recipient web | ||
| | | | ||
| Řádek 489: | Řádek 572: | ||
|RecipientBankName | |RecipientBankName | ||
|nvarchar(120) | |nvarchar(120) | ||
| | |||
|Recipient bank name | |Recipient bank name | ||
| | | | ||
| Řádek 494: | Řádek 578: | ||
|RecipientBankAccount | |RecipientBankAccount | ||
|nvarchar(50) | |nvarchar(50) | ||
| | |||
|Recipient bank account | |Recipient bank account | ||
| | | | ||
| Řádek 499: | Řádek 584: | ||
|IsCanceled | |IsCanceled | ||
|int | |int | ||
| | |||
|Is canceled | |Is canceled | ||
| | | | ||
| Řádek 504: | Řádek 590: | ||
|CancelationReason | |CancelationReason | ||
|nvarchar(100) | |nvarchar(100) | ||
| | |||
|Cancelation reason | |Cancelation reason | ||
| | | | ||
| Řádek 509: | Řádek 596: | ||
|CancelationDate | |CancelationDate | ||
|datetime | |datetime | ||
| | |||
|Cancelation date | |Cancelation date | ||
| | | | ||
| Řádek 514: | Řádek 602: | ||
|IsForeign | |IsForeign | ||
|int | |int | ||
| | |||
|Is foreign | |Is foreign | ||
| | | | ||
| Řádek 519: | Řádek 608: | ||
|FinancialYear | |FinancialYear | ||
|int | |int | ||
| | |||
|Financial year | |Financial year | ||
| | | | ||
| Řádek 524: | Řádek 614: | ||
|FinancialMonth | |FinancialMonth | ||
|int | |int | ||
| | |||
|Financial month | |Financial month | ||
| | | | ||
| Řádek 529: | Řádek 620: | ||
|Note | |Note | ||
|nvarchar(500) | |nvarchar(500) | ||
| | |||
|Note | |Note | ||
| | | | ||
| Řádek 534: | Řádek 626: | ||
|Note2 | |Note2 | ||
|varchar(120) | |varchar(120) | ||
| | |||
|Note 2 | |Note 2 | ||
| | | | ||
| Řádek 539: | Řádek 632: | ||
|IsPrintedOnFiscal | |IsPrintedOnFiscal | ||
|int | |int | ||
| | |||
|Is printed on fiscal | |Is printed on fiscal | ||
| | | | ||
| Řádek 544: | Řádek 638: | ||
|FiskalComputerName | |FiskalComputerName | ||
|nvarchar(255) | |nvarchar(255) | ||
| | |||
|Fiskal computer name | |Fiskal computer name | ||
| | | | ||
| Řádek 549: | Řádek 644: | ||
|IsPrinted | |IsPrinted | ||
|int | |int | ||
| | |||
|Is printed | |Is printed | ||
| | | | ||
| Řádek 554: | Řádek 650: | ||
|CancelDocument | |CancelDocument | ||
|int | |int | ||
| | |||
|Cancel document | |Cancel document | ||
| | | | ||
| Řádek 559: | Řádek 656: | ||
|CancelDocumentOriginID | |CancelDocumentOriginID | ||
|int | |int | ||
| | |||
|ID of invoice from invoice list (see relation) | |ID of invoice from invoice list (see relation) | ||
|API_GetInvoices.ID | |API_GetInvoices.ID | ||
| Řádek 564: | Řádek 662: | ||
|FiskalPrintDate | |FiskalPrintDate | ||
|date | |date | ||
| | |||
|Fiskal print date | |Fiskal print date | ||
| | | | ||
| Řádek 569: | Řádek 668: | ||
|FiskalPrintOrder | |FiskalPrintOrder | ||
|int | |int | ||
| | |||
|Fiskal print order | |Fiskal print order | ||
| | | | ||
Verze z 3. 8. 2017, 08:57
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.