array(2) { ["status"]=> array(7) { ["request"]=> string(17) "getSalesDocuments" ["requestUnixTime"]=> int(1740267044) ["responseStatus"]=> string(2) "ok" ["errorCode"]=> int(0) ["generationTime"]=> float(0.1272451877594) ["recordsTotal"]=> int(1) ["recordsInResponse"]=> int(1) } ["records"]=> array(1) { [0]=> array(112) { ["id"]=> int(90) ["currencyRate"]=> string(14) "1.000000000000" ["warehouseID"]=> int(1) ["number"]=> string(6) "100002" ["date"]=> string(10) "2018-02-09" ["time"]=> string(8) "14:27:13" ["inventoryTransactionDate"]=> string(0) "" ["clientID"]=> int(6495) ["addressID"]=> int(0) ["contactID"]=> int(0) ["shipToContactID"]=> NULL ["employeeID"]=> int(0) ["projectID"]=> int(0) ["paymentDays"]=> string(2) "14" ["confirmed"]=> string(1) "1" ["notes"]=> string(176) "(DEVICE DESCRIPTION: test test)(DEVICE SERIAL NUMBER: 9769679679679)(PROBLEM DESCRIPTION: dgdsgds dsfs e)(PROPOSED SOLUTION: dsfdsf sdfds)(REPAIR DESCRIPTION: dsfdsfsdf dsfdsf)" ["internalNotes"]=> string(0) "" ["lastModified"]=> int(1518179233) ["trackingNumber"]=> string(0) "" ["fulfillmentStatus"]=> string(0) "" ["printDiscounts"]=> int(1) ["reserveGoods"]=> int(1) ["reserveGoodsUntilDate"]=> string(0) "" ["packingUnitsDescription"]=> string(0) "" ["penalty"]=> string(1) "0" ["triangularTransaction"]=> string(1) "0" ["purchaseOrderDone"]=> string(1) "0" ["pricelistID"]=> string(1) "0" ["applianceID"]=> int(0) ["applianceReference"]=> string(0) "" ["assignmentID"]=> string(1) "0" ["customNumber"]=> string(0) "" ["advancePayment"]=> string(4) "0.00" ["advancePaymentPercent"]=> string(1) "0" ["printWithOriginalProductNames"]=> int(0) ["hidePrices"]=> int(0) ["hideAmounts"]=> int(0) ["hideTotal"]=> int(0) ["isFactoringInvoice"]=> int(0) ["taxOfficeID"]=> int(0) ["periodStartDate"]=> string(10) "0000-00-00" ["periodEndDate"]=> string(10) "0000-00-00" ["algorithmVersion"]=> NULL ["orderArrived"]=> int(0) ["orderInvoiced"]=> int(0) ["ediStatus"]=> NULL ["workOrderID"]=> NULL ["jdoc"]=> NULL ["hidePaymentDays"]=> int(0) ["isCashInvoice"]=> int(0) ["deliveryTermsID"]=> int(0) ["currencyCode"]=> string(3) "EUR" ["warehouseName"]=> string(11) "IQ Services" ["clientName"]=> string(41) "Test Customer Surname, Test Customer Name" ["clientEmail"]=> string(31) "george.christofi@opiumworks.com" ["clientCardNumber"]=> string(0) "" ["clientFactoringContractNumber"]=> string(0) "" ["clientPaysViaFactoring"]=> int(0) ["shipToID"]=> int(0) ["shipToName"]=> string(0) "" ["shipToContactName"]=> string(0) "" ["contactName"]=> string(0) "" ["employeeName"]=> string(0) "" ["type"]=> string(5) "ORDER" ["invoiceState"]=> string(5) "READY" ["paymentType"]=> NULL ["paymentTypeID"]=> int(0) ["baseDocuments"]=> array(0) { } ["followUpDocuments"]=> array(0) { } ["numberSuffix"]=> NULL ["shipToAddressID"]=> string(1) "0" ["shipToAddress"]=> string(0) "" ["netTotal"]=> int(59) ["vatTotal"]=> int(0) ["netTotalsByRate"]=> array(1) { [0]=> int(59) } ["vatTotalsByRate"]=> array(1) { [0]=> int(0) } ["netTotalsByTaxRate"]=> array(1) { [0]=> array(2) { ["vatrateID"]=> int(0) ["total"]=> int(59) } } ["vatTotalsByTaxRate"]=> array(1) { [0]=> array(2) { ["vatrateID"]=> int(0) ["total"]=> int(0) } } ["rounding"]=> int(0) ["total"]=> int(59) ["paid"]=> NULL ["invoiceLink"]=> string(170) "https://eu.erply.com/393542/popup.php?print=invoice&invoice_idRec=90&lang=eng&checksum=%242y%2405%24onkLAhVUQ81mAClCh4dJZe6kah6oNVa%2Fz4hiYcV1AnvkgNSo4dove&exp=1740353444" ["receiptLink"]=> string(183) "https://eu.erply.com/393542/popup.php?print=invoice&invoice_idRec=90&lang=eng&checksum=%242y%2405%24onkLAhVUQ81mAClCh4dJZe6kah6oNVa%2Fz4hiYcV1AnvkgNSo4dove&exp=1740353444&size=receipt" ["taxExemptCertificateNumber"]=> string(0) "" ["otherCommissionReceivers"]=> array(0) { } ["deliveryTypeID"]=> int(0) ["deliveryTypeName"]=> string(0) "" ["deliveryDate"]=> string(0) "" ["shippingDate"]=> string(0) "" ["creditInvoiceType"]=> string(0) "" ["packerID"]=> int(0) ["referenceNumber"]=> string(6) "164959" ["customReferenceNumber"]=> string(0) "" ["webShopOrderNumbers"]=> array(0) { } ["contractID"]=> NULL ["pointOfSaleID"]=> int(0) ["pointOfSaleName"]=> string(0) "" ["transactionTypeID"]=> int(0) ["transactionTypeName"]=> string(0) "" ["transportTypeID"]=> int(0) ["transportTypeName"]=> string(0) "" ["deliveryTerms"]=> string(0) "" ["deliveryTermsLocation"]=> string(0) "" ["euInvoiceType"]=> string(8) "DOMESTIC" ["paymentStatus"]=> string(6) "UNPAID" ["deliveryOnlyWhenAllItemsInStock"]=> int(0) ["algorithmVersionCalculated"]=> int(2) ["ediText"]=> NULL ["documentURL"]=> NULL ["eInvoiceBuyerID"]=> NULL ["lastModifierUsername"]=> string(6) "Phanos" ["rows"]=> array(1) { [0]=> array(39) { ["rowID"]=> string(3) "100" ["stableRowID"]=> NULL ["productID"]=> string(1) "0" ["serviceID"]=> string(1) "0" ["itemName"]=> string(0) "" ["productCode"]=> NULL ["barcode"]=> NULL ["vatrateID"]=> string(1) "0" ["amount"]=> string(1) "1" ["unit"]=> string(0) "" ["price"]=> string(7) "59.0000" ["discount"]=> string(1) "0" ["employeeID"]=> string(1) "0" ["returnReasonID"]=> string(1) "0" ["packageID"]=> int(0) ["amountOfPackages"]=> string(4) "0.00" ["amountInPackage"]=> int(0) ["packageType"]=> string(0) "" ["packageTypeID"]=> int(0) ["deliveryDate"]=> string(0) "" ["sourceWaybillID"]=> string(1) "0" ["jdoc"]=> NULL ["nonTaxablePrice"]=> NULL ["productGroupID"]=> NULL ["productBrandID"]=> NULL ["nonRefundable"]=> int(0) ["revenueAccount"]=> NULL ["billingStatementID"]=> string(1) "0" ["billingStartDate"]=> string(10) "0000-00-00" ["billingEndDate"]=> string(10) "0000-00-00" ["finalNetPrice"]=> int(59) ["finalPriceWithVAT"]=> int(59) ["rowNetTotal"]=> int(59) ["rowVAT"]=> int(0) ["rowTotal"]=> int(59) ["campaignIDs"]=> string(0) "" ["containerID"]=> int(0) ["containerAmount"]=> int(0) ["originalPriceIsZero"]=> int(1) } } } } }