GET | /RS/Invoices/{InvoiceId}/GetKInvoice |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
InvoiceId | path | int | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ResponseStatus | form | ResponseStatus | No | |
Invoice | form | MOFInvoiceView | No | |
Error | form | int | No | |
ErrorMessage | form | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
InvoiceID | form | int | No | |
NumberOut | form | string | No | |
OperationDate | form | DateTime | No | |
RegistrationDate | form | DateTime | No | |
SellerID | form | int | No | |
BuyerID | form | int | No | |
Status | form | int | No | |
Details | form | List<MOFInvoiceDet> | No | |
NosList | form | List<MOFInvoiceNos> | No | |
UserID | form | int | No | |
K_ID | form | int | No | |
K_TYPE | form | int | No | |
R_UN_ID | form | int | No | |
DecStatus | form | int | No | |
NoText | form | string | No | |
WAS_REF | form | int | No | |
BuyerSN | form | string | No | |
SellerSN | form | string | No | |
BuyerName | form | string | No | |
SellerName | form | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ID | form | long | No | |
InvoiceID | form | int | No | |
Good | form | string | No | |
Unit | form | string | No | |
SCount | form | decimal | No | |
FullAmount | form | decimal | No | |
VatAmount | form | decimal | No | |
AkcizAmount | form | decimal | No | |
AkcizID | form | int | No | |
SVatAmount | form | string | No | |
WaybillId | form | int? | No | |
VatType | form | int? | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
NosID | form | long | No | |
OverheadNo | form | string | No | |
OverheadDate | form | DateTime | No | |
OverheadDateStr | form | string | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /RS/Invoices/{InvoiceId}/GetKInvoice HTTP/1.1 Host: apex.nikoratrade.ge Accept: application/json
HTTP/1.1 200 OK Content-Type: application/json Content-Length: length {"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}},"Invoice":{"InvoiceID":0,"NumberOut":"String","OperationDate":"\/Date(-62135596800000-0000)\/","RegistrationDate":"\/Date(-62135596800000-0000)\/","SellerID":0,"BuyerID":0,"Status":0,"Details":[{"ID":0,"InvoiceID":0,"Good":"String","Unit":"String","SCount":0,"FullAmount":0,"VatAmount":0,"AkcizAmount":0,"AkcizID":0,"SVatAmount":"String","WaybillId":0,"VatType":0}],"NosList":[{"NosID":0,"OverheadNo":"String","OverheadDate":"\/Date(-62135596800000-0000)\/","OverheadDateStr":"String"}],"UserID":0,"K_ID":0,"K_TYPE":0,"R_UN_ID":0,"DecStatus":0,"NoText":"String","WAS_REF":0,"BuyerSN":"String","SellerSN":"String","BuyerName":"String","SellerName":"String"},"Error":0,"ErrorMessage":"String"}