25/11/2024  09:37:11 AM : {
  "_D": "urn:oasis:names:specification:ubl:schema:xsd:Invoice-2",
  "_A": "urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2",
  "_B": "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2",
  "Invoice": [
    {
      "ID": [
        {
          "_": "212"
        }
      ],
      "IssueDate": [
        {
          "_": "2024-11-25"
        }
      ],
      "IssueTime": [
        {
          "_": "01:37:05Z"
        }
      ],
      "InvoiceTypeCode": [
        {
          "_": "01",
          "listVersionID": "1.0"
        }
      ],
      "DocumentCurrencyCode": [
        {
          "_": "MYR"
        }
      ],
      "TaxCurrencyCode": [
        {
          "_": "MYR"
        }
      ],
      "InvoicePeriod": [
        {
          "StartDate": [
            {
              "_": ""
            }
          ],
          "EndDate": [
            {
              "_": ""
            }
          ],
          "Description": [
            {
              "_": ""
            }
          ]
        }
      ],
      "BillingReference": [
        {
          "AdditionalDocumentReference": [
            {
              "ID": [
                {
                  "_": ""
                }
              ]
            }
          ],
          "InvoiceDocumentReference": [
            {
              "ID": [
                {
                  "_": ""
                }
              ],
              "UUID": [
                {
                  "_": "NA"
                }
              ]
            }
          ]
        }
      ],
      "AdditionalDocumentReference": [
        {
          "ID": [
            {
              "_": "FTA"
            }
          ],
          "DocumentType": [
            {
              "_": "FreeTradeAgreement"
            }
          ],
          "DocumentDescription": [
            {
              "_": ""
            }
          ]
        }
      ],
      "AccountingSupplierParty": [
        {
          "Party": [
            {
              "IndustryClassificationCode": [
                {
                  "_": "00000",
                  "name": "F&B"
                }
              ],
              "PartyIdentification": [
                {
                  "ID": [
                    {
                      "_": "IG21374668090",
                      "schemeID": "TIN"
                    }
                  ]
                },
                {
                  "ID": [
                    {
                      "_": "840108015071",
                      "schemeID": "BRN"
                    }
                  ]
                }
              ],
              "PostalAddress": [
                {
                  "CityName": [
                    {
                      "_": "Johor"
                    }
                  ],
                  "PostalZone": [
                    {
                      "_": "81100"
                    }
                  ],
                  "CountrySubentityCode": [
                    {
                      "_": "01"
                    }
                  ],
                  "AddressLine": [
                    {
                      "Line": [
                        {
                          "_": "address1"
                        }
                      ]
                    },
                    {
                      "Line": [
                        {
                          "_": "address2"
                        }
                      ]
                    },
                    {
                      "Line": [
                        {
                          "_": "address3"
                        }
                      ]
                    }
                  ],
                  "Country": [
                    {
                      "IdentificationCode": [
                        {
                          "_": "MYS",
                          "listID": "ISO3166-1",
                          "listAgencyID": "6"
                        }
                      ]
                    }
                  ]
                }
              ],
              "PartyLegalEntity": [
                {
                  "RegistrationName": [
                    {
                      "_": "Sand kitchen restaurant Sdn Bhd"
                    }
                  ]
                }
              ],
              "Contact": [
                {
                  "Telephone": [
                    {
                      "_": "0113737373"
                    }
                  ],
                  "ElectronicMail": [
                    {
                      "_": "zy_mygst@hotmail.com"
                    }
                  ]
                }
              ]
            }
          ]
        }
      ],
      "AccountingCustomerParty": [
        {
          "Party": [
            {
              "PostalAddress": [
                {
                  "CityName": [
                    {
                      "_": "N/A"
                    }
                  ],
                  "PostalZone": [
                    {
                      "_": "N/A"
                    }
                  ],
                  "CountrySubentityCode": [
                    {
                      "_": ""
                    }
                  ],
                  "AddressLine": [
                    {
                      "Line": [
                        {
                          "_": "N/A"
                        }
                      ]
                    },
                    {
                      "Line": [
                        {
                          "_": "N/A"
                        }
                      ]
                    },
                    {
                      "Line": [
                        {
                          "_": "N/A"
                        }
                      ]
                    }
                  ],
                  "Country": [
                    {
                      "IdentificationCode": [
                        {
                          "_": "",
                          "listID": "ISO3166-1",
                          "listAgencyID": "6"
                        }
                      ]
                    }
                  ]
                }
              ],
              "PartyLegalEntity": [
                {
                  "RegistrationName": [
                    {
                      "_": "General Public"
                    }
                  ]
                }
              ],
              "PartyIdentification": [
                {
                  "ID": [
                    {
                      "_": "EI00000000010",
                      "schemeID": "TIN"
                    }
                  ]
                },
                {
                  "ID": [
                    {
                      "_": "N/A",
                      "schemeID": "BRN"
                    }
                  ]
                },
                {
                  "ID": [
                    {
                      "_": "N/A",
                      "schemeID": "SST"
                    }
                  ]
                }
              ],
              "Contact": [
                {
                  "Telephone": [
                    {
                      "_": "60"
                    }
                  ],
                  "ElectronicMail": [
                    {
                      "_": "N/A"
                    }
                  ]
                }
              ]
            }
          ]
        }
      ],
      "TaxTotal": [
        {
          "TaxAmount": [
            {
              "_": 0.0,
              "currencyID": "MYR"
            }
          ],
          "TaxSubtotal": [
            {
              "TaxableAmount": [
                {
                  "_": 0.0,
                  "currencyID": "MYR"
                }
              ],
              "TaxAmount": [
                {
                  "_": 0.0,
                  "currencyID": "MYR"
                }
              ],
              "TaxCategory": [
                {
                  "ID": [
                    {
                      "_": "06"
                    }
                  ],
                  "TaxScheme": [
                    {
                      "ID": [
                        {
                          "_": "OTH",
                          "schemeID": "UN/ECE 5153",
                          "schemeAgencyID": "6"
                        }
                      ]
                    }
                  ]
                }
              ]
            }
          ]
        }
      ],
      "LegalMonetaryTotal": [
        {
          "LineExtensionAmount": [
            {
              "_": 0.0,
              "currencyID": "MYR"
            }
          ],
          "TaxExclusiveAmount": [
            {
              "_": 14.8,
              "currencyID": "MYR"
            }
          ],
          "TaxInclusiveAmount": [
            {
              "_": 14.8,
              "currencyID": "MYR"
            }
          ],
          "AllowanceTotalAmount": [
            {
              "_": 0.0,
              "currencyID": "MYR"
            }
          ],
          "ChargeTotalAmount": [
            {
              "_": 0.0,
              "currencyID": "MYR"
            }
          ],
          "PayableRoundingAmount": [
            {
              "_": 0.0,
              "currencyID": "MYR"
            }
          ],
          "PayableAmount": [
            {
              "_": 14.8,
              "currencyID": "MYR"
            }
          ]
        }
      ],
      "InvoiceLine": [
        {
          "ID": [
            {
              "_": "1"
            }
          ],
          "InvoicedQuantity": [
            {
              "_": 1.0,
              "unitCode": ""
            }
          ],
          "LineExtensionAmount": [
            {
              "_": 14.8,
              "currencyID": "MYR"
            }
          ],
          "AllowanceCharge": [
            {
              "ChargeIndicator": [
                {
                  "_": false
                }
              ],
              "AllowanceChargeReason": [
                {
                  "_": "Discount"
                }
              ],
              "MultiplierFactorNumeric": [
                {
                  "_": 0.0
                }
              ],
              "Amount": [
                {
                  "_": 0.0,
                  "currencyID": "MYR"
                }
              ]
            },
            {
              "ChargeIndicator": [
                {
                  "_": true
                }
              ],
              "AllowanceChargeReason": [
                {
                  "_": "Other Charge"
                }
              ],
              "MultiplierFactorNumeric": [
                {
                  "_": 0.0
                }
              ],
              "Amount": [
                {
                  "_": 0.0,
                  "currencyID": "MYR"
                }
              ]
            }
          ],
          "TaxTotal": [
            {
              "TaxAmount": [
                {
                  "_": 0.0,
                  "currencyID": "MYR"
                }
              ],
              "TaxSubtotal": [
                {
                  "TaxableAmount": [
                    {
                      "_": 14.8,
                      "currencyID": "MYR"
                    }
                  ],
                  "TaxAmount": [
                    {
                      "_": 0.0,
                      "currencyID": "MYR"
                    }
                  ],
                  "TaxCategory": [
                    {
                      "ID": [
                        {
                          "_": "06"
                        }
                      ],
                      "Percent": [
                        {
                          "_": 0.0
                        }
                      ],
                      "TaxScheme": [
                        {
                          "ID": [
                            {
                              "_": "OTH",
                              "schemeID": "UN/ECE 5153",
                              "schemeAgencyID": "6"
                            }
                          ]
                        }
                      ],
                      "TaxExemptionReason": [
                        {
                          "_": ""
                        }
                      ]
                    }
                  ]
                }
              ]
            }
          ],
          "Item": [
            {
              "CommodityClassification": [
                {
                  "ItemClassificationCode": [
                    {
                      "_": "N/A",
                      "listID": "PTC"
                    }
                  ]
                },
                {
                  "ItemClassificationCode": [
                    {
                      "_": "004",
                      "listID": "CLASS"
                    }
                  ]
                }
              ],
              "Description": [
                {
                  "_": "211"
                }
              ],
              "OriginCountry": [
                {
                  "IdentificationCode": [
                    {
                      "_": "MYS"
                    }
                  ]
                }
              ]
            }
          ],
          "Price": [
            {
              "PriceAmount": [
                {
                  "_": 14.8,
                  "currencyID": "MYR"
                }
              ]
            }
          ],
          "ItemPriceExtension": [
            {
              "Amount": [
                {
                  "_": 0.0,
                  "currencyID": "MYR"
                }
              ]
            }
          ]
        }
      ],
      "TaxExchangeRate": [
        {
          "SourceCurrencyCode": [
            {
              "_": "MYR"
            }
          ],
          "TargetCurrencyCode": [
            {
              "_": "MYR"
            }
          ],
          "CalculationRate": [
            {
              "_": 1.0
            }
          ]
        }
      ]
    }
  ]
}
25/11/2024  09:37:11 AM : {"_D":"urn:oasis:names:specification:ubl:schema:xsd:Invoice-2","_A":"urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2","_B":"urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2","Invoice":[{"ID":[{"_":"212"}],"IssueDate":[{"_":"2024-11-25"}],"IssueTime":[{"_":"01:37:05Z"}],"InvoiceTypeCode":[{"_":"01","listVersionID":"1.0"}],"DocumentCurrencyCode":[{"_":"MYR"}],"TaxCurrencyCode":[{"_":"MYR"}],"InvoicePeriod":[{"StartDate":[{"_":""}],"EndDate":[{"_":""}],"Description":[{"_":""}]}],"BillingReference":[{"AdditionalDocumentReference":[{"ID":[{"_":""}]}],"InvoiceDocumentReference":[{"ID":[{"_":""}],"UUID":[{"_":"NA"}]}]}],"AdditionalDocumentReference":[{"ID":[{"_":"FTA"}],"DocumentType":[{"_":"FreeTradeAgreement"}],"DocumentDescription":[{"_":""}]}],"AccountingSupplierParty":[{"Party":[{"IndustryClassificationCode":[{"_":"00000","name":"F&B"}],"PartyIdentification":[{"ID":[{"_":"IG21374668090","schemeID":"TIN"}]},{"ID":[{"_":"840108015071","schemeID":"BRN"}]}],"PostalAddress":[{"CityName":[{"_":"Johor"}],"PostalZone":[{"_":"81100"}],"CountrySubentityCode":[{"_":"01"}],"AddressLine":[{"Line":[{"_":"address1"}]},{"Line":[{"_":"address2"}]},{"Line":[{"_":"address3"}]}],"Country":[{"IdentificationCode":[{"_":"MYS","listID":"ISO3166-1","listAgencyID":"6"}]}]}],"PartyLegalEntity":[{"RegistrationName":[{"_":"Sand kitchen restaurant Sdn Bhd"}]}],"Contact":[{"Telephone":[{"_":"0113737373"}],"ElectronicMail":[{"_":"zy_mygst@hotmail.com"}]}]}]}],"AccountingCustomerParty":[{"Party":[{"PostalAddress":[{"CityName":[{"_":"N/A"}],"PostalZone":[{"_":"N/A"}],"CountrySubentityCode":[{"_":""}],"AddressLine":[{"Line":[{"_":"N/A"}]},{"Line":[{"_":"N/A"}]},{"Line":[{"_":"N/A"}]}],"Country":[{"IdentificationCode":[{"_":"","listID":"ISO3166-1","listAgencyID":"6"}]}]}],"PartyLegalEntity":[{"RegistrationName":[{"_":"General Public"}]}],"PartyIdentification":[{"ID":[{"_":"EI00000000010","schemeID":"TIN"}]},{"ID":[{"_":"N/A","schemeID":"BRN"}]},{"ID":[{"_":"N/A","schemeID":"SST"}]}],"Contact":[{"Telephone":[{"_":"60"}],"ElectronicMail":[{"_":"N/A"}]}]}]}],"TaxTotal":[{"TaxAmount":[{"_":0.0,"currencyID":"MYR"}],"TaxSubtotal":[{"TaxableAmount":[{"_":0.0,"currencyID":"MYR"}],"TaxAmount":[{"_":0.0,"currencyID":"MYR"}],"TaxCategory":[{"ID":[{"_":"06"}],"TaxScheme":[{"ID":[{"_":"OTH","schemeID":"UN/ECE 5153","schemeAgencyID":"6"}]}]}]}]}],"LegalMonetaryTotal":[{"LineExtensionAmount":[{"_":0.0,"currencyID":"MYR"}],"TaxExclusiveAmount":[{"_":14.8,"currencyID":"MYR"}],"TaxInclusiveAmount":[{"_":14.8,"currencyID":"MYR"}],"AllowanceTotalAmount":[{"_":0.0,"currencyID":"MYR"}],"ChargeTotalAmount":[{"_":0.0,"currencyID":"MYR"}],"PayableRoundingAmount":[{"_":0.0,"currencyID":"MYR"}],"PayableAmount":[{"_":14.8,"currencyID":"MYR"}]}],"InvoiceLine":[{"ID":[{"_":"1"}],"InvoicedQuantity":[{"_":1.0,"unitCode":""}],"LineExtensionAmount":[{"_":14.8,"currencyID":"MYR"}],"AllowanceCharge":[{"ChargeIndicator":[{"_":false}],"AllowanceChargeReason":[{"_":"Discount"}],"MultiplierFactorNumeric":[{"_":0.0}],"Amount":[{"_":0.0,"currencyID":"MYR"}]},{"ChargeIndicator":[{"_":true}],"AllowanceChargeReason":[{"_":"Other Charge"}],"MultiplierFactorNumeric":[{"_":0.0}],"Amount":[{"_":0.0,"currencyID":"MYR"}]}],"TaxTotal":[{"TaxAmount":[{"_":0.0,"currencyID":"MYR"}],"TaxSubtotal":[{"TaxableAmount":[{"_":14.8,"currencyID":"MYR"}],"TaxAmount":[{"_":0.0,"currencyID":"MYR"}],"TaxCategory":[{"ID":[{"_":"06"}],"Percent":[{"_":0.0}],"TaxScheme":[{"ID":[{"_":"OTH","schemeID":"UN/ECE 5153","schemeAgencyID":"6"}]}],"TaxExemptionReason":[{"_":""}]}]}]}],"Item":[{"CommodityClassification":[{"ItemClassificationCode":[{"_":"N/A","listID":"PTC"}]},{"ItemClassificationCode":[{"_":"004","listID":"CLASS"}]}],"Description":[{"_":"211"}],"OriginCountry":[{"IdentificationCode":[{"_":"MYS"}]}]}],"Price":[{"PriceAmount":[{"_":14.8,"currencyID":"MYR"}]}],"ItemPriceExtension":[{"Amount":[{"_":0.0,"currencyID":"MYR"}]}]}],"TaxExchangeRate":[{"SourceCurrencyCode":[{"_":"MYR"}],"TargetCurrencyCode":[{"_":"MYR"}],"CalculationRate":[{"_":1.0}]}]}]}
25/11/2024  09:37:11 AM : 202
25/11/2024  09:37:11 AM : {"submissionUid":"7R5ZC32BNDNCY86H7ANFFGDJ10","acceptedDocuments":[{"uuid":"8EW49GX7ZMPZCB5N7ANFFGDJ10","invoiceCodeNumber":"212"}],"rejectedDocuments":[]}
25/11/2024  09:37:11 AM : Func_SendInvoice - Update UUID to DB successful
25/11/2024  09:37:16 AM : strUuid: 8EW49GX7ZMPZCB5N7ANFFGDJ10
25/11/2024  09:37:16 AM : strURL: https://preprod-api.myinvois.hasil.gov.my//api/v1.0/documents/8EW49GX7ZMPZCB5N7ANFFGDJ10/details
25/11/2024  09:37:16 AM : 200
25/11/2024  09:37:16 AM : {"uuid":"8EW49GX7ZMPZCB5N7ANFFGDJ10","submissionUid":"7R5ZC32BNDNCY86H7ANFFGDJ10","longId":"JBGDEKEZ5HXY857F7ANFFGDJ10Gj1n4D1732498675","typeName":"Invoice","typeVersionName":"Version 1","issuerTin":"IG21374668090","issuerName":"Sand kitchen restaurant Sdn Bhd","receiverId":"EI00000000010","receiverName":"General Public","dateTimeReceived":"2024-11-25T01:37:55Z","dateTimeValidated":"2024-11-25T01:37:55Z","totalExcludingTax":14.8,"totalDiscount":0.0,"totalNetAmount":0.0,"totalPayableAmount":14.8,"status":"Valid","createdByUserId":"IG21374668090:f652ef4a-37af-476a-b63b-46d944fdb6bb","documentStatusReason":null,"cancelDateTime":null,"rejectRequestDateTime":null,"validationResults":{"status":"Valid","validationSteps":[{"status":"Valid","name":"Step03-Duplicated Submission Validator"},{"status":"Valid","name":"Step04-Code Field Validator"},{"status":"Valid","name":"Step05-Taxpayer Profile Validator"},{"status":"Valid","name":"Step06-Document References Validator"},{"status":"Valid","name":"Step07-Document Currency Validator"}]},"internalId":"212","dateTimeIssued":"2024-11-25T01:37:05Z"}
25/11/2024  09:37:16 AM : Content: {"uuid":"8EW49GX7ZMPZCB5N7ANFFGDJ10","submissionUid":"7R5ZC32BNDNCY86H7ANFFGDJ10","longId":"JBGDEKEZ5HXY857F7ANFFGDJ10Gj1n4D1732498675","typeName":"Invoice","typeVersionName":"Version 1","issuerTin":"IG21374668090","issuerName":"Sand kitchen restaurant Sdn Bhd","receiverId":"EI00000000010","receiverName":"General Public","dateTimeReceived":"2024-11-25T01:37:55Z","dateTimeValidated":"2024-11-25T01:37:55Z","totalExcludingTax":14.8,"totalDiscount":0.0,"totalNetAmount":0.0,"totalPayableAmount":14.8,"status":"Valid","createdByUserId":"IG21374668090:f652ef4a-37af-476a-b63b-46d944fdb6bb","documentStatusReason":null,"cancelDateTime":null,"rejectRequestDateTime":null,"validationResults":{"status":"Valid","validationSteps":[{"status":"Valid","name":"Step03-Duplicated Submission Validator"},{"status":"Valid","name":"Step04-Code Field Validator"},{"status":"Valid","name":"Step05-Taxpayer Profile Validator"},{"status":"Valid","name":"Step06-Document References Validator"},{"status":"Valid","name":"Step07-Document Currency Validator"}]},"internalId":"212","dateTimeIssued":"2024-11-25T01:37:05Z"}
25/11/2024  09:37:16 AM : Long ID: JBGDEKEZ5HXY857F7ANFFGDJ10Gj1n4D1732498675
25/11/2024  09:37:16 AM : https://preprod.myinvois.hasil.gov.my/8EW49GX7ZMPZCB5N7ANFFGDJ10/share/JBGDEKEZ5HXY857F7ANFFGDJ10Gj1n4D1732498675
25/11/2024  09:37:16 AM : QR\8EW49GX7ZMPZCB5N7ANFFGDJ10.jpg
25/11/2024  09:37:16 AM : Func_GetDocumentDetails-Update Long id to DB successful
