Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 428 Bytes

GET_INVOICE.md

File metadata and controls

18 lines (13 loc) · 428 Bytes

Detaylı Fatura Bilgilerini Alma

e-Arşiv üzerinde bulunan bir faturanın tüm bilgilerini (ürünler, fiyatlar, kdv vb.) getirir.

import EInvoice, {
  Invoice,
  BasicInvoice,
  InvoiceOrUuid
} from 'e-fatura'

// Bulunacak fatura veya faturaya ait UUID
const invoiceOrUuid: InvoiceOrUuid = ''

const invoice: Invoice = await EInvoice.getInvoice(invoiceOrUuid)

console.log('Bulunan fatura:', invoice)