Skip to main content
A customer is a company or person that is a buyer, a supplier or both. A customer record consists of main fields and related sub-records (addresses, telephones, bank accounts, …).

Required fields

string
required
Customer code, unique within the company. Send "Next" on create to generate it.
string
required
Customer name.
string
required
Digits only: a 10-digit tax number (VKN) or an 11-digit Turkish national ID number (TCKN).

General fields

Risk

E-invoice

E-invoice labels (mailbox aliases) cannot be sent through the API. Send QueryEInvoiceLabels: true on create to query them from the e-invoice integrator. See Sub-records.

Note

The text in Note can be shown on documents with the flags below. If any flag is true, Note is required. Flags that are not sent are treated as false. ShowNoteOnQuote, ShowNoteOnOrder, ShowNoteOnWaybill, ShowNoteOnInvoice

Identity schemes

IdentitySchemes holds additional identifiers based on UBL identity schemes (used in e-documents).
Each SchemeID can be sent at most once and Value cannot be empty. Valid SchemeID values: VKN, TCKN, HIZMETNO, MUSTERINO, TESISATNO, TELEFONNO, DISTRIBUTORNO, TICARETSICILNO, TAPDKNO, BAYINO, ABONENO, SAYACNO, EPDKNO, SUBENO, PASAPORTNO, URETICINO, CIFTCINO, IMALATCINO, DOSYANO, HASTANO, MERSISNO, ARACIKURUMVKN, ARACIKURUMETIKET, GTB_REFNO, GCB_TESCILNO, GTB_FIILI_IHRACAT_TARIHI, ARACKIMLIKNO, PLAKA, SEVKIYATNO

Example

POST /api/v1/customers

Deleting

Deleting a customer also deletes its addresses, telephones, links, representatives, bank accounts, e-invoice labels, group memberships and parameters in the same operation. Documents such as invoices and orders are not affected; the deleted customer no longer appears in the API.