ApexERPHost

<back to all web services

GetSellerInvoices

Requires Authentication
The following routes are available for this service:
GET/RS/Invoices/Seller
GetSellerInvoices 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 .jsv suffix or ?format=jsv

HTTP + JSV

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

GET /RS/Invoices/Seller HTTP/1.1 
Host: apex.nikoratrade.ge 
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
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: 0001-01-01,
			RegDate: 0001-01-01,
			SellerUnID: 0,
			BuyerUnID: 0,
			OverheadNo: String,
			OverheadDate: 0001-01-01,
			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: 0001-01-01,
			AgreeUserId: 0
		}
	],
	Error: 0,
	ErrorMessage: String
}