Skip to content

Commit 30c724e

Browse files
committed
Add method to get electronic billing sales points
1 parent 588d664 commit 30c724e

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/Class/ElectronicBilling.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,16 @@ module.exports = class ElectronicBilling extends AfipWebService {
163163
return result.ResultGet;
164164
}
165165

166+
/**
167+
* Asks to AFIP Servers for sales points availables {@see WS
168+
* Specification item 4.11}
169+
*
170+
* @return array All sales points availables
171+
**/
172+
async getSalesPoints() {
173+
return (await this.executeRequest('FEParamGetPtosVenta')).ResultGet.PtoVenta;
174+
}
175+
166176
/**
167177
* Asks to AFIP Servers for voucher types availables {@see WS
168178
* Specification item 4.4}

0 commit comments

Comments
 (0)