SmartAcc DynaMod Web API v2024.4 Build 0000 - Local

<back to all web services

CustomerOutstandingDocumentListing

Customer Module - Enquiry

Customer Outstanding Document Listing API

Requires Authentication
Required permission:CustomerOutstandingDocumentListing-Enquiry.GET
The following routes are available for this service:
GET/CustomerOutstandingDocumentListing/AcCustomerID/{AcCustomerID}Get all outstanding documents for the given customerAll outstanding documents would be return if found.
CustomerOutstandingDocumentListing Parameters:
NameParameterData TypeRequiredDescription
AcCustomerIDpathstringYesCustomer ID.
AcCurrencyIDquerystringNoCurrency ID. By default system captured the customer's currency's transactions.
AcCompanyIDquerystringNoCompany ID. System Company ID. Please provide to avoid assumption. If not provided, by default system will capture first record of Company Setup (AcCompany).
Pagequeryint?NoPage Number. Default 1.
RecordsPerPagequeryint?NoRecords Per Page. Default 99999 Records.
CustomerOutstandingDocumentListingResponse Parameters:
NameParameterData TypeRequiredDescription
CustomerOutstandingDocumentListingformList<pfapi70060GetCustomerOutstandingDocumentListing>No
ResponseStatusformResponseStatusNo
TotalRecordsformintNoTotal records in all pages.
TotalRecordsInPageformintNoTotal records in current page.
pfapi70060GetCustomerOutstandingDocumentListing Parameters:
NameParameterData TypeRequiredDescription
MatchDocumentNoformstringNoMatch Document Number
MatchTypeformstringNoMatch Document Type
MatchDocumentDateformDateTimeNoMatch Document Date
AcCurrencyIDformstringNoMatch Document Currency ID
MatchDocumentCurrencyRateformdecimalNoMatch Document Currency Rate
MatchDocumentAcLocationIDformstringNoMatch Document Location ID
AcCustomerIDformstringNoMatch Document Customer ID
ItemRemark1formstringNoMatch Document Item Remark 1
AcCustomerNameformstringNoMatch Document Customer Name
ItemAmountformdecimalNoMatch Document Item Amount (Outstanding Amount) (Local Currency Amount)
ItemBalanceAmountformdecimalNoMatch Document Item Balance Amount (Applicable Amount) (Local Currency Amount)
ItemCurrencyAmountformdecimalNoMatch Document Item Amount (Outstanding Amount)
ItemCurrencyBalanceAmountformdecimalNoMatch Document Item Balance Amount (Applicable Amount)
AcTermIDformstringNoTerm ID
TermDaysformintNoTerm Days
IsBadDebtReliefformstringNoIs Bad Debt Relief. (GST Related). Y/N.
IsOpenBalanceformstringNoMatch Document is an Opening Document. Y/N.
TotalItemAppliedAmountOnPDCformdecimalNoTotal Item Applied Amount on PDC. (Local Currency Amount)
TotalItemCurrencyAppliedAmountOnPDCformdecimalNoTotal Item Applied Amount on PDC.
ItemRemark3formstringNoMatch Document Item Remark 3

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 /CustomerOutstandingDocumentListing/AcCustomerID/{AcCustomerID} HTTP/1.1 
Host: snr2u.com 
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	CustomerOutstandingDocumentListing: 
	[
		{
			MatchDocumentNo: String,
			MatchType: String,
			MatchDocumentDate: 0001-01-01,
			AcCurrencyID: String,
			MatchDocumentCurrencyRate: 0,
			MatchDocumentAcLocationID: String,
			AcCustomerID: String,
			ItemRemark1: String,
			AcCustomerName: String,
			ItemAmount: 0,
			ItemBalanceAmount: 0,
			ItemCurrencyAmount: 0,
			ItemCurrencyBalanceAmount: 0,
			AcTermID: String,
			TermDays: 0,
			IsBadDebtRelief: String,
			IsOpenBalance: String,
			TotalItemAppliedAmountOnPDC: 0,
			TotalItemCurrencyAppliedAmountOnPDC: 0,
			ItemRemark3: String
		}
	],
	ResponseStatus: 
	{
		ErrorCode: String,
		Message: String,
		StackTrace: String,
		Errors: 
		[
			{
				ErrorCode: String,
				FieldName: String,
				Message: String,
				Meta: 
				{
					String: String
				}
			}
		],
		Meta: 
		{
			String: String
		}
	},
	TotalRecords: 0,
	TotalRecordsInPage: 0
}