axFuelService

<back to all web services

SaveRsInvoiceDet

Requires Authentication
SaveRsInvoiceDet Parameters:
NameParameterData TypeRequiredDescription
specinvoicedetqueryRsSpecInvoiceDetNo
RsSpecInvoiceDet Parameters:
NameParameterData TypeRequiredDescription
idformintNo
p_inv_idformintNo
p_goodsformstringNo
p_g_unitformstringNo
p_g_numberformdecimalNo
p_un_priceformdecimalNo
p_drg_amountformdecimalNo
p_aqcizi_amountformdecimalNo
p_aqcizi_idformstringNo
p_aqcizi_rateformdecimalNo
p_dgg_rateformdecimalNo
p_g_number_altformdecimalNo
p_good_idformintNo
p_drg_typeformintNo
SaveRsInvoiceDetResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo
resultformintNo

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.

POST /jsv/reply/SaveRsInvoiceDet HTTP/1.1 
Host: axfuel.apex.ge 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	specinvoicedet: 
	{
		id: 0,
		p_inv_id: 0,
		p_goods: String,
		p_g_unit: String,
		p_g_number: 0,
		p_un_price: 0,
		p_drg_amount: 0,
		p_aqcizi_amount: 0,
		p_aqcizi_id: String,
		p_aqcizi_rate: 0,
		p_dgg_rate: 0,
		p_g_number_alt: 0,
		p_good_id: 0,
		p_drg_type: 0
	}
}
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
		}
	},
	result: 0
}