Manuais
Changelog Simple API
Change log - 15.07.2024
Abrir/Fechar
Updated Methods
createDocument
Inside the object "
document
" we added a new parameter:
rectificationReason
(It serves to indicate the reason of rectification (it´s mandatory in NC and ND documents).).
Change log - 01.07.2024
Abrir/Fechar
New Endpoint
getDocumentPortalUrl
Returns a URL link to access the document´s Portal GO.
Updated Methods
createInternalDocument
and
createDocument
We´ve made the following changes to the
salesmanName
field:
A change was made so that if the
salesmanName
defined in the method is different from what is defined in the customer file, that defined in the API call will be respected.
If the
salesmanName
defined in the call does not exist, it is created and used in the document.
If the
salesmanName
is not defined in the API call, the one defined in the customer file is used.
Change log - 07.05.2024
Abrir/Fechar
Updated Methods
createInternalDocument
Inside the object
Internal Document
we added two new parameters:
financialDiscount
(It serves to indicate the financial discount (not including tax).).
financialDiscountInPercentage
(It serves to indicate the percentage of financial discount (not including tax).).
Change log - 25.03.2024
Abrir/Fechar
Updated Methods
Create/Update Products
,
Create Products
,
Create Document
Inside the objects
Product
and
Products
we added a new parameter:
sncCode
(It serves to indicate the SNC code that allows the article to be integrated into CS Accounting.).
Change log - 22.02.2024
Abrir/Fechar
Updated Methods
createDocument
,
createCustomer
,
create_updateCustomer
,
createInternalDocument
Inside the object
Customer
we added two new parameters:
province
(required field for
Angola
- Can be used when we want to define the customer´s province).
county
(required field for
Angola
- Can be used when we want to define the customer´s county).
Change log - 05.02.2024
Abrir/Fechar
Updated Methods
createDocument
Inside the object
Document
we added a new parameter:
blAccount (Can be used when we want to use a treasury account different from the one configured in the series.)
Change log - 28.11.2023
Abrir/Fechar
Updated Methods
runAnalysis
It was made a correction that will return the correct result regarding the JSON Body sent by the developer.
createDocument
Inside the object
Document
we added a new parameter:
issueAsWaybillDoc (On activate the checkbox "Document serves as a shipping document")
Change log - 09.10.2023
Abrir/Fechar
Updated Methods
A correction, regarding the way of identifying the target client, was made within the methods:
createCustomer
create_updateCustomer
createDocument
createInternalDocument
createAvenca
Change log - 02.10.2023
Abrir/Fechar
Updated Methods
createCustomer
Inside the object
customer
we added a new parameter:
createEstablishment (To create a new establishment for a customer)
create_updateCustomer
Inside the object
customer
we added a new parameter:
createEstablishment (To create a new establishment for a customer)
Change log - 18.09.2023
Abrir/Fechar
Updated Methods
createDocument
Inside the object
document
we added a new parameter:
taxExemptionCode (in PHC GO "codmotiseimp")
createPurchase
Inside the object
document
we added a new parameter:
taxExemptionCode (in PHC GO "codmotiseimp")
Change log - 23.08.2023
Abrir/Fechar
Updated Methods
createProduct
Inside the object
product
we added a new parameter:
barcode (in PHC GO "st.codigo")
Was created a new object
alternative_barcodes
, which has the following parameters:
barcode (in PHC GO "stcbs.codigo")
designpack (in PHC GO "stcbs.designpack")
quantity (in PHC GO "stcbst.qtt")
usetag (in PHC GO "stcbs.usetag")
create_updateProduct
Inside the object
product
we added a new parameter:
barcode (in PHC GO "st.codigo")
Was created a new object
alternative_barcodes
, which has the following parameters:
barcode (in PHC GO "stcbs.codigo")
designpack (in PHC GO "stcbs.designpack")
quantity (in PHC GO "stcbst.qtt")
usetag (in PHC GO "stcbs.usetag")
Change log - 30.01.2023
Abrir/Fechar
Updated Methods
createParcialReceipt
Inside of the object
document
, we added the following parameters:
treasuryType (in PHC GO "re.contado")
treasuryName (in PHC GO "bl.banco")
rank (in PHC GO "re.olcodigo")
Change log - 05.01.2023
Abrir/Fechar
New Methods
Get Client Portal Document URL (Advanced Filter)
Change log - 02.11.2022
Abrir/Fechar
Updated Methods
Create Document
If the parameter "notUpdate" value is set as "true" the customer data will not be updated in it´s respetive record itself. Instead, it will be exclusively used in the document, or to create a new customer (if the respective data is missing in the "document" section).
Create Internal Document
If the parameter "notUpdate" value is set as "true", the customer/supplier data will not be updated in their respetive records itself. Instead, they will be exclusively used in the internal dossier, or to create a new customer/supplier (if the respective data is missing in the "internalDocument" section).
Change log - 19.10.2022
Abrir/Fechar
Updated Methods
Create Document
From now on, if the optional parameter "salesmanName" is set:
And if a vendor with the defined name has been found within "Salesmen" table (cm3), it will be associated with the invoice document
Otherwise, only the informative field "ft.vendnm" will be filled in with the defined name.
Change log - 06.10.2022
Abrir/Fechar
Updated Methods
Create Document
When introducing Credit Notes with VAT included in the total value of the original document, this property is now saved, thus avoiding the error related to exceeding the initial value.
Change log - 28.09.2022
Abrir/Fechar
Updated Methods
Fetch Document for Receipts
Added the possibility to use the filters
docType
,
documentNumber
and
documentYear
simultaneously, thus giving the possibility to distinguish receipts that have the same number, same series but different years.
Change log - 02.06.2022
Abrir/Fechar
Updated Methods
runAnalysis
Corrections were made to the "runAnalysis" method in the Simple API so that, with option 1 set, it will return an Excel document.
Updated Methods
create_updateProduct
New fields "Brand, Model" for "create_updateProduct" method, on Simple API.
Change log - 17.05.2022
Abrir/Fechar
Updated Methods
Create Document
Fixed an issue when creating invoices with multiple instances of the same product (when using diffrent unit prices).
Change log - 06.05.2022
Abrir/Fechar
Updated Methods
Create Document
Now allows the creation of invoices with products whose
unitPrice
value is equal to
0
.
Change log - 04.05.2022
Abrir/Fechar
Updated Methods
createDocument
createInternaldocument
createCustomer
create_updateCustomer
createProduct
create_updateProduct
createPurchase
"Celebration First" messages:
So that the result of created objects could be returned, without interfering with the work routine, "Celebration First" messages were removed from the previously mentioned methods.
Updated Endpoints Settings
The execution time of an endpoint has been increased, as well as the amount of memory allowed.
Change log - 17.02.2022
Abrir/Fechar
Updated Methods
Create Products
New boolean parameter (
requestOptions
section):
clearWrongTaxNum
: This option allows the newly created clients to have their tax number deleted, in case it is invalid. This allows the creation of the client and the invoice, without the fiscal number. In case the new parameter is not indicated or has the value "false", the billing routine will ignore the new possibility.
Change log - 19.01.2022
Abrir/Fechar
Updated Methods
createDocument
createInternalDocument
createPurchase
products (object):
The following fields from the "products" object had their type converted from "number" into "decimal", now supporting integers with decimals (according to the numbers defined in PHC GO):
discount1
discount2
discount3
discount4
discount5
discount6
createDocument
shipping(object):
The following fields from the "shipping" object had their type converted from "number" into "decimal", now supporting integers with decimals (according to the numbers defined in PHC GO):
ship_discount1
ship_discount2
ship_discount3
ship_discount4
ship_discount5
ship_discount6
Change log - 10.12.2021
Abrir/Fechar
Updated Method
Create Document
- The issue of creating credit notes, through the "createDocument" Simple API method, has been solved.
Change log - 21.10.2021
Abrir/Fechar
Updated Method
Create Document
- The issue of creating invoices, through the "createDocument" Simple API method, using only the reference in the product list, has been solved.
Change log - 29.09.2021
Abrir/Fechar
New Method
Create Tasks
New Webhook
Insert Task
Change log - 09.09.2021
Abrir/Fechar
Updated Methods
Create Records
Change log - 13.07.2021
Abrir/Fechar
Updated Function
ValidCollation
Updated field:
nome
- Added support for quotation marks characters ( " ) on all
Create Customers
methods.
Change log - 30.06.2021
Abrir/Fechar
Updated Methods
Create Product
New object:
components
.
Create/Update Product
New object:
components
.
Change log - 29.06.2021
Abrir/Fechar
Updated Methods
Create Document
Updated field:
financialDiscount:
When using the foreign currency, the financial discount is attributed to that currency.
Change log - 12.05.2021
Abrir/Fechar
Updated Functions
Changed function:
getCustomerByTaxNumber
Change log - 11.05.2021
Abrir/Fechar
Updated Methods
Create Customer
New field:
address2
Create/Update Customer
New field:
address2
Update Company
New field:
address2
New field:
birthday
Change log - 30.04.2021
Abrir/Fechar
Fixed Methods
Save instance
Option:
Operations 3
(delete records)
Change log - 01.04.2021
Abrir/Fechar
Updated Methods
Create Products
&
Create/Update Products
New field:
unitPrice5
New field:
taxIncluded5
Change log - 22.03.2021
Abrir/Fechar
Updated Functions
Changed function:
removeSpecialChars
Change log - 18.03.2021
Abrir/Fechar
New Methods
Fetch Records (Advanced Filter)
Create/Update Customers
Create/Update Products
Updated Methods
Create Products
New field:
Product Stock
.
Fetch Records
New field:
filterItem
.
New field:
valueItem
.
Create Document
New object:
shippings
.
Create Internal Document
New object:
shippings
.