I&P/CREATE
POST {{baseUrl}}/v2/entities
Request Body
{"id"=>"b7243fa5-06cd-4108-97ce-67d68e3f988b1", "type"=>"InvoiceAndPayment", "sourceSystem"=>{"value"=>"UDP Ljubljana", "type"=>"String"}, "sourceApplication"=>{"value"=>"Vrtički", "type"=>"String"}, "referenceCustomerId"=>{"value"=>"1", "type"=>"String"}, "referenceCustomerEmail"=>{"value"=>"janez.novak@example.com", "type"=>"String"}, "invoiceNumber"=>{"value"=>"MOL-2207-123456", "type"=>"String"}, "dateOfIssue"=>{"value"=>"2022-05-25T16:03:35.123+02:00", "type"=>"DateTime"}, "dueDate"=>{"value"=>"2022-06-25T16:03:35.123+02:00", "type"=>"DateTime"}, "recipientIBAN"=>{"value"=>"SI56 0126 1600 0002 319", "type"=>"Int"}, "recipientReference"=>{"value"=>"00 123456", "type"=>"String"}, "amount"=>{"value"=>"66.5", "type"=>"Double"}, "description"=>{"value"=>"Najem vrtička", "type"=>"String"}, "invoiceDocumentBase64"=>{"value"=>"43vzw3qz4t3q4t3q=", "type"=>"TextUnrestricted"}, "paymentStatus"=>{"value"=>"PENDING", "type"=>"String"}, "paymentReferenceId"=>{"value"=>"MOL-123123", "type"=>"String"}, "paymentDate"=>{"value"=>"2022-05-31T13:13:25.444+02:00", "type"=>"DateTime"}, "currencyCodeISO4217"=>{"value"=>"EUR", "type"=>"String"}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Fiware-Service | string | ||
Fiware-servicepath | string |