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
Creates a new customer record.
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
Creates a new vendor record.
Example
PostContactPerson
Creates a contact person record.
Example
PostOpenStack
Opens a transaction stack.
Example
PostTransactionBatch
Posts a batch of transactions.
Example
PostCloseStack
Closes a transaction stack.
Example
PostReverseTransaction
Reverses a transaction.
Example
PostGenLedgerAccount
Creates a general ledger account.
Example
PostSettleOpenItems
Settles open items.
Example
PostBank
Creates a new bank record.
Example
PostCostCenter
Creates a cost center record.
Example
PostCostObject
Creates a cost object record.
Example
SaveIIBTransaction
Posts a single transactions using the old SOAP api.
Example
Last updated
Was this helpful?