Hello everyone. I have been trying to post Purchase Invoices and General Journal Batches through (I have been “deep posting” them, together with their lines).
Though whenever I post, I notice that the taxCode field (VAT Prod. Posting Group) does not update. Has anyone else experienced that? Is it a bug or am I just doing it wrong?
This is an example of what I’ve been trying to post (Journal):
{
“code”: “JOURNAL-1”,
“displayName”: “JOURNAL ID 1”,
“journalLines”: [
{
“accountType”: “G/L Account”,
“accountNumber”: “2810”,
“postingDate”: “2013-07-02”,
“amount”: 15.0,
“description”: “123”,
“comment”: “123”,
“taxCode”: “GST10”
}
]
}
and I get the following Journal as response (I have omitted the Odata tags):
{
“id”: “492cdc39-58d5-eb11-86df-000d3acc2836”,
“code”: “JOURNAL-1”,
“displayName”: “JOURNAL-1”,
“lastModifiedDateTime”: “2021-06-25T01:54:07.95Z”,
“balancingAccountId”: “00000000-0000-0000-0000-000000000000”,
“balancingAccountNumber”: “”,
“journalLines”: [
{
“id”: “4a2cdc39-58d5-eb11-86df-000d3acc2836”,
“journalId”: “492cdc39-58d5-eb11-86df-000d3acc2836”,
“journalDisplayName”: “JOURNAL-1”,
“lineNumber”: 10000,
“accountType”: “G/L Account”,
“accountId”: “e3a360f2-11a8-eb11-bb60-000d3a25712a”,
“accountNumber”: “2810”,
“postingDate”: “2013-07-02”,
“documentNumber”: “”,
“externalDocumentNumber”: “”,
“amount”: 15.00,
“description”: “123”,
“comment”: “123”,
“taxCode”: “”,
“balanceAccountType”: “G/L Account”,
“balancingAccountId”: “00000000-0000-0000-0000-000000000000”,
“balancingAccountNumber”: “”,
“lastModifiedDateTime”: “2021-06-25T01:54:08.02Z”
}
]
}
As you can see: The taxCode is empty. Please help!