POST SalesInvoice/M_AccountSalesMaster_UpdateWithReportedZatcaInfo
Request Information
URI Parameters
None.
Body Parameters
AccountSalesMaster| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | decimal number |
None. |
|
| AccSalesNo | decimal number |
None. |
|
| AccSalesTypeNo | integer |
None. |
|
| AccSalesBranch | integer |
None. |
|
| AccSalesDate | date |
None. |
|
| Notes | string |
None. |
|
| Total | decimal number |
None. |
|
| CAccountNo | string |
None. |
|
| DAccountNo | string |
None. |
|
| Discount | decimal number |
None. |
|
| DiscountPercentage | decimal number |
None. |
|
| InventoryAccountId | integer |
None. |
|
| PoNo | string |
None. |
|
| Net | decimal number |
None. |
|
| Tax | decimal number |
None. |
|
| Final | decimal number |
None. |
|
| Link | string |
None. |
|
| Reference | string |
None. |
|
| CurrencyID | integer |
None. |
|
| TotalExtraCharge | decimal number |
None. |
|
| PolicyNo | decimal number |
None. |
|
| PackageNo | decimal number |
None. |
|
| Weight | decimal number |
None. |
|
| NoticeNum | decimal number |
None. |
|
| Shipper | string |
None. |
|
| ShipperLine | string |
None. |
|
| Imo | string |
None. |
|
| SupplyDate | date |
None. |
|
| Currency | decimal number |
None. |
|
| Cash | decimal number |
None. |
|
| InvoiceTypeNo | integer |
None. |
|
| InvoiceType | integer |
None. |
|
| PaymentType | integer |
None. |
|
| UserId | string |
None. |
|
| PaymentTerms | integer |
None. |
|
| Paid | boolean |
None. |
|
| DelegateID | integer |
None. |
|
| TypeSalesPurchasesID | integer |
None. |
|
| IsFiexdAsset | boolean |
None. |
|
| ModifiedBy | string |
None. |
|
| ModifiedOn | date |
None. |
|
| CreatedBy | string |
None. |
|
| CreateDate | date |
None. |
|
| oDBPaymentType | DBPaymentType |
None. |
|
| oAccountTable | AccountTable |
None. |
|
| oCentersCostsTable | CentersCostsTable |
None. |
|
| oTransTypeTable | TransTypeTable |
None. |
|
| oCurrencyTable | CurrencyTable |
None. |
|
| oBranchTable | CompanyBranch |
None. |
|
| oLAccountTable | Collection of AccountTable |
None. |
|
| oLCentersCostsTable | Collection of CentersCostsTable |
None. |
|
| oLTransTypeTable | Collection of TransTypeTable |
None. |
|
| oLCurrencyTable | Collection of CurrencyTable |
None. |
|
| oLBranchTable | Collection of CompanyBranch |
None. |
|
| oLInvoiceEdit | Collection of InvoiceEdit |
None. |
|
| oCustomerInformation | CustomerInformation |
None. |
|
| InvoiceToSave | string |
None. |
|
| ReferenceInvoiceDate | date |
None. |
|
| ZatcaOrder | integer |
None. |
|
| InvoiceHash | string |
None. |
|
| ReportedToZatca | boolean |
None. |
|
| ReportingResult | string |
None. |
|
| ReportingStatus | string |
None. |
|
| QrCode | string |
None. |
|
| SignedXml | string |
None. |
|
| ZatcaSubmissionDate | date |
None. |
|
| ZatcaInvoiceType | integer |
None. |
|
| ZatcaInvoiceTypeCode | integer |
None. |
|
| BranchId | integer |
None. |
|
| CompanyId | integer |
None. |
|
| IsSpot | boolean |
None. |
|
| CustomerId | integer |
None. |
|
| TotalReportedInvoice | integer |
None. |
|
| Fk_AgreementId | integer |
None. |
|
| ReservationNo | string |
None. |
|
| SupplierInvoiceNo | string |
None. |
Request Formats
application/json
Sample:
Sample not available.
text/json
Sample:
Sample not available.
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Response| Name | Description | Type | Additional information |
|---|---|---|---|
| ErrorCode | integer |
None. |
|
| ErrorMessage | string |
None. |
|
| IsScusses | boolean |
None. |
|
| ResponseDetails | Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"ErrorCode": 1,
"ErrorMessage": "sample string 2",
"IsScusses": true,
"ResponseDetails": {}
}
application/xml, text/xml
Sample:
<Response xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Accounting.API.Models"> <ErrorCode>1</ErrorCode> <ErrorMessage>sample string 2</ErrorMessage> <IsScusses>true</IsScusses> <ResponseDetails /> </Response>