ApexERPHost

<back to all web services

GetBuyerInvoicesWithBook

Requires Authentication
The following routes are available for this service:
GET/RS/Invoices/Buyer/Book
GetBuyerInvoicesWithBook Parameters:
NameParameterData TypeRequiredDescription
Date1queryDateTime?No
Date2queryDateTime?No
InvoiceNumquerystringNo
snquerystringNo
OpDate1queryDateTime?No
OpDate2queryDateTime?No
GetBuyerInvoicesWithBookResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo
InvoicesformList<MOFInvoiceWithDetails>No
ErrorformintNo
ErrorMessageformstringNo
BookListformList<RSWaybillBooks>No
MOFInvoiceWithDetails Parameters:
NameParameterData TypeRequiredDescription
InvoiceIDformintNo
FSeriesformstringNo
FNumberformstringNo
OperationDateformDateTimeNo
RegDateformDateTimeNo
SellerUnIDformintNo
BuyerUnIDformintNo
OverheadNoformstringNo
OverheadDateformDateTimeNo
StatusformintNo
SeqNumSformstringNo
SeqNumBformstringNo
K_IDformintNo
R_UN_IDformintNo
K_TYPEformintNo
B_S_UserIDformintNo
DecStatusformintNo
OrgNameformstringNo
OrgSnformstringNo
NotesformstringNo
WAS_REFformintNo
AmountformdecimalNo
VatAmountformdecimal?No
AgreeDateformDateTime?No
AgreeUserIdformint?No
InvoiceDetsformList<MOFInvoiceDet>No
InvoiceNosformList<MOFInvoiceNosWithAmount>No
LocalAmountformdecimal?No
LocalVatAmountformdecimal?No
MOFInvoiceDet Parameters:
NameParameterData TypeRequiredDescription
IDformlongNo
InvoiceIDformintNo
GoodformstringNo
UnitformstringNo
SCountformdecimalNo
FullAmountformdecimalNo
VatAmountformdecimalNo
AkcizAmountformdecimalNo
AkcizIDformintNo
SVatAmountformstringNo
WaybillIdformint?No
VatTypeformint?No
MOFInvoiceNosWithAmount Parameters:
NameParameterData TypeRequiredDescription
NosIDformlongNo
OverheadNoformstringNo
OverheadDateformDateTimeNo
OverheadDateStrformstringNo
LocalAmountformdecimal?No
LocalVatAmountformdecimal?No
RSWaybillBooks Parameters:
NameParameterData TypeRequiredDescription
DDateformDateTimeNo
CRformstringNo
CRNameformstringNo
SNformstringNo
WaybillIdformint?No
WaybillNumformstringNo
InvoiceIdformint?No
InvoiceNumformstringNo
Amountformdecimal?No
VatAmountformdecimal?No
DocsIdformstringNo

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

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /RS/Invoices/Buyer/Book 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"}},"Invoices":[{"InvoiceID":0,"FSeries":"String","FNumber":"String","OperationDate":"\/Date(-62135596800000-0000)\/","RegDate":"\/Date(-62135596800000-0000)\/","SellerUnID":0,"BuyerUnID":0,"OverheadNo":"String","OverheadDate":"\/Date(-62135596800000-0000)\/","Status":0,"SeqNumS":"String","SeqNumB":"String","K_ID":0,"R_UN_ID":0,"K_TYPE":0,"B_S_UserID":0,"DecStatus":0,"OrgName":"String","OrgSn":"String","Notes":"String","WAS_REF":0,"Amount":0,"VatAmount":0,"AgreeDate":"\/Date(-62135596800000-0000)\/","AgreeUserId":0,"InvoiceDets":[{"ID":0,"InvoiceID":0,"Good":"String","Unit":"String","SCount":0,"FullAmount":0,"VatAmount":0,"AkcizAmount":0,"AkcizID":0,"SVatAmount":"String","WaybillId":0,"VatType":0}],"InvoiceNos":[{"NosID":0,"OverheadNo":"String","OverheadDate":"\/Date(-62135596800000-0000)\/","OverheadDateStr":"String","LocalAmount":0,"LocalVatAmount":0}],"LocalAmount":0,"LocalVatAmount":0}],"Error":0,"ErrorMessage":"String","BookList":[{"DDate":"\/Date(-62135596800000-0000)\/","CR":"String","CRName":"String","SN":"String","WaybillId":0,"WaybillNum":"String","InvoiceId":0,"InvoiceNum":"String","Amount":0,"VatAmount":0,"DocsId":"String"}]}