SmartAcc DynaMod Web API v2024.4 Build 0000 - Local

<back to all web services

SupplierRefundNotesSimple_Currency

Supplier Module - Transaction

Supplier Refund Note API

Requires Authentication
Required permission:SupplierPurchaseOrder-Transaction.GET
The following routes are available for this service:
GET/SupplierRefundNotes/Currency/simple/page/{Page}Get records by given a page numberEach page consists of 20 records
GET/SupplierRefundNotes/Currency/simple/RefundNote/{AcSupRefundNoteMID}Get a record by given a Document NumberHeader and Detail record would be return if found.
GET/SupplierRefundNotes/Currency/simple
GET/SupplierRefundNotes/Currency/simple/RefundNote/{fromDate}/{toDate}Get a record by given a Document DateDate format yyyy-MM-dd
GET/SupplierRefundNotes/Currency/simple/EditDate/{fromEditDate}/{toEditDate}Get a record by given a Edit DateDate format yyyy-MM-dd
SupplierRefundNotesSimple_Currency Parameters:
NameParameterData TypeRequiredDescription
Pagepathint?No
AcSupRefundNoteMIDpathstringNo
fromDatepathstringNo
toDatepathstringNo
fromEditDatepathstringNo
toEditDatepathstringNo
SupplierRefundNotesSimple_Currency_Response Parameters:
NameParameterData TypeRequiredDescription
RefundNotesformList<SupplierRefundNoteSimple_Currency>No
ResponseStatusformResponseStatusNo
SupplierRefundNoteSimple_Currency Parameters:
NameParameterData TypeRequiredDescription
DocumentHeaderformAcSupRefundNoteMSimple_CurrencyNo
DocumentDetailsformList<AcSupRefundNoteDSimple_Currency>No
DocumentPaymentDetailsformDocumentPaymentDetailsYesSupplier Refund Note Payment Details - Primary Key: AcSupRefundNoteMID, ItemNo.Check out BillPaymentMethods service for list of available AcBillPaymentMethodID.
AcSupRefundNoteMSimple_Currency Parameters:
NameParameterData TypeRequiredDescription
AcSupRefundNoteMIDformNVARCHAR(20)YesRefund Note Number
AcSupplierIDformNVARCHAR(20)YesSupplier ID
AcLocationIDformNVARCHAR(20)YesLocation ID
DocumentDateformDATEYesRefund Note Date
AcTermIDformNVARCHAR(20)YesTerm ID
SupplierRefundNoteNumberformNVARCHAR(20)YesSupplier Refund Note Number
DocumentNetAmountformNUMERIC(18,2)YesNet Amount. Before Round Cent Adjustment
DocumentCentBalanceformNUMERIC(18,2)YesRound Cent Adjustment Amount
DocumentFinalAmountformNUMERIC(18,2)YesFinal Amount. After Round Cent Adjustment
AcSupInvoiceMIDformNVARCHAR(20)YesSupplier Original Invoice Number (System)
DocumentReasonformNVARCHAR(100)YesReason
RefDocumentNoformNVARCHAR(100)NoReference Number
DocumentRemarkformNVARCHAR(100)NoDocument Remark
ExtraRemark1formNVARCHAR(100)NoExtra Remark 1
ExtraRemark2formNVARCHAR(100)NoExtra Remark 2
ExtraRemark3formNVARCHAR(100)NoExtra Remark 3
ExtraRemark4formNVARCHAR(100)NoExtra Remark 4
EditDateformDATETIMEYesEdit Date
AcCurrencyIDformNVARCHAR(20)YesCurrency ID. Default to MYR
CurrencyRateformNUMERIC(18,6)YesCurrency Rate. Default to 1
DocumentLocalItemTotalPriceformNUMERIC(18,2)YesTotal of detail.ItemTotalPrice
DocumentLocalDiscountAmountformNUMERIC(18,2)YesDocument Discount Amount. Always 0
DocumentLocalNetAmountformNUMERIC(18,2)YesTotal of detail.ItemTotalPrice
DocumentLocalCentBalanceformNUMERIC(18,2)YesRound Cent Adjustment Amount.
DocumentLocalFinalAmountformNUMERIC(18,2)YesInvoice Amount. Amount After Minus Round Cent
DocumentItemLocalGSTAmountformNUMERIC(18,2)YesGST Amount. Always 0
DocumentLocalItemGrossTotalformNUMERIC(18,2)YesTotal of detail.ItemGrossTotal
DocumentLocalItemGrossTotalWithGSTformNUMERIC(18,2)YesTotal of detail.ItemGrossTotal
DocumentLocalItemGrossTotalWithoutGSTformNUMERIC(18,2)YesTotal of detail.ItemGrossTotal
DocumentLocalItemDiscountTotalWithGSTformNUMERIC(18,2)YesTotal of detail.ItemDiscountAmount
DocumentLocalItemDiscountTotalWithoutGSTformNUMERIC(18,2)YesTotal of detail.ItemDiscountAmount
IsUseTransactionSupplierElementformBooleanNoUse Transaction's Supplier Element?. True: Supplier Elements will stored based on provided value; False: Supplier Elements will stored based on Supplier Profile's E-Invoice Elements
AcEInvoiceDocumentFlowIDformNVARCHAR(100)NoE-Invoice Document Flow ID. Open; Ready to Submit; Not Applicable
EInvoiceRegName_SupplierformNVARCHAR(300)NoE-Invoice Registration Name Supplier
EInvoiceRegTIN_SupplierformNVARCHAR(40)NoE-Invoice Registration TIN Supplier
EInvoiceRegNumber_SupplierformNVARCHAR(40)NoE-Invoice Registration Number Supplier
EInvoiceSupplierIsMalaysianformNVARCHAR(1)YesE-Invoice Supplier Is Malaysian. Y/N
EInvoiceSupplierRegTypeformNVARCHAR(20)NoE-Invoice Supplier Registration Type. NRIC/BRN/PASSPORT/ARMY
EInvoiceRegSSTNumber_SupplierformNVARCHAR(40)NoE-Invoice Registration SST Number Supplier
EInvoiceRegTourismTaxRegNumber_SupplierformNVARCHAR(40)NoE-Invoice Tourism Tax Registration Number Supplier
EInvoiceRegEmail_SupplierformNVARCHAR(320)NoE-Invoice Registration Email Supplier
AcEInvoiceSupplierMSICID_SupplierformNVARCHAR(5)NoE-Invoice MSIC Code Supplier
EInvoiceRegBusinessActivityDescription_SupplierformNVARCHAR(300)NoE-Invoice Business Activity Description (MSIC) Supplier
EInvoiceAddressLine0_SupplierformNVARCHAR(150)NoE-Invoice Address Line 0 Supplier
EInvoiceAddressLine1_SupplierformNVARCHAR(150)NoE-Invoice Address Line 1 Supplier
EInvoiceAddressLine2_SupplierformNVARCHAR(150)NoE-Invoice Address Line 2 Supplier
EInvoiceAddressPostalZone_SupplierformNVARCHAR(50)NoE-Invoice Address Postal Zone Buyer
EInvoiceAddressCityName_SupplierformNVARCHAR(50)NoE-Invoice Address City Name Supplier
AcEInvoiceAddressStateID_SupplierformNVARCHAR(20)NoE-Invoice Address State ID Supplier. 00 to 17
AcEInvoiceAddressCountryID_SupplierformNVARCHAR(20)NoE-Invoice Address Country ID Supplier. MYS
EInvoiceRegContactNumber_SupplierformNVARCHAR(20)NoE-Invoice Registration Contact Number Supplier
IsEnableEInvoiceMYSformNVARCHAR(1)NoE-Invoice Is Enabled. (Read-Only)
AcEInvoiceDocumentStatusIDformNVARCHAR(40)NoE-Invoice Document Status ID. (Read-Only). Valid;Invalid;Submitted;Cancelled
IsConsolidatedEInvoiceformNVARCHAR(1)NoE-Invoice Is Marked for Consolidated E-Invoice. Y/N. (Read-Only)
EInvoiceDocumentNumber_ConsolidatedformNVARCHAR(50)NoE-Invoice Consolidated E-Invoice Document Number. (Read-Only)
EInvoiceSubmissionUUIDformNVARCHAR(40)NoE-Invoice Submission UUID. (Read-Only)
EInvoiceValidationUUIDformNVARCHAR(40)NoE-Invoice Validation UUID. (Read-Only)
EInvoiceValidationDateTimeformDATETIMENoE-Invoice Validated Datetime. (Read-Only)
EInvoiceValidationLinkformNVARCHAR(MAX)NoE-Invoice Validation Link. (Read-Only)
AcSupRefundNoteDSimple_Currency Parameters:
NameParameterData TypeRequiredDescription
AcSupRefundNoteDIDformNVARCHAR(40)YesRecord ID. Recommend use GUID
AcSupRefundNoteMIDformNVARCHAR(20)YesRefund Note Number
ItemNoformINTYesItem Number
AcStockIDformNVARCHAR(40)YesStock ID
AcStockUOMIDformNVARCHAR(20)YesStock UOM ID
ItemUnitPriceformNUMERIC(18,4)YesItem Unit Price
ItemQuantityformNUMERIC(18,4)YesItem Quantity
ItemGrossTotalformNUMERIC(18,2)YesItem Gross Total. [Item Unit Price] x [Item Quantity]
ItemDiscountAmountformNUMERIC(18,2)YesItem Discount Amount
ItemTotalPriceformNUMERIC(18,2)YesItem Total Price. [(Unit Price x Quantity) - Discount Amount]
ItemRemark1formNVARCHAR(MAX)YesItem Remark 1
ItemLocalGrossTotalformNUMERIC(18,2)YesItem Gross Total in Local Currency.
ItemLocalDiscountAmountformNUMERIC(18,2)YesItem Discount Amount in Local Currency.
ItemLocalTotalPriceformNUMERIC(18,2)YesItem Total Amount in Local Currency.
ItemLocalGrossTotalWithGSTformNUMERIC(18,2)YesItem Gross Total with Tax Inclusive in Local Currency
ItemLocalGrossTotalWithoutGSTformNUMERIC(18,2)YesItem Gross Total without Tax Inclusive in Local Currency
ItemLocalDiscountAmountWithGSTformNUMERIC(18,2)YesItem Discount Amount with Tax Inclusive in Local Currency
ItemLocalDiscountAmountWithoutGSTformNUMERIC(18,2)YesItem Discount Amount without Tax Inclusive in Local Currency
ItemLocalTotalPriceWithGSTformNUMERIC(18,2)YesItem Total Amount with Tax Inclusive in Local Currency
ItemLocalTotalPriceWithoutGSTformNUMERIC(18,2)YesItem Total Amount without Tax Inclusive in Local Currency
AcEInvoiceItemClassificationIDformNVARCHAR(20)NoE-Invoice Item Classification Code (Read-Only)
AcEInvoiceItemTaxTypeIDformNVARCHAR(20)NoE-Invoice Item Tax Type Code (Read-Only)
AcSupRefundNotePaySimple_Currency Parameters:
NameParameterData TypeRequiredDescription
AcSupRefundNoteMIDformNVARCHAR(20)YesRefund Note Number
ItemNoformINTYesItem Number
AcBillPaymentMethodIDformNVARCHAR(20)YesBill Payment Method ID
ItemReferenceNumberformNVARCHAR(100)NoReference Number
ItemRemark1formNVARCHAR(MAX)YesItem Remark 1
ItemCurrencyPaymentAmountformNUMERIC(18,2)YesItem Currency Payment Amount

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 /SupplierRefundNotes/Currency/simple/page/{Page} HTTP/1.1 
Host: snr2u.com 
Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"RefundNotes":[{"DocumentHeader":{"AcSupRefundNoteMID":"String","AcSupplierID":"String","AcLocationID":"String","DocumentDate":"\/Date(-62135596800000-0000)\/","AcTermID":"String","SupplierRefundNoteNumber":"String","DocumentNetAmount":0,"DocumentCentBalance":0,"DocumentFinalAmount":0,"AcSupInvoiceMID":"String","DocumentReason":"String","RefDocumentNo":"String","DocumentRemark":"String","ExtraRemark1":"String","ExtraRemark2":"String","ExtraRemark3":"String","ExtraRemark4":"String","EditDate":"\/Date(-62135596800000-0000)\/","AcCurrencyID":"String","CurrencyRate":0,"DocumentLocalItemTotalPrice":0,"DocumentLocalDiscountAmount":0,"DocumentLocalNetAmount":0,"DocumentLocalCentBalance":0,"DocumentLocalFinalAmount":0,"DocumentItemLocalGSTAmount":0,"DocumentLocalItemGrossTotal":0,"DocumentLocalItemGrossTotalWithGST":0,"DocumentLocalItemGrossTotalWithoutGST":0,"DocumentLocalItemDiscountTotalWithGST":0,"DocumentLocalItemDiscountTotalWithoutGST":0,"IsUseTransactionSupplierElement":false,"AcEInvoiceDocumentFlowID":"String","EInvoiceRegName_Supplier":"String","EInvoiceRegTIN_Supplier":"String","EInvoiceRegNumber_Supplier":"String","EInvoiceSupplierIsMalaysian":"String","EInvoiceSupplierRegType":"String","EInvoiceRegSSTNumber_Supplier":"String","EInvoiceRegTourismTaxRegNumber_Supplier":"String","EInvoiceRegEmail_Supplier":"String","AcEInvoiceSupplierMSICID_Supplier":"String","EInvoiceRegBusinessActivityDescription_Supplier":"String","EInvoiceAddressLine0_Supplier":"String","EInvoiceAddressLine1_Supplier":"String","EInvoiceAddressLine2_Supplier":"String","EInvoiceAddressPostalZone_Supplier":"String","EInvoiceAddressCityName_Supplier":"String","AcEInvoiceAddressStateID_Supplier":"String","AcEInvoiceAddressCountryID_Supplier":"String","EInvoiceRegContactNumber_Supplier":"String","IsEnableEInvoiceMYS":"String","AcEInvoiceDocumentStatusID":"String","IsConsolidatedEInvoice":"String","EInvoiceDocumentNumber_Consolidated":"String","EInvoiceSubmissionUUID":"String","EInvoiceValidationUUID":"String","EInvoiceValidationDateTime":"\/Date(-62135596800000-0000)\/","EInvoiceValidationLink":"String"},"DocumentDetails":[{"AcSupRefundNoteDID":"String","AcSupRefundNoteMID":"String","ItemNo":0,"AcStockID":"String","AcStockUOMID":"String","ItemUnitPrice":0,"ItemQuantity":0,"ItemGrossTotal":0,"ItemDiscountAmount":0,"ItemTotalPrice":0,"ItemRemark1":"String","ItemLocalGrossTotal":0,"ItemLocalDiscountAmount":0,"ItemLocalTotalPrice":0,"ItemLocalGrossTotalWithGST":0,"ItemLocalGrossTotalWithoutGST":0,"ItemLocalDiscountAmountWithGST":0,"ItemLocalDiscountAmountWithoutGST":0,"ItemLocalTotalPriceWithGST":0,"ItemLocalTotalPriceWithoutGST":0,"AcEInvoiceItemClassificationID":"String","AcEInvoiceItemTaxTypeID":"String"}],"DocumentPaymentDetails":[{"AcSupRefundNoteMID":"String","ItemNo":0,"AcBillPaymentMethodID":"String","ItemReferenceNumber":"String","ItemRemark1":"String","ItemCurrencyPaymentAmount":0}]}],"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}