We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 017c2db commit 489ab9eCopy full SHA for 489ab9e
src/Invoice.php
@@ -231,6 +231,23 @@ public function mapWithEnglishKeys($data)
231
$this->zReportNumber = isset($data["zReportNumber"]) ? $data["zReportNumber"] : "";
232
$this->okcSerialNumber = isset($data["okcSerialNumber"]) ? $data["okcSerialNumber"] : "";
233
}
234
+
235
+ /**
236
+ * Get summary fields
237
+ *
238
+ * @return array
239
+ */
240
+ public function getSummary()
241
+ {
242
+ return [
243
+ "belgeNumarasi" => $this->documentNumber,
244
+ "aliciVknTckn" => $this->taxOrIdentityNumber,
245
+ "aliciUnvanAdSoyad" => $this->invoiceAcceptorTitle,
246
+ "belgeTarihi" => $this->date,
247
+ "belgeTuru" => "FATURA",
248
+ "ettn" => $this->uuid
249
+ ];
250
+}
251
252
253
/**
0 commit comments