Centara eMessaging exposes a set of API pages for integrating with Business Central data. These are standard BC API pages accessible via OData v4.
Base URL:
{BC Base URL}/api/centara/v1.0/companies({companyId})/
All endpoints are read-only (GET) unless otherwise noted. All endpoints support change tracking unless otherwise noted.
Approval Entries
Endpoint: .../approvalEntries
Source: Approval Entry table
|
Field |
Caption |
|---|---|
|
|
SystemId (key) |
|
|
Table ID |
|
|
Document Type |
|
|
Document No. |
|
|
Sequence No. |
|
|
Approval Code |
|
|
Sender ID |
|
|
Salespers./Purch. Code |
|
|
Approver ID |
|
|
Status |
|
|
Date-Time Sent for Approval |
|
|
Last Date-Time Modified |
|
|
Last Modified By User ID |
|
|
Comment |
|
|
Approval Due Date |
|
|
Amount |
|
|
Amount (LCY) |
|
|
Currency Code |
|
|
Approval Type |
|
|
Limit Type |
|
|
Available Credit Limit (LCY) |
|
|
Record ID to Approve |
|
|
Delegation Date Formula |
|
|
Entry No. |
|
|
Workflow Step Instance ID |
|
|
Related to Change |
|
|
Purchase Document Type |
|
|
Document Line |
|
|
Workflow User Group Code |
Certificate
Endpoint: .../certificates
Source: Temporary buffer. Supports POST (uploads a certificate).
|
Field |
Caption |
Editable |
|---|---|---|
|
|
Id (key) |
No |
|
|
Content (binary) |
Yes |
|
|
Certificate Subject |
No (computed) |
|
|
Certificate Valid To |
No (computed) |
POST a binary certificate to extensionContent. The certificateSubject and certificateValidTo fields are computed and returned after upload.
Purchase Header Approval
Endpoint: .../purchHeaderApprovals
Source: Purchase Header — filtered to Status = Pending Approval. Document types: Invoice, Order, Credit Memo.
|
Field |
Caption |
|---|---|
|
|
SystemId (key) |
|
|
Document Type |
|
|
No. |
|
|
Amount |
|
|
Amount Including VAT |
|
|
Vendor Order No. |
|
|
eInvoice VAT Total |
|
|
eInvoice Total Amount |
|
|
eInvoice Total Amount Including VAT |
|
|
Second Approver |
|
|
Original Approval User |
|
|
Approval User Group |
|
|
Four Eyes Approval User Group |
|
|
Centara Outbound Document Status |
|
|
Centara Inbound Document Status |
|
|
Identifier in Centara |
|
|
Sent to Centara On |
|
|
Guid |
|
|
Rejection Code |
|
|
From Inbound e-Document |
|
|
Is OCR Generated |
Actions
|
Action |
Method |
Purpose |
|---|---|---|
|
|
POST |
Approves the entry for the original approval user |
|
|
POST |
Approves the entry for the second approver |
Purchase Line Approval
Endpoint: .../purchLineApprovals
Source: Purchase Line — filtered to Approval Status = Pending Approval. Document types: Invoice, Order, Credit Memo.
|
Field |
Caption |
|---|---|
|
|
SystemId (key) |
|
|
Document Type |
|
|
No. |
|
|
Amount |
|
|
Amount Including VAT |
|
|
Original Approval User |
|
|
Approval User Group |
Actions
|
Action |
Method |
Purpose |
|---|---|---|
|
|
POST |
Approves the open approval entry for the original approval user on this line |
Purchase Orders & Invoices
Endpoint: .../purchaseOrdersInvoices
Source: Purchase Header — document types: Order, Invoice.
|
Field |
Caption |
|---|---|
|
|
SystemId (key) |
|
|
eInvoice VAT Total |
|
|
eInvoice Total Amount |
|
|
eInvoice Total Amount Including VAT |
|
|
Second Approver |
|
|
Original Approval User |
|
|
Approval User Group |
|
|
Four Eyes Approval User Group |
|
|
Centara Outbound Document Status |
|
|
Centara Inbound Document Status |
|
|
Identifier in Centara |
|
|
Sent to Centara On |
|
|
Guid |
|
|
Rejection Code |
|
|
From Inbound e-Document |
|
|
Is OCR Generated |
Purchase Order & Invoice Lines
Endpoint: .../purchaseOrderInvoiceLines
Source: Purchase Line — document types: Order, Invoice.
|
Field |
Caption |
|---|---|
|
|
SystemId (key) |
|
|
Line Guid |
|
|
Original Approval User |
|
|
Approval Status |
|
|
Rejection Code |
|
|
Unit Code before Base UoM |
|
|
Approval User Group |
Sales Orders
Endpoint: .../salesOrders
Source: Sales Header — document type: Order only. This page exposes the full Sales Header including all standard BC fields plus Centara-specific fields.
Key fields
|
Field |
Caption |
|---|---|
|
|
SystemId (key) |
|
|
No. |
|
|
Document Type |
|
|
Status |
Sell-to
|
Field |
Caption |
|---|---|
|
|
Sell-to Customer No. |
|
|
Sell-to Customer Name |
|
|
Sell-to Address |
|
|
Sell-to City |
|
|
Sell-to Post Code |
|
|
Sell-to Country/Region Code |
|
|
|
|
|
Sell-to Phone No. |
Bill-to
|
Field |
Caption |
|---|---|
|
|
Bill-to Customer No. |
|
|
Bill-to Name |
|
|
Bill-to Address |
|
|
Bill-to City |
|
|
Bill-to Post Code |
|
|
Bill-to Country/Region Code |
Ship-to
|
Field |
Caption |
|---|---|
|
|
Ship-to Code |
|
|
Ship-to Name |
|
|
Ship-to Address |
|
|
Ship-to City |
|
|
Ship-to Post Code |
|
|
Ship-to Country/Region Code |
|
|
Ship-to Phone No. |
Dates
|
Field |
Caption |
|---|---|
|
|
Order Date |
|
|
Posting Date |
|
|
Shipment Date |
|
|
Document Date |
|
|
Requested Delivery Date |
|
|
Promised Delivery Date |
|
|
Last Shipment Date |
Payment
|
Field |
Caption |
|---|---|
|
|
Due Date |
|
|
Payment Terms Code |
|
|
Payment Discount |
|
|
Pmt. Discount Date |
|
|
Payment Method Code |
Totals & currency
|
Field |
Caption |
|---|---|
|
|
Amount |
|
|
Amount Including VAT |
|
|
Currency Code |
|
|
Currency Factor |
References
|
Field |
Caption |
|---|---|
|
|
External Document No. |
|
|
Your Reference |
Logistics
|
Field |
Caption |
|---|---|
|
|
Location Code |
|
|
Shipment Method Code |
|
|
Shipping Agent Code |
|
|
Shipping Agent Service Code |
|
|
Completely Shipped |
|
|
Shipped |
|
|
Shipped Not Invoiced |
VAT
|
Field |
Caption |
|---|---|
|
|
VAT Registration No. |
|
|
VAT Bus. Posting Group |
|
|
VAT Reporting Date |
Dimensions
|
Field |
Caption |
|---|---|
|
|
Shortcut Dimension 1 Code |
|
|
Shortcut Dimension 2 Code |
|
|
Dimension Set ID |
Centara fields
|
Field |
Caption |
|---|---|
|
|
eInvoice VAT Total |
|
|
eInvoice Total Amount |
|
|
eInvoice Total Amount Including VAT |
|
|
Guid |
|
|
Updated Guid |
|
|
Lines Recreated On |
|
|
From Inbound e-Document |
Job queue
|
Field |
Caption |
|---|---|
|
|
Job Queue Status |
|
|
Job Queue Entry ID |