Go Back

POST v1/receipts

Create a new receipt

Request Information

URI Parameters

None.

Body Parameters

Receipt
NameDescriptionTypeAdditional information
Key

string

None.

Id

string

None.

Payments

Collection of ReceiptItem

None.

DateOfPayment

date

None.

InternalNotes

string

None.

ClientNotes

string

None.

PaymentMethodId

byte

None.

ClientId

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Key": "sample string 1",
  "Id": "sample string 2",
  "Payments": [
    {
      "PaidInvoiceId": "sample string 1",
      "Amount": 2.0,
      "IssueDate": "2018-12-12T09:14:57.6466478+00:00",
      "Oustanding": 1.0,
      "InvoiceAmount": 1.0
    },
    {
      "PaidInvoiceId": "sample string 1",
      "Amount": 2.0,
      "IssueDate": "2018-12-12T09:14:57.6466478+00:00",
      "Oustanding": 1.0,
      "InvoiceAmount": 1.0
    }
  ],
  "DateOfPayment": "2018-12-12T09:14:57.6466478+00:00",
  "InternalNotes": "sample string 4",
  "ClientNotes": "sample string 5",
  "PaymentMethodId": 64,
  "ClientId": "sample string 6"
}

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.

Go Back