logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
AndrzejPalczewski  
#1 Posted : Wednesday, January 22, 2025 8:32:34 PM(UTC)
AndrzejPalczewski

Rank: Newbie

Groups: Registered
Joined: 5/3/2021(UTC)
Posts: 9
United States

Thanks: 2 times
We have written an application that uses API in order to Create/Update Customers and Create Invoices in CenterPoint.
Now we would like to generate receipts ((payment from customers for one or more invoices) and apply them to invoices.
DO you have any sample code or documentation that would help us to accomplish this task?
Thanks
aarony  
#2 Posted : Monday, February 3, 2025 5:13:15 PM(UTC)
aarony

Rank: Administration

Groups: Administrators, Moderator, Registered
Joined: 2/28/2018(UTC)
Posts: 55
Location: Red Wing, MN

Was thanked: 6 time(s) in 5 post(s)
Unfortunately, there is a limited amount of documentation and examples available for our SDK APIs.
The SDK API includes a CenterPoint API.chm document as part of the "SDK Documentation" feature available during a custom installation.

It's worth pointing out that we have shifted our focus away from developing the SDK API to instead producing an easier to use, framework independent, Local REST API.
This REST API includes functionality for applying payments to customer invoices.

I would direct you to our Developer Resource Portal which is a landing page for our available development and integration tools.

Regards,

- Aaron
thanks 2 users thanked aarony for this useful post.
devAdmin on 2/10/2025(UTC), AndrzejPalczewski on 2/14/2025(UTC)
AndrzejPalczewski  
#3 Posted : Friday, February 14, 2025 11:39:46 PM(UTC)
AndrzejPalczewski

Rank: Newbie

Groups: Registered
Joined: 5/3/2021(UTC)
Posts: 9
United States

Thanks: 2 times
We were trying to use:
POST /api/centerpoint/arpayments
The transaction is going through, however the following supplied fields are not populated:
- paymentTypeId
- receiptNumber
- reference
It seems that there is a bug in the API
Please advise.
Thank You very much for your help.
tony  
#4 Posted : Saturday, February 15, 2025 1:34:38 AM(UTC)
tony

Rank: Advanced Member

Groups: Registered
Joined: 2/28/2018(UTC)
Posts: 67
United States
Location: Pennsylvani mostly

Was thanked: 9 time(s) in 9 post(s)
paymentTypeId - you're right. That is not coming over.
reference - in my test, that was coming over, but I remember fixing that at some point so you might need a newer version
receiptNumber - There isn't a receipt number in the DTO for A/R Payments - I think that's from the A/P side

Also, our forum wasn't sending out notifications for new posts. This appears to be fixed now. That's why it took us so long to respond.

I used BusinessSample to test but had to open up new periods to get it to accept 2025 dates.

Here are the various DTOs and response bodies (I've included this so I can refresh my memory on Monday):

Code:

{
  "companyId": 2147470000,
  "customerId": 2147469989,
  "date": "2-14-2025",
  "paymentTypeId": 2147469999,
  "reference": "12346",
  "bankAccountId": 2147470000,
  "invoices": [
    {
      "invoiceId": 2147469394,
      "amount": 100
    }
  ]
}

Response body:

{
  "id": 2147469308,
  "batchId": 2147469658,
  "companyId": 2147470000,
  "customerId": 2147469989,
  "date": "02-14-2025",
  "paymentTypeId": null,
  "reference": "012346",
  "bankAccountId": 2147470000,
  "amount": 100
}


Result of GET (ARPayment) ID=(2147469308)
{
  "id": 2147469308,
  "batchId": 2147469658,
  "companyId": 2147470000,
  "customerId": 2147469989,
  "date": "02-14-2025",
  "paymentTypeId": null,
  "reference": "012346",
  "bankAccountId": 2147470000,
  "amount": 100
}
tony  
#5 Posted : Tuesday, February 18, 2025 1:09:11 AM(UTC)
tony

Rank: Advanced Member

Groups: Registered
Joined: 2/28/2018(UTC)
Posts: 67
United States
Location: Pennsylvani mostly

Was thanked: 9 time(s) in 9 post(s)
After taking a second look at this today, I understand the problems better.

I suggested three changes/fixes for our next release:

1. Bug fix: PaymentTypeId isn't being set - set it.
2. "Reference" should really have been name ReceiptInvoiceNumber, but we can't really remove Reference without breaking existing implementations, so we'll add a ReceiptInvoiceNumber field that does what Reference does now (and document Reference as being deprecated.)
3. Add a CheckReferenceNumber field that would populate the field labeled "Check/Ref#" in CenterPoint.

AndrzejPalczewski  
#6 Posted : Tuesday, February 18, 2025 3:35:05 PM(UTC)
AndrzejPalczewski

Rank: Newbie

Groups: Registered
Joined: 5/3/2021(UTC)
Posts: 9
United States

Thanks: 2 times
Thank you very much for your thorough evaluation and description of the situation.
This is exactly what I have observed.
Do you have any estimate when the next Release might happen?

By the way, I have upgraded to the current version (19.5.57) and "reference" (wrong name) started to work.
aarony  
#7 Posted : Thursday, February 20, 2025 7:38:34 PM(UTC)
aarony

Rank: Administration

Groups: Administrators, Moderator, Registered
Joined: 2/28/2018(UTC)
Posts: 55
Location: Red Wing, MN

Was thanked: 6 time(s) in 5 post(s)
We can't give a release date, but usually we have a release around late spring / early summer.

Regards,

- Aaron
Users browsing this topic
Guest (2)
Similar Topics
Unexpected error from CenterPoint API (CenterPoint API)
by Fulcrum Developer 12/2/2024 8:32:08 PM(UTC)
Unexpected Database error from API (CenterPoint API)
by Fulcrum Developer 10/22/2024 2:52:10 PM(UTC)
SalesItems - missing data fields in API (CenterPoint API)
by logicne 6/26/2024 3:24:05 PM(UTC)
REST API - APInvoice (CenterPoint API)
by cgkcdev 4/22/2024 10:19:12 PM(UTC)
Databrowser API not working after update to CenterPoint 18 (CenterPoint Data Browser)
by infotech@reesassociates.com 9/28/2023 3:02:40 PM(UTC)
.net SDK or Rest API? (CenterPoint API)
by infotech@reesassociates.com 5/19/2023 9:57:38 PM(UTC)
API data pull on Visual Studio (Code) (CenterPoint API)
by Nibblez4everybody 6/16/2022 3:43:22 PM(UTC)
CenterPoint API .Net 4.7.2 (CenterPoint API)
by ron@verticalsoftware.net 6/19/2019 6:46:41 PM(UTC)
API Documentation (CenterPoint API)
by HIRECALL 1/11/2019 3:09:23 PM(UTC)
CenterPoint API Error (CenterPoint API)
by alzini89 11/2/2018 8:57:14 PM(UTC)
CenterPoint API (CenterPoint API)
by ron@verticalsoftware.net 5/7/2018 8:03:50 PM(UTC)
CenterPoint APIs (CenterPoint API)
by Ken Morey 3/16/2018 7:04:56 PM(UTC)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.