Represents a Customer Template in SOFT4Spaces.
Note
For information about enabling APIs for Business Central see Overview.
API endpoint
| API | Path |
| customerTemplate | businesscentralPrefix/soft4/soft4spaces/v3.0/companies({{companyId}})/customerTemplates |
Methods
| Method | Return Type | Description |
| GET customerTemplate | customerTemplate | Gets a customer template object. |
| DELETE customerTemplate | none | Deletes a customer template object. |
| POST customerTemplate | customerTemplate | Creates a customer template object. |
| PATCH customerTemplate | customerTemplate | Updates a customer template object. |
Properties
| Property | Type | Description |
| id | GUID | The unique ID of the customer template. Non-editable. |
| code | string | The code of the customer template. |
| description | string | Specifies the description of the customer template. |
| contactType | string | Specifies the contract type of the customer . It can be “Company”, “Person”. |
| blocked | string | Specifies which transactions with the customer can't be posted. It can be " ", "Ship", "Invoice" or "All". |
| noSeries | string | Specifies the number series that will be used to assign numbers to customers. |
| countryOrRegionCode | string | Specifies the customer's country. |
| city | string | Specifies the customer's city. |
| postCode | string | Specifies the customer's postal code. |
| languageCode | string | Language code. |
| formatRegion | string | Format region code. |
| documentSendingProfile | string | Document sending profile code. |
| billToCustomerNo | string | Bill to customer number. |
| validateEuVatRegNo | boolean | Specifies whether the Validate EU VAT Registration number is applied. |
| genBusPostingGroup | string | The code of general business posting group. |
| vatBusPostingGroup | string | The code of VAT business posting group. |
| customerPostingGroup | string | The code of customer posting group. |
| currencyCode | string | The default currency code for the customer. |
| customerPriceGroup | string | The code of customer price group. |
| customerDiscGroup | string | The code of customer discount group. |
| allowLineDisc | boolean | Specifies whether the allow line discount is applied. |
| invoiceDiscCode | string | Invoice discount code. |
| pricesIncludingVat | boolean | Specifies whether the prices included VAT is applied. |
| applicationMethod | string | Specifies the application method. It can be “Manual”, “Apply To Oldest”. |
| partnerType | string | Specifies the partner type. It can be „ “, “Company”, “Person”, “Government”. |
| intrastatPartnerType | string | Specifies the Intrastat partner type. It can be „ “, “Company”, “Person”, “Government”. |
| paymentTermsCode | string | Payment terms code. |
| paymentMethodCode | string | Payment method code. |
| reminderTermsCode | string | Reminder terms code. |
| finChargeTermsCode | string | Finance charge terms code. |
| printStatements | boolean | Specifies whether to include this customer when you print the Statement report. |
| blockPaymentTolerance | boolean | Specifies that the customer is not allowed a payment tolerance. |
| locationCode | string | Location code. |
| shipmentMethodCode | string | Shipment method code. |
| systemCreatedAt | datetime | The datetime the customer template was created. |
| systemCreatedBy | GUID | The ID of the user who created the customer template. |
| systemModifiedAt | datetime | The last datetime the customer template was modified. |
| systemModifiedBy | GUID | The ID of the user who modified the customer template. |