ApexERPHost

<back to all web services

GetBuyerInvoices

Requires Authentication
The following routes are available for this service:
GET/RS/Invoices/Buyer
GetBuyerInvoices Parameters:
NameParameterData TypeRequiredDescription
Date1queryDateTimeNo
Date2queryDateTimeNo
InvoiceNumquerystringNo
snquerystringNo
OpDate1queryDateTime?No
OpDate2queryDateTime?No
GetInvoicesResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo
InvoicesformList<MOFInvoice>No
ErrorformintNo
ErrorMessageformstringNo
MOFInvoice 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

To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

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

GET /RS/Invoices/Buyer HTTP/1.1 
Host: apex.nikoratrade.ge 
Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
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}],"Error":0,"ErrorMessage":"String"}