From reading the swagger info I thought the transaction id in the journal was unique in that it would only show up once: id (integer): Unique journal reference ID , ??
Just pulled my corp journal and failed writing it to the db because I had a unique constraint on id. I found four records where the id was duplicated (shows up twice), they look like this:
{
“amount”: -100,
“balance”: 1,
“date”: “2018-04-11T02:43:22Z”,
“description”: “Market order commission to broker authorized by: Nuke Cherenkov”,
“first_party_id”: 1,
“id”: 15397048738,
“ref_type”: “brokers_fee”,
“second_party_id”: 98248606
},
{
“amount”: 100,
“balance”: 1,
“date”: “2018-04-11T02:43:22Z”,
“description”: “Market order commission to broker authorized by: Nuke Cherenkov”,
“first_party_id”: 1,
“id”: 15397048738,
“ref_type”: “brokers_fee”,
“second_party_id”: 98248606
},
Is this an error? If not, it seems to be tricky to not duplicate transactions?