N
N
newaitix2018-08-26 00:38:07
JavaScript
newaitix, 2018-08-26 00:38:07

Creating an Express Invoice Nova Poshta?

I'm desperate. Can't handle a simple task.
Perhaps someone is aware of the api of Nova Poshta.
To create an invoice, you need to transfer the following data

"CitySender": "8d5a980d-391c-11dd-90d9-001a92567626",
"Sender": "6e9acced-d072-11e3-95eb-0050568046cd",
"SenderAddress": "01ae2635-e1c2-11e3-8c4a-0050568002cf",
"ContactSender": "d0b9f592-b600-11e4-a77a-005056887b8d",
"CitySender": "8d5a980d-391c-11dd-90d9-001a92567626",
"Sender": "6e9acced-d072-11e3-95eb-0050568046cd",
"SenderAddress": "01ae2635-e1c2-11e3-8c4a-0050568002cf",
"ContactSender": "d0b9f592-b600-11e4-a77a-005056887b8d",

I know how to get CitySender, but I can’t figure out how to get Sender, SenderAddress, ContactSender.
If someone knows what kind of request to form to get this data, help.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander, 2018-08-27
@UPSA

A day has passed ... we will suck it out of our fingers ....
1. Sender - the sender. Can't a firm get a UID once and just paste it. Sender - Most likely counterparty.
2. Using apiKey, use the "Create counterparty address" method.
And also, before that, you need to call the address search methods to get StreetRef
3. Using apiKey, you need to use the "Create Counterparty" method,
and also before that, you need to call the address search methods to get the CityRef.
... in short, you need to get all UIDs along the chain
... in short, it's easier to call technical support)))
ZY
Instead of "Create" use directories of existing data. and suddenly already registered.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question