From b84b2776ef71493e488902f5732e6c742f2f655c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leandro=20G=C3=B3mez?= <94870514+lgomezcaballero@users.noreply.github.com> Date: Thu, 26 Oct 2023 09:56:48 -0300 Subject: [PATCH 1/2] Update AN-Native_Interface_Protocol-Spec.md --- AN-Native_Interface_Protocol-Spec.md | 328 ++++++++++++++++++--------- 1 file changed, 223 insertions(+), 105 deletions(-) diff --git a/AN-Native_Interface_Protocol-Spec.md b/AN-Native_Interface_Protocol-Spec.md index ac70abd9..8119244c 100644 --- a/AN-Native_Interface_Protocol-Spec.md +++ b/AN-Native_Interface_Protocol-Spec.md @@ -35,6 +35,7 @@ |2.9|01/02/2023|**Document Update**
- Mark TransactionDownload as Obsolete|
|3.0|27/03/2023|**Document Update**
- Add ExternalDocumentInsert Request/Response|
|3.1|26/09/2023|**Document Update**
- Update StatementsHeaderDownload Response|
+|3.2|25/10/2023|**Document Update**
- Company inserts update|
## Contents @@ -117,8 +118,9 @@ - [12.9 Interface Concept Contract](#129-interfaceconceptcontract) - [12.10 Interface Block Contract](#1210-interfaceblockcontract) - [12.11 Interface Overlimit Contract](#1211-interfaceoverlimitcontract) - - [12.12 Interface Program Contract](#1212-InterfaceProgramContract) - - [12.13 Response Messages](#1213-response-messages) + - [12.12 Interface Program Contract](#1212-nterfaceProgramContract) + - [12.13 Interface Company Contract Delivery Address](#1213-interfaceCompanyContractDeliveryAddress) + - [12.14 Response Messages](#1214-response-messages) - [13 Statements Downloads](#13-Statements-Download) - [13.1 Action Codes](#131-action-codes) @@ -11585,108 +11587,6 @@ To edit a company there's no need to send the contract information. However, whe

State/Province Id. To be assigned by ATIONet.

- - -

Street1Delivery

- - -

200

- - -

nvarchar

- - -

Yes

- - -

Delivery address

- - - - -

Street2Delivery

- - -

200

- - -

nvarchar

- - -

No

- - -

Additional delivery address infromation

- - - - -

ZipCodeDelivery

- - -

50

- - -

nvarchar

- - -

No

- - -

Delivery ZIP code

- - - - -

CityDelivery

- - -

100

- - -

nvarchar

- - -

Yes

- - -

Delivery city

- - - - -

CountryDeliveryId

- - -

-

- - -

Guid

- - -

Yes

- - -

Delivery country Id. To be assigned by ATIONet.

- - - - -

StateDeliveryId

- - -

-

- - -

Guid

- - -

Yes

- - -

Delivery state/province Id. To be assigned by ATIONet.

- -

TaxPayerCategoryId

@@ -12116,6 +12016,24 @@ To edit a company there's no need to send the contract information. However, whe Represents an amount of days, weeks, months or years

+ + +

AddAddressInIdentificationsRequest

+ + +

-

+ + +

bool

+ + +

No

+ + +

Add address in identification request
+ Allows you to add new delivery addresses for request identifications

+ +

Periodicity

@@ -13286,6 +13204,25 @@ To edit a company there's no need to send the contract information. However, whe It's composed by Id and Code. Only one of the values is needed to identify the program. If both values are present, the Id field take the priority.
"Programs":[
{
"Id": "06df1b02-4de2-40d3-ba2f-af03f622c73d"
}
Or
"Programs":[
{
"Code": "PRG001"
}

+ + +

DeliveryAddresses

+ + +

-

+ + +

List +

+ + +

No

+ + +

It is used to establish one or more delivery addresses in the contract.
+ Each address is composed of Street1(Required), Street2, ZipCode, City(Required), StateId(Required), CountryId(Required), Active, Order(Required).
"DeliveryAddresses": [
{
"Street1": "Street",
"Street2": "",
"ZipCode": "3307",
"City": "Buenos Aires",
"StateId": "B32DF08F-18EF-46F3-B450-2E21496DDFB3",
"CountryId": "CB5A1CF3-9931-4F73-BBF1-774866BBBC2F",
"Active": true,
"Order": 0
}

+ +

NoUpdateFuels

@@ -13568,6 +13505,26 @@ To edit a company there's no need to send the contract information. However, whe

+ + +

NoUpdateDeliveryAddresses

+ + +

-

+ + +

bool

+ + +

No

+ + +

+ For update only, if this property is true, the update of the following properties will be ignored: + - Delivery Addresses +

+ + @@ -14731,7 +14688,168 @@ To edit a company there's no need to send the contract information. However, whe -### 12.13 Response messages +### 12.13 InterfaceCompanyContractDeliveryAddress + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Field Name + + Size + + Type + + Required + + Descriptions/Field Value(s) +
+

Street1

+
+

200

+
+

nvarchar

+
+

Yes

+
+

Main address

+
+

Street2

+
+

200

+
+

nvarchar

+
+

No

+
+

Secondary address

+
+

ZipCode

+
+

200

+
+

nvarchar

+
+

No

+
+

Zip Code

+
+

City

+
+

100

+
+

nvarchar

+
+

Yes

+
+

City name

+
+

StateId

+
+

-

+
+

GUID

+
+

Yes

+
+

State ID

+
+

CountryId

+
+

-

+
+

GUID

+
+

Yes

+
+

Country ID

+
+

Active

+
+

-

+
+

bool

+
+

No

+
+

Address active/inactive status

+
+

Order

+
+

-

+
+

short

+
+

Yes

+
+

Address Priority Order

+
+ +### 12.14 Response messages From 7f7f850b763c6c0e306973e0bd187824a1006fa2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leandro=20G=C3=B3mez?= <94870514+lgomezcaballero@users.noreply.github.com> Date: Thu, 26 Oct 2023 10:04:13 -0300 Subject: [PATCH 2/2] Update AN-Native_Interface_Protocol-Spec.md --- AN-Native_Interface_Protocol-Spec.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AN-Native_Interface_Protocol-Spec.md b/AN-Native_Interface_Protocol-Spec.md index 8119244c..7e6f377e 100644 --- a/AN-Native_Interface_Protocol-Spec.md +++ b/AN-Native_Interface_Protocol-Spec.md @@ -118,7 +118,7 @@ - [12.9 Interface Concept Contract](#129-interfaceconceptcontract) - [12.10 Interface Block Contract](#1210-interfaceblockcontract) - [12.11 Interface Overlimit Contract](#1211-interfaceoverlimitcontract) - - [12.12 Interface Program Contract](#1212-nterfaceProgramContract) + - [12.12 Interface Program Contract](#1212-InterfaceProgramContract) - [12.13 Interface Company Contract Delivery Address](#1213-interfaceCompanyContractDeliveryAddress) - [12.14 Response Messages](#1214-response-messages)