post
POST /einvoice/Send/Model/Download/Pdf HTTP/1.1
Host: 
Authorization: Bearer JWT
Content-Type: application/json-patch+json
Accept: */*
Content-Length: 5053

{
  "EInvoice": {
    "InvoiceInfo": {
      "UUID": "123e4567-e89b-12d3-a456-426614174000",
      "TemplateUUID": "123e4567-e89b-12d3-a456-426614174000",
      "TemplateBase64String": "text",
      "InvoiceType": "SATIS",
      "InvoiceSerieOrNumber": "text",
      "IssueDate": "2025-04-28T11:53:35.293Z",
      "CurrencyCode": "text",
      "ExchangeRate": 1,
      "InvoiceProfile": "TEMELFATURA",
      "DespatchDocumentReference": [
        {
          "IssueDate": "2025-04-28T11:53:35.293Z",
          "Value": "text"
        }
      ],
      "OrderReference": {
        "IssueDate": "2025-04-28T11:53:35.293Z",
        "Value": "text"
      },
      "OrderReferenceDocument": {
        "ID": "text",
        "IssueDate": "2025-04-28T11:53:35.293Z",
        "DocumentType": "text",
        "DocumentTypeCode": "text",
        "DocumentDescription": "text",
        "Attachment": {
          "Base64Data": "text",
          "MimeCode": "text",
          "FileName": "text"
        }
      },
      "AdditionalDocumentReferences": [
        {
          "ID": "text",
          "IssueDate": "2025-04-28T11:53:35.293Z",
          "DocumentType": "text",
          "DocumentTypeCode": "text",
          "DocumentDescription": "text",
          "Attachment": {
            "Base64Data": "text",
            "MimeCode": "text",
            "FileName": "text"
          }
        }
      ],
      "TaxExemptionReasonInfo": {
        "KDVExemptionReasonCode": "text",
        "OTVExemptionReasonCode": "text",
        "AccommodationTaxExemptionReasonCode": "text"
      },
      "PaymentTermsInfo": {
        "Percent": 1,
        "Amount": 1,
        "Note": "text"
      },
      "PaymentMeansInfo": {
        "Code": "text",
        "ChannelCode": "text",
        "DueDate": "2025-04-28T11:53:35.293Z",
        "PayeeFinancialAccountID": "text",
        "Note": "text"
      },
      "OKCInfo": {
        "ID": "text",
        "IssueDate": "2025-04-28T11:53:35.293Z",
        "Time": "text",
        "ZNo": "text",
        "EndPointID": "text",
        "DocumentDescription": "text"
      },
      "ESUReportInfo": {
        "ID": "text",
        "IssueDate": "2025-04-28T11:53:35.293Z"
      },
      "ReturnInvoiceInfo": [
        {
          "InvoiceNumber": "text",
          "IssueDate": "2025-04-28T11:53:35.293Z"
        }
      ],
      "AccountingCost": "text",
      "InvoicePeriod": {
        "StartDate": "2025-04-28T11:53:35.293Z",
        "StartTime": "text",
        "EndDate": "2025-04-28T11:53:35.293Z",
        "EndTime": "text",
        "DurationMeasureValue": 1,
        "Description": "text"
      },
      "SGKInfo": {
        "RegisterName": "text",
        "DocumentNumber": "text",
        "RegisterCode": "text"
      },
      "Expenses": [
        {
          "ExpenseType": "HKSKOMISYON",
          "Percent": 1,
          "Amount": 1
        }
      ],
      "LineExtensionAmount": 1,
      "GeneralKDV1Total": 1,
      "GeneralKDV8Total": 1,
      "GeneralKDV18Total": 1,
      "GeneralKDV10Total": 1,
      "GeneralKDV20Total": 1,
      "GeneralAllowanceTotal": 1,
      "PayableAmount": 1,
      "KdvTotal": 1
    },
    "CompanyInfo": {
      "TaxNumber": "text",
      "Name": "text",
      "TaxOffice": "text",
      "PartyIdentifications": [
        {
          "SchemeID": "text",
          "Value": "text"
        }
      ],
      "AgentPartyIdentifications": [
        {
          "SchemeID": "text",
          "Value": "text"
        }
      ],
      "Address": "text",
      "District": "text",
      "City": "text",
      "Country": "text",
      "PostalCode": "text",
      "Phone": "text",
      "Fax": "text",
      "Mail": "text",
      "WebSite": "text"
    },
    "CustomerInfo": {
      "TaxNumber": "text",
      "Name": "text",
      "TaxOffice": "text",
      "PartyIdentifications": [
        {
          "SchemeID": "text",
          "Value": "text"
        }
      ],
      "AgentPartyIdentifications": [
        {
          "SchemeID": "text",
          "Value": "text"
        }
      ],
      "Address": "text",
      "District": "text",
      "City": "text",
      "Country": "text",
      "PostalCode": "text",
      "Phone": "text",
      "Fax": "text",
      "Mail": "text",
      "WebSite": "text"
    },
    "BuyerCustomerInfo": {
      "TaxNumber": "text",
      "Name": "text",
      "TaxOffice": "text",
      "PartyIdentifications": [
        {
          "SchemeID": "text",
          "Value": "text"
        }
      ],
      "AgentPartyIdentifications": [
        {
          "SchemeID": "text",
          "Value": "text"
        }
      ],
      "Address": "text",
      "District": "text",
      "City": "text",
      "Country": "text",
      "PostalCode": "text",
      "Phone": "text",
      "Fax": "text",
      "Mail": "text",
      "WebSite": "text"
    },
    "ExportCustomerInfo": {
      "TaxNumber": "text",
      "LegalRegistrationName": "text",
      "PersonName": "text",
      "PersonSurName": "text",
      "Address": "text",
      "District": "text",
      "City": "text",
      "Country": "text",
      "PostalCode": "text",
      "Phone": "text",
      "Fax": "text",
      "Mail": "text",
      "WebSite": "text"
    },
    "TaxFreeInfo": {
      "TouristInfo": {
        "Name": "text",
        "SurName": "text",
        "CountryCode": "text",
        "PassportNo": "text",
        "PassportDate": "2025-04-28T11:53:35.293Z",
        "AddressInfo": {
          "Address": "text",
          "District": "text",
          "City": "text",
          "Country": "text",
          "PostalCode": "text",
          "Phone": "text",
          "Fax": "text",
          "Mail": "text",
          "WebSite": "text"
        },
        "FinancialAccountInfo": {
          "BankName": "text",
          "BranchName": "text",
          "ID": "text",
          "CurrencyCode": "text",
          "PaymentNote": "text"
        }
      },
      "TaxRepresentativeInfo": {
        "RegisterNumber": "text",
        "Alias": "text",
        "Address": {
          "Address": "text",
          "District": "text",
          "City": "text",
          "Country": "text",
          "PostalCode": "text",
          "Phone": "text",
          "Fax": "text",
          "Mail": "text",
          "WebSite": "text"
        }
      }
    },
    "InvoiceLines": [
      {
        "Index": "text",
        "SellerCode": "text",
        "BuyerCode": "text",
        "Name": "text",
        "Description": "text",
        "Quantity": 1,
        "UnitType": "text",
        "Price": 1,
        "AllowanceTotal": 1,
        "KDVPercent": 1,
        "KDVTotal": 1,
        "Taxes": [
          {
            "TaxCode": "text",
            "Total": 1,
            "Percent": 1,
            "ReasonCode": "text",
            "ReasonDesc": "text"
          }
        ],
        "DeliveryInfo": {
          "GTIPNo": "text",
          "DeliveryTermCode": "text",
          "TransportModeCode": "text",
          "PackageBrandName": "text",
          "ProductTraceID": "text",
          "PackageID": "text",
          "PackageQuantity": 1,
          "PackageTypeCode": "text",
          "DeliveryAddress": {
            "Address": "text",
            "District": "text",
            "City": "text",
            "Country": "text",
            "PostalCode": "text",
            "Phone": "text",
            "Fax": "text",
            "Mail": "text",
            "WebSite": "text"
          }
        },
        "ManufacturerCode": "text",
        "BrandName": "text",
        "ModelName": "text",
        "Note": "text",
        "SerialID": "text",
        "OzelMatrahReason": "text",
        "OzelMatrahTotal": 1,
        "VatAmountWithoutTevkifat": 1,
        "ExportRegisteredInfo": {
          "DIIBLineCode": "text",
          "GTIPNo": "text"
        },
        "AdditionalItemIdentification": {
          "TagNumber": "text",
          "OwnerName": "text",
          "OwnerTaxNumber": "text"
        }
      }
    ],
    "Notes": [
      "text"
    ]
  },
  "CustomerAlias": "text"
}
text