Required permission: | CustomerCashSale-Transaction.ADD |
POST | /CustomerCashSales/simple | Create a record for Customer Cash Sales | DocumentNo is a primary key |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
CustomerCashSale | body | CustomerCashSaleSimple | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
DocumentHeader | form | DocumentHeader | Yes | Cash Sales Header - Primary Key: DocumentNo |
DocumentDetails | form | DocumentDetails | Yes | Cash Sales Details - Primary Key: DocumentNo, ItemNo |
DocumentPaymentDetails | form | DocumentPaymentDetails | Yes | Cash Sales Payment Details - Primary Key: DocumentNo, ItemNo |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
DocumentNo | form | NVARCHAR(20) | Yes | Cash Sales Number |
AcCompanyID | form | NVARCHAR(20) | Yes | Company ID |
AcLocationID | form | NVARCHAR(20) | Yes | Location ID |
AcTerminalID | form | NVARCHAR(20) | Yes | Terminal ID. Eg: 01, 02, 03. |
AcCustomerID | form | NVARCHAR(20) | Yes | Customer ID |
AcSalesmanID | form | NVARCHAR(20) | Yes | Salesman ID |
DocumentDate | form | DATE | Yes | Document Date |
DocumentTime | form | DATETIME | Yes | Document Time |
AcPersonalID | form | NVARCHAR(20) | Yes | Cashier ID |
DocumentRemark | form | NVARCHAR(100) | No | Document Remark |
AmountChange | form | NUMERIC(18,2) | Yes | Change of Amount |
AmountCentBalance | form | NUMERIC(18,2) | Yes | Round Cent Adjustment Amount |
AmountNet | form | NUMERIC(18,2) | Yes | Net Amount. Before Round Cent Adjustment |
AmountFinal | form | NUMERIC(18,2) | Yes | Final Amount. After Round Cent Adjustment |
ShipToRemark | form | NVARCHAR(100) | No | Ship To: Remark |
ShipToShipVia | form | NVARCHAR(20) | No | Ship To: Ship Via |
ShipToAddress1 | form | NVARCHAR(MAX) | No | Ship To: Address 1 |
ShipToAddress2 | form | NVARCHAR(100) | No | Ship To: Address 2 |
ShipToAddress3 | form | NVARCHAR(100) | No | Ship To: Address 3 |
ShipToAddress4 | form | NVARCHAR(100) | No | Ship To: Address 4 |
ShipToPhone1 | form | NVARCHAR(100) | No | Ship To: Phone 1 |
ShipToPhone2 | form | NVARCHAR(100) | No | Ship To: Phone 1 |
ShipToFax | form | NVARCHAR(100) | No | Ship To: Fax |
ShipToContact1 | form | NVARCHAR(100) | No | Ship To: Contact 1 |
ShipToContact2 | form | NVARCHAR(100) | No | Ship To: Contact 2 |
ShipToAttention | form | NVARCHAR(100) | No | Ship To: Attention |
EditDate | form | DATETIME | Yes | Edit Date |
IsUseTransactionBuyerElement | form | NVARCHAR(100) | No | Use Transaction's Buyer Element?. True: Buyer Elements will stored based on provided value; False: Buyer Elements will stored based on Customer Profile's E-Invoice Elements |
AcEInvoiceDocumentFlowID | form | NVARCHAR(100) | No | E-Invoice Document Flow ID. Open; Ready to Submit; Not Applicable |
EInvoiceRegName_Buyer | form | NVARCHAR(300) | No | E-Invoice Registration Name Buyer |
EInvoiceRegTIN_Buyer | form | NVARCHAR(40) | No | E-Invoice Registration TIN Buyer |
EInvoiceRegNumber_Buyer | form | NVARCHAR(40) | No | E-Invoice Registration Number Buyer |
EInvoiceBuyerIsMalaysian | form | NVARCHAR(1) | Yes | E-Invoice Buyer Is Malaysian. Y/N |
EInvoiceBuyerRegType | form | NVARCHAR(20) | No | E-Invoice Buyer Registration Type. NRIC/BRN/PASSPORT/ARMY |
EInvoiceRegSSTNumber_Buyer | form | NVARCHAR(40) | No | E-Invoice Registration SST Number Buyer |
EInvoiceRegEmail_Buyer | form | NVARCHAR(320) | No | E-Invoice Registration Email Buyer |
EInvoiceAddressLine0_Buyer | form | NVARCHAR(150) | No | E-Invoice Address Line 0 Buyer |
EInvoiceAddressLine1_Buyer | form | NVARCHAR(150) | No | E-Invoice Address Line 1 Buyer |
EInvoiceAddressLine2_Buyer | form | NVARCHAR(150) | No | E-Invoice Address Line 2 Buyer |
EInvoiceAddressPostalZone_Buyer | form | NVARCHAR(50) | No | E-Invoice Address Postal Zone Buyer |
EInvoiceAddressCityName_Buyer | form | NVARCHAR(50) | No | E-Invoice Address City Name Buyer |
AcEInvoiceAddressStateID_Buyer | form | NVARCHAR(20) | No | E-Invoice Address State ID Buyer. 00 to 17 |
AcEInvoiceAddressCountryID_Buyer | form | NVARCHAR(20) | No | E-Invoice Address Country ID Buyer. MYS |
EInvoiceRegContactNumber_Buyer | form | NVARCHAR(20) | No | E-Invoice Registration Contact Number Buyer |
IsEnableEInvoiceMYS | form | NVARCHAR(1) | No | E-Invoice Is Enabled. (Read-Only) |
AcEInvoiceDocumentStatusID | form | NVARCHAR(40) | No | E-Invoice Document Status ID. (Read-Only). Valid;Invalid;Submitted;Cancelled |
IsConsolidatedEInvoice | form | NVARCHAR(1) | No | E-Invoice Is Marked for Consolidated E-Invoice. Y/N. (Read-Only) |
EInvoiceDocumentNumber_Consolidated | form | NVARCHAR(50) | No | E-Invoice Consolidated E-Invoice Document Number. (Read-Only) |
EInvoiceSubmissionUUID | form | NVARCHAR(40) | No | E-Invoice Submission UUID. (Read-Only) |
EInvoiceValidationUUID | form | NVARCHAR(40) | No | E-Invoice Validation UUID. (Read-Only) |
EInvoiceValidationDateTime | form | DATETIME | No | E-Invoice Validated Datetime. (Read-Only) |
EInvoiceValidationLink | form | NVARCHAR(MAX) | No | E-Invoice Validation Link. (Read-Only) |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
DocumentNo | form | NVARCHAR(20) | Yes | Cash Sales Number |
ItemNo | form | INTEGER | Yes | Item Number |
AcStockID | form | NVARCHAR(20) | No | Stock ID |
AcStockUOMID | form | NVARCHAR(20) | No | Stock UOM ID |
ItemUnitPrice | form | NUMERIC(18,4) | Yes | Item Unit Price. (Tax Exclusive, Data stored to column ItemPrice) |
ItemQuantity | form | NUMERIC(18,4) | Yes | Item Quantity |
ItemGrossTotal | form | NUMERIC(18,2) | Yes | Item Gross Total. [Item Unit Price] x [Item Quantity]. (Data stored to column ItemAmount) |
ItemDiscountAmount | form | NUMERIC(18,2) | Yes | Item Discount Amount |
ItemTotalPrice | form | NUMERIC(18,2) | Yes | Item Total Price. (Exclusive Tax) [(Unit Price x Quantity) - Discount Amount]. (Data stored to column ItemTotal) |
ItemRemark1 | form | NVARCHAR(MAX) | No | Item Remark 1 aka Item Notes. (Data stored to column ItemNotes) |
IsUsePurchaseAccount | form | NVARCHAR(1) | Yes | Use Purchase Account? Y/N. Default N. If Y, then stock's purchase account would be used instead. Applicable to Quantity less than zero only. |
AcTaxID | form | NVARCHAR(20) | No | Tax ID. Only Available in Malaysia. |
ItemIsGSTExclusive | form | NVARCHAR(1) | Yes | REQUEST DO NOT USE. Indicate Is GST Exclusive (Y/N) |
ItemGSTPercent | form | NUMERIC(18,2) | Yes | REQUEST DO NOT USE. Item GST Percent |
ItemPriceInput | form | NUMERIC(18,4) | No | REQUEST DO NOT USE. Item Price Input |
ItemPriceWithGST | form | NUMERIC(18,6) | No | REQUEST DO NOT USE. Item Price with GST |
ItemPriceWithoutGST | form | NUMERIC(18,6) | No | REQUEST DO NOT USE. Item Price without GST |
ItemDiscountAmountWithGST | form | NUMERIC(18,6) | No | REQUEST DO NOT USE. Item Discount Amount with GST |
ItemDiscountAmountWithoutGST | form | NUMERIC(18,6) | No | REQUEST DO NOT USE. Item Discount Amount without GST |
ItemTotalWithGST | form | NUMERIC(18,6) | Yes | REQUEST DO NOT USE. Item Total Amount with Tax [((Unit Price x Quantity) - Discount Amount) * Tax] (Data stored to column ItemTotalWithGST) |
ItemGSTAmount | form | NUMERIC(18,6) | No | Item total Tax/GST Amount |
ItemTotalWithoutGST | form | NUMERIC(18,6) | No | REQUEST DO NOT USE. Item Total Amount without GST |
AccountNoGST | form | NVARCHAR(20) | No | Account No - GST. *Required if has AcTaxID |
AcCSDSerialSimples | form | List | No | Item Serial Number List. |
AcCSDMifareSimples | form | List | No | Item Mifare Transaction List. |
AcEInvoiceItemClassificationID | form | NVARCHAR(20) | No | E-Invoice Item Classification Code (Read-Only) |
AcEInvoiceItemTaxTypeID | form | NVARCHAR(20) | No | E-Invoice Item Tax Type Code (Read-Only) |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
AcCSDSerialID | form | NVARCHAR(40) | Yes | Primary Key |
DocumentNo | form | NVARCHAR(20) | Yes | Cash Sales Number |
ItemNo | form | INTEGER | Yes | Item Number (Referred to AcCSD.ItemNo) |
AcStockID | form | NVARCHAR(20) | Yes | Stock ID |
AcStockUOMID | form | NVARCHAR(20) | Yes | Stock UOM ID |
StockSerialNumber | form | NVARCHAR(40) | Yes | Stock Serial Number |
ItemQuantity | form | INT | Yes | Item Quantity. Always 1. |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
AcCSDMifareID | form | BIGINT | Yes | Primary Key |
DocumentNo | form | NVARCHAR(20) | Yes | Cash Sales Number |
ItemNo | form | INTEGER | Yes | Item Number (Referred to AcCSD.ItemNo) |
RecordID | form | BIGINT | Yes | Record ID |
TrxType | form | NVARCHAR(10) | Yes | Transaction Type. Activate; Redeem; Refund; TopUp |
AcMifareCardID | form | NVARCHAR(20) | Yes | MIFARE Card ID |
MifareActivateDate | form | DATETIME | Yes | Activate Date |
MifareActivateNoOfDay | form | INT | Yes | Activate Number of Days |
MifareNoOfEntrance | form | INT | Yes | Number of Entrance |
MifareOpenCredit | form | NUMERIC(18,2) | Yes | Open Credit Amount |
MifareCredit | form | NUMERIC(18,2) | Yes | Credit Amount |
MifareCreditBalance | form | NUMERIC(18,2) | Yes | Credit Balance Amount |
CreateBy | form | NVARCHAR(20) | Yes | Create By |
CreateDate | form | DATETIME | Yes | Create Date |
EditBy | form | NVARCHAR(20) | Yes | Edit By |
EditDate | form | DATETIME | Yes | Create Date |
Stamp | form | INT | Yes | Record Stamp. Always 0 |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
DocumentNo | form | NVARCHAR(20) | Yes | Cash Sales Number |
ItemNo | form | INTEGER | Yes | Item Number |
AcPaymentCode | form | NVARCHAR(20) | Yes | Payment Code |
Amount | form | NUMERIC(18,2) | Yes | Payment Amount |
CardNo | form | NVARCHAR(50) | No | Card Number. Credit Card Number |
ApprovalCode | form | NVARCHAR(20) | No | Approval Code. Bank or E-Wallet Approval Code |
BankName | form | NVARCHAR(100) | No | Bank Name |
CardName | form | NVARCHAR(100) | No | Card Holder Name |
EwalletPaymentType | form | NVARCHAR(50) | No | EWallet Payment Type |
PaymentType | form | NVARCHAR(10) | No | Internal Verification Used. Leave it blank. CASH;CARD;OTHER (OTHER; VOUCHER; 88UNIFIED; BOOST; FASSPAY; INCARD; SARAWAKPAY; SHOPPE2GO; WECHATPAY) |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
CustomerCashSale | form | CustomerCashSaleSimple | No | |
ResponseStatus | form | ResponseStatus | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /CustomerCashSales/simple HTTP/1.1
Host: snr2u.com
Accept: application/xml
Content-Type: application/xml
Content-Length: length
<CreateCustomerCashSaleSimple xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SmartDynaModWebAPI.ServiceModel">
<CustomerCashSale xmlns:d2p1="http://schemas.datacontract.org/2004/07/SmartDynaModWebAPI.ServiceModel.Types">
<d2p1:DocumentDetails>
<d2p1:AcCSDSimple>
<d2p1:AcCSDMifareSimples>
<d2p1:AcCSDMifareSimple>
<d2p1:AcCSDMifareID>0</d2p1:AcCSDMifareID>
<d2p1:AcMifareCardID>String</d2p1:AcMifareCardID>
<d2p1:CreateBy>String</d2p1:CreateBy>
<d2p1:CreateDate>0001-01-01T00:00:00</d2p1:CreateDate>
<d2p1:DocumentNo>String</d2p1:DocumentNo>
<d2p1:EditBy>String</d2p1:EditBy>
<d2p1:EditDate>0001-01-01T00:00:00</d2p1:EditDate>
<d2p1:ItemNo>0</d2p1:ItemNo>
<d2p1:MifareActivateDate>0001-01-01T00:00:00</d2p1:MifareActivateDate>
<d2p1:MifareActivateNoOfDay>0</d2p1:MifareActivateNoOfDay>
<d2p1:MifareCredit>0</d2p1:MifareCredit>
<d2p1:MifareCreditBalance>0</d2p1:MifareCreditBalance>
<d2p1:MifareNoOfEntrance>0</d2p1:MifareNoOfEntrance>
<d2p1:MifareOpenCredit>0</d2p1:MifareOpenCredit>
<d2p1:RecordID>0</d2p1:RecordID>
<d2p1:Stamp>0</d2p1:Stamp>
<d2p1:TrxType>String</d2p1:TrxType>
</d2p1:AcCSDMifareSimple>
</d2p1:AcCSDMifareSimples>
<d2p1:AcCSDSerialSimples>
<d2p1:AcCSDSerialSimple>
<d2p1:AcCSDSerialID>String</d2p1:AcCSDSerialID>
<d2p1:AcStockID>String</d2p1:AcStockID>
<d2p1:AcStockUOMID>String</d2p1:AcStockUOMID>
<d2p1:DocumentNo>String</d2p1:DocumentNo>
<d2p1:ItemNo>0</d2p1:ItemNo>
<d2p1:ItemQuantity>0</d2p1:ItemQuantity>
<d2p1:StockSerialNumber>String</d2p1:StockSerialNumber>
</d2p1:AcCSDSerialSimple>
</d2p1:AcCSDSerialSimples>
<d2p1:AcEInvoiceItemClassificationID>String</d2p1:AcEInvoiceItemClassificationID>
<d2p1:AcEInvoiceItemTaxTypeID>String</d2p1:AcEInvoiceItemTaxTypeID>
<d2p1:AcStockID>String</d2p1:AcStockID>
<d2p1:AcStockUOMID>String</d2p1:AcStockUOMID>
<d2p1:AcTaxID>String</d2p1:AcTaxID>
<d2p1:AccountNoGST>String</d2p1:AccountNoGST>
<d2p1:DocumentNo>String</d2p1:DocumentNo>
<d2p1:IsUsePurchaseAccount>String</d2p1:IsUsePurchaseAccount>
<d2p1:ItemDiscountAmount>0</d2p1:ItemDiscountAmount>
<d2p1:ItemDiscountAmountWithGST>0</d2p1:ItemDiscountAmountWithGST>
<d2p1:ItemDiscountAmountWithoutGST>0</d2p1:ItemDiscountAmountWithoutGST>
<d2p1:ItemGSTAmount>0</d2p1:ItemGSTAmount>
<d2p1:ItemGSTPercent>0</d2p1:ItemGSTPercent>
<d2p1:ItemGrossTotal>0</d2p1:ItemGrossTotal>
<d2p1:ItemIsGSTExclusive>String</d2p1:ItemIsGSTExclusive>
<d2p1:ItemNo>0</d2p1:ItemNo>
<d2p1:ItemPriceInput>0</d2p1:ItemPriceInput>
<d2p1:ItemPriceWithGST>0</d2p1:ItemPriceWithGST>
<d2p1:ItemPriceWithoutGST>0</d2p1:ItemPriceWithoutGST>
<d2p1:ItemQuantity>0</d2p1:ItemQuantity>
<d2p1:ItemRemark1>String</d2p1:ItemRemark1>
<d2p1:ItemTotalPrice>0</d2p1:ItemTotalPrice>
<d2p1:ItemTotalWithGST>0</d2p1:ItemTotalWithGST>
<d2p1:ItemTotalWithoutGST>0</d2p1:ItemTotalWithoutGST>
<d2p1:ItemUnitPrice>0</d2p1:ItemUnitPrice>
</d2p1:AcCSDSimple>
</d2p1:DocumentDetails>
<d2p1:DocumentHeader>
<d2p1:AcCompanyID>String</d2p1:AcCompanyID>
<d2p1:AcCustomerID>String</d2p1:AcCustomerID>
<d2p1:AcEInvoiceAddressCountryID_Buyer>String</d2p1:AcEInvoiceAddressCountryID_Buyer>
<d2p1:AcEInvoiceAddressStateID_Buyer>String</d2p1:AcEInvoiceAddressStateID_Buyer>
<d2p1:AcEInvoiceDocumentFlowID>String</d2p1:AcEInvoiceDocumentFlowID>
<d2p1:AcEInvoiceDocumentStatusID>String</d2p1:AcEInvoiceDocumentStatusID>
<d2p1:AcLocationID>String</d2p1:AcLocationID>
<d2p1:AcPersonalID>String</d2p1:AcPersonalID>
<d2p1:AcSalesmanID>String</d2p1:AcSalesmanID>
<d2p1:AcTerminalID>String</d2p1:AcTerminalID>
<d2p1:AmountCentBalance>0</d2p1:AmountCentBalance>
<d2p1:AmountChange>0</d2p1:AmountChange>
<d2p1:AmountFinal>0</d2p1:AmountFinal>
<d2p1:AmountNet>0</d2p1:AmountNet>
<d2p1:DocumentDate>0001-01-01T00:00:00</d2p1:DocumentDate>
<d2p1:DocumentNo>String</d2p1:DocumentNo>
<d2p1:DocumentRemark>String</d2p1:DocumentRemark>
<d2p1:DocumentTime>0001-01-01T00:00:00</d2p1:DocumentTime>
<d2p1:EInvoiceAddressCityName_Buyer>String</d2p1:EInvoiceAddressCityName_Buyer>
<d2p1:EInvoiceAddressLine0_Buyer>String</d2p1:EInvoiceAddressLine0_Buyer>
<d2p1:EInvoiceAddressLine1_Buyer>String</d2p1:EInvoiceAddressLine1_Buyer>
<d2p1:EInvoiceAddressLine2_Buyer>String</d2p1:EInvoiceAddressLine2_Buyer>
<d2p1:EInvoiceAddressPostalZone_Buyer>String</d2p1:EInvoiceAddressPostalZone_Buyer>
<d2p1:EInvoiceBuyerIsMalaysian>String</d2p1:EInvoiceBuyerIsMalaysian>
<d2p1:EInvoiceBuyerRegType>String</d2p1:EInvoiceBuyerRegType>
<d2p1:EInvoiceDocumentNumber_Consolidated>String</d2p1:EInvoiceDocumentNumber_Consolidated>
<d2p1:EInvoiceRegContactNumber_Buyer>String</d2p1:EInvoiceRegContactNumber_Buyer>
<d2p1:EInvoiceRegEmail_Buyer>String</d2p1:EInvoiceRegEmail_Buyer>
<d2p1:EInvoiceRegName_Buyer>String</d2p1:EInvoiceRegName_Buyer>
<d2p1:EInvoiceRegNumber_Buyer>String</d2p1:EInvoiceRegNumber_Buyer>
<d2p1:EInvoiceRegSSTNumber_Buyer>String</d2p1:EInvoiceRegSSTNumber_Buyer>
<d2p1:EInvoiceRegTIN_Buyer>String</d2p1:EInvoiceRegTIN_Buyer>
<d2p1:EInvoiceSubmissionUUID>String</d2p1:EInvoiceSubmissionUUID>
<d2p1:EInvoiceValidationDateTime>0001-01-01T00:00:00</d2p1:EInvoiceValidationDateTime>
<d2p1:EInvoiceValidationLink>String</d2p1:EInvoiceValidationLink>
<d2p1:EInvoiceValidationUUID>String</d2p1:EInvoiceValidationUUID>
<d2p1:EditDate>0001-01-01T00:00:00</d2p1:EditDate>
<d2p1:IsConsolidatedEInvoice>String</d2p1:IsConsolidatedEInvoice>
<d2p1:IsEnableEInvoiceMYS>String</d2p1:IsEnableEInvoiceMYS>
<d2p1:IsUseTransactionBuyerElement>false</d2p1:IsUseTransactionBuyerElement>
<d2p1:ShipToAddress1>String</d2p1:ShipToAddress1>
<d2p1:ShipToAddress2>String</d2p1:ShipToAddress2>
<d2p1:ShipToAddress3>String</d2p1:ShipToAddress3>
<d2p1:ShipToAddress4>String</d2p1:ShipToAddress4>
<d2p1:ShipToAttention>String</d2p1:ShipToAttention>
<d2p1:ShipToContact1>String</d2p1:ShipToContact1>
<d2p1:ShipToContact2>String</d2p1:ShipToContact2>
<d2p1:ShipToFax>String</d2p1:ShipToFax>
<d2p1:ShipToPhone1>String</d2p1:ShipToPhone1>
<d2p1:ShipToPhone2>String</d2p1:ShipToPhone2>
<d2p1:ShipToRemark>String</d2p1:ShipToRemark>
<d2p1:ShipToShipVia>String</d2p1:ShipToShipVia>
</d2p1:DocumentHeader>
<d2p1:DocumentPaymentDetails>
<d2p1:AcCSMPaymentSimple>
<d2p1:AcPaymentCode>String</d2p1:AcPaymentCode>
<d2p1:Amount>0</d2p1:Amount>
<d2p1:ApprovalCode>String</d2p1:ApprovalCode>
<d2p1:BankName>String</d2p1:BankName>
<d2p1:CardName>String</d2p1:CardName>
<d2p1:CardNo>String</d2p1:CardNo>
<d2p1:DocumentNo>String</d2p1:DocumentNo>
<d2p1:EwalletPaymentType>String</d2p1:EwalletPaymentType>
<d2p1:ItemNo>String</d2p1:ItemNo>
<d2p1:PaymentType>String</d2p1:PaymentType>
</d2p1:AcCSMPaymentSimple>
</d2p1:DocumentPaymentDetails>
</CustomerCashSale>
</CreateCustomerCashSaleSimple>
HTTP/1.1 200 OK Content-Type: application/xml Content-Length: length <CreateCustomerCashSaleSimpleResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SmartDynaModWebAPI.ServiceModel"> <CustomerCashSale xmlns:d2p1="http://schemas.datacontract.org/2004/07/SmartDynaModWebAPI.ServiceModel.Types"> <d2p1:DocumentDetails> <d2p1:AcCSDSimple> <d2p1:AcCSDMifareSimples> <d2p1:AcCSDMifareSimple> <d2p1:AcCSDMifareID>0</d2p1:AcCSDMifareID> <d2p1:AcMifareCardID>String</d2p1:AcMifareCardID> <d2p1:CreateBy>String</d2p1:CreateBy> <d2p1:CreateDate>0001-01-01T00:00:00</d2p1:CreateDate> <d2p1:DocumentNo>String</d2p1:DocumentNo> <d2p1:EditBy>String</d2p1:EditBy> <d2p1:EditDate>0001-01-01T00:00:00</d2p1:EditDate> <d2p1:ItemNo>0</d2p1:ItemNo> <d2p1:MifareActivateDate>0001-01-01T00:00:00</d2p1:MifareActivateDate> <d2p1:MifareActivateNoOfDay>0</d2p1:MifareActivateNoOfDay> <d2p1:MifareCredit>0</d2p1:MifareCredit> <d2p1:MifareCreditBalance>0</d2p1:MifareCreditBalance> <d2p1:MifareNoOfEntrance>0</d2p1:MifareNoOfEntrance> <d2p1:MifareOpenCredit>0</d2p1:MifareOpenCredit> <d2p1:RecordID>0</d2p1:RecordID> <d2p1:Stamp>0</d2p1:Stamp> <d2p1:TrxType>String</d2p1:TrxType> </d2p1:AcCSDMifareSimple> </d2p1:AcCSDMifareSimples> <d2p1:AcCSDSerialSimples> <d2p1:AcCSDSerialSimple> <d2p1:AcCSDSerialID>String</d2p1:AcCSDSerialID> <d2p1:AcStockID>String</d2p1:AcStockID> <d2p1:AcStockUOMID>String</d2p1:AcStockUOMID> <d2p1:DocumentNo>String</d2p1:DocumentNo> <d2p1:ItemNo>0</d2p1:ItemNo> <d2p1:ItemQuantity>0</d2p1:ItemQuantity> <d2p1:StockSerialNumber>String</d2p1:StockSerialNumber> </d2p1:AcCSDSerialSimple> </d2p1:AcCSDSerialSimples> <d2p1:AcEInvoiceItemClassificationID>String</d2p1:AcEInvoiceItemClassificationID> <d2p1:AcEInvoiceItemTaxTypeID>String</d2p1:AcEInvoiceItemTaxTypeID> <d2p1:AcStockID>String</d2p1:AcStockID> <d2p1:AcStockUOMID>String</d2p1:AcStockUOMID> <d2p1:AcTaxID>String</d2p1:AcTaxID> <d2p1:AccountNoGST>String</d2p1:AccountNoGST> <d2p1:DocumentNo>String</d2p1:DocumentNo> <d2p1:IsUsePurchaseAccount>String</d2p1:IsUsePurchaseAccount> <d2p1:ItemDiscountAmount>0</d2p1:ItemDiscountAmount> <d2p1:ItemDiscountAmountWithGST>0</d2p1:ItemDiscountAmountWithGST> <d2p1:ItemDiscountAmountWithoutGST>0</d2p1:ItemDiscountAmountWithoutGST> <d2p1:ItemGSTAmount>0</d2p1:ItemGSTAmount> <d2p1:ItemGSTPercent>0</d2p1:ItemGSTPercent> <d2p1:ItemGrossTotal>0</d2p1:ItemGrossTotal> <d2p1:ItemIsGSTExclusive>String</d2p1:ItemIsGSTExclusive> <d2p1:ItemNo>0</d2p1:ItemNo> <d2p1:ItemPriceInput>0</d2p1:ItemPriceInput> <d2p1:ItemPriceWithGST>0</d2p1:ItemPriceWithGST> <d2p1:ItemPriceWithoutGST>0</d2p1:ItemPriceWithoutGST> <d2p1:ItemQuantity>0</d2p1:ItemQuantity> <d2p1:ItemRemark1>String</d2p1:ItemRemark1> <d2p1:ItemTotalPrice>0</d2p1:ItemTotalPrice> <d2p1:ItemTotalWithGST>0</d2p1:ItemTotalWithGST> <d2p1:ItemTotalWithoutGST>0</d2p1:ItemTotalWithoutGST> <d2p1:ItemUnitPrice>0</d2p1:ItemUnitPrice> </d2p1:AcCSDSimple> </d2p1:DocumentDetails> <d2p1:DocumentHeader> <d2p1:AcCompanyID>String</d2p1:AcCompanyID> <d2p1:AcCustomerID>String</d2p1:AcCustomerID> <d2p1:AcEInvoiceAddressCountryID_Buyer>String</d2p1:AcEInvoiceAddressCountryID_Buyer> <d2p1:AcEInvoiceAddressStateID_Buyer>String</d2p1:AcEInvoiceAddressStateID_Buyer> <d2p1:AcEInvoiceDocumentFlowID>String</d2p1:AcEInvoiceDocumentFlowID> <d2p1:AcEInvoiceDocumentStatusID>String</d2p1:AcEInvoiceDocumentStatusID> <d2p1:AcLocationID>String</d2p1:AcLocationID> <d2p1:AcPersonalID>String</d2p1:AcPersonalID> <d2p1:AcSalesmanID>String</d2p1:AcSalesmanID> <d2p1:AcTerminalID>String</d2p1:AcTerminalID> <d2p1:AmountCentBalance>0</d2p1:AmountCentBalance> <d2p1:AmountChange>0</d2p1:AmountChange> <d2p1:AmountFinal>0</d2p1:AmountFinal> <d2p1:AmountNet>0</d2p1:AmountNet> <d2p1:DocumentDate>0001-01-01T00:00:00</d2p1:DocumentDate> <d2p1:DocumentNo>String</d2p1:DocumentNo> <d2p1:DocumentRemark>String</d2p1:DocumentRemark> <d2p1:DocumentTime>0001-01-01T00:00:00</d2p1:DocumentTime> <d2p1:EInvoiceAddressCityName_Buyer>String</d2p1:EInvoiceAddressCityName_Buyer> <d2p1:EInvoiceAddressLine0_Buyer>String</d2p1:EInvoiceAddressLine0_Buyer> <d2p1:EInvoiceAddressLine1_Buyer>String</d2p1:EInvoiceAddressLine1_Buyer> <d2p1:EInvoiceAddressLine2_Buyer>String</d2p1:EInvoiceAddressLine2_Buyer> <d2p1:EInvoiceAddressPostalZone_Buyer>String</d2p1:EInvoiceAddressPostalZone_Buyer> <d2p1:EInvoiceBuyerIsMalaysian>String</d2p1:EInvoiceBuyerIsMalaysian> <d2p1:EInvoiceBuyerRegType>String</d2p1:EInvoiceBuyerRegType> <d2p1:EInvoiceDocumentNumber_Consolidated>String</d2p1:EInvoiceDocumentNumber_Consolidated> <d2p1:EInvoiceRegContactNumber_Buyer>String</d2p1:EInvoiceRegContactNumber_Buyer> <d2p1:EInvoiceRegEmail_Buyer>String</d2p1:EInvoiceRegEmail_Buyer> <d2p1:EInvoiceRegName_Buyer>String</d2p1:EInvoiceRegName_Buyer> <d2p1:EInvoiceRegNumber_Buyer>String</d2p1:EInvoiceRegNumber_Buyer> <d2p1:EInvoiceRegSSTNumber_Buyer>String</d2p1:EInvoiceRegSSTNumber_Buyer> <d2p1:EInvoiceRegTIN_Buyer>String</d2p1:EInvoiceRegTIN_Buyer> <d2p1:EInvoiceSubmissionUUID>String</d2p1:EInvoiceSubmissionUUID> <d2p1:EInvoiceValidationDateTime>0001-01-01T00:00:00</d2p1:EInvoiceValidationDateTime> <d2p1:EInvoiceValidationLink>String</d2p1:EInvoiceValidationLink> <d2p1:EInvoiceValidationUUID>String</d2p1:EInvoiceValidationUUID> <d2p1:EditDate>0001-01-01T00:00:00</d2p1:EditDate> <d2p1:IsConsolidatedEInvoice>String</d2p1:IsConsolidatedEInvoice> <d2p1:IsEnableEInvoiceMYS>String</d2p1:IsEnableEInvoiceMYS> <d2p1:IsUseTransactionBuyerElement>false</d2p1:IsUseTransactionBuyerElement> <d2p1:ShipToAddress1>String</d2p1:ShipToAddress1> <d2p1:ShipToAddress2>String</d2p1:ShipToAddress2> <d2p1:ShipToAddress3>String</d2p1:ShipToAddress3> <d2p1:ShipToAddress4>String</d2p1:ShipToAddress4> <d2p1:ShipToAttention>String</d2p1:ShipToAttention> <d2p1:ShipToContact1>String</d2p1:ShipToContact1> <d2p1:ShipToContact2>String</d2p1:ShipToContact2> <d2p1:ShipToFax>String</d2p1:ShipToFax> <d2p1:ShipToPhone1>String</d2p1:ShipToPhone1> <d2p1:ShipToPhone2>String</d2p1:ShipToPhone2> <d2p1:ShipToRemark>String</d2p1:ShipToRemark> <d2p1:ShipToShipVia>String</d2p1:ShipToShipVia> </d2p1:DocumentHeader> <d2p1:DocumentPaymentDetails> <d2p1:AcCSMPaymentSimple> <d2p1:AcPaymentCode>String</d2p1:AcPaymentCode> <d2p1:Amount>0</d2p1:Amount> <d2p1:ApprovalCode>String</d2p1:ApprovalCode> <d2p1:BankName>String</d2p1:BankName> <d2p1:CardName>String</d2p1:CardName> <d2p1:CardNo>String</d2p1:CardNo> <d2p1:DocumentNo>String</d2p1:DocumentNo> <d2p1:EwalletPaymentType>String</d2p1:EwalletPaymentType> <d2p1:ItemNo>String</d2p1:ItemNo> <d2p1:PaymentType>String</d2p1:PaymentType> </d2p1:AcCSMPaymentSimple> </d2p1:DocumentPaymentDetails> </CustomerCashSale> <ResponseStatus xmlns:d2p1="http://schemas.servicestack.net/types"> <d2p1:ErrorCode>String</d2p1:ErrorCode> <d2p1:Message>String</d2p1:Message> <d2p1:StackTrace>String</d2p1:StackTrace> <d2p1:Errors> <d2p1:ResponseError> <d2p1:ErrorCode>String</d2p1:ErrorCode> <d2p1:FieldName>String</d2p1:FieldName> <d2p1:Message>String</d2p1:Message> <d2p1:Meta xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d5p1:KeyValueOfstringstring> <d5p1:Key>String</d5p1:Key> <d5p1:Value>String</d5p1:Value> </d5p1:KeyValueOfstringstring> </d2p1:Meta> </d2p1:ResponseError> </d2p1:Errors> <d2p1:Meta xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:KeyValueOfstringstring> <d3p1:Key>String</d3p1:Key> <d3p1:Value>String</d3p1:Value> </d3p1:KeyValueOfstringstring> </d2p1:Meta> </ResponseStatus> </CreateCustomerCashSaleSimpleResponse>