Writing data
Implementation of the latest Diamant webservice to access and modify data in your accounting software. Here is an explanation of writing data.
PostCustomer
Example
let result = app.businessFunction({
functionName: "Diamant",
methodName: "PostCustomer",
companyId: 999,
designation: "Muster GmbH",
designation2: "Abteilung Einkauf",
matchCode: "MUSTGMBH",
accountId: "10050",
dunningType: "STD",
vatIdentNumber: "DE123456789",
taxNumber: "31/432/70358",
summaryAccount: "1200",
bankId: 98765,
bankAccountNumber: "1234567890",
iban: "DE89370400440532013000",
isVariousAccount: false,
paymentCondition: "14T2%30T",
paymentMethod: "U",
paymentsExclusion: "2025-03-07T10:52:16.775Z",
bankAccountHolder: "Muster GmbH",
paymentsExclusionReason: "Dispute",
alternativeBankDetailsTab: [
{
bankId: 87654,
bankAccountNumber: "0987654321",
iban: "DE27100777770209299700",
bankAccountHolder: "Muster GmbH Zweitkonto"
}
]
});PostVendor
Example
PostContactPerson
Example
PostOpenStack
Example
PostTransactionBatch
Example
PostCloseStack
Example
PostReverseTransaction
Example
PostGenLedgerAccount
Example
PostSettleOpenItems
Example
PostBank
Example
PostCostCenter
Example
PostCostObject
Example
SaveIIBTransaction
Example
Last updated