File tree Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change @@ -163,6 +163,42 @@ module.exports = class ElectronicBilling extends AfipWebService {
163
163
return result . ResultGet ;
164
164
}
165
165
166
+ /**
167
+ * Create CAEA
168
+ *
169
+ * Send a request to AFIP servers to create a CAEA
170
+ *
171
+ * @param int period Time period
172
+ * @param int fortnight Monthly fortnight (1 or 2)
173
+ **/
174
+ async createCAEA ( period , fortnight )
175
+ {
176
+ const req = {
177
+ 'Periodo' : period ,
178
+ 'Orden' : fortnight
179
+ } ;
180
+
181
+ return ( await this . executeRequest ( 'FECAEASolicitar' , req ) ) . ResultGet ;
182
+ }
183
+
184
+ /**
185
+ * Get CAEA
186
+ *
187
+ * Ask to AFIP servers for a CAEA information
188
+ *
189
+ * @param int period Time period
190
+ * @param int fortnight Monthly fortnight (1 or 2)
191
+ **/
192
+ async getCAEA ( period , fortnight )
193
+ {
194
+ const req = {
195
+ 'Periodo' : period ,
196
+ 'Orden' : fortnight
197
+ } ;
198
+
199
+ return ( await this . executeRequest ( 'FECAEAConsultar' , req ) ) . ResultGet ;
200
+ }
201
+
166
202
/**
167
203
* Asks to AFIP Servers for sales points availables {@see WS
168
204
* Specification item 4.11}
You can’t perform that action at this time.
0 commit comments