JSON gövde ile e-Fatura gönderir.
Önemli: Her gönderimde content.uuid ve content.documentNo benzersiz olmalıdır. Aşağıdaki senaryodaki değerler doğrulama amacıyla bir kez kullanılmıştır; tekrar gönderirken bu iki alanı değiştirin. assignNumber: true verilse dahi documentNo boş bırakılamaz (hata 802), ancak sunucu kendi seri numarasını atar.
Header Parameters
| Name | Type | Required | Description |
|---|---|---|---|
Authorization |
text |
Yes | v1/auth/token endpointten alınan token |
Body Parameters
| Name | Type | Required | Description |
|---|---|---|---|
documentAction |
text |
No | |
assignNumber |
text |
No | |
seriePrefix |
text |
No | |
selectedSeriesId |
text |
No | |
xsltName |
text |
No | |
compressed |
text |
No | |
mailFlag |
text |
No | |
mailAddress |
array |
No | |
schematronControl |
text |
No | |
sendingType |
text |
No | |
ecommerceUpload |
text |
No | |
receiverAlias |
text |
No | |
content |
object |
No | |
└ profile |
text |
No | |
└ documentTypeCode |
text |
No | |
└ documentNo |
text |
No | |
└ uuid |
text |
No | |
└ issueDate |
text |
No | |
└ issueTime |
text |
No | |
└ notes |
array |
No | |
└ currencyCode |
text |
No | |
└ invoicePeriod |
text |
No | |
└ orderReference |
object |
No | |
└ id |
text |
No | |
└ salesOrderId |
text |
No | |
└ issueDate |
text |
No | |
└ orderTypeCode |
text |
No | |
└ billingReference |
array |
No | |
└ id |
text |
No | |
└ issueDate |
text |
No | |
└ documentTypeCode |
text |
No | |
└ documentType |
text |
No | |
└ documentDescription |
text |
No | |
└ despatchDocumentReference |
array |
No | |
└ id |
text |
No | |
└ issueDate |
text |
No | |
└ documentType |
text |
No | |
└ documentTypeCode |
text |
No | |
└ documentDescription |
text |
No | |
└ contractDocumentReferences |
array |
No | |
└ id |
text |
No | |
└ issueDate |
text |
No | |
└ documentType |
text |
No | |
└ documentTypeCode |
text |
No | |
└ documentDescription |
text |
No | |
└ additionalReferences |
array |
No | |
└ id |
text |
No | |
└ scheme |
text |
No | |
└ issueDate |
text |
No | |
└ documentType |
text |
No | |
└ documentTypeCode |
text |
No | |
└ documentDescription |
text |
No | |
└ attachment |
object |
No | |
└ characterSetCode |
text |
No | |
└ encodingCode |
text |
No | |
└ filename |
text |
No | |
└ mimeCode |
text |
No | |
└ content |
text |
No | |
└ validityPeriod |
object |
No | |
└ startDate |
text |
No | |
└ endDate |
text |
No | |
└ startTime |
text |
No | |
└ endTime |
text |
No | |
└ supplierParty |
object |
No | |
└ schemeId |
text |
No | |
└ identifier |
text |
No | |
└ nationalityId |
text |
No | |
└ name |
text |
No | |
└ firstName |
text |
No | |
└ lastName |
text |
No | |
└ taxOffice |
text |
No | |
└ centralRegistrationNo |
text |
No | |
└ taxRegisterNo |
text |
No | |
└ headOffice |
text |
No | |
└ customerType |
text |
No | |
└ glnNo |
text |
No | |
└ address |
object |
No | |
└ buildingNumber |
text |
No | |
└ streetName |
text |
No | |
└ buildingName |
text |
No | |
└ district |
text |
No | |
└ subCity |
text |
No | |
└ city |
text |
No | |
└ region |
text |
No | |
└ postalCode |
text |
No | |
└ country |
text |
No | |
└ website |
text |
No | |
└ email |
text |
No | |
└ telephone |
text |
No | |
└ faxNo |
text |
No | |
└ postalZone |
text |
No | |
└ identifications |
array |
No | |
└ scheme |
text |
No | |
└ value |
text |
No | |
└ contact |
text |
No | |
└ customerParty |
object |
No | |
└ schemeId |
text |
No | |
└ identifier |
text |
No | |
└ name |
text |
No | |
└ firstName |
text |
No | |
└ lastName |
text |
No | |
└ taxOffice |
text |
No | |
└ centralRegistrationNo |
text |
No | |
└ taxRegisterNo |
text |
No | |
└ headOffice |
text |
No | |
└ customerType |
text |
No | |
└ glnNo |
text |
No | |
└ address |
object |
No | |
└ buildingNumber |
text |
No | |
└ streetName |
text |
No | |
└ buildingName |
text |
No | |
└ district |
text |
No | |
└ subCity |
text |
No | |
└ city |
text |
No | |
└ postalCode |
text |
No | |
└ country |
text |
No | |
└ website |
text |
No | |
└ email |
text |
No | |
└ telephone |
text |
No | |
└ faxNo |
text |
No | |
└ identifications |
array |
No | |
└ scheme |
text |
No | |
└ value |
text |
No | |
└ sellerParty |
object |
No | |
└ schemeId |
text |
No | |
└ identifier |
text |
No | |
└ nationalityId |
text |
No | |
└ name |
text |
No | |
└ firstName |
text |
No | |
└ lastName |
text |
No | |
└ taxOffice |
text |
No | |
└ centralRegistrationNo |
text |
No | |
└ taxRegisterNo |
text |
No | |
└ headOffice |
text |
No | |
└ customerType |
text |
No | |
└ glnNo |
text |
No | |
└ address |
object |
No | |
└ buildingNumber |
text |
No | |
└ streetName |
text |
No | |
└ buildingName |
text |
No | |
└ district |
text |
No | |
└ subCity |
text |
No | |
└ city |
text |
No | |
└ region |
text |
No | |
└ postalCode |
text |
No | |
└ country |
text |
No | |
└ website |
text |
No | |
└ email |
text |
No | |
└ telephone |
text |
No | |
└ faxNo |
text |
No | |
└ identifications |
array |
No | |
└ scheme |
text |
No | |
└ value |
text |
No | |
└ buyerParty |
object |
No | |
└ schemeId |
text |
No | |
└ identifier |
text |
No | |
└ nationalityId |
text |
No | |
└ name |
text |
No | |
└ firstName |
text |
No | |
└ lastName |
text |
No | |
└ taxOffice |
text |
No | |
└ centralRegistrationNo |
text |
No | |
└ taxRegisterNo |
text |
No | |
└ headOffice |
text |
No | |
└ customerType |
text |
No | |
└ glnNo |
text |
No | |
└ address |
object |
No | |
└ buildingNumber |
text |
No | |
└ streetName |
text |
No | |
└ buildingName |
text |
No | |
└ district |
text |
No | |
└ subCity |
text |
No | |
└ city |
text |
No | |
└ region |
text |
No | |
└ postalCode |
text |
No | |
└ country |
text |
No | |
└ website |
text |
No | |
└ email |
text |
No | |
└ telephone |
text |
No | |
└ faxNo |
text |
No | |
└ identifications |
array |
No | |
└ scheme |
text |
No | |
└ value |
text |
No | |
└ paymentMeans |
array |
No | |
└ paymentCode |
text |
No | |
└ paymentCodeListId |
text |
No | |
└ paymentDueDate |
text |
No | |
└ instructionNote |
text |
No | |
└ payeeFinancialAccount |
object |
No | |
└ id |
text |
No | |
└ currencyCode |
text |
No | |
└ paymentNote |
text |
No | |
└ payerFinancialAccount |
object |
No | |
└ id |
text |
No | |
└ currencyCode |
text |
No | |
└ paymentNote |
text |
No | |
└ paymentTerms |
object |
No | |
└ note |
text |
No | |
└ penaltySurchargePercent |
text |
No | |
└ paymentDueDate |
text |
No | |
└ paymentAmount |
text |
No | |
└ allowanceCharge |
array |
No | |
└ chargeIndicator |
text |
No | |
└ multiplierFactorNumeric |
text |
No | |
└ reason |
text |
No | |
└ amount |
text |
No | |
└ baseAmount |
text |
No | |
└ generalAllowanceCharges |
text |
No | |
└ pricingExchangeRate |
object |
No | |
└ sourceCurrencyCode |
text |
No | |
└ targetCurrencyCode |
text |
No | |
└ calculationRate |
text |
No | |
└ paymentExchangeRate |
object |
No | |
└ sourceCurrencyCode |
text |
No | |
└ targetCurrencyCode |
text |
No | |
└ calculationRate |
text |
No | |
└ taxTotal |
object |
No | |
└ taxAmount |
text |
No | |
└ taxSubTotal |
array |
No | |
└ taxCode |
text |
No | |
└ calculationSequenceNumeric |
text |
No | |
└ taxableAmount |
text |
No | |
└ percent |
text |
No | |
└ taxAmount |
text |
No | |
└ taxExemptionCode |
text |
No | |
└ taxExemptionReason |
text |
No | |
└ taxScheme |
object |
No | |
└ name |
text |
No | |
└ typeCode |
text |
No | |
└ withHoldingTax |
object |
No | |
└ taxAmount |
text |
No | |
└ taxSubTotal |
array |
No | |
└ calculationSequenceNumeric |
text |
No | |
└ taxableAmount |
text |
No | |
└ taxAmount |
text |
No | |
└ percent |
text |
No | |
└ taxScheme |
object |
No | |
└ name |
text |
No | |
└ typeCode |
text |
No | |
└ legalMonetaryTotal |
object |
No | |
└ lineExtensionAmount |
text |
No | |
└ taxExclusiveAmount |
text |
No | |
└ taxInclusiveAmount |
text |
No | |
└ allowanceTotalAmount |
text |
No | |
└ chargeTotalAmount |
text |
No | |
└ payableAmount |
text |
No | |
└ payableRounding |
text |
No | |
└ lines |
array |
No | |
└ id |
text |
No | |
└ quantity |
text |
No | |
└ unitCode |
text |
No | |
└ lineExtensionAmount |
text |
No | |
└ allowanceCharge |
array |
No | |
└ chargeIndicator |
text |
No | |
└ reason |
text |
No | |
└ multiplierFactorNumeric |
text |
No | |
└ amount |
text |
No | |
└ baseAmount |
text |
No | |
└ taxTotal |
object |
No | |
└ taxAmount |
text |
No | |
└ taxSubTotal |
array |
No | |
└ calculationSequenceNumeric |
text |
No | |
└ taxableAmount |
text |
No | |
└ percent |
text |
No | |
└ taxAmount |
text |
No | |
└ taxScheme |
object |
No | |
└ name |
text |
No | |
└ typeCode |
text |
No | |
└ itemName |
text |
No | |
└ itemPrice |
text |
No | |
└ additionalItemIdentifications |
array |
No | |
└ schemeID |
text |
No | |
└ itemIdentification |
text |
No | |
└ delivery |
object |
No | |
└ deliveryAddress |
object |
No | |
└ schemeId |
text |
No | |
└ identifier |
text |
No | |
└ nationalityId |
text |
No | |
└ name |
text |
No | |
└ firstName |
text |
No | |
└ lastName |
text |
No | |
└ taxOffice |
text |
No | |
└ centralRegistrationNo |
text |
No | |
└ taxRegisterNo |
text |
No | |
└ headOffice |
text |
No | |
└ customerType |
text |
No | |
└ glnNo |
text |
No | |
└ address |
object |
No | |
└ buildingNumber |
text |
No | |
└ streetName |
text |
No | |
└ buildingName |
text |
No | |
└ district |
text |
No | |
└ subCity |
text |
No | |
└ city |
text |
No | |
└ region |
text |
No | |
└ postalCode |
text |
No | |
└ country |
text |
No | |
└ website |
text |
No | |
└ email |
text |
No | |
└ telephone |
text |
No | |
└ faxNo |
text |
No | |
└ carrierParty |
text |
No | |
└ despatch |
text |
No | |
└ deliveryTerms |
object |
No | |
└ schemeID |
text |
No | |
└ id |
text |
No | |
└ shipment |
object |
No | |
└ freeOnBoardValueAmount |
text |
No | |
└ goodsItems |
array |
No | |
└ requiredCustomsID |
text |
No | |
└ shipmentStages |
array |
No | |
└ transportModeCode |
text |
No | |
└ transportHandlingUnits |
array |
No | |
└ actualPackage |
object |
No | |
└ id |
text |
No | |
└ quantity |
text |
No | |
└ packagingTypeCode |
text |
No | |
└ note |
text |
No | |
└ withholdingTaxTotal |
object |
No | |
└ taxAmount |
number |
No | |
└ taxSubTotal |
array |
No | |
└ calculationSequenceNumeric |
number |
No | |
└ taxableAmount |
number |
No | |
└ taxAmount |
number |
No | |
└ percent |
number |
No | |
└ taxScheme |
object |
No | |
└ name |
text |
No | |
└ typeCode |
text |
No |