Implementation Notes
This api updates invoices which are uploaded before. Only invoice amount and last payment date can update.
URL |
/updateDDSInvoice |
Method |
POST |
Version |
1.0 |
Scope |
payment |
Authorization Flow |
B2B Credentials |
Name | Format | Description | Required/Optional |
MainCompanyID |
Integer (19) | Main company identification that is given by bank | Required |
MainCompanyDealerCode |
String (30) | Dealer identication number that is given by main company | Required |
InvoiceNumber |
String (20) | Invoice number that is given by main company | Required |
LastPaymentDate |
yyyy-MM-ddTHH24:mm:ss | Invoice last payment date | Required |
InvoiceAmount |
Decimal (9,2) | Invoice amount | Required |
CurrencyCode |
String (3) |
Invoice currency code Explained at DDS/DCS services section |
Required |
Name | Format | Description |
MainCompanyID |
Integer | Main company identification that is given by bank |
MainCompanyDealerCode |
String | Dealer identication number that is given by main company |
InvoiceNumber |
Integer | Invoice number that is given by main company |
LastPaymentDate |
yyyy-MM-ddTHH24:mm:ss | Invoice last payment date |
InvoiceAmount |
Decimal | Invoice amount |
CurrencyCode |
String | Invoice currency code |
NameSurname |
String | Dealer name/title that is given by main company |
InvoiceType |
Integer |
Invoice type 1: Term invoice, 2: Advance Invoice |
Description |
String | Description |
InvoiceReleaseDate |
yyyy-MM-ddTHH24:mm:ss | Invoice release date |
CompanyName |
String | Main company name |
GuaranteedAmountOriginal |
Decimal | Guaranteed Amount at entry date |
NonGuaranteedAmountOriginal |
Decimal | Nonguaranteed Amount at entry date |
AmountPaid |
Decimal | Invoice paid amount |
OffsetAmount |
Decimal | Invoice total offset amount |
TransactionId |
Integer | Transaction identification number which is created by system |
InvoiceStatusCode |
Integer |
Invocie status 1:Active, 2:Inactive |
InvoiceStatusDetailCode |
Integer |
DDS Status Detail Codes Explained at DDS/DCS services section |
InvoiceStatus |
Integer |
Invoice Status Codes Explained at DDS/DCS services section |
SystemEntryDate |
yyyy-MM-ddTHH24:mm:ss | Invoice enrty date |
RemainingAmount |
Decimal | Invoice remaining amount |
GuaranteedAmount |
Decimal | Invoice remaining guaranteed amount |
NonGuaranteedAmount |
Decimal | Invoice remaining nonguaranteed amount |
Reference6 |
String | Special area for company |
Reference7 |
String | Special area for company |
Reference8 |
String | Special area for company |
Reference9 |
String | Special area for company |
Reference10 |
String | Special area for company |
Message Code | Description |
ACBH000027 |
Currenny code cannot be empty. |
ACBH000028 |
Currency code is invalid. |
ACBH000162 |
Main company id format is incorrect. |
ACBH000163 |
Dealer code id format is incorrect. |
ACBH000164 |
Invoice number format is incoorect. |
ACBH000167 |
Last payment date format is incorrect. |
ACBH000170 |
Dealer code cannot be empty. |
ACBH000171 |
Invoice number cannot be empty. |
ACBH000174 |
Transaction cannot be performed with retail customer number. |
Request:
{ "MainCompanyID": 371004, "MainCompanyDealerCode": "apitest1", "InvoiceNumber": "1011012", "CurrencyCode": "TL", "InvoiceAmount": 4000, "LastPaymentDate": "2021-07-01T00:00:00+03:00" }
Response:
{ "Header": { "StatusCode": "APIGW000000", "StatusDescription": "Completed", "ObjectID": "12db7391-8852-4198-858f-325c44e2c4ea" }, "Data": { "InvoiceInfo": { "CurrencyCode": "TL", "InvoiceStatusCode": 2, "LastPaymentDate": "2021-07-01T00:00:00+03:00", "InvoiceStatusDetailCode": 10, "InvoiceNumber": 1011012, "InvoiceAmount": 4000, "MainCompanyID": 371004, "MainCompanyDealerCode": "apitest1" } } }
API URL : https://apigw.vakifbank.com.tr:8443